/* ==========================================================================
   Ritmo Digital — design tokens
   ========================================================================== */
:root{
  --ink: #0a0c06;
  --ink-soft: #1c1f16;
  --paper: #faf9f5;
  --paper-2: #f2f0e9;
  --line: rgba(10,12,6,.10);
  --line-soft: rgba(10,12,6,.06);
  --muted: #6b6a5f;
  --gold: #ffb21e;
  --gold-deep: #fbb02e;
  --white: #ffffff;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -30px rgba(10,12,6,.35);
  --ease: cubic-bezier(.16,.8,.28,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 600; line-height:1.12; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
input, select, textarea{ font-family:inherit; font-size:1rem; }

.container{ width:100%; max-width: var(--container); margin-inline:auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--gold); color:var(--ink);
  padding:12px 18px; z-index:1000; border-radius:0 0 10px 0; font-weight:600;
}
.skip-link:focus{ left:0; }

/* ---------------------------------------------------------------------
   Icons (CSS mask, single-color, recolored via currentColor)
   --------------------------------------------------------------------- */
.ic{
  display:inline-block; width:1.15em; height:1.15em; background-color:currentColor;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-size:contain; mask-size:contain;
  flex:none;
}
.ic-spark{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3l1.8 4.6L18 9l-4.2 1.4L12 15l-1.8-4.6L6 9l4.2-1.4L12 3z'/%3E%3Cpath d='M19 13l.9 2.1L22 16l-2.1.9L19 19l-.9-2.1L16 16l2.1-.9L19 13z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3l1.8 4.6L18 9l-4.2 1.4L12 15l-1.8-4.6L6 9l4.2-1.4L12 3z'/%3E%3Cpath d='M19 13l.9 2.1L22 16l-2.1.9L19 19l-.9-2.1L16 16l2.1-.9L19 13z'/%3E%3C/svg%3E"); }
.ic-globe{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3C/svg%3E"); }
.ic-shield{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ic-code{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 6 3 12 8 18'/%3E%3Cpolyline points='16 6 21 12 16 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 6 3 12 8 18'/%3E%3Cpolyline points='16 6 21 12 16 18'/%3E%3C/svg%3E"); }
.ic-pin{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.5 7-12a7 7 0 10-14 0c0 5.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.5 7-12a7 7 0 10-14 0c0 5.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E"); }
.ic-ads{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 001 1h2l4 4V5L6 9H4a1 1 0 00-1 1z'/%3E%3Cpath d='M14 8a4 4 0 010 8'/%3E%3Cpath d='M17 5a8 8 0 010 14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 001 1h2l4 4V5L6 9H4a1 1 0 00-1 1z'/%3E%3Cpath d='M14 8a4 4 0 010 8'/%3E%3Cpath d='M17 5a8 8 0 010 14'/%3E%3C/svg%3E"); }
.ic-share{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='6' cy='12' r='2.3'/%3E%3Ccircle cx='18' cy='6' r='2.3'/%3E%3Ccircle cx='18' cy='18' r='2.3'/%3E%3Cline x1='8' y1='11' x2='16' y2='7.3'/%3E%3Cline x1='8' y1='13' x2='16' y2='16.7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='6' cy='12' r='2.3'/%3E%3Ccircle cx='18' cy='6' r='2.3'/%3E%3Ccircle cx='18' cy='18' r='2.3'/%3E%3Cline x1='8' y1='11' x2='16' y2='7.3'/%3E%3Cline x1='8' y1='13' x2='16' y2='16.7'/%3E%3C/svg%3E"); }
.ic-bot{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='9' width='14' height='10' rx='2.4'/%3E%3Cpath d='M12 9V5'/%3E%3Ccircle cx='12' cy='4' r='1.1' fill='black' stroke='none'/%3E%3Cline x1='2' y1='13' x2='5' y2='13'/%3E%3Cline x1='19' y1='13' x2='22' y2='13'/%3E%3Ccircle cx='9' cy='14' r='1' fill='black' stroke='none'/%3E%3Ccircle cx='15' cy='14' r='1' fill='black' stroke='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='9' width='14' height='10' rx='2.4'/%3E%3Cpath d='M12 9V5'/%3E%3Ccircle cx='12' cy='4' r='1.1' fill='black' stroke='none'/%3E%3Cline x1='2' y1='13' x2='5' y2='13'/%3E%3Cline x1='19' y1='13' x2='22' y2='13'/%3E%3Ccircle cx='9' cy='14' r='1' fill='black' stroke='none'/%3E%3Ccircle cx='15' cy='14' r='1' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.ic-cart{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3' fill='black'/%3E%3Ccircle cx='18' cy='20' r='1.3' fill='black'/%3E%3Cpath d='M2 3h2l2.6 12.4a2 2 0 002 1.6h8.8a2 2 0 002-1.6L22 7H6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3' fill='black'/%3E%3Ccircle cx='18' cy='20' r='1.3' fill='black'/%3E%3Cpath d='M2 3h2l2.6 12.4a2 2 0 002 1.6h8.8a2 2 0 002-1.6L22 7H6'/%3E%3C/svg%3E"); }
.ic-star{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L12 16.9 6.4 20l1.4-6.3L3 9.5l6.4-.6L12 3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3l2.6 5.9 6.4.6-4.8 4.3 1.4 6.3L12 16.9 6.4 20l1.4-6.3L3 9.5l6.4-.6L12 3z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Buttons / badges
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 15px 28px; border-radius: 999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(255,178,30,.7); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255,178,30,.85); }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover{ background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-sm{ padding: 10px 20px; font-size:.85rem; }
.btn-full{ width:100%; }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85); font-size:.85rem; font-weight:500;
}
.badge .ic{ color: var(--gold); }

.eyebrow{
  display:inline-block; font-size:.8rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color: var(--gold-deep); margin-bottom:14px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(250,249,245,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(10,12,6,.25);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand-logo{ height: 42px; width:auto; transition: filter .3s var(--ease); }

.main-nav{ display:flex; align-items:center; gap: clamp(16px, 2.4vw, 32px); }
.main-nav a{
  font-size:.92rem; font-weight:500; color: rgba(255,255,255,.85);
  position:relative; padding: 4px 0; transition: color .3s var(--ease);
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background: currentColor; transition: right .3s var(--ease);
}
.main-nav a:hover{ color: var(--gold); }
.main-nav a:hover::after{ right:0; }

.site-header.is-scrolled .main-nav a{ color: var(--ink-soft); }
.site-header.is-scrolled .main-nav a:hover{ color: var(--ink); }

.header-actions{ display:flex; align-items:center; gap:16px; }

.lang-switch{ display:flex; align-items:center; gap:6px; font-size:.85rem; font-weight:600; color: rgba(255,255,255,.6); }
.site-header.is-scrolled .lang-switch{ color: var(--muted); }
.lang-sep{ opacity:.5; }
.lang-btn{ background:none; border:none; padding:2px 4px; color:inherit; font-weight:600; font-size:.85rem; }
.lang-btn.is-active{ color: var(--gold-deep); }
.site-header.is-scrolled .lang-btn.is-active{ color: var(--ink); }

.burger{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:44px; height:44px; background:none; border:none; padding:8px;
  touch-action:manipulation; position:relative; z-index:610;
}
.burger span{ display:block; width:28px; height:2px; background: var(--white); border-radius:2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }
.site-header.is-scrolled .burger span{ background: var(--ink); }
.nav-close{ display:none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  background: var(--ink); color: var(--white);
  padding: clamp(140px, 22vw, 210px) 0 clamp(90px, 12vw, 130px);
}
.hero-glow{
  position:absolute; inset:-20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(38% 45% at 18% 20%, rgba(255,178,30,.35), transparent 70%),
    radial-gradient(45% 50% at 85% 10%, rgba(255,178,30,.16), transparent 70%),
    radial-gradient(60% 60% at 50% 100%, rgba(255,255,255,.05), transparent 70%);
  filter: blur(10px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift{
  0%{ transform: translate3d(0,0,0) scale(1); }
  100%{ transform: translate3d(2%, -3%, 0) scale(1.05); }
}
.hero-grid{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 55% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 35%, #000 20%, transparent 75%);
}
.hero-inner{ position:relative; z-index:2; max-width: 820px; }
.hero-title{ font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-bottom: 22px; }
.hero-title span{ color: var(--gold); }
.hero-subtitle{ font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.72); max-width: 600px; margin-bottom: 38px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom: 44px; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:12px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.hero-inner .reveal{ transition-delay: calc(var(--d,0) * 90ms); }
.hero-inner .eyebrow{ --d:0; } .hero-inner .hero-title{ --d:1; } .hero-inner .hero-subtitle{ --d:2; } .hero-inner .hero-cta{ --d:3; } .hero-inner .hero-badges{ --d:4; }

/* ==========================================================================
   Sectors marquee
   ========================================================================== */
.sectors{ padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.sectors-title{ text-align:center; font-size:.85rem; font-weight:600; letter-spacing:.06em; color: var(--muted); text-transform:uppercase; margin-bottom: 26px; }
.sectors-track{ overflow:hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sectors-row{ display:flex; gap: 14px; width:max-content; animation: marquee 32s linear infinite; }
.sectors-row:hover{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.sector-chip{
  display:inline-flex; align-items:center; gap:10px; white-space:nowrap;
  padding: 10px 20px; border-radius:999px; background: var(--white); border:1px solid var(--line);
  font-size:.9rem; font-weight:500; color: var(--ink-soft);
}
.sector-chip::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--gold); }

/* ==========================================================================
   Section shared
   ========================================================================== */
section{ position:relative; }
.service-grid > *, .why-grid > *, .process-grid > *, .contact-grid > *, .footer-inner > *{ min-width:0; }
.services, .why, .process, .contact{ padding: clamp(70px, 10vw, 120px) 0; }
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom:16px; }
.section-sub{ color: var(--muted); font-size: 1.05rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,178,30,.4); }
.service-icon{
  width:52px; height:52px; border-radius:14px; margin-bottom:20px;
  background: linear-gradient(155deg, var(--gold), var(--gold-deep));
  display:flex; align-items:center; justify-content:center;
  color: var(--ink);
}
.service-icon .ic{ width:24px; height:24px; }
.service-card h3{ font-size: 1.08rem; margin-bottom:10px; }
.service-card p{ color: var(--muted); font-size:.94rem; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why{ background: var(--ink); color: var(--white); }
.why-grid{ display:grid; grid-template-columns: 0.9fr 1.4fr; gap: 56px; align-items:start; }
.why-copy h2{ font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--white); }
.why-copy{ position:sticky; top: 120px; }
.why-list{ display:grid; gap: 30px; }
.why-item{ display:flex; gap: 22px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.why-item:last-child{ border-bottom:none; padding-bottom:0; }
.why-num{ font-family: var(--font-display); font-size:.95rem; color: var(--gold); font-weight:600; padding-top:3px; }
.why-item h3{ color: var(--white); font-size:1.15rem; margin-bottom:8px; }
.why-item p{ color: rgba(255,255,255,.62); font-size:.96rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step{ position:relative; padding: 30px 22px 0; border-top: 2px solid var(--line); }
.process-step::before{
  content:""; position:absolute; top:-2px; left:0; width:0; height:2px; background: var(--gold);
  transition: width .5s var(--ease);
}
.process-step.is-visible::before{ width: 46px; }
.process-num{ display:block; font-family: var(--font-display); font-size:.85rem; color: var(--gold-deep); font-weight:700; margin-bottom:14px; }
.process-step h3{ font-size:1.15rem; margin-bottom:10px; }
.process-step p{ color: var(--muted); font-size:.94rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.contact-copy h2{ font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom:16px; }
.contact-info{ margin-top: 40px; display:grid; gap:22px; }
.contact-info-item{ display:flex; flex-direction:column; gap:4px; }
.contact-info-label{ font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--gold-deep); }
.contact-info-item a{ font-size:1.1rem; font-weight:600; transition: color .25s var(--ease); }
.contact-info-item a:hover{ color: var(--gold-deep); }

.contact-form{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px); display:grid; gap:18px; box-shadow: var(--shadow);
}
.form-row{ display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.contact-form label{ display:grid; gap:8px; min-width:0; font-size:.85rem; font-weight:600; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; min-width:0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  background: var(--paper); color: var(--ink); font-weight:400; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(255,178,30,.18);
}
.form-full{ grid-column: 1 / -1; }
.contact-form textarea{ resize: vertical; min-height: 100px; }
.form-note{ font-size:.88rem; color: var(--muted); text-align:center; }
.form-note.is-success{ color: #2a7d4f; font-weight:600; }
.form-note.is-error{ color: #a72c2c; font-weight:600; }
.field-error{ color:#a72c2c; font-size:.78rem; font-weight:600; line-height:1.35; }
.contact-form input.is-invalid, .contact-form textarea.is-invalid, .contact-form select.is-invalid{
  border-color:#c83c3c; box-shadow:0 0 0 4px rgba(200,60,60,.12);
}
.contact-form button[disabled]{ cursor:wait; opacity:.72; transform:none; }
.form-honeypot{
  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;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-inner{ display:grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo{ height:34px; margin-bottom:16px; }
.footer-brand p{ max-width: 320px; font-size:.92rem; color: rgba(255,255,255,.55); }
.footer-nav{ display:flex; flex-wrap:wrap; align-items:start; justify-content:flex-end; gap: 28px; }
.footer-nav a{ font-size:.92rem; color: rgba(255,255,255,.75); transition: color .25s var(--ease); }
.footer-nav a:hover{ color: var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top: 24px; font-size:.82rem; color: rgba(255,255,255,.45); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner{
  position: fixed; left:0; right:0; bottom:0; z-index:700;
  background: var(--ink); color: var(--white);
  border-top: 1px solid rgba(255,178,30,.25);
  box-shadow: 0 -20px 50px -20px rgba(10,12,6,.4);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.cookie-banner.is-visible{ transform: translateY(0); }
.cookie-inner{
  max-width: var(--container); margin-inline:auto;
  padding: 22px clamp(20px, 5vw, 40px);
  display:flex; flex-wrap:wrap; align-items:center; gap: 18px 28px;
}
.cookie-text{ flex: 1 1 420px; margin:0; font-size:.92rem; color: rgba(255,255,255,.78); }
.cookie-more{
  display:inline; background:none; border:none; padding:0; margin-left:6px;
  color: var(--gold); font: inherit; font-weight:600; text-decoration:underline;
  cursor:pointer;
}
.cookie-details{ flex-basis:100%; border-top: 1px solid rgba(255,255,255,.1); padding-top:14px; }
.cookie-details p{ margin:0; font-size:.85rem; color: rgba(255,255,255,.6); max-width: 720px; }
.cookie-actions{ display:flex; gap:12px; flex:none; margin-left:auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .burger{ display:flex; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: 1fr; }
  .why-copy{ position:static; }
  .process-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-nav{ justify-content:flex-start; }
}

@media (max-width: 640px){
  .header-actions .btn-sm{ display:none; }
  .service-grid{ grid-template-columns: 1fr; }
  .process-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .footer-bottom{ flex-direction:column; }
  .cookie-actions{ width:100%; margin-left:0; }
  .cookie-actions .btn{ flex:1; }
}

/* Mobile nav drawer */
body.nav-open .main-nav{
  display:flex; position:fixed; inset:0; z-index:600;
  flex-direction:column; align-items:flex-start; justify-content:center; gap: 28px;
  padding: 40px clamp(24px, 8vw, 60px); background: var(--ink);
}
body.nav-open .site-header.is-scrolled{
  background:transparent; border-color:transparent; box-shadow:none;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
body.nav-open .main-nav a{ font-size:1.5rem; color: var(--white); }
body.nav-open .site-header.is-scrolled .main-nav a{ color:var(--white); }
body.nav-open .site-header.is-scrolled .main-nav a:hover{ color:var(--gold); }
body.nav-open{ overflow:hidden; }
body.nav-open .burger{ opacity:0; pointer-events:none; visibility:hidden; }
body.nav-open .nav-close{
  display:flex; align-items:center; gap:10px; position:fixed;
  top:max(18px, env(safe-area-inset-top)); right:max(20px, env(safe-area-inset-right));
  min-width:44px; min-height:44px; padding:8px 12px;
  border:1px solid rgba(255,255,255,.22); border-radius:999px;
  background:rgba(255,255,255,.08); color:var(--white);
  font:inherit; font-weight:600; touch-action:manipulation;
}
.nav-close-icon{ font-size:1.6rem; font-weight:400; line-height:.8; }

@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
  .hero-glow, .sectors-row{ animation:none; }
  html{ scroll-behavior:auto; }
}
