/* ═══════════════════════════════════════════════════════════════
   SOMOS ÍCONO — Premium Static Website
   Archetype 02: Editorial Dark Warm
   Version: 20260610
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   01. DESIGN TOKENS
───────────────────────────────────────────────────────────────*/
:root {
  /* Palette */
  --ink:           #0A0A0A;
  --ink-soft:      #141414;
  --ink-mid:       #2A2A2A;
  --surface:       #F7F7F7;
  --surface-warm:  #F0F0F0;
  --muted:         #888888;
  --muted-light:   #B0B0B0;
  --accent:        #4A4549;  /* Gris carbón — color de marca Somos Ícono */
  --accent-light:  #7A7476;
  --accent-dark:   #2E2C2D;
  --white:         #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  2rem;       /* 32px */
  --text-4xl:  2.75rem;    /* 44px */
  --text-5xl:  3.75rem;    /* 60px */
  --text-6xl:  5rem;       /* 80px */
  --text-7xl:  6.5rem;     /* 104px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;

  /* Sections */
  --section-py:  clamp(4rem, 8vw, 7rem);

  /* Containers */
  --container:       1240px;
  --container-wide:  1440px;

  /* Easing */
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap:      cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transitions */
  --t-fast:   160ms;
  --t-base:   280ms;
  --t-slow:   480ms;

  /* Borders */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,8,6,0.12), 0 1px 2px rgba(10,8,6,0.06);
  --shadow:     0 4px 16px rgba(10,8,6,0.14);
  --shadow-lg:  0 12px 40px rgba(10,8,6,0.20);
  --shadow-xl:  0 24px 64px rgba(10,8,6,0.30);

  /* Header */
  --header-h: 96px;
}

/* ─────────────────────────────────────────────────────────────
   02. RESET & BASE
───────────────────────────────────────────────────────────────*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.splash-active {
  overflow: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

button { cursor: pointer; }

::selection {
  background-color: var(--accent);
  color: var(--ink);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--ink);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────────────────────────────────────────────
   03. TYPOGRAPHY SYSTEM
───────────────────────────────────────────────────────────────*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl)); }
h2 { font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }

em {
  font-style: italic;
  font-weight: 300;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: block;
}
.section-eyebrow.light { color: var(--accent-light); }

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-6);
}
.section-title.light { color: var(--surface); }

.section-sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}
.section-sub.light { color: var(--muted-light); }

/* ─────────────────────────────────────────────────────────────
   04. LAYOUT UTILITIES
───────────────────────────────────────────────────────────────*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 5vw, 3rem);
  padding-right: clamp(1rem, 5vw, 3rem);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16) auto;
}
.section-header .section-sub {
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   05. BUTTONS
───────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(74,69,73,0.22);
}
.btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25), 0 8px 24px rgba(10,10,10,0.40);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background-color: var(--white);
  color: var(--accent);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background-color: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-nav {
  padding: 0.625rem 1.5rem;
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
}
.btn-nav:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,10,10,0.25);
}

.btn-full { width: 100%; justify-content: center; }

/* Button states for form */
.btn-sending, .btn-sent { display: none !important; }
.form-sending .btn-text { display: none !important; }
.form-sending .btn-sending { display: inline !important; }
.form-sent .btn-text { display: none !important; }
.form-sent .btn-sent { display: inline !important; }

/* ─────────────────────────────────────────────────────────────
   06. SCROLL ANIMATIONS — REVEAL
───────────────────────────────────────────────────────────────*/
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Defensive rule — prevents invisible text if JS is slow/broken */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────────────────────
   07. SPLASH LOADER
───────────────────────────────────────────────────────────────*/
.splash {
  position: fixed;
  inset: 0;
  background: var(--accent);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-in-out), visibility 0.6s;
}
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Icon mark — viewBox 181×228, 4px padding on each side */
.splash-icon {
  width: clamp(60px, 10vw, 84px);
  height: auto;
  overflow: visible;
}

