/* =============================================================
   HORUS AGENCY — styles.css
   Archetype: Glassmorphism Modern · lujo oscuro/dorado
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  /* Brand palette */
  --cream:    #F5EDD8;
  --gold:     #C9A84C;
  --gold-2:   #E4C97A;
  --brown:    #2C1A0E;
  --grey:     #6B6B6B;
  --black:    #0D0D0D;

  /* Semantic */
  --bg:       var(--black);
  --bg-2:     #160E08;
  --ink:      var(--cream);
  --ink-mute: #C9BFA9;
  --line:     rgba(245, 237, 216, 0.12);
  --accent:   var(--gold);

  /* Glass */
  --glass:        rgba(245, 237, 216, 0.05);
  --glass-strong: rgba(245, 237, 216, 0.08);
  --glass-border: rgba(201, 168, 76, 0.22);

  /* Typography */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1280px;
  --nav-h: 84px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--cream);
}
em { font-style: italic; color: var(--gold-2); }

::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--cream); color: var(--black);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: ""; display: block; width: 26px; height: 1px; background: var(--gold);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

/* =============================================================
   4. Typography scale
   ============================================================= */
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-mute);
  max-width: 38rem;
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 26px rgba(201,168,76,.22);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(201,168,76,.32);
}
.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--cream);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@supports not (backdrop-filter: blur(1px)) {
  .btn-ghost { background: rgba(44,26,14,.7); }
}
.btn-ghost:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--glass-strong);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --- Glass card --- */
.glass {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  /* Solid fallback first */
  background: rgba(28, 18, 10, 0.92);
}
@supports (backdrop-filter: blur(20px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
  }
}
.glass::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(140deg, rgba(245,237,216,.10), transparent 45%);
  pointer-events: none;
}

/* --- Tilt --- */
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), box-shadow .45s var(--ease-soft), border-color .35s var(--ease-out);
}
.has-tilt:hover { transition-duration: .15s; border-color: var(--gold); }
.has-tilt:hover {
  box-shadow:
    0 40px 80px -30px rgba(201,168,76,.28),
    0 20px 45px -20px rgba(0,0,0,.6);
}
.tilt-inner { transform: translateZ(28px); transform-style: preserve-3d; }

/* --- Reveal --- */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* --- Custom cursor --- */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 58px; height: 58px; margin: -29px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* --- Count up numbers --- */
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.stat-label {
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

/* --- Nav --- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding-block: 1.1rem;
  transition: padding .35s var(--ease-out);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-scrolled .nav-inner {
  background: rgba(13, 13, 13, 0.55);
  border-color: var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .04em;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
}
.nav-logo em { color: var(--gold); font-style: normal; }
.nav-links {
  display: none;
  align-items: center; gap: 2.2rem;
}
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; font-size: .92rem; font-weight: 500; padding: .25rem 0;
  color: var(--ink-mute);
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--cream); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger-bars { position: relative; width: 18px; height: 12px; }
.nav-burger-bars span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.nav-burger-bars span:nth-child(1) { top: 0; }
.nav-burger-bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger-bars span:nth-child(3) { bottom: 0; }
.nav-mobile.is-open .nav-burger-bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-mobile.is-open .nav-burger-bars span:nth-child(2) { opacity: 0; }
.nav-mobile.is-open .nav-burger-bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

/* --- Mobile nav panel --- */
.nav-mobile-panel {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile.is-open .nav-mobile-panel { clip-path: inset(0); }
.nav-mobile-links {
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  text-align: center;
}
.nav-mobile-links a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--cream);
}
.nav-mobile-links a:hover { color: var(--gold); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--black);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity .9s, clip-path 1.1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  letter-spacing: .12em;
  color: var(--cream);
}
.splash-mark em { color: var(--gold); font-style: normal; }
.splash-line {
  display: block; width: 64px; height: 1px; margin: 1.4rem auto 0;
  background: var(--gold);
  animation: splashLine 1.6s var(--ease-soft) infinite;
}
@keyframes splashLine { 0%, 100% { transform: scaleX(.4); opacity:.5; } 50% { transform: scaleX(1); opacity: 1; } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(50% 45% at var(--mesh-x) var(--mesh-y), rgba(201,168,76,.30), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(44,26,14,.9), rgba(201,168,76,.10), rgba(13,13,13,1), rgba(44,26,14,.9));
  filter: blur(90px) saturate(130%);
  animation: meshShift 36s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 25%; --mesh-y: 35%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 75%; --mesh-y: 60%; }
  100% { --mesh-angle: 360deg; --mesh-x: 25%; --mesh-y: 35%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-grid {
  display: grid; gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}
.hero-title { margin-bottom: 1.4rem; }
.hero-figure {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-border);
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(13,13,13,0) 30%, rgba(13,13,13,.85) 100%);
}
.hero-figure-card {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  padding: 1.25rem 1.4rem;
  display: flex; gap: 1.5rem;
}
.hero-figure-card .stat-value { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.hero-figure-card .stat-label { font-size: .75rem; }

/* --- Stats bar --- */
.stats-bar {
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- Services grid --- */
.services-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  height: 100%;
}
.service-card .service-index {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .1em;
}
.service-card h3 { margin-top: .25rem; }
.service-card p { color: var(--ink-mute); font-size: .95rem; }
.service-card-points {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.service-card-points li {
  font-size: .85rem;
  color: var(--ink-mute);
  padding-left: 1rem;
  position: relative;
}
.service-card-points li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.service-card .service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--gold);
}
.service-card .service-link::after { content: "→"; transition: transform .35s var(--ease-out); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* --- Process --- */
.process-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card { padding: 2rem 1.5rem; }
.process-card .process-number {
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold);
  line-height: 1; margin-bottom: 1rem;
}
.process-card p { color: var(--ink-mute); font-size: .92rem; margin-top: .6rem; }

