/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Palette — corporate luxury dark */
  --bg:        #080A0E;
  --bg-2:      #0E1218;
  --bg-3:      #161C24;
  --bg-card:   #111720;
  --cream:     #F0EAE0;
  --cream-2:   #C4BAB0;
  --cream-3:   #7A7068;
  --accent:    #C4A05C;
  --accent-2:  #A88440;
  --gold-light:#E0C880;
  --line:      rgba(240,234,224,.09);
  --line-2:    rgba(240,234,224,.05);

  /* Typography */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --gutter:    clamp(1.25rem, 4vw, 2rem);
  --container: min(1200px, 100% - var(--gutter) * 2);
  --section-gap: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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; padding: 0; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 400; }
::selection { background: var(--accent); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 6px; font-size: .85rem; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container { width: var(--container); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .75em; letter-spacing: 0.06em; }
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .7rem;
  margin-bottom: 1.2rem;
  display: block;
}

/* =============================================================
   4. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: split-text elements reset immediately */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.splash-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.splash-logo-img {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.splash-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
}
.splash-v {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--cream);
}
.splash-g {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.9rem, 2.5vw, 1.3rem);
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-right: .1em;
}
.splash-bar {
  width: 160px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.splash-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: splashBarFill 2.2s var(--ease-out) 0.3s forwards;
}
@keyframes splashBarFill { to { width: 100%; } }

/* =============================================================
   6. Cursor (desktop only)
   ============================================================= */
.cursor {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.08s var(--ease-out);
}
.cursor-ring {
  position: absolute;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(196, 160, 92, 0.5);
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor.on-link .cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body { cursor: none; }
  a, button, [data-tilt] { cursor: none; }
}