/* Piece A: upper wedge — perimeter ≈ 326 */
.splash-path-a {
  fill: white;
  stroke: white;
  stroke-width: 6;
  stroke-linejoin: miter;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  fill-opacity: 0;
  animation: trazar-a 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

/* Piece B: main arrow body — perimeter ≈ 571 */
.splash-path-b {
  fill: white;
  stroke: white;
  stroke-width: 6;
  stroke-linejoin: miter;
  stroke-dasharray: 590;
  stroke-dashoffset: 590;
  fill-opacity: 0;
  animation: trazar-b 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes trazar-a {
  0%   { stroke-dashoffset: 340; fill-opacity: 0; stroke-opacity: 1; }
  62%  { stroke-dashoffset: 0;   fill-opacity: 0; stroke-opacity: 1; }
  100% { stroke-dashoffset: 0;   fill-opacity: 1; stroke-opacity: 0; }
}
@keyframes trazar-b {
  0%   { stroke-dashoffset: 590; fill-opacity: 0; stroke-opacity: 1; }
  62%  { stroke-dashoffset: 0;   fill-opacity: 0; stroke-opacity: 1; }
  100% { stroke-dashoffset: 0;   fill-opacity: 1; stroke-opacity: 0; }
}

/* "ÍCONO" wordmark — original letterforms from logo, revealed left-to-right */
.splash-text-img {
  display: block;
  width: clamp(100px, 20vw, 150px);
  height: auto;
  margin-top: clamp(14px, 2.5vw, 20px);
  filter: brightness(0) invert(1); /* dark logo pixels → pure white, transparency preserved */
  clip-path: inset(0 100% 0 0);
  animation: splash-text-reveal 0.8s cubic-bezier(0.25, 0, 0.25, 1) 2.0s both;
}
@keyframes splash-text-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}

/* CSS safety net — hide splash after 5s even if JS fails */
@keyframes splashHide {
  0%, 88% { opacity: 1; visibility: visible; }
  100%    { opacity: 0; visibility: hidden; }
}
.splash { animation: splashHide 5s linear forwards; }

/* ─────────────────────────────────────────────────────────────
   08. CUSTOM CURSOR (desktop)
───────────────────────────────────────────────────────────────*/
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], label, select { cursor: none; }

  .cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .cursor.visible { opacity: 1; }

  .cursor-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: #ffffff;
    mix-blend-mode: difference;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.08s, width 0.2s, height 0.2s;
  }
  .cursor-ring {
    position: absolute;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(255,255,255,0.9);
    mix-blend-mode: difference;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.55;
    transition: transform 0.22s var(--ease-out), width 0.3s, height 0.3s, opacity 0.3s;
  }

  body.cursor-hover .cursor-dot {
    width: 10px; height: 10px;
    background: #ffffff;
  }
  body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    opacity: 0.45;
  }
}

@media (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   09. HEADER / NAV
───────────────────────────────────────────────────────────────*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s;
}
.site-header.scrolled {
  background-color: rgba(247,247,247,0.96);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(10,10,10,0.07), var(--shadow-sm);
}

