/* ============================================================
   LUVAFLORS — DESIGN SYSTEM COMMITMENT
   Archetype   : Editorial Luxury × Kinfolk neighborhood warmth
   Palette     : Cream #FAF7F2 · Ink #1A1A14 · Olive #4A5240 · Terracotta #C4927A
   Typography  : Instrument Serif (display/H1/H2) · Plus Jakarta Sans (UI/body)
   Layout      : Editorial split hero · Z-cascade depth · Asymmetric bento grid
   Motion      : power3.out, expo.out · transform+opacity only · no ease-in-out
   Shadows     : Ultra-diffuse, opacity < 0.05, warm-tinted
   Borders     : 1px solid rgba(26,26,20,0.08) · max-radius 12px on cards
   Gallery     : Dark section (#1A1A14), horizontal pin on desktop
   ============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Palette */
  --bg:              #FAF7F2;
  --bg-dark:         #1A1A14;
  --ink:             #1A1A14;
  --ink-muted:       #5C5B53;
  --ink-faint:       #A8A79F;
  --accent:          #4A5240;
  --accent-light:    #7A8567;
  --rose:            #C4927A;
  --rose-pale:       #F0E8E2;
  --cream-card:      #F5F1EB;

  /* Surfaces */
  --border:          rgba(26, 26, 20, 0.08);
  --border-dark:     rgba(250, 247, 242, 0.12);
  --shadow-card:     0 2px 32px rgba(26, 26, 20, 0.04), 0 1px 4px rgba(26, 26, 20, 0.03);
  --shadow-lifted:   0 8px 48px rgba(26, 26, 20, 0.06), 0 2px 12px rgba(26, 26, 20, 0.04);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-ui:      'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', monospace;

  /* Type scale */
  --size-hero:    clamp(3.5rem, 8vw, 6rem);
  --size-h2:      clamp(2rem, 4.5vw, 3.25rem);
  --size-h3:      clamp(1.125rem, 2vw, 1.4rem);
  --size-body:    1rem;
  --size-small:   0.875rem;
  --size-label:   0.6875rem;

  /* Spacing */
  --gutter:        clamp(1.5rem, 5vw, 5rem);
  --gutter-mobile: 1.25rem;
  --section-y:     clamp(6rem, 12vw, 10rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-power3: cubic-bezier(0.33, 1, 0.68, 1);

  /* Z-index layers */
  --z-base:       1;
  --z-gallery:    2;
  --z-navbar:     100;
  --z-wa-float:   80;
  --z-overlay:    200;
  --z-grain:      9999;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

address {
  font-style: normal;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: 1.25rem var(--gutter);
  display: flex;
  justify-content: center;
}

.navbar-pill {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem 0.625rem 1rem;
  max-width: 900px;
  width: 100%;
  transition: box-shadow 0.3s var(--ease-out);
}

.navbar-pill.scrolled {
  box-shadow: 0 4px 32px rgba(26, 26, 20, 0.06);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: var(--size-small);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-sep {
  color: var(--ink-faint);
  font-size: var(--size-label);
}

.lang-btn {
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 0.125rem 0.25rem;
  border-radius: 3px;
  transition: color 0.2s var(--ease-out);
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--ink);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.1rem;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-wa:hover {
  background: var(--bg-dark);
  transform: scale(1.05);
}

.nav-wa:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s var(--ease-power3), opacity 0.3s var(--ease-out);
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---- Mobile overlay ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 2rem var(--gutter-mobile);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.nav-overlay.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 2rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav-overlay-close:hover {
  background: var(--border);
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}

.nav-overlay-link:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.nav-overlay-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(26, 26, 20, 0.15);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.12);
  font-size: 0.875rem;
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon {
  transform: translate(2px, -2px) scale(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-dark);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: var(--size-small);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s var(--ease-out), border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: rgba(250, 247, 242, 0.25);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.btn-wa {
  gap: 0.625rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(7rem, 14vw, 9rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  position: relative;
}

.hero-left {
  max-width: 600px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: var(--size-hero);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* Each line mask clips the reveal animation */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em; /* prevent descender clip */
}

.line-inner {
  display: block;
}

.hero-h1-italic {
  font-style: italic;
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right side: photo in double-bezel container */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-outer {
  width: min(460px, 90%);
  aspect-ratio: 3 / 4;
  background: var(--rose-pale);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  /* rotation set via GSAP to avoid transform property conflict */
  box-shadow: var(--shadow-lifted);
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.hero-photo-outer:hover .hero-img {
  transform: scale(1.03);
}

.hero-accent-dot {
  position: absolute;
  bottom: -1.5rem;
  left: 15%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--rose-pale);
  border: 1px solid var(--border);
  z-index: -1;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--ink-faint));
  animation: scrollLineDrop 2s var(--ease-out) infinite;
}

@keyframes scrollLineDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-y) var(--gutter);
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  padding-top: clamp(1rem, 4vw, 4rem);
}

