:root {
  --background: #080d14;
  --foreground: #f4f7f9;
  --card: #0d1822;
  --surface: rgba(15, 29, 41, 0.74);
  --surface-strong: #112130;
  --secondary: #122331;
  --muted: #111f2a;
  --muted-foreground: #a0aab4;
  --primary: #0ab7e8;
  --primary-deep: #119bed;
  --accent: #407cef;
  --border: rgba(228, 242, 252, 0.12);
  --input: rgba(228, 242, 252, 0.16);
  --ring: #0ab7e8;
  --whatsapp: #5ddd83;
  --whatsapp-foreground: #092317;
  --container: 1280px;
  --shadow-glow: 0 12px 34px rgba(10, 183, 232, 0.22);
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--background);
  color-scheme: dark;
}
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(10, 183, 232, .08), transparent 28rem),
    linear-gradient(180deg, #080d14 0%, #07111a 52%, #080d14 100%);
  color: var(--foreground);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body, button, input, textarea { font-family: "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
video { display: block; max-width: 100%; }
button, input, textarea { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .number { font-family: "Space Grotesk", sans-serif; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(10, 183, 232, 0.35); color: var(--foreground); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.page-shell { min-height: 100vh; min-height: 100svh; background: transparent; color: var(--foreground); }
main, .site-footer { background: transparent; color: var(--foreground); }
#hero, #servizi, #perche-rd, #come-funziona, #possibilita, #contatti { color: var(--foreground); }
#servizi, #come-funziona, #contatti { background-color: transparent; }
h1, h2, h3, .contact-form label, .possibility-trigger { color: var(--foreground); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: 112px; }
.section-border { border-block: 1px solid var(--border); }
.section-muted {
  background:
    linear-gradient(135deg, rgba(10, 183, 232, .035), transparent 44%),
    rgba(18, 35, 49, 0.58);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 20, 0.84);
  backdrop-filter: blur(20px);
}
.header-inner { height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.brand { display: flex; width: fit-content; min-width: 0; align-items: center; border-radius: 8px; background: rgba(244, 247, 249, 0.96); padding: 8px 12px; transition: opacity .2s ease; }
.brand:hover { opacity: .9; }
.brand img { width: auto; height: 32px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav > a:not(.button) { color: var(--muted-foreground); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.desktop-nav > a:not(.button):hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-switcher { position: relative; }
.language-button { display: flex; min-width: 78px; height: 44px; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(10,183,232,.35); border-radius: 10px; background: linear-gradient(145deg, rgba(17,33,48,.96), rgba(8,13,20,.92)); padding: 0 10px; color: var(--foreground); box-shadow: 0 10px 30px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.language-button:hover, .language-button[aria-expanded="true"] { border-color: rgba(10,183,232,.75); box-shadow: 0 12px 34px rgba(10,183,232,.16), inset 0 1px 0 rgba(255,255,255,.08); transform: translateY(-1px); }
.language-button > svg:first-child { width: 18px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; }
.language-chevron { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.language-button[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.current-language { min-width: 20px; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; display: grid; width: 220px; gap: 5px; border: 1px solid rgba(10,183,232,.28); border-radius: 12px; background: rgba(10,20,30,.98); padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.48), 0 0 32px rgba(10,183,232,.1); backdrop-filter: blur(20px); }
.language-menu[hidden] { display: none; }
.language-menu button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 8px; background: transparent; padding: 8px 10px 8px 12px; color: var(--foreground); text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.language-menu button:hover { border-color: var(--border); background: var(--surface-strong); }
.language-menu button[aria-checked="true"] { border-color: rgba(10,183,232,.35); background: rgba(10,183,232,.1); }
.language-menu button > span:first-child { display: flex; align-items: baseline; gap: 9px; }
.language-menu strong { font-size: 14px; }
.language-menu small { color: var(--muted-foreground); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.language-check { color: var(--primary); font-size: 15px; opacity: 0; }
.language-menu button[aria-checked="true"] .language-check { opacity: 1; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; }
.menu-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav { border-top: 1px solid var(--border); padding: 20px; background: var(--background); }
.mobile-nav a { display: block; padding: 12px; border-radius: 6px; color: var(--muted-foreground); font-weight: 600; }
.mobile-nav .button { margin-top: 12px; color: #06141d; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: #071620; box-shadow: var(--shadow-glow); }
.button-primary:hover { background: #21c2ed; }
.button-secondary { border-color: var(--border); background: var(--surface); color: var(--foreground); backdrop-filter: blur(10px); }
.button-secondary:hover { border-color: rgba(10, 183, 232, .5); background: var(--surface-strong); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #050d16;
  background-image:
    radial-gradient(circle at 76% 30%, rgba(10, 183, 232, .24), transparent 32%),
    radial-gradient(circle at 16% 78%, rgba(17, 155, 237, .12), transparent 38%),
    linear-gradient(135deg, #050b12 0%, #071521 48%, #06101a 100%);
  box-shadow: inset 0 -1px 0 rgba(10, 183, 232, .12);
}
.digital-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 88%); }
.hero > .digital-grid { z-index: -1; opacity: .38; }
.hero-grid { position: relative; z-index: 1; min-height: calc(100svh - 72px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; padding-block: 96px; }
.hero-copy { position: relative; max-width: 760px; }
.hero .eyebrow-plain { margin-bottom: 24px; color: #34c8f0; font-size: 14px; font-weight: 600; text-shadow: 0 0 22px rgba(10, 183, 232, .28); }
.hero .overline { margin-bottom: 16px; color: #bdc9d3; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(48px, 5.35vw, 72px); line-height: 1.04; letter-spacing: -.025em; }
.hero h1 { color: #f7fbfe; text-shadow: 0 3px 30px rgba(0, 0, 0, .46); }
.hero .accent-text { background: linear-gradient(90deg, #18c7ef, #4b8cff); color: transparent; background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 18px rgba(10, 183, 232, .18)); }
.hero .lead { max-width: 680px; margin-top: 28px; color: #bdc9d3; font-size: 18px; line-height: 1.75; }
.button-row { display: flex; gap: 12px; margin-top: 36px; }

.hero-portrait { position: relative; width: 100%; max-width: 600px; aspect-ratio: 4 / 3; overflow: hidden; margin-inline: auto; border: 1px solid rgba(10,183,232,.42); border-radius: 16px; background: var(--card); box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 54px rgba(10,183,232,.2); }
.hero-portrait::after { content: ""; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.flow-visual { position: relative; width: 100%; max-width: 560px; min-height: 390px; margin-inline: auto; }
.flow-visual .digital-grid { opacity: .5; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-dasharray: 7 10; animation: flow 12s linear infinite; }
.flow-lines .secondary-line { opacity: .55; }
.flow-card { position: absolute; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(15, 29, 41, .94); padding: 18px 20px; box-shadow: 0 22px 45px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.flow-card-one { top: 12%; left: 4%; width: 40%; }
.flow-card-two { top: 50%; left: 50%; width: 42%; transform: translate(-50%, -50%); border-color: rgba(10,183,232,.42); box-shadow: var(--shadow-glow); }
.flow-card-three { right: 3%; bottom: 10%; width: 41%; }
.flow-card small, .flow-card strong { display: block; }
.flow-card small { color: var(--muted-foreground); font-size: 12px; }
.flow-card-two small { color: var(--primary); }
.flow-card strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.flow-icon { flex: 0 0 38px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; background: rgba(10,183,232,.13); color: var(--primary); font-weight: 700; }
.flow-icon.active { background: var(--primary); color: #071620; }
.flow-icon.accent { background: rgba(64,124,239,.15); color: var(--accent); }
.flow-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.dot-one { left: 9%; bottom: 16%; background: var(--primary); box-shadow: var(--shadow-glow); }
.dot-two { right: 9%; top: 18%; background: var(--accent); }

.section-heading { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span:first-child { display: block; width: 32px; height: 1px; background: var(--primary); }
h2 { font-size: clamp(36px, 4vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.section-heading > p:last-child { margin-top: 20px; color: var(--muted-foreground); font-size: 18px; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 48px; }
.service-card { position: relative; grid-column: span 6; min-height: 262px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--card); padding: 24px; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(10,183,232,.4); background: var(--surface-strong); }
.service-video { min-height: 0; aspect-ratio: 736 / 408; padding: 0; background: #07111b; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.service-video video { width: 100%; height: 100%; object-fit: cover; }
.service-video > .number { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(4,12,20,.7); color: #fff; backdrop-filter: blur(10px); }
.service-copy { position: absolute; inset: 0 auto 0 0; z-index: 1; display: flex; width: 46%; flex-direction: column; justify-content: center; padding: clamp(20px, 2.6vw, 34px); background: linear-gradient(90deg, rgba(5,15,25,.99) 0%, rgba(5,15,25,.98) 72%, rgba(5,15,25,.88) 88%, rgba(5,15,25,0) 100%); pointer-events: none; }
.service-copy h3 { max-width: 260px; color: #fff; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; text-wrap: balance; }
.service-copy p { max-width: 250px; margin-top: 14px; color: #c0cad3; font-size: clamp(12px, 1.15vw, 15px); line-height: 1.55; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
.icon-box { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 7px; background: rgba(10,183,232,.1); color: var(--primary); font-size: 21px; }
.number { color: var(--muted-foreground); font-size: 12px; }
.service-card h3 { font-size: 20px; font-weight: 600; }
.service-card p { margin-top: 12px; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }

.split-section { display: grid; grid-template-columns: .83fr 1.17fr; gap: 80px; align-items: start; }
.split-section > div:first-child { position: sticky; top: 120px; }
.reasons { border-top: 1px solid var(--border); }
.reasons article { display: grid; grid-template-columns: 64px 1fr; gap: 24px; border-bottom: 1px solid var(--border); padding: 38px 0; }
.reasons article > span { color: var(--primary); font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; }
.reasons h3 { font-size: 24px; }
.reasons p { margin-top: 10px; color: var(--muted-foreground); line-height: 1.7; }

.process-heading { max-width: 820px; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 68px; }
.process-grid::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, rgba(10,183,232,.7), var(--border)); }
.process-grid article { position: relative; }
.process-grid article > span { position: relative; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(10,183,232,.5); border-radius: 50%; background: var(--background); color: var(--primary); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; }
.process-grid h3 { margin-top: 28px; font-size: 20px; }
.process-grid p { margin-top: 12px; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }

.possibilities-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: end; }
.section-copy { margin-top: 20px; color: var(--muted-foreground); line-height: 1.75; }
.possibility-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.possibility-item { display: flex; min-height: 80px; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); padding: 16px 20px; transition: border-color .2s ease, background .2s ease; }
.possibility-item:hover { border-color: rgba(10,183,232,.45); background: var(--surface-strong); }
.possibility-item.full { grid-column: span 2; }
.possibility-item > span { flex: 0 0 32px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: rgba(10,183,232,.1); color: var(--primary); font-size: 24px; }
.possibility-item p { font-size: 14px; font-weight: 600; }
.possibility-accordion { display: block; min-height: 0; padding: 0; }
.possibility-trigger { display: flex; width: 100%; min-height: 80px; align-items: center; gap: 16px; border: 0; border-radius: 10px; background: transparent; padding: 16px 20px; color: var(--foreground); text-align: left; cursor: pointer; }
.possibility-trigger:focus-visible { outline-offset: -3px; }
.possibility-arrow { flex: 0 0 32px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: rgba(10,183,232,.1); color: var(--primary); font-size: 24px; transition: transform .32s cubic-bezier(.2,.75,.2,1), background .2s ease; }
.possibility-trigger[aria-expanded="true"] .possibility-arrow { background: rgba(10,183,232,.2); transform: rotate(90deg); }
.possibility-feature h3 { font-size: 16px; line-height: 1.45; }
.possibility-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0; transition: grid-template-rows .38s cubic-bezier(.2,.75,.2,1), opacity .25s ease, visibility 0s linear .38s; }
.possibility-trigger[aria-expanded="true"] + .possibility-panel { grid-template-rows: 1fr; visibility: visible; opacity: 1; transition: grid-template-rows .38s cubic-bezier(.2,.75,.2,1), opacity .3s ease, visibility 0s; }
.possibility-panel-inner { min-height: 0; overflow: hidden; padding: 0 20px 0 68px; transition: padding-bottom .38s cubic-bezier(.2,.75,.2,1); }
.possibility-panel-inner > p { max-width: 70ch; border-top: 1px solid var(--border); padding-top: 18px; color: var(--muted-foreground); font-size: 16px; font-weight: 400; line-height: 1.7; }
.possibility-trigger[aria-expanded="true"] + .possibility-panel .possibility-panel-inner { padding-bottom: 22px; }
.possibility-cta { width: fit-content; margin-top: 18px; font-size: 14px; }

.contact-panel { position: relative; overflow: hidden; border: 1px solid rgba(10,183,232,.25); border-radius: 14px; background: var(--card); padding: 56px; }
.contact-panel > .digital-grid { opacity: .2; }
.contact-grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start; }
.contact-button { margin-top: 32px; }
.contact-list { display: grid; gap: 12px; margin-top: 32px; }
.contact-list a { display: flex; min-height: 48px; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 0 16px; font-size: 14px; transition: border-color .2s ease; }
.contact-list a:hover { border-color: rgba(10,183,232,.5); }
.contact-list a > span { color: var(--primary); }
.contact-list em { color: var(--muted-foreground); font-style: normal; }
.contact-form { border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(145deg, rgba(17,33,48,.92), rgba(8,13,20,.9)); padding: 28px; box-shadow: 0 24px 48px rgba(0,0,0,.32); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { font-size: 14px; font-weight: 600; }
.contact-form label small { color: var(--muted-foreground); font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid var(--input); border-radius: 7px; background: rgba(8,13,20,.45); padding: 0 16px; outline: none; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 128px; resize: vertical; padding-block: 12px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(160,170,180,.6); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,183,232,.16); }
.message-label { display: block; margin-top: 20px; }
.privacy-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--muted-foreground); font-weight: 400 !important; line-height: 1.6; cursor: pointer; }
.privacy-check input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--primary); }
.submit-button { margin-top: 24px; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.form-status { margin-top: 12px; color: var(--primary); font-size: 14px; }

.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding-block: 32px 112px; }
.footer-inner > div { display: grid; justify-items: end; gap: 4px; }
.footer-inner p { color: var(--muted-foreground); font-size: 14px; }
.footer-company { display: grid; gap: 5px; color: var(--muted-foreground); font-style: normal; line-height: 1.6; }
.footer-company .footer-address { color: var(--foreground); }
.footer-company .footer-vat { color: var(--muted-foreground); }
.footer-country { display: inline-flex; margin-top: 2px; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: .04em; }
.country-green { color: #009246; }
.country-white { color: #f4f7f9; }
.country-red { color: #ce2b37; }
.footer-inner a:not(.brand) { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.footer-inner a:not(.brand):hover { color: var(--primary); }

.social-dock { position: fixed; right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 10px; }
.social-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-strong); color: var(--foreground); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.social-icon svg { width: 23px; height: 23px; }
.instagram { color: #e85086; }
.facebook { color: #3984eb; }
.whatsapp { position: relative; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: var(--whatsapp); color: var(--whatsapp-foreground); box-shadow: 0 14px 32px rgba(93,221,131,.34); animation: whatsapp-beat 1.9s ease-in-out infinite; }
.whatsapp svg { position: relative; width: 28px; height: 28px; }
.whatsapp-pulse { position: absolute; inset: 0; border-radius: inherit; background: var(--whatsapp); animation: whatsapp-pulse 2.8s ease-out infinite; }
.whatsapp-label { pointer-events: none; position: absolute; right: calc(100% + 12px); width: max-content; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-strong); padding: 8px 12px; color: var(--foreground); font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s ease; }
.whatsapp:hover { animation: none; transform: scale(1.1); }
.whatsapp:hover .whatsapp-label { opacity: 1; }

.enter { animation: enter .7s cubic-bezier(.2,.75,.2,1) both; }
.enter-delay { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } }
@keyframes flow { to { stroke-dashoffset: -340px; } }
@keyframes whatsapp-pulse { 0% { opacity: .35; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes whatsapp-beat { 0%,100% { transform: scale(1); } 7% { transform: scale(1.11); } 14% { transform: scale(.97); } 21% { transform: scale(1.06); } 30% { transform: scale(1); } }

@media (max-width: 1023px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 80px; }
  .hero-copy { max-width: 760px; }
  .hero-portrait { margin-top: 16px; }
  .flow-visual { margin-top: 16px; }
  .service-card { grid-column: span 6; }
  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .split-section > div:first-child { position: static; }
  .possibilities-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding-block: 80px; }
  .brand img { height: 28px; }
  .language-button { min-width: 58px; padding-inline: 9px; }
  .language-button > svg:first-child { display: none; }
  .hero-grid { min-height: auto; padding-block: 64px; }
  h1 { font-size: clamp(40px, 12vw, 54px); }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .hero .lead { font-size: 16px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-portrait { border-radius: 12px; }
  .flow-visual { min-height: 330px; }
  .flow-card { padding: 14px; }
  .flow-card-one { width: 47%; }
  .flow-card-two { width: 51%; }
  .flow-card-three { width: 49%; }
  .flow-card strong { font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { grid-column: auto; min-height: 0; }
  .service-video { aspect-ratio: 736 / 408; }
  .service-copy { width: 49%; padding: 14px 18px 14px 14px; }
  .service-copy h3 { font-size: clamp(17px, 5.2vw, 23px); }
  .service-copy p { margin-top: 8px; font-size: clamp(11px, 3vw, 13px); line-height: 1.4; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--primary), var(--border)); }
  .process-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding-bottom: 40px; }
  .process-grid h3 { margin-top: 7px; }
  .process-grid p { grid-column: 2; margin-top: -10px; }
  .possibility-list { grid-template-columns: 1fr; }
  .possibility-item.full { grid-column: auto; }
  .possibility-trigger { min-height: 76px; padding: 14px 16px; }
  .possibility-panel-inner { padding-inline: 56px 16px; }
  .possibility-panel-inner > p { font-size: 15px; line-height: 1.65; }
  .contact-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .submit-button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div { justify-items: start; }
  .social-dock { right: 16px; gap: 8px; }
  .social-icon { width: 44px; height: 44px; }
  .whatsapp-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