/* hero visible — keep header fully transparent even if scrolled slightly */
.hero-visible .site-header {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-social {
  display: flex;
  align-items: center;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.nav-social:hover { opacity: 1; transform: scale(1.1); }

/* Logo */
.nav-center { display: flex; justify-content: center; }
.nav-logo { display: flex; align-items: center; padding-top: 5px; cursor: pointer; }
.nav-logo:hover .logo-img { opacity: 0.75; }
.logo-img {
  height: 70px;
  width: auto;
  transition: opacity var(--t-fast), filter var(--t-fast);
}
/* Default: show logo-light (transparent bg, dark marks) on light header */
.logo-dark  { display: none; }
.logo-light { display: block; }

/* On dark hero — invert the transparent logo to white marks */
.hero-visible .site-header .logo-light {
  filter: invert(1);
}
.hero-visible .site-header .nav-social { color: var(--white); }
.hero-visible .site-header .nav-link { color: var(--white); }
.hero-visible .site-header .btn-nav {
  background-color: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.hero-visible .site-header .btn-nav:hover {
  background-color: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
/* Hamburger lines white on transparent hero */
.hero-visible .site-header .burger span {
  background: var(--white);
}

/* Nav links */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.75;
  letter-spacing: 0.03em;
  transition: opacity var(--t-fast), color var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { opacity: 1; }
.nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.burger span {
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast), width var(--t-base);
}
.burger span:nth-child(2) { width: 14px; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) {
  opacity: 0; width: 0;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { opacity: 1; pointer-events: auto; display: flex; }
.mobile-menu.is-closing { opacity: 0 !important; pointer-events: none !important; }

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 400;
  color: var(--surface);
  opacity: 0.75;
  transition: opacity var(--t-fast), color var(--t-fast);
}
.mobile-link:hover, .mobile-link:focus { opacity: 1; }
.mobile-cta {
  font-family: var(--font-body);
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 1 !important;
  margin-top: var(--space-4);
}

/* ─────────────────────────────────────────────────────────────
   10. HERO
───────────────────────────────────────────────────────────────*/
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  background: var(--ink);
  /* Ensure hero starts flush with the viewport top — no gap */
  margin-top: 0;
}

/* Hero slider */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-slide:first-child img {
  transform: scale(1.05);
  transition: transform 8s var(--ease-out), opacity 0s;
}
.hero-slide:first-child img.loaded { transform: scale(1); }

/* Slide info tag (bottom-left of each slide) */
.slide-tag {
  position: absolute;
  bottom: clamp(5rem, 8vw, 7rem);
  left: clamp(1rem, 5vw, 3.5rem);
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
.hero-slide.active .slide-tag {
  opacity: 1;
  transform: translateY(0);
}
.slide-tag-cat {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.slide-tag-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

/* Slider navigation dots */
.slider-dots {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.slider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-base), transform var(--t-base), width var(--t-base), border-radius var(--t-base);
}
.slider-dot.active {
  background: rgba(255,255,255,0.9);
  width: 18px;
  border-radius: 3px;
  transform: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.70) 100%
  );
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(180,180,180,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 50%, rgba(200,200,200,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-wide);
  padding: 0 clamp(1rem, 5vw, 3.5rem);
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}
.hero-em { color: rgba(255,255,255,0.85); font-style: italic; }

.hero-sub {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 48ch;
  margin-bottom: var(--space-10);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: clamp(1rem, 3.5vw, 2.5rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 0.9; }
}

/* ─────────────────────────────────────────────────────────────
   11. MARQUEE
───────────────────────────────────────────────────────────────*/
.marquee-section {
  background: var(--ink-soft);
  padding: var(--space-6) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: var(--space-3);
}

.marquee-wrapper { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  font-style: italic;
  color: rgba(248,246,242,0.35);
  flex-shrink: 0;
  transition: color var(--t-base);
}
.marquee-item:hover { color: rgba(248,246,242,0.75); }

.marquee-sep {
  color: var(--accent);
  font-size: var(--text-xs);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────────
   12. MANIFESTO / ABOUT
───────────────────────────────────────────────────────────────*/
.manifesto-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-bottom: var(--space-20);
}

.manifesto-left .section-title {
  font-size: clamp(var(--text-4xl), 5vw, 5.5rem);
  line-height: 1.0;
  margin-bottom: 0;
}

.manifesto-body {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: var(--space-6);
}

.manifesto-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.value-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(10,8,6,0.15);
  border-radius: var(--radius-full);
  color: var(--muted);
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.value-tag:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background-color: rgba(74,69,73,0.06);
}

/* Mosaic */
.about-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-4);
  height: 520px;
}
.mosaic-main, .mosaic-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.mosaic-side { gap: var(--space-4); }
.mosaic-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.8s var(--ease-out);
}
.mosaic-side img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.8s var(--ease-out);
}
.mosaic-main:hover img,
.mosaic-side img:hover {
  transform: scale(1.03);
}

/* ─────────────────────────────────────────────────────────────
   13. STATS
───────────────────────────────────────────────────────────────*/
.stats-section {
  background: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  padding: var(--space-8) clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.45);
}

/* ─────────────────────────────────────────────────────────────
   14. SERVICES
───────────────────────────────────────────────────────────────*/
.services-section {
  padding: var(--section-py) 0;
  background: var(--surface-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
}

.service-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid rgba(10,8,6,0.07);
  position: relative;
  transition: background-color var(--t-slow) var(--ease-out),
              border-color var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.service-card:hover {
  background: var(--white);
  border-color: rgba(10,8,6,0.10);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-5);
}

.service-name {
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-4);
  line-height: 1.25;
}

.service-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: var(--space-6);
}

.service-link {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: color var(--t-fast), gap var(--t-fast);
  display: inline-flex;
  align-items: center;
}
.service-link:hover { color: var(--ink); }