.about-text .section-h2 {
  margin-bottom: 2rem;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-copy p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 52ch;
}

/* Photo — Z-cascade depth effect */
.about-media {
  position: relative;
}

.about-photo-outer {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  background: var(--rose-pale);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  /* rotation and parallax y set via GSAP to avoid transform property conflict */
  box-shadow: var(--shadow-lifted);
}

.about-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Year badge — floating accent */
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: var(--shadow-lifted);
  z-index: 2;
}

.about-badge-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-badge-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   SERVICES — Asymmetric bento grid
   Grid: 3-column, cards span 2 or 1 columns
   Top row:    wide (2) | narrow (1)
   Bottom row: narrow (1) | wide (2)
   ============================================================ */
.services {
  padding: var(--section-y) var(--gutter);
  background: var(--bg);
  position: relative;
}

/* Subtle top divider */
.services::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-bottom: var(--section-y);
  opacity: 0.4;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.services-header .section-h2 {
  margin-top: 0.75rem;
}

/* True asymmetric bento: 3-column base, cards swap proportions per row
   Row 1: Card 1 wide (col 1–2) | Card 2 narrow (col 3)
   Row 2: Card 3 narrow (col 1) | Card 4 wide (col 2–3)              */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.service-card:nth-child(2) { grid-column: 3;     grid-row: 1; }
.service-card:nth-child(3) { grid-column: 1;     grid-row: 2; }
.service-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }

.service-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-lifted);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 82, 64, 0.08);
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 1.375rem;
  color: var(--accent);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.service-desc {
  font-size: var(--size-small);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 48ch;
}

/* ============================================================
   GALLERY — Dark section, horizontal pin
   ============================================================ */
.gallery-section {
  background: var(--bg-dark);
  color: var(--bg);
  padding-top: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  position: relative;
}

.gallery-header {
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.gallery-header .eyebrow {
  color: var(--accent-light);
}

.gallery-header .section-h2 {
  color: var(--bg);
  margin-top: 0.5rem;
}

/* ---- Desktop: horizontal track ---- */
.gallery-viewport {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem);
  will-change: transform;
}

.gallery-item {
  flex-shrink: 0;
  height: clamp(400px, 78dvh, 680px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.gallery-item.is-visible .gallery-img-wrap img {
  transform: scale(1);
}

/* ---- Mobile: visible vertical grid ---- */
.gallery-mobile-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 var(--gutter-mobile) clamp(2rem, 6vw, 3.5rem);
}

.gallery-mobile-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gallery-mobile-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Instagram CTA */
.gallery-cta-wrap {
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(250, 247, 242, 0.08);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-y) var(--gutter);
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-left .section-h2 {
  margin-top: 0.5rem;
}

.contact-tagline {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-top: -1.5rem;
}

.contact-wa {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.contact-wa-note {
  font-size: var(--size-label);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  padding-left: 0.25rem;
}

/* Hours */
.hours-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-title {
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.hours-row:first-child {
  border-top: 1px solid var(--border);
}

.hours-day {
  font-size: var(--size-small);
  color: var(--ink-muted);
  min-width: 7ch;
  flex-shrink: 0;
}

.hours-val {
  font-size: var(--size-small);
  color: var(--ink);
  text-align: right;
}

.hours-val--closed {
  color: var(--ink-faint);
  font-style: italic;
}

/* Address */
.address-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-muted);
  font-size: var(--size-small);
}

.address-block i {
  font-size: 1.125rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.address-block address {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.5;
}

/* Social links in contact */
.contact-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.125rem;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease-out), border-color 0.2s, transform 0.2s var(--ease-out);
}

