/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:         #FAF6F0;
  --bg-2:       #F2EAE0;
  --bg-3:       #EDE3D6;
  --cream:      #FFF9F3;
  --ink:        #1C1208;
  --ink-soft:   #3A2A18;
  --ink-mute:   #7A6550;
  --accent:     #C8872A;
  --accent-2:   #A06818;
  --choc:       #2C1A0E;
  --gold-light: #F5DFA8;
  --line:       rgba(28,18,8,0.10);
  --line-strong:rgba(28,18,8,0.18);

  --sans:  'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  --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);

  --nav-h: 72px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max-w: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; font-family: var(--serif); }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1.2rem; background: var(--ink); color: var(--cream); z-index: 9999; border-radius: 8px; font-weight: 500; }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section-pad { padding: clamp(4rem, 9vw, 7rem) 0; }

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "✦";
  font-size: 0.65rem;
  line-height: 1;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-top: 0.5rem;
  line-height: 1.12;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-mute);
  margin-top: 0.7rem;
  max-width: 52ch;
}

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(28,18,8,0.18);
}
.btn-primary:hover { background: var(--ink-soft); box-shadow: 0 8px 28px rgba(28,18,8,0.22); }

.btn-gold {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(200,135,42,0.3);
}
.btn-gold:hover { background: var(--accent-2); box-shadow: 0 8px 28px rgba(200,135,42,0.38); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.28);
  font-size: 1rem;
  padding: 1rem 2rem;
}
.btn-wa:hover { background: #1fba59; box-shadow: 0 8px 28px rgba(37,211,102,0.36); }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(250,246,240,0.97);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo span { color: var(--gold-light); transition: color 0.3s; }
.nav.is-scrolled .nav-logo { color: var(--ink); }
.nav.is-scrolled .nav-logo span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.nav-menu a:not(.nav-cta) {
  position: relative;
  padding-bottom: 3px;
}
.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-menu a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav.is-scrolled .nav-menu a:not(.nav-cta)::after { background: var(--accent); }
.nav-menu a:hover { color: #fff; }
.nav.is-scrolled .nav-menu a { color: var(--ink-soft); }
.nav.is-scrolled .nav-menu a:hover { color: var(--accent); }

.nav-cta {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s var(--ease-out), border-color 0.2s !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.nav.is-scrolled .nav-cta { background: var(--ink) !important; border-color: transparent; }
.nav.is-scrolled .nav-cta:hover { background: var(--accent) !important; box-shadow: 0 6px 18px rgba(200,135,42,0.3); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav.is-scrolled .nav-burger span { background: var(--ink); }

.nav-burger.is-active span { background: var(--ink); }
.nav-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.1) contrast(1.05);
  will-change: transform;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28,18,8,0.55) 0%,
    rgba(28,18,8,0.72) 50%,
    rgba(28,18,8,0.88) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2rem var(--gutter);
}
.hero-eyebrow {
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #fff;
  line-height: 1.02;
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.2rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0.3;
  animation: dotPulse 1.8s ease-in-out infinite;
}
.hero-scroll-dot:nth-child(2) { animation-delay: 0.3s; }
.hero-scroll-dot:nth-child(3) { animation-delay: 0.6s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* =============================================================
   8. MARQUEE
   ============================================================= */
.marquee {
  overflow: hidden;
  background: var(--bg-2);
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  padding: 0 1.8rem;
}
.marquee-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* =============================================================
   9. ABOUT
   ============================================================= */
.about {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 8px 24px rgba(200,135,42,0.3);
}
.about-badge-num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-label { font-size: 0.72rem; opacity: 0.9; letter-spacing: 0.05em; }
.about-text .eyebrow { margin-bottom: 0.8rem; }
.about-text p { color: var(--ink-soft); margin-top: 1rem; line-height: 1.8; }

/* =============================================================
   10. SERVICES
   ============================================================= */
.services { background: var(--bg); padding: clamp(1.75rem, 3vw, 2.75rem) 0; }
.services-header { text-align: center; margin-bottom: 1.5rem; }
.services-header .section-sub { margin-left: auto; margin-right: auto; }

.svc-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.svc-card {
  perspective: 900px;
  cursor: pointer;
  height: 380px;
}
.svc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease-out);
  border-radius: var(--radius);
}
.svc-card.is-flipped .svc-inner { transform: rotateY(180deg); }