/* ─────────────────────────────────────────────────────────────
   15. PORTFOLIO / PROJECTS
───────────────────────────────────────────────────────────────*/
.projects-section {
  padding: var(--section-py) 0;
  background: var(--ink-soft);
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-12);
}
.filter-btn {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  color: rgba(248,246,242,0.5);
  border: 1px solid rgba(248,246,242,0.12);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--ink);
  background-color: var(--accent);
  border-color: var(--accent);
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.proj-large {
  grid-column: span 2;
  grid-row: span 2;
}
.proj-wide {
  grid-column: span 2;
}

.proj-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--ink-mid);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s, transform 0.4s;
}
.proj-large { aspect-ratio: auto; min-height: 480px; }

.proj-card.hidden {
  display: none;
}

.proj-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.proj-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.proj-card:hover .proj-thumb img { transform: scale(1.06); }
/* Church's Chicken IPSFA — photo shot sideways, rotate left 90° */
.proj-thumb img.proj-img-rotate { transform: rotate(-90deg) scale(1.35); }
.proj-card:hover .proj-thumb img.proj-img-rotate { transform: rotate(-90deg) scale(1.43); }

.proj-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(10,8,6,0.88) 0%, transparent 100%);
  transform: translateY(4px);
  transition: transform 0.4s var(--ease-out);
}
.proj-card:hover .proj-info { transform: translateY(0); }

.proj-cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-2);
}
.proj-name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.proj-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0;
}
.proj-card:hover .proj-desc { max-height: 80px; opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   16. PROCESS
───────────────────────────────────────────────────────────────*/
.process-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10,8,6,0.1);
  border-left: 1px solid rgba(10,8,6,0.1);
  border-right: 1px solid rgba(10,8,6,0.1);
}
.process-step:last-child { border-right: none; }

.process-step {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(10,8,6,0.1);
  border-bottom: 1px solid rgba(10,8,6,0.1);
  position: relative;
  overflow: hidden;
  transition: background-color var(--t-slow);
}
.process-step:hover { background-color: rgba(196,168,130,0.06); }

.process-num {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-8);
}

.process-name {
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.process-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   17. INSTAGRAM SECTION
───────────────────────────────────────────────────────────────*/
.instagram-section {
  padding: var(--section-py) 0;
  background: var(--surface-warm);
}

.insta-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}
.insta-header .section-title {
  font-style: italic;
  margin-bottom: 0;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.insta-post {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  display: block;
  background: var(--ink-mid);
}
.insta-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.insta-post:hover img { transform: scale(1.05); }

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,6,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--t-base);
}
.insta-post:hover .insta-overlay { opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   18. CONTACT SECTION
───────────────────────────────────────────────────────────────*/
.contact-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
}

/* Left column: flex column so map fills remaining space */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Info side */
.contact-info {
  display: flex;
  flex-direction: column;
}
.contact-info .section-title { margin-bottom: var(--space-5); }

.contact-sub {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: var(--space-10);
  max-width: 44ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid rgba(10,8,6,0.1);
  border-radius: var(--radius);
  transition: border-color var(--t-base), background-color var(--t-base), transform var(--t-base);
}
.contact-item:hover {
  border-color: var(--ink);
  background-color: rgba(10,10,10,0.04);
  transform: translateX(4px);
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(10,10,10,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  min-height: 300px;
  background: var(--surface-warm);
  border: 1px solid rgba(10,10,10,0.1);
}

/* iframe inserted by client fills placeholder perfectly */
.map-placeholder iframe,
.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

.map-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  height: 100%;
  min-height: 280px;
  position: relative;
  text-decoration: none;
  transition: background-color var(--t-base);
}
.map-link:hover { background-color: rgba(10,10,10,0.03); }

.map-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(10,8,6,0.04) 0, rgba(10,8,6,0.04) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(10,8,6,0.04) 0, rgba(10,8,6,0.04) 1px, transparent 1px, transparent 32px);
  opacity: 0.6;
}
.map-pin { position: relative; z-index: 1; }
.map-label {
  position: relative;
  z-index: 1;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
}

