/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-white: #ffffff;
  --color-text: #0f2a2a;
  --color-muted: #4a6564;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 12px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(19, 78, 74, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(19, 78, 74, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.section { padding-block: 3.5rem; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header (glass) === */
.site-header { position: sticky; top: 0; z-index: 500; background: rgba(240, 253, 250, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 20px rgba(19, 78, 74, 0.08); border-bottom-color: var(--color-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.site-nav { display: none; align-items: center; gap: 1.5rem; }
.site-nav a { font-size: .95rem; font-weight: 500; color: var(--color-neutral-dark); position: relative; padding-block: .25rem; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta { background: var(--color-primary); color: var(--color-white); padding: .55rem 1.1rem; border-radius: 999px; }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--color-neutral-dark); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
  .logo img { height: 96px; }
}

.site-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-white); padding: 1rem 1.25rem 1.5rem; gap: 1rem; box-shadow: var(--shadow-md); border-top: 1px solid var(--color-border); }

/* === Hero-card === */
.hero { position: relative; padding-block: 3rem; overflow: hidden; }
.hero-card__bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(20,184,166,0.02) 55%, rgba(249,115,22,0.06)); z-index: -1; }
.hero-card__bg::before { content: ''; position: absolute; top: -20%; left: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(20,184,166,0.25), transparent 65%); }
.hero-card__bg::after { content: ''; position: absolute; bottom: -30%; right: -10%; width: 55%; height: 80%; background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 65%); }
.hero-card__inner { max-width: 900px; margin-inline: auto; background: var(--color-white); padding: 2.25rem 1.75rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); text-align: left; }
.hero-card__inner h1 { max-width: 22ch; }
.hero__sub { font-size: 1.1rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__image { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-card__inner { padding: 3.5rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); box-shadow: 0 8px 24px -8px rgba(13,148,136,0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(13,148,136,0.7); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--accent { background: var(--color-accent); color: var(--color-white); box-shadow: 0 8px 24px -8px rgba(249,115,22,0.55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(249,115,22,0.7); }
.btn--sm { padding: .5rem .9rem; font-size: .85rem; }
.btn:focus-visible { outline: 3px solid rgba(13,148,136,0.35); outline-offset: 2px; }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(13,148,136,0.35); }
.card__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(249,115,22,0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.card-link { text-decoration: none; }
.card--case .badge { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: var(--color-neutral-light); color: var(--color-primary); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.card--stat h3 { color: var(--color-primary); font-size: 1.35rem; }

/* === Quote === */
.section--quote { padding-block: 3.5rem; }
.section--quote blockquote { margin: 0; text-align: center; position: relative; }
.quote-mark { color: rgba(13,148,136,0.25); margin: 0 auto .5rem; display: block; }
.section--quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-neutral-dark); line-height: 1.5; font-weight: 500; margin-bottom: 1.25rem; }
.section--quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-white); padding: 3.5rem 0; text-align: center; margin-block: 1rem; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(240,253,250,0.85); max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* === Split === */
.split { display: grid; gap: 2rem; align-items: center; }
.split__image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; background: var(--color-white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: rgba(13,148,136,0.35); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--color-muted); margin-top: .75rem; margin-bottom: 0; }

/* === Cases image === */
.cases-image { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.cases-image img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* === Contact band === */
.contact-band { text-align: center; padding: 2.5rem 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-neutral-light); }
.contact-band a { color: var(--color-primary); font-weight: 600; }

/* === Form === */
.form-wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 2fr 1fr; } }
.form-card { background: var(--color-white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row select, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), background .2s var(--ease); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); background: var(--color-white); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.form-consent input { margin-top: .25rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
.contact-aside { background: var(--color-neutral-light); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); }
.contact-aside h3 { color: var(--color-primary); margin-bottom: 1rem; }
.contact-aside a { color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,253,250,0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); opacity: .95; }
.footer__tag { margin-top: 1rem; font-size: .95rem; color: rgba(240,253,250,0.7); max-width: 32ch; }
.footer__nav h3, .footer__contact h3 { color: var(--color-white); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav a { color: rgba(240,253,250,0.8); font-size: .95rem; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--color-white); }
.footer__contact address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer__contact a { color: rgba(240,253,250,0.85); }
.footer__contact a:hover { color: var(--color-white); }
.footer__legal { margin-top: 1rem; font-size: .85rem; }
.footer__legal a { color: rgba(240,253,250,0.7); }
.footer__legal a:hover { color: var(--color-white); }
.footer__base { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(240,253,250,0.15); font-size: .8rem; color: rgba(240,253,250,0.55); text-align: center; }
.footer__base p { margin: 0; }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(240,253,250,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(240,253,250,0.3); }
.cookie-banner .btn--ghost:hover { border-color: var(--color-neutral-light); color: var(--color-white); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(240,253,250,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .site-header { transition: none; } .btn, .card { transition: none; } }