.svc-front, .svc-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.svc-front {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: box-shadow 0.3s;
}
.svc-card:hover .svc-front {
  box-shadow: 0 16px 48px rgba(200,135,42,0.15);
}
.svc-back {
  background: var(--choc);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.2rem;
}
.svc-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.svc-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.svc-sub { font-size: 0.82rem; color: var(--accent); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.7rem; }
.svc-desc { font-size: 0.92rem; color: var(--ink-mute); line-height: 1.7; }
.svc-hover-hint { font-size: 0.75rem; color: var(--ink-mute); margin-top: 1rem; opacity: 0.6; }
.svc-back-icon { font-size: 2rem; }
.svc-back-text { font-size: 0.98rem; color: rgba(255,255,255,0.82); line-height: 1.75; }

/* =============================================================
   11. GALLERY
   ============================================================= */
.gallery { background: var(--bg-2); padding: clamp(1.75rem, 3vw, 2.75rem) 0; }
.gallery-header { text-align: center; margin-bottom: 1.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out), filter 0.4s;
}
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.15) brightness(1.04); }
.gallery-item:nth-child(1) { aspect-ratio: 4/3; }
.gallery-item:nth-child(2) { aspect-ratio: 4/3; }
.gallery-item:nth-child(3) { aspect-ratio: 4/3; }
.gallery-item:nth-child(4) { aspect-ratio: 4/3; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(28,18,8,0.8), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-item:has(.gallery-item-placeholder) .gallery-caption { display: none; }

/* placeholder when no real image */
.gallery-item-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--bg-3);
  color: var(--ink-mute);
  font-size: 2.5rem;
}
.gallery-item-placeholder span { font-size: 0.82rem; font-family: var(--sans); }

/* =============================================================
   12. PILLARS / WHY US
   ============================================================= */
.why { background: var(--cream); padding: clamp(1.75rem, 3vw, 2.75rem) 0; }
.why-header { text-align: center; margin-bottom: 1.5rem; }
.pillars-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pillar {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(28,18,8,0.08); }
.pillar-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: 1rem; }
.pillar-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 0.6rem; }
.pillar-desc { font-size: 0.92rem; color: var(--ink-mute); line-height: 1.7; }

/* =============================================================
   13. CONTACT
   ============================================================= */
.contact { background: var(--choc); padding: clamp(2rem, 4vw, 3.5rem) 0; }
.contact-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info .eyebrow { color: var(--gold-light); margin-bottom: 0.8rem; }
.contact-info .section-title { color: #fff; }
.contact-info .section-title em { color: var(--gold-light); }
.contact-info .section-sub { color: rgba(255,255,255,0.6); }
.contact-links { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 2rem; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--gold-light); }
.contact-link-icon { font-size: 1.1rem; }

.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; color: rgba(255,255,255,0.65); letter-spacing: 0.03em; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* =============================================================
   14. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}