/* =============================================================
   7. Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 10, 14, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 72px;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: .2em;
}
.nav-logo-text em {
  font-style: italic;
  color: var(--accent);
  font-size: .8em;
  letter-spacing: 0.08em;
}
/* When user places their logo PNG, it overlays the CSS text */
.nav-logo-img {
  position: absolute;
  height: 30px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-logo-img[src]:not([src=""]) {
  opacity: 1;
}
.nav-links {
  display: none;
  gap: 2.5rem;
  margin-left: auto;
}
.nav-link {
  font-size: .85rem;
  font-weight: 400;
  color: var(--cream-2);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { right: 0; }

.btn-nav {
  margin-left: auto;
  display: none;
}

.nav-toggle {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg) translateX(0);
  opacity: 0;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(8, 10, 14, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.nav-mobile.is-open { max-height: 360px; }
.nav-mobile-link {
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-2);
  font-size: 1.1rem;
  color: var(--cream-2);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile-link:hover { color: var(--cream); padding-left: calc(var(--gutter) + 8px); }
.nav-mobile-cta {
  margin: 1.25rem var(--gutter) 1.5rem;
  text-align: center;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .btn-nav { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   8. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.75rem;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.25s var(--ease-out), color 0.25s, transform 0.2s var(--ease-out), box-shadow 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(196, 160, 92, 0.22);
}
.btn-ghost {
  background: transparent;
  color: var(--cream-2);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  color: var(--cream);
  border-color: var(--cream-3);
  transform: translateY(-1px);
}
.btn-nav {
  padding: .55rem 1.25rem;
  font-size: .78rem;
}
.btn-whatsapp .btn-icon { flex-shrink: 0; }

.btn-form {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: .9rem;
  position: relative;
  overflow: hidden;
}
[data-state="idle"] .btn-label-sending,
[data-state="idle"] .btn-label-success,
[data-state="sending"] .btn-label-idle,
[data-state="sending"] .btn-label-success,
[data-state="success"] .btn-label-idle,
[data-state="success"] .btn-label-sending { display: none; }
[data-state="sending"] { opacity: .7; pointer-events: none; }
[data-state="success"] {
  background: #2a6e3a;
  pointer-events: none;
  gap: .5rem;
}
.btn-label-success { display: flex; align-items: center; gap: .5rem; }

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.06);
  transition: transform 8s var(--ease-soft);
}
.hero.is-loaded .hero-bg-img { transform: scale(1); }
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,10,14,.82) 0%,
    rgba(8,10,14,.68) 40%,
    rgba(8,10,14,.85) 100%
  );
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    conic-gradient(from var(--mesh-angle) at 25% 65%,
      rgba(196,160,92,.14) 0deg,
      transparent 55deg,
      rgba(196,160,92,.07) 160deg,
      transparent 220deg),
    radial-gradient(ellipse 60% 50% at 75% 25%, rgba(196,160,92,.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 85%, rgba(196,160,92,.07) 0%, transparent 60%);
  filter: blur(80px);
  animation: meshSpin 28s linear infinite;
  pointer-events: none;
}
@keyframes meshSpin { to { --mesh-angle: 360deg; } }

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

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(8,10,14,.5) 75%, rgba(8,10,14,.85) 100%),
    linear-gradient(180deg, rgba(8,10,14,.6) 0%, transparent 25%, transparent 70%, rgba(8,10,14,.75) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 100px;
  max-width: 820px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.8rem;
  color: var(--cream-3);
  font-size: .7rem;
  letter-spacing: 0.1em;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 0.98;
  color: var(--cream);
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .1em;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTitleIn 1.2s var(--ease-out) 0.8s forwards;
}
.hero-title-em {
  display: block;
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
@keyframes heroTitleIn { to { opacity: 1; transform: none; } }

.hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  color: var(--cream-2);
  line-height: 1.7;
  margin-bottom: 2.4rem;
  max-width: 46ch;
  opacity: 0;
  animation: heroSubIn 1s var(--ease-out) 1.2s forwards;
}
@keyframes heroSubIn { to { opacity: 1; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: heroSubIn 1s var(--ease-out) 1.5s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  color: var(--cream-3);
  font-size: .65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroSubIn 1s var(--ease-out) 2s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll-fill {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scrollFill 2s var(--ease-soft) 2.5s infinite;
}
@keyframes scrollFill {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* =============================================================
   10. About
   ============================================================= */
.about {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.about-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--cream);
  margin-top: .5rem;
}
.about-title em {
  font-style: italic;
  color: var(--accent);
}
.about-lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--cream-2);
  margin-bottom: 1.2rem;
  line-height: 1.75;
}
.about-body {
  color: var(--cream-3);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--accent);
  line-height: 1;
  font-weight: 500;
}
.stat-label {
  font-size: .78rem;
  color: var(--cream-3);
  letter-spacing: 0.04em;
}

.about-img-wrap {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-img {
  width: 100%;
  aspect-ratio: 21/8;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform 0.6s var(--ease-soft), filter 0.4s;
}
.about-img-wrap:hover .about-img {
  transform: scale(1.025);
  filter: saturate(1.05);
}
.about-img-caption {
  position: absolute;
  bottom: .8rem; right: 1rem;
  color: rgba(240,234,224,.5);
  font-size: .65rem;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
}

/* =============================================================
   11. Services
   ============================================================= */
.services {
  padding-block: var(--section-gap);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-header {
  margin-bottom: 3.5rem;
  max-width: 560px;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--cream);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--bg-card);
  overflow: hidden;
  transition: background 0.3s;
  transform-style: preserve-3d;
  cursor: default;
}
.service-card:hover { background: #131A23; }

.service-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8) brightness(.9);
  transition: transform 0.6s var(--ease-soft), filter 0.4s;
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,10,14,.8) 0%, transparent 60%);
}

