/* =====================================================================
   Work Speed Gesso — Stylesheet
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand-900: #062f54;
  --brand-800: #083e6e;
  --brand-700: #0b4f8a;
  --brand-600: #0f6cb2;
  --brand-500: #1293d4;
  --brand-100: #d6ecf8;
  --brand-50:  #eaf5fb;

  /* Accent (action / CTA) */
  --accent-700: #c2410c;
  --accent-600: #ea580c;
  --accent-500: #f97316;
  --accent-100: #ffedd5;

  /* Neutrals */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  /* Status */
  --success: #16a34a;
  --error:   #dc2626;
  --whatsapp:#25d366;

  /* Layout */
  --container: 1200px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-2: 0 4px 8px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
  --shadow-3: 0 12px 32px rgba(11,79,138,.18);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 160ms;
  --t-med: 240ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-500); }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { color: var(--ink-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--brand-700); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar (above header) ---------- */
.topbar {
  background: var(--brand-900);
  color: var(--white);
  font-size: .85rem;
}
.topbar__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding: 8px 0;
}
.topbar a { color: var(--white); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent-500); }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.topbar__icon { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ink-200);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand__name {
  font-weight: 800; color: var(--ink-900);
  font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.1;
}
.brand__name span { display: block; color: var(--brand-600); font-weight: 600; font-size: .78rem; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nav__link {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; color: var(--ink-700);
}
.nav__link:hover, .nav__link[aria-current="page"] {
  color: var(--brand-700); background: var(--brand-50);
}

.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; color: var(--ink-700);
  background: transparent; border: 0;
}
.nav__dropdown-toggle:hover, .nav__dropdown-toggle[aria-expanded="true"] {
  color: var(--brand-700); background: var(--brand-50);
}
.nav__dropdown-toggle svg { transition: transform var(--t-fast) var(--ease); }
.nav__dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
  min-width: 260px; padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}
.nav__dropdown:hover .nav__submenu,
.nav__dropdown:focus-within .nav__submenu,
.nav__dropdown-toggle[aria-expanded="true"] + .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--ink-700); font-weight: 500; font-size: .95rem;
}
.nav__submenu a:hover { background: var(--brand-50); color: var(--brand-700); }

.nav__cta {
  margin-left: 8px;
}
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ink-200); background: var(--white);
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 14px 21px; min-height: 48px;
  border: 0; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-align: center; cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

.btn--primary { background: var(--accent-500); color: var(--white); box-shadow: var(--shadow-2); }
.btn--primary:hover { background: var(--accent-600); color: var(--white); box-shadow: var(--shadow-3); }
.btn--secondary { background: var(--brand-700); color: var(--white); }
.btn--secondary:hover { background: var(--brand-800); color: var(--white); }
.btn--ghost { background: transparent; color: var(--brand-700); border: 1.5px solid var(--brand-700); }
.btn--ghost:hover { background: var(--brand-700); color: var(--white); }
.btn--whats { background: var(--whatsapp); color: var(--white); }
.btn--whats:hover { background: #1ebe57; color: var(--white); }
.btn--lg { padding: 16px 28px; min-height: 52px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: not-allowed; }

/* ---------- Section base ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--ink-50); }
.section--brand {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: var(--white);
}
.section--brand h1, .section--brand h2, .section--brand h3 { color: var(--white); }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); color: var(--brand-700);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section--brand .section__eyebrow { background: rgba(255,255,255,.12); color: var(--white); }
.section__title { max-width: 760px; }
.section__lead { font-size: 1.1rem; color: var(--ink-500); max-width: 720px; margin-bottom: 32px; }
.section--brand .section__lead { color: rgba(255,255,255,.85); }
.section__head { margin-bottom: 40px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .section__title { margin-left: auto; margin-right: auto; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero (AIDA) ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-600) 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 7vw, 90px);
  isolation: isolate;
  min-height: 560px;
}

/* Vimeo video background (background=1 mode — no UI ever) */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  background: #062f54; /* fallback while iframe loads */
}
.hero__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;
}

/* Overlay: solid brand-blue on the left fading to transparent on the right (lets the video show through) */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--brand-900) 0%, rgba(6,47,84,.92) 30%, rgba(6,47,84,.55) 60%, rgba(6,47,84,0) 100%),
    linear-gradient(180deg, rgba(6,47,84,.25) 0%, rgba(6,47,84,0) 30%, rgba(6,47,84,0) 70%, rgba(6,47,84,.35) 100%);
}

.hero .container { position: relative; z-index: 2; }
.hero__copy { max-width: 640px; }

.hero__grid {
  position: relative; display: grid; gap: 48px;
  grid-template-columns: 1.15fr 1fr; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-500); box-shadow: 0 0 0 4px rgba(249,115,22,.25); }
.hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.0rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.hero__title em { font-style: normal; color: var(--accent-500); }
.hero__lead {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, .4vw + .9rem, 1.18rem);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero__bullets { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hero__bullets li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.92); font-size: .98rem; }
.hero__bullets svg { flex: 0 0 22px; color: var(--accent-500); margin-top: 2px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; min-height: 360px; }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-3); aspect-ratio: 4/4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -16px; bottom: 28px;
  background: var(--white); color: var(--ink-900);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-2);
  max-width: 78%;
}
.hero__badge-num {
  background: var(--accent-500); color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1.4rem;
  padding: 6px 12px; line-height: 1;
}
.hero__badge-text { font-size: .85rem; line-height: 1.3; }
.hero__badge-text strong { display: block; font-size: .98rem; color: var(--ink-900); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
  padding: 24px 0;
}
.trust__grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem; color: var(--ink-700);
}
.trust__icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  background: var(--brand-50); color: var(--brand-700);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust__item strong { display: block; color: var(--ink-900); font-size: 1rem; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--brand-100); box-shadow: var(--shadow-3); }
.service-card__media { aspect-ratio: 4/3; background: var(--ink-100); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card__title { font-size: 1.15rem; margin: 0 0 8px; }
.service-card__desc { color: var(--ink-500); font-size: .95rem; flex: 1; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 700; font-size: .92rem; color: var(--brand-700);
}
.service-card__link svg { transition: transform var(--t-fast) var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- About row ---------- */
.about {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr 1fr;
}
.about__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 5/4; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__features { display: grid; gap: 16px; margin: 24px 0 28px; }
.about__feature { display: flex; gap: 14px; align-items: flex-start; }
.about__feature-icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--accent-100); color: var(--accent-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.about__feature h3 { margin: 0 0 4px; font-size: 1.05rem; }
.about__feature p { margin: 0; color: var(--ink-500); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.stat {
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 24px; border-radius: var(--radius-lg);
}
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--accent-500); line-height: 1; letter-spacing: -.02em; }
.stat__label { color: rgba(255,255,255,.85); margin-top: 6px; font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery__item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1/1; background: var(--ink-100);
  transition: transform var(--t-med) var(--ease);
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 40px clamp(24px, 4vw, 56px);
  display: grid; gap: 24px; align-items: center;
  grid-template-columns: 1fr auto;
}
.cta-banner h2 { color: var(--white); margin: 0 0 6px; font-size: clamp(1.4rem, 1.6vw + .8rem, 1.9rem); }
.cta-banner p { margin: 0; color: rgba(255,255,255,.9); }
.cta-banner .btn { background: var(--white); color: var(--accent-600); }
.cta-banner .btn:hover { background: var(--ink-50); color: var(--accent-700); }
.cta-banner .btn--whats { background: var(--whatsapp); color: var(--white); }
.cta-banner .btn--whats:hover { background: #1ebe57; color: var(--white); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: var(--white);
  padding: clamp(48px, 6vw, 40px) 0 clamp(56px, 7vw, 45px);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 0%, rgba(249,115,22,.18), transparent 60%);
  pointer-events: none;
}
.page-header h1 { color: var(--white); margin-bottom: 14px;  font-size: clamp(2rem, 4vw + 1rem, 1.4rem);}
.page-header__lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 760px; margin: 0; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Article (rich text) ---------- */
.prose { max-width: 840px; }
.prose h2 { margin-top: 1.6em;font-size:clamp(1.6rem, 2vw + 1rem, 1.4rem); }
.prose h3 { margin-top: 1.4em; color: var(--brand-700); }
.prose p { color: var(--ink-700); }
.prose ul li { margin-bottom: .4em; }
.prose-cards { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 24px 0 8px; }
.prose-card {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-left: 4px solid var(--brand-500);
  padding: 20px 22px; border-radius: var(--radius);
}
.prose-card h3 { margin-top: 0; font-size: 1.05rem; color: var(--brand-700); }
.prose-card p:last-child { margin-bottom: 0; }

/* ---------- Page layout (sidebar) ---------- */
.layout-sidebar {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 320px;
  align-items: start;
}
.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.sidebar__card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-1);
}
.sidebar__card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.sidebar__list { list-style: none; padding: 0; margin: 0; }
.sidebar__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink-700); font-weight: 500; font-size: .95rem;
}
.sidebar__list a:hover, .sidebar__list a[aria-current="page"] {
  background: var(--brand-50); color: var(--brand-700);
}
.sidebar__list a svg { opacity: 0; transition: opacity var(--t-fast); }
.sidebar__list a:hover svg, .sidebar__list a[aria-current="page"] svg { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq-item {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 600; color: var(--ink-900);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 24px; height: 24px; flex: 0 0 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform var(--t-med) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__body { padding: 0 22px 20px; color: var(--ink-700); }
.faq-item__body p { margin: 0 0 .6em; }

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
.contact-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-1);
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card__icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-card h3 { margin: 0 0 4px; font-size: 1rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-700); font-size: .95rem; }
.contact-card a { font-weight: 600; }