.footer-links a { font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-ig:hover { color: var(--accent); }

/* =============================================================
   15. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   16. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; grid-row: unset; }
  .gallery-item:nth-child(2) { aspect-ratio: 4/5; }
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) { aspect-ratio: 4/3; }
}

@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: unset; min-height: 400px; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) { aspect-ratio: 4/3; }
}

@media (min-width: 960px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 719px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #FAF6F0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 98;
    padding: 2rem;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { font-size: 1.3rem; color: var(--ink-soft) !important; }
  .nav-menu a:not(.nav-cta)::after { display: none; }
  .nav-menu a:hover { color: var(--accent) !important; }
  .nav-menu .nav-cta {
    background: var(--ink) !important;
    color: var(--cream) !important;
    border-color: transparent !important;
    font-size: 1rem !important;
    padding: 0.8rem 2rem !important;
  }
  .nav-burger { display: flex; z-index: 100; }

  /* Hero mobile */
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.8rem; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Services mobile */
  .svc-card { height: 340px; }
  .svc-hover-hint { display: none; }

  /* About mobile */
  .about-img-wrap { aspect-ratio: 4/3; }
  .about-badge { bottom: 1rem; right: 1rem; padding: 0.7rem 1rem; }
  .about-badge-num { font-size: 1.5rem; }
  .about-badge-label { font-size: 0.65rem; }
  .about-placeholder { align-items: flex-start !important; justify-content: center !important; padding-bottom: 0 !important; padding-top: 3rem !important; padding-right: 4rem; }

  /* Pillars mobile */
  .pillars-grid { gap: 1rem; }
  .pillar { padding: 1.8rem 1.4rem; }

  /* Contact mobile */
  .contact-form { padding: 1.5rem 1.2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Section spacing tighter on mobile */
  .services, .gallery, .why, .about, .contact { padding: 2rem 0; }

  /* Footer links wrap tighter */
  .footer-links { gap: 1.2rem; }
}

/* =============================================================
   17. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 80s; }
  .hero-scroll-dot { animation: none; opacity: 0.5; }
  .hero-bg { will-change: auto; }
}

/* ═══ Ajustes cliente: logo + iconos formales ═══ */
.nav-logo span, .footer-logo span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-left: 0.16em;
  display: inline-block;
}
.svc-icon svg, .svc-back-icon svg,
.contact-link-icon svg, .footer-ig svg,
.gallery-item-placeholder svg, .about-placeholder svg {
  display: inline-block;
  vertical-align: middle;
}
.svc-icon { color: var(--accent); }
.about-placeholder svg { color: var(--accent); opacity: 0.7; }
.gallery-item-placeholder svg { color: var(--accent); opacity: 0.7; margin-bottom: 0.5rem; }

/* Fotos reales sobre placeholders (fallback a icono si la imagen no existe) */
.gallery-item > img.gallery-photo { position: absolute; inset: 0; z-index: 2; }
.gallery-item:has(img.gallery-photo) .gallery-caption { display: block; z-index: 3; }
.about-img-wrap > img.about-photo { position: absolute; inset: 0; z-index: 1; }
.about-badge { z-index: 3; }

/* ═══ Logo de marca (nav + footer) ═══ */
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo-img { height: 54px; width: auto; display: block; transition: opacity 0.3s; }
.nav-logo .nav-logo-dark { display: none; }
.nav.is-scrolled .nav-logo .nav-logo-light { display: none; }
.nav.is-scrolled .nav-logo .nav-logo-dark { display: block; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo-img { height: 150px; width: auto; display: block; }

/* ═══ Galería (6 items): móvil = carrusel horizontal · desktop = grilla ═══ */
.gallery .gallery-grid {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.6rem;
  scrollbar-width: none;
  grid-template-columns: none;
  grid-template-rows: none;
}
.gallery .gallery-grid::-webkit-scrollbar { display: none; }
.gallery .gallery-item,
.gallery .gallery-item:nth-child(1),
.gallery .gallery-item:nth-child(2),
.gallery .gallery-item:nth-child(3),
.gallery .gallery-item:nth-child(4),
.gallery .gallery-item:nth-child(5),
.gallery .gallery-item:nth-child(6) {
  grid-column: auto;
  grid-row: auto;
  flex: 0 0 76%;
  max-width: 76%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  scroll-snap-align: center;
}
/* En móvil no hay hover: mostramos siempre el nombre */
@media (max-width: 719px) {
  .gallery .gallery-caption { opacity: 1; }
}
/* Desktop: grilla de 3 columnas, tarjetas uniformes */
@media (min-width: 720px) {
  .gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    overflow: visible;
  }
  .gallery .gallery-item,
  .gallery .gallery-item:nth-child(1),
  .gallery .gallery-item:nth-child(2),
  .gallery .gallery-item:nth-child(3),
  .gallery .gallery-item:nth-child(4),
  .gallery .gallery-item:nth-child(5),
  .gallery .gallery-item:nth-child(6) {
    flex: none;
    max-width: none;
    aspect-ratio: 4 / 5;
  }
}

/* Etiquetas de la galería siempre visibles (no solo al pasar el mouse) */
.gallery .gallery-caption { opacity: 1; }
