/* ПолиПроект — main stylesheet */
:root {
  --orange: #E58A2B;
  --orange-600: #CF7119;
  --orange-700: #A9580F;
  --orange-100: #FCEBD7;
  --orange-50: #FEF6EC;
  --ink: #1F1D1B;
  --charcoal: #3B3936;
  --muted: #6B6560;
  --line: #ECE4DA;
  --cream: #FBF8F3;
  --white: #fff;
  --dark: #1E1C1A;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(31, 29, 27, .04), 0 12px 32px -12px rgba(31, 29, 27, .14);
  --shadow-lg: 0 30px 60px -24px rgba(31, 29, 27, .28);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --wrap: 1220px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--charcoal); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font); font-weight: 800; color: var(--muted); }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: .92rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; font-family: var(--font); text-align: center; }
.btn .i-arrow { transition: transform .2s; }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(229, 138, 43, .8); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .65em 1.15em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-100); padding: .5em 1em; border-radius: 999px; margin-bottom: 1.2rem; }
.eyebrow .i { width: 1.1em; height: 1.1em; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--dark); color: #d9d3cb; font-size: .82rem; }
.topbar-in { display: flex; justify-content: flex-end; align-items: center; gap: 16px; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: .45em; }
.tb-item .i { color: var(--orange); width: 1em; height: 1em; }
.tb-right { display: flex; gap: 22px; }
a.tb-item:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .3); }
.header-in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-trigger { display: inline-flex; align-items: center; gap: .3em; padding: .6em .72em; border-radius: 999px; font-weight: 700; font-size: .94rem; white-space: nowrap; color: var(--charcoal); background: none; border: 0; cursor: pointer; font-family: var(--font); transition: background .2s, color .2s; }
.nav > a:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--orange-50); color: var(--orange-700); }
.nav > a[aria-current="page"], .nav-item.active .nav-trigger { color: var(--orange-700); }
.nav-trigger .i { width: 1em; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open .nav-trigger .i { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); width: 420px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.submenu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item.open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) { .nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .nav-item:hover .nav-trigger .i { transform: rotate(180deg); } }
.submenu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); transition: background .2s; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--orange-50); }
.submenu strong { display: block; color: var(--ink); font-size: .95rem; }
.submenu small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.mi { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--orange-100); color: var(--orange-700); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-actions .btn { white-space: nowrap; }
.lang { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: .35em .7em; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 24px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(229, 138, 43, .16), transparent 65%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--orange); display: block; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-weight: 700; font-size: .93rem; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points .i { color: #fff; background: var(--orange); border-radius: 50%; padding: 3px; width: 1.3em; height: 1.3em; }
.hero-media { position: relative; padding: 24px 24px 24px 0; }
.hero-shape { position: absolute; inset: 0 0 0 40px; background: linear-gradient(135deg, #F4BE77, var(--orange) 55%, var(--orange-600)); border-radius: 46px 38px 52px 34px; transform: rotate(4deg); }
.hero-img { position: relative; width: 100%; aspect-ratio: 5 / 5.6; object-fit: cover; border-radius: 40px; box-shadow: var(--shadow-lg); }
.float-badge { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 700; color: var(--ink); animation: float 6s ease-in-out infinite; }
.badge-years { left: -34px; bottom: 70px; flex-direction: column; align-items: flex-start; gap: 0; }
.badge-years strong { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--orange); }
.badge-years span { font-size: .85rem; color: var(--muted); }
.badge-cert { right: -10px; top: 48px; font-size: .9rem; animation-delay: -3s; }
.badge-cert .i { width: 36px; height: 36px; padding: 8px; background: var(--orange-100); color: var(--orange-700); border-radius: 10px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-pt0 { padding-top: 0; }
.section-tint { background: #F4EEE6; }
.section-dark { background: var(--dark); color: #cfc8bf; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.h-section { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); margin-bottom: 1.2em; }

/* program cards (home) */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.card { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-icon { position: absolute; left: 24px; top: -26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--orange); color: #fff; box-shadow: 0 10px 20px -8px rgba(229, 138, 43, .9); z-index: 1; }
.card-icon .i { width: 24px; height: 24px; }
.card-body { position: relative; padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-count { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); margin-bottom: .5em; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--ink); font-size: .93rem; }
.card:hover .card-link { color: var(--orange-700); }
.card:hover .card-link .i { transform: translateX(4px); }
.card-link .i { transition: transform .2s; }

/* split / why */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 32px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.quote-card { position: absolute; right: -28px; bottom: -28px; max-width: 320px; background: var(--orange); color: #fff; border-radius: 22px; padding: 22px 24px; font-weight: 700; font-size: 1.02rem; line-height: 1.5; box-shadow: var(--shadow-lg); }
.quote-card p { margin: 0; }
.why-list { display: grid; gap: 26px; margin: 28px 0 34px; }
.why { display: flex; gap: 18px; }
.why h3 { margin-bottom: .3em; }
.why p { margin: 0; font-size: .98rem; }
.why-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: rgba(229, 138, 43, .14); color: var(--orange); }
.why-icon .i { width: 24px; height: 24px; }
.why-light .why p { color: var(--muted); }
.why-light .why-icon { background: #fff; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px 28px; border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px 12px 18px 10px; background: var(--ink); color: #fff; font-family: var(--display); font-size: 1.3rem; margin-bottom: 20px; transform: rotate(-4deg); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 60px; right: -24px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 10px); }

/* accordion */
.faq-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-home p { color: var(--muted); margin-bottom: 1.6rem; }
.accordion { display: grid; gap: 12px; }
.acc { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc-ico { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--orange-100); transition: background .2s, transform .3s; }
.acc-ico::before, .acc-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange-700); transform: translate(-50%, -50%); border-radius: 2px; }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.acc[open] .acc-ico { background: var(--orange); transform: rotate(180deg); }
.acc[open] .acc-ico::before, .acc[open] .acc-ico::after { background: #fff; }
.acc[open] .acc-ico::after { transform: translate(-50%, -50%) rotate(0); }
.acc-body { padding: 0 24px 22px; color: var(--muted); }
.acc-body ul, .acc-body ol { padding-left: 1.2em; display: grid; gap: .5em; margin-bottom: 1em; }
.acc-body p:last-child, .acc-body ul:last-child, .acc-body ol:last-child { margin-bottom: 0; }
.acc-body strong { color: var(--ink); }

/* ---------- inner page hero ---------- */
.page-hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 640px; height: 640px; left: -300px; top: -320px; background: radial-gradient(circle, rgba(229, 138, 43, .14), transparent 65%); pointer-events: none; }
.page-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
.page-hero-media { position: relative; padding: 18px 18px 18px 0; }
.page-hero-media .blob { position: absolute; inset: 0 0 0 30px; background: linear-gradient(135deg, #F4BE77, var(--orange)); border-radius: 40px 32px 46px 30px; transform: rotate(3deg); }
.page-hero-media img { position: relative; border-radius: 32px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.page-hero-simple { padding-bottom: 56px; }
.page-hero + .section:not(.section-pt0) { padding-top: 24px; }
.page-hero-simple .lead { max-width: 46em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.crumbs a:hover { color: var(--orange-700); }
.crumbs span { opacity: .5; }

/* sector page */
.sector-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.programs { display: grid; gap: 16px; counter-reset: p; }
.program { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.program:hover { border-color: rgba(229, 138, 43, .5); box-shadow: var(--shadow); }
.program-num { font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--orange); background: var(--orange-50); border: 1px solid var(--orange-100); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; flex: none; }
.program h3 { font-size: 1.12rem; margin-bottom: .45em; }
.program p { color: var(--muted); margin: 0; font-size: .98rem; }
.program .checks { margin-top: 16px; }
.program .program-after { margin-top: 16px; color: var(--ink); font-weight: 600; }
.program-btn { margin-top: 14px; }
.ci-heading { font-size: 1.2rem; margin: 0 0 4px; }
.tag { display: inline-block; vertical-align: middle; font-family: var(--font); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #E7F4EA; color: #2F7A43; padding: .35em .75em; border-radius: 999px; margin-left: 6px; }
.checks { list-style: none; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.checks .i { color: var(--orange); margin-top: .2em; width: 1.05em; height: 1.05em; stroke-width: 3; }
.callout { display: flex; gap: 14px; background: var(--orange-50); border: 1px solid var(--orange-100); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 40px; color: var(--charcoal); }
.callout .i { color: var(--orange-700); width: 24px; height: 24px; margin-top: 2px; }
.callout p { margin: 0; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--ink); color: #eae4dc; }
.note .i { color: var(--orange); width: 24px; height: 24px; margin-top: 2px; }
.note p { margin: 0; font-weight: 600; }
.wide-img { margin: 32px 0 0; }
.wide-img img { border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }

.info-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: 26px; padding: 30px 28px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--orange); }
.info-card > h3 { font-size: 1.25rem; margin-bottom: 1em; }
.info-card > p { color: var(--muted); }
.info-group { padding: 18px 0; border-top: 1px dashed var(--line); }
.info-group:first-of-type { border-top: 0; padding-top: 0; }
.info-group h4 { margin-bottom: .8em; }
.info-group p { margin: 0; font-size: .96rem; }
.info-actions { display: grid; gap: 10px; margin-top: 10px; }
.info-contact { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; font-size: .94rem; color: var(--ink); }
.info-contact a { display: inline-flex; align-items: center; gap: .6em; }
.info-contact a:hover { color: var(--orange-700); }
.info-contact .i { color: var(--orange); }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px; border-radius: 18px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-card strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.mini-card small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.mini-card > .i { margin-left: auto; color: var(--orange); }

/* about */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: 26px; padding: 40px; border: 1px solid var(--line); }
.mv-card h2 { font-size: 1.5rem; }
.mv-card p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.mv-dark { background: var(--dark); border-color: var(--dark); }
.mv-dark h2 { color: #fff; }
.mv-dark p { color: #cfc8bf; }
.mv-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--orange); color: #fff; margin-bottom: 22px; }
.mv-icon .i { width: 26px; height: 26px; }

/* about (plain text) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--charcoal); font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; display: grid; gap: .8em; margin-bottom: 1em; }
.prose strong { color: var(--ink); }
.prose .btn-row { margin-top: 2.4em; }

/* enrolment checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); cursor: pointer; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.check.invalid { border-color: #D2452F; }
.fields .muted { margin: 0; }
.field select:invalid { color: var(--muted); }

/* faq page */
.faq-page { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.2em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field span { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CF7119' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(229, 138, 43, .15); }
.field .invalid { border-color: #D2452F; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: #2F7A43; }
.form-status.err { color: #C0392B; }
.contact-info { display: grid; gap: 14px; }
.ci { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ci h3 { font-size: .98rem; margin-bottom: .35em; }
.ci p { margin: 0 0 .3em; font-size: .96rem; }
.ci a { font-weight: 700; color: var(--ink); }
.ci a:hover { color: var(--orange-700); }
.ci-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--orange-100); color: var(--orange-700); flex: none; }
.map { margin-top: 40px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: 420px; background: #eee; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #b9b1a7; padding: 0 0 28px; margin-top: 0; font-size: .95rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: linear-gradient(120deg, var(--orange-600), var(--orange) 55%, #F2A957); border-radius: 30px; padding: 44px 48px; color: #fff; transform: translateY(-50%); margin-bottom: -40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.footer-cta::after { content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 60px; background: rgba(255, 255, 255, .1); transform: rotate(18deg); }
.footer-cta h2 { color: #fff; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); margin-bottom: .3em; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .9); }
.footer-cta .btn-row { position: relative; z-index: 1; flex: none; }
.footer-cta .btn-primary { background: var(--ink); box-shadow: none; }
.footer-cta .btn-primary:hover { background: #000; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 40px; padding: 20px 0 48px; }
.footer-logo { height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 14px; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; }
.since { font-size: .85rem; color: var(--orange); font-weight: 700; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { color: var(--orange); margin-top: .25em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: .85rem; }
.lang-footer { background: transparent; border-color: rgba(255, 255, 255, .15); }
.lang-footer a { color: #b9b1a7; }
.lang-footer a[aria-current="true"] { background: var(--orange); }

/* page spacing before the footer CTA overlap */
main > section:last-child { padding-bottom: 150px; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-badge { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) { .hide-md { display: none; } }
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: auto; }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .burger { display: flex; }
  /* backdrop-filter would trap the fixed mobile nav inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav { position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; margin: 0; }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .nav-trigger { font-size: 1.1rem; padding: 14px 12px; border-radius: 12px; justify-content: space-between; width: 100%; }
  .nav-item .submenu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px; display: none; background: transparent; }
  .nav-item.open .submenu { display: block; transform: none; }
  .nav-mobile-extra { display: block; margin-top: 18px; }
  .nav-mobile-extra .btn { width: 100%; }
  .header-actions { margin-left: auto; }
  .hero-in, .page-hero-in, .split, .faq-home, .sector-grid, .faq-page, .contact-grid { grid-template-columns: 1fr; }
  .hero-in { gap: 40px; }
  .hero-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .badge-years { left: 0; }
  .page-hero-media { max-width: 620px; }
  .split { gap: 56px; }
  .quote-card { right: 16px; bottom: -24px; }
  .info-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar-in > .tb-item { font-size: .75rem; }
  .topbar-in > .tb-item .i { display: none; }
  .tb-right { gap: 12px; }
  .header-in { gap: 12px; }
  .lang a { padding: .35em .55em; }
  .section { padding: 72px 0; }
  .hero { padding: 32px 0 8px; }
  .hero-media { padding: 14px 14px 14px 0; }
  .hero-shape { left: 24px; }
  .badge-years { bottom: 28px; padding: 10px 14px; }
  .badge-years strong { font-size: 1.7rem; }
  .badge-cert { top: 22px; right: 0; padding: 10px 12px; font-size: .8rem; }
  .badge-cert .i { width: 30px; height: 30px; padding: 6px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cards, .mini-cards, .mv, .fields { grid-template-columns: 1fr; }
  .program { flex-direction: column; gap: 14px; padding: 22px; }
  .form-card, .mv-card { padding: 26px 20px; }
  .quote-card { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .footer-cta { padding: 30px 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .map { height: 320px; }
  .acc summary { padding: 18px; font-size: .98rem; }
  .acc-body { padding: 0 18px 18px; }
}