.social-link:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Map */
.contact-right {
  padding-top: clamp(4rem, 8vw, 6.5rem);
}

.map-outer {
  background: var(--rose-pale);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-inner {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.map-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 3rem var(--gutter);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.footer-address {
  font-size: var(--size-label);
  color: rgba(250, 247, 242, 0.45);
  letter-spacing: 0.03em;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: 6px;
  font-size: 1rem;
  color: rgba(250, 247, 242, 0.6);
  transition: color 0.2s var(--ease-out), border-color 0.2s;
}

.footer-social-link:hover {
  color: var(--bg);
  border-color: rgba(250, 247, 242, 0.4);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.footer-copy {
  font-size: var(--size-label);
  color: rgba(250, 247, 242, 0.3);
  letter-spacing: 0.03em;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON (mobile)
   ============================================================ */
.wa-float {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-wa-float);
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.wa-float:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

/* ============================================================
   REVEAL ANIMATION SETUP (initial states, set by JS)
   ============================================================ */
.js-reveal,
.js-reveal-up {
  /* Initial hidden state applied by GSAP — no CSS here to avoid flash */
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-logo-wrap { grid-column: 1; }
  .footer-social    { grid-column: 2; justify-content: flex-end; }
  .footer-address   { grid-column: 1 / -1; }
  .footer-copy      { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-wa {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .navbar {
    padding: 0.875rem var(--gutter-mobile);
  }

  .navbar-pill {
    padding: 0.5rem 0.875rem 0.5rem 0.875rem;
    max-width: none;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 6rem var(--gutter-mobile) 4rem;
    min-height: auto;
    gap: 2.5rem;
  }

  .hero-left {
    max-width: none;
  }

  .hero-tagline {
    max-width: none;
  }

  .hero-right {
    order: -1;
  }

  .hero-photo-outer {
    width: min(280px, 80%);
    margin: 0 auto;
  }

  .hero-scroll-cue {
    display: none;
  }

  /* About */
  .about {
    padding: 4rem var(--gutter-mobile);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-outer {
    max-width: 100%;
    transform: rotate(-1deg);
  }

  .about-badge {
    right: 0.5rem;
    bottom: -1rem;
  }

  /* Services */
  .services {
    padding: 4rem var(--gutter-mobile);
  }

  .services::before {
    margin-bottom: 4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  /* Gallery — switch to mobile grid */
  .gallery-section {
    padding-top: 3.5rem;
    overflow: visible;
  }

  .gallery-header {
    padding: 0 var(--gutter-mobile) 2rem;
  }

  .gallery-viewport {
    display: none;
  }

  .gallery-mobile-grid {
    display: grid;
  }

  .gallery-cta-wrap {
    padding: 2rem var(--gutter-mobile);
    justify-content: flex-start;
  }

  /* Contact */
  .contact {
    padding: 4rem var(--gutter-mobile);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-right {
    padding-top: 0;
  }

  .map-inner {
    aspect-ratio: 4 / 3;
  }

  /* Footer */
  .footer {
    padding: 2.5rem var(--gutter-mobile);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-logo-wrap {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* WhatsApp float: visible on mobile */
  .wa-float {
    display: flex;
  }

  /* Extra bottom padding so float doesn't cover content */
  main {
    padding-bottom: 0;
  }

  .contact {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .gallery-mobile-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-outer {
    width: min(240px, 70%);
  }

  .about-badge {
    display: none;
  }
}

/* ============================================================
   PRINT (basic)
   ============================================================ */
@media print {
  .navbar,
  .grain,
  .wa-float,
  .nav-overlay,
  .hero-scroll-cue {
    display: none !important;
  }
}

/* ============================================================
   FOCUS VISIBLE — global
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