/* Form side */
.contact-form-wrap {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(10,8,6,0.07);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field label span { color: var(--accent); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid rgba(10,8,6,0.1);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8480' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,168,130,0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-light);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--muted-light);
  text-align: center;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   19. FOOTER
───────────────────────────────────────────────────────────────*/
.site-footer {
  background: var(--ink);
  color: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-logo {
  height: 90px;
  width: auto;
  filter: invert(1);
  opacity: 0.85;
  margin-bottom: var(--space-5);
}

.footer-tagline {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.footer-about {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(248,246,242,0.45);
  max-width: 34ch;
}

.footer-nav-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.35);
  margin-bottom: var(--space-5);
}

.footer-nav ul li,
.footer-services ul li {
  margin-bottom: var(--space-3);
}
.footer-nav ul li a,
.footer-services ul li {
  font-size: var(--text-sm);
  color: rgba(248,246,242,0.55);
  transition: color var(--t-fast);
}
.footer-nav ul li a:hover { color: var(--surface); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(248,246,242,0.55);
  transition: color var(--t-fast);
  display: block;
}
.footer-link:hover { color: rgba(248,246,242,0.85); }
.footer-link-icon { display: flex; align-items: center; gap: 0.5rem; }
.footer-link-icon svg { flex-shrink: 0; opacity: 0.7; }
/* Ensure cotizar footer button matches other footer links exactly */
.btn-cotizar-footer {
  font-weight: 400;
  font-size: var(--text-sm);
  color: rgba(248,246,242,0.55);
  line-height: inherit;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-copy, .footer-credit {
  font-size: var(--text-xs);
  color: rgba(248,246,242,0.28);
}
.footer-credit a { color: rgba(248,246,242,0.45); transition: color var(--t-fast); }
.footer-credit a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   20. WHATSAPP FLOAT BUTTON
───────────────────────────────────────────────────────────────*/
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: #25D366;
  color: var(--white);
  padding: 0.75rem 1.25rem 0.75rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40), 0 2px 8px rgba(10,8,6,0.20);
  transition: transform var(--t-base) var(--ease-snap),
              box-shadow var(--t-base) var(--ease-out),
              background-color var(--t-base);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(37,211,102,0.50), 0 3px 12px rgba(10,8,6,0.25);
  background: #20c75e;
}
.whatsapp-float:active { transform: scale(0.97); }

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: #25D366;
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────
   21. RESPONSIVE — TABLET (≤ 1024px)
───────────────────────────────────────────────────────────────*/
@media (max-width: 1024px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-title { font-size: clamp(2.5rem, 8vw, 5.5rem); }

  /* Manifesto */
  .manifesto-grid { grid-template-columns: 1fr; }
  .about-mosaic { height: 420px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(1) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Projects */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-large { grid-column: span 2; min-height: 400px; }
  .proj-wide { grid-column: span 2; }

  /* Process */
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* FAQ two-col */
  .faq-two-col { grid-template-columns: 1fr !important; gap: 3rem; }
  .faq-video-col { position: static; order: 1; }
  .faq-content { order: -1; }
  .faq-video-wrap { width: 100%; max-width: 240px; margin: 0 auto; aspect-ratio: 9/16 !important; max-height: none !important; }
  .faq-video-caption { max-width: 240px; margin-left: auto; margin-right: auto; }
  .faq-content .section-header { margin-bottom: 1.5rem; }

  /* Instagram */
  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contact — contact-left becomes display:contents so its children
     (contact-info, map-placeholder) participate directly in the grid
     and can be reordered independently */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left { display: contents; }
  .contact-info { order: 1; }
  .contact-form-wrap { order: 2; }
  .map-placeholder { order: 3; flex: none; min-height: 280px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand { grid-column: span 2; }
}

/* ─────────────────────────────────────────────────────────────
   22. RESPONSIVE — MOBILE (≤ 640px)
───────────────────────────────────────────────────────────────*/
@media (max-width: 640px) {
  :root { --header-h: 68px; }

  /* Nav */
  .logo-img { height: 52px; }
  .nav { padding: 0 1rem; }

  /* Hero */
  .hero { padding-bottom: 5rem; }
  .slider-dots { bottom: 1.5rem; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-sub { font-size: var(--text-base); }
  .hero-ctas { gap: var(--space-3); }
  .hero-ctas .btn-ghost { display: none; }
  .hero-scroll { display: none; }

  /* Manifesto */
  .about-mosaic {
    grid-template-columns: 1fr;
    height: auto;
    gap: var(--space-3);
  }
  .mosaic-main { height: 280px; }
  .mosaic-side { flex-direction: row; height: 150px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: var(--text-4xl); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .proj-large, .proj-wide { grid-column: span 1; }
  .proj-large { min-height: 300px; }
  .proj-desc { max-height: 80px !important; opacity: 1 !important; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; }

  /* Instagram */
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-header { flex-direction: column; align-items: flex-start; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  /* WhatsApp */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0.875rem; }
}

/* ─────────────────────────────────────────────────────────────
   23. VALUE ICONS (manifesto 2×2 grid)
───────────────────────────────────────────────────────────────*/
.manifesto-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: var(--space-6);
}
.value-icon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.value-icon-wrap {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,69,73,0.08);
  border-radius: var(--radius);
  color: var(--accent);
}
.value-icon-wrap svg { width: 1.1rem; height: 1.1rem; }
.value-icon-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* Manifesto mini stats row */
.manifesto-mini-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(10,8,6,0.1);
}
.mini-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.mini-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.mini-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   24. SERVICE CARD — hover image background
───────────────────────────────────────────────────────────────*/
.svc-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8,6,4,0.52), rgba(8,6,4,0.65)),
    var(--svc-img, none) center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  z-index: 0;
  pointer-events: none;
}
.service-card:hover .svc-bg { opacity: 1; }
.service-card .service-num,
.service-card .service-name,
.service-card .service-desc,
.service-card .service-link,
.service-card .service-icon-wrap { position: relative; z-index: 1; }
.service-card::before { z-index: 2; }
.service-card:hover .service-num { color: rgba(255,255,255,0.55); }
.service-card:hover .service-name,
.service-card:hover .service-desc { color: var(--white); }
.service-card:hover .service-link { color: rgba(255,255,255,0.85); }
.service-card:hover .service-link::after { border-color: rgba(255,255,255,0.3); }
.service-card:hover .service-icon-wrap { color: var(--white); background: rgba(255,255,255,0.15); }