/* --- Portfolio teaser / detail --- */
.portfolio-feature {
  display: grid; gap: 0;
  overflow: hidden;
}
@media (min-width: 960px) {
  .portfolio-feature { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
}
.portfolio-feature-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.portfolio-feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-soft), filter .6s;
}
.portfolio-feature:hover .portfolio-feature-media img {
  transform: scale(1.06);
  filter: saturate(1.18) brightness(1.04);
}
.portfolio-feature-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,13,13,.55), transparent 60%);
}
.portfolio-feature-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  justify-content: center;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--ink-mute);
}

/* --- CTA final --- */
.cta-final {
  position: relative;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(50% 50% at 30% 30%, rgba(201,168,76,.35), transparent 65%),
    radial-gradient(50% 50% at 75% 70%, rgba(245,237,216,.08), transparent 60%);
  filter: blur(80px);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.2) rotate(45deg); }
}
.cta-final h2 { margin-bottom: 1rem; }
.cta-final .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-email {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.cta-email::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.2em;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.cta-email:hover::after { transform: scaleX(1); transform-origin: left; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
}
.footer-grid {
  display: flex; flex-direction: column; gap: 2rem;
}
@media (min-width: 720px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.footer-brand { font-family: var(--serif); font-size: 1.3rem; }
.footer-brand em { color: var(--gold); font-style: normal; }
.footer-tagline { margin-top: .5rem; color: var(--ink-mute); font-size: .9rem; max-width: 26rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: .9rem; color: var(--ink-mute); transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: var(--grey);
}
.footer-bottom a { color: var(--grey); }
.footer-bottom a:hover { color: var(--gold); }

/* --- Page header (sub-pages) --- */
.page-header {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(45% 40% at 80% 20%, rgba(201,168,76,.22), transparent 65%);
  filter: blur(90px);
}
.page-header h1 { max-width: 24ch; }

/* Contact page background */
[data-page="contacto"] main {
  position: relative;
  isolation: isolate;
}
[data-page="contacto"] main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/img/contact-bg.webp") center center / cover no-repeat;
  opacity: 0.18;
}

/* --- Service detail rows --- */
.service-detail {
  display: grid; gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .service-detail { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 4rem; }
  .service-detail:nth-child(even) .service-detail-media { order: 2; }
}
.service-detail-media {
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/11;
}
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.service-detail-points li {
  display: flex; gap: .75rem; align-items: flex-start;
  color: var(--ink-mute); font-size: .96rem;
}
.service-detail-points li::before {
  content: ""; flex-shrink: 0; margin-top: .55rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* --- Contact --- */
.contact-grid {
  display: grid; gap: 2.5rem;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.contact-info-card { padding: clamp(2rem, 4vw, 3rem); }
.contact-channel { margin-bottom: 2rem; }
.contact-channel h3 { margin-bottom: .4rem; font-size: 1rem; }
.contact-channel a, .contact-channel p { color: var(--ink-mute); }
.contact-channel a:hover { color: var(--gold); }

/* --- Form --- */
.cta-form { padding: clamp(2rem, 4vw, 3rem); position: relative; }
.field { position: relative; margin-bottom: 1.4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.35rem 1rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(245,237,216,.03);
  color: var(--cream);
  font-family: var(--sans); font-size: 1rem;
  transition: border-color .3s var(--ease-out), background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  background: rgba(245,237,216,.05);
}
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--ink-mute); font-size: .95rem;
}
.field textarea + label { top: 1.4rem; transform: none; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.65rem; transform: none; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { top: 0.55rem; }

.cta-submit { position: relative; width: 100%; }
.cta-form-spinner, .cta-form-check {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none;
}
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 2px solid rgba(13,13,13,.25); border-top-color: var(--black);
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-check path {
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .55s var(--ease-out);
}
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; position: absolute; }
.cta-success {
  opacity: 0; pointer-events: none;
  transition: opacity .8s var(--ease-out) .2s, transform .9s var(--ease-soft) .2s;
  transform: translateY(12px);
  text-align: center; padding: clamp(2rem, 4vw, 3rem);
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cta-success h3 { margin-bottom: .6rem; }
.cta-success p { color: var(--ink-mute); }

/* --- Credits page --- */
.credits-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.credits-list li {
  padding: 1rem 1.25rem; border-radius: 14px;
  border: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-mute);
}
.credits-list a { color: var(--gold); }
.credits-list a:hover { text-decoration: underline; }

/* --- Pillars --- */
.pillars-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }

.pillar-card {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.pillar-media {
  aspect-ratio: 16 / 9; overflow: hidden;
}
.pillar-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-soft), filter .6s;
}
.pillar-card:hover .pillar-media img { transform: scale(1.06); filter: saturate(1.12); }
.pillar-img-contain { object-fit: contain !important; background: #0a0a0a; }
.pillar-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: .9rem;
}
.pillar-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pillar-body p  { color: var(--ink-mute); font-size: .95rem; }

/* --- FAQ --- */
.faq-list {
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 860px; margin-inline: auto;
}
.faq-item { border-radius: 18px; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; padding: 1.4rem 1.75rem;
  background: none; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--cream);
  transition: color .3s var(--ease-out);
  cursor: pointer;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  position: relative; border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: border-color .35s var(--ease-out), transform .45s var(--ease-soft);
}
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transition: transform .45s var(--ease-soft), opacity .35s;
}
.faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-icon { border-color: var(--gold); transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.75rem 1.4rem;
  color: var(--ink-mute); font-size: .95rem; line-height: 1.7;
}
.faq-answer[hidden] { display: none; }

/* --- CTA Steps --- */
.cta-steps-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cta-steps-grid { grid-template-columns: repeat(3, 1fr); } }
.cta-step { padding: 2rem 1.75rem; }
.cta-step .process-number { font-size: 2rem; }
.cta-step h3 { font-size: 1.05rem; margin-top: .5rem; margin-bottom: .5rem; }
.cta-step p  { color: var(--ink-mute); font-size: .9rem; }

/* =============================================================
   7. Effects / animations
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .cta-final::before { animation-duration: 60s; }
}

/* =============================================================
   8. Responsive helpers
   ============================================================= */
@media (min-width: 540px)  { :root { --nav-h: 88px; } }
@media (min-width: 1280px) { :root { --nav-h: 96px; } }

/* =============================================================
   9. View transitions
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(10px); } }