.form {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-2);
  position: relative;
}
.form h2 { font-size: 1.4rem; margin: 0 0 6px; }
.form__lead { color: var(--ink-500); margin: 0 0 24px; font-size: .95rem; }
.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.field label .req { color: var(--accent-600); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink-900);
  width: 100%; padding: 12px 14px; min-height: 48px;
  background: var(--white); border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.field__hint { color: var(--ink-500); font-size: .82rem; }
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not([data-touched="false"]),
.field textarea:invalid:not(:placeholder-shown) { border-color: var(--error); }

.form__captcha { margin: 8px 0 4px; }
.form__submit { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.form__submit small { color: var(--ink-500); font-size: .82rem; text-align: center; }

/* Loading overlay inside form */
.form__overlay {
  position: absolute; inset: 0; background: rgba(255,255,255,.92);
  border-radius: var(--radius-lg);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  z-index: 5; text-align: center; padding: 24px;
}
.form[data-state="loading"] .form__overlay { display: flex; }
.spinner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 5px solid var(--brand-100); border-top-color: var(--brand-500);
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form__overlay-title { font-weight: 700; color: var(--ink-900); }
.form__overlay-sub { color: var(--ink-500); font-size: .9rem; }

/* Map */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-200);
  aspect-ratio: 16/9; background: var(--ink-100);
}
.map-frame iframe, .map-frame img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }

/* ---------- WhatsApp floating ---------- */
.fab-whats {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
  transition: transform var(--t-fast) var(--ease);
}
.fab-whats:hover { transform: scale(1.06); color: var(--white); }
.fab-whats svg { width: 30px; height: 30px; }

/* ---------- Thank you page ---------- */
.thanks {
  min-height: 70vh;
  display: grid; place-items: center; text-align: center;
  padding: 80px 20px;
}
.thanks__inner { max-width: 620px; }
.thanks__icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(22,163,74,.12); color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.thanks h1 { margin-bottom: 12px; }
.thanks p { color: var(--ink-500); font-size: 1.05rem; }
.thanks__ctas { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900); color: rgba(255,255,255,.78);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-bottom: 48px;
}
.footer__brand img { height: 56px; width: auto; background: var(--white); border-radius: var(--radius-sm); padding: 6px; }
.footer__brand p { margin-top: 16px; max-width: 36ch; font-size: .92rem; }
.footer__title { color: var(--white); font-size: 1rem; margin: 0 0 16px; font-weight: 700; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer__list a { color: rgba(255,255,255,.78); }
.footer__list a:hover { color: var(--accent-500); }
.footer__contact { display: grid; gap: 14px; font-size: .92rem; }
.footer__contact a { color: rgba(255,255,255,.78); }
.footer__contact a:hover { color: var(--accent-500); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white); transition: background-color var(--t-fast) var(--ease);
}
.footer__social a:hover { background: var(--accent-500); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer__credit { display: inline-flex; align-items: center; gap: 10px; }
.footer__credit img { display: block; height: auto; width: auto; max-height: none; opacity: 1; }
.footer__credit a { display: inline-block; line-height: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===================================================================== */
/* Responsive                                                             */
/* ===================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(6,47,84,.85) 0%, rgba(6,47,84,.7) 50%, rgba(6,47,84,.85) 100%);
  }
  .hero__copy { max-width: none; }
  .about { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 860px) {
  .topbar__contacts { gap: 12px; font-size: .8rem; }
  .topbar__row > .topbar__contacts:nth-child(2) { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0;
         width: min(86vw, 360px); background: var(--white);
         border-left: 1px solid var(--ink-200);
         padding: 20px; flex-direction: column; align-items: stretch;
         transform: translateX(105%); transition: transform var(--t-med) var(--ease);
         box-shadow: var(--shadow-3); overflow-y: auto;
         z-index: 100; gap: 8px;
       }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__dropdown-toggle { padding: 14px 12px; min-height: 48px; width: 100%; justify-content: space-between; }
  .nav__submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 4px 0 4px 16px;
    background: transparent; min-width: auto;
    max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease);
  }
  .nav__dropdown-toggle[aria-expanded="true"] + .nav__submenu { max-height: 600px; }
  .nav__submenu a { font-size: .92rem; }
  .nav__cta { margin-left: 0; margin-top: 8px; width: 100%; }
  .nav__close { display: inline-flex; align-self: flex-end; margin-bottom: 6px;
    width: 44px; height: 44px; border: 1px solid var(--ink-200);
    background: var(--white); border-radius: var(--radius-sm);
    align-items: center; justify-content: center;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(15,23,42,.45);
    z-index: 90;
  }
}

@media (min-width: 861px) {
  .nav__close { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .form__row--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .hero__badge { left: 0; right: 0; margin: 0 auto; max-width: calc(100% - 24px); }
  .hero__media { aspect-ratio: 4/3; }
  .brand__name { display: none; }
  .topbar__contacts > a:not(:first-child) { display: none; }
}