/* Service card icons */
.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(74,69,73,0.08);
  color: var(--accent);
  margin-bottom: var(--space-5);
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
.service-icon-wrap svg { width: 26px; height: 26px; }

/* ─────────────────────────────────────────────────────────────
   26. PROCESS STEP — hover image background
───────────────────────────────────────────────────────────────*/
.process-step .svc-bg { background:
    linear-gradient(rgba(8,6,4,0.60), rgba(8,6,4,0.72)),
    var(--svc-img, none) center / cover no-repeat;
}
.process-step:hover .svc-bg { opacity: 1; }
.process-step:hover { background-color: transparent; }
.process-step .process-num,
.process-step .process-name,
.process-step .process-desc { position: relative; z-index: 1; }
.process-step:hover .process-num { color: rgba(255,255,255,0.60); }
.process-step:hover .process-name { color: var(--white); }
.process-step:hover .process-desc { color: rgba(255,255,255,0.78); }

/* ─────────────────────────────────────────────────────────────
   27. FAQ — two-column layout with video
───────────────────────────────────────────────────────────────*/
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq-content .section-header {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: var(--space-4);
}
.faq-content .section-sub {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.faq-content .faq-list {
  max-width: none;
  margin: 0;
  margin-top: var(--space-3);
}
.faq-video-col {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.faq-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9/16;
}
.faq-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faq-video-caption {
  display: block;
  width: 100%;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   28. RECAPTCHA
───────────────────────────────────────────────────────────────*/
.recaptcha-wrap {
  margin-bottom: var(--space-4);
}
.recaptcha-wrap .g-recaptcha {
  transform-origin: left;
}

/* ─────────────────────────────────────────────────────────────
   25. FAQ ACCORDION
───────────────────────────────────────────────────────────────*/
.faq-section {
  background: var(--surface);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  margin-top: var(--space-10);
}
.faq-item {
  border-bottom: 1px solid rgba(10,8,6,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 1.25rem; height: 1.25rem;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out), color var(--t-fast);
}
.faq-q:hover .faq-icon { color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a[hidden] { display: block !important; }
.faq-a p {
  padding-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: var(--text-base);
}

/* ─────────────────────────────────────────────────────────────
   23. PRINT
───────────────────────────────────────────────────────────────*/
@media print {
  .site-header, .splash, .cursor, .whatsapp-float, .hero-scroll { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; }
}