.service-card-body {
  padding: 1.8rem 2rem 2.2rem;
}
.service-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: border-color 0.25s, background 0.25s;
}
.service-card:hover .service-icon {
  border-color: var(--accent);
  background: rgba(196,160,92,.07);
}
.service-card-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .8rem;
}
.service-card-body p {
  font-size: .9rem;
  color: var(--cream-3);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.service-link {
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap 0.2s var(--ease-out), opacity 0.2s;
}
.service-link:hover { gap: .7rem; opacity: .8; }

/* =============================================================
   12. Why Us
   ============================================================= */
.why-us {
  padding-block: var(--section-gap);
  border-bottom: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.pillar:last-child { border-right: 0; }
@media (min-width: 720px) { .pillar { border-bottom: 0; } }
.pillar:hover { background: var(--bg-3); }
.pillar-num {
  display: block;
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--cream);
  margin-bottom: .75rem;
  font-weight: 400;
}
.pillar p {
  font-size: .88rem;
  color: var(--cream-3);
  line-height: 1.65;
}

.why-us-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
}
@media (min-width: 720px) {
  .why-us-feature { grid-template-columns: 1fr 1fr; padding: 4rem; }
}
.why-us-img-col {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
}
.why-us-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.75);
  transition: transform 0.5s var(--ease-soft);
}
.why-us-img-col:hover img { transform: scale(1.04); }

.why-quote {
  border: 0;
  padding: 0;
}
.why-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--cream-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  position: relative;
}
.why-quote p::before {
  content: '\201C';
  font-size: 4em;
  line-height: 0;
  color: var(--accent);
  opacity: .35;
  position: absolute;
  top: .3em;
  left: -.15em;
}
.why-quote footer { margin-bottom: 2.5rem; }
.why-quote cite {
  font-style: normal;
  font-size: .72rem;
  color: var(--cream-3);
  letter-spacing: 0.06em;
}

/* =============================================================
   13. Contact
   ============================================================= */
.contact {
  padding-block: var(--section-gap);
  position: relative;
  overflow: hidden;
}
.contact-mesh {
  position: absolute;
  inset: -40% -10%;
  background:
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(196,160,92,.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 20% 60%, rgba(196,160,92,.06) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.contact > .container { position: relative; z-index: 1; }

.contact-lead {
  color: var(--cream-3);
  max-width: 52ch;
  margin-top: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 340px 1fr; gap: 5rem; align-items: start; }
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: .75rem;
  transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease-out);
}
.contact-channel:hover {
  background: #161C26;
  border-color: rgba(196,160,92,.25);
  transform: translateX(4px);
}
.cc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(196,160,92,.1);
  border: 1px solid rgba(196,160,92,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.25s;
}
.contact-channel:hover .cc-icon { background: rgba(196,160,92,.16); }
.cc-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  min-width: 0;
}
.cc-label {
  font-size: .64rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cc-value {
  font-size: .9rem;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-arrow {
  color: var(--cream-3);
  font-size: 1.1rem;
  transition: transform 0.2s var(--ease-out), color 0.2s;
}
.contact-channel:hover .cc-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-field label {
  font-size: .75rem;
  color: var(--cream-3);
  letter-spacing: 0.04em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  font: inherit;
  font-size: .9rem;
  padding: .8rem 1rem;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--cream-3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(196,160,92,.45);
  background: #131925;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7068' 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;
}
.form-field select option { background: #0E1218; color: var(--cream); }

.form-note {
  font-size: .68rem;
  color: var(--cream-3);
  text-align: center;
  margin-top: -.25rem;
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
}
.footer-logo-text {
  display: flex;
  align-items: baseline;
  gap: .2em;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--cream);
  margin-bottom: .75rem;
}
.footer-logo-text em { font-style: italic; color: var(--accent); font-size: .8em; letter-spacing: 0.08em; }
.footer-tagline {
  font-size: .82rem;
  color: var(--cream-3);
  margin-bottom: .5rem;
  line-height: 1.5;
}
.footer-legal {
  font-size: .65rem;
  color: rgba(122,112,106,.5);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-nav a {
  font-size: .85rem;
  color: var(--cream-3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item {
  font-size: .75rem;
  color: var(--cream-3);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color 0.2s;
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }
.footer-contact-item:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .65rem;
  color: rgba(122,112,106,.55);
}
.footer-credits { transition: color 0.2s; }
.footer-credits:hover { color: var(--cream-3); }

/* =============================================================
   15. Reduced-motion (intrusive effects only)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { transform: none !important; transition: none; }
  .hero-mesh { animation: none; }
  .hero-scroll-fill { animation: none; }
  .splash-bar-fill { animation: none; width: 100%; }
  .hero-dot { animation: none; }
}
