/* =============================================================
   HEALING MEDICAL & AESTHETICS SPA — styles.css
   Brand: Healing Medical & Aesthetics Spa | Cebu City, PH
   Palette: clinical-luxe warm charcoal + dusty mocha + champagne
   Fonts: Alice (display) + Questrial (body)
   Built: 2026-05-06
   ============================================================= */

/* ─── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --dark:        #1C1412;
  --bg-alt:      #261C19;
  --accent:      #9B7B6A;
  --highlight:   #C8A882;
  --cream:       #FAF6F1;
  --cream-dim:   #F0EAE2;
  --accent-dim:  rgba(155,123,106,0.12);
  --border:      rgba(155,123,106,0.22);
  --ff-display:  'Alice', Georgia, serif;
  --ff-body:     'Questrial', 'Helvetica Neue', sans-serif;
  --radius:      4px;
  --radius-lg:   10px;
  --shadow-sm:   0 2px 12px rgba(28,20,18,0.10);
  --shadow-md:   0 6px 30px rgba(28,20,18,0.16);
  --transition:  0.32s cubic-bezier(0.4,0,0.2,1);
  --page-hero-bg: var(--dark);
}

/* ─── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--highlight); color: var(--dark); }

/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1rem; color: rgba(28,20,18,0.78); }
.section-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.1rem; max-width: 640px; }

/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 88px 0; }
.section--alt { background: var(--cream-dim); }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark p { color: rgba(250,246,241,0.72); }
.section--dark .section-label { color: var(--highlight); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ─── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  font-family: var(--ff-body);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--cream);
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: var(--highlight);
  border-color: var(--highlight);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline--light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250,246,241,0.4);
}
.btn-outline--light:hover {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}
.btn-gold {
  background: var(--highlight);
  color: var(--dark);
  border: 1.5px solid var(--highlight);
}
.btn-gold:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--highlight);
  transform: translateY(-2px);
}

/* ─── 6. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(28,20,18,0.97);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(28,20,18,0.25);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.navbar__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(200,168,130,0.4);
}
.navbar__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.navbar__name-main {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.navbar__name-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__link {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(250,246,241,0.85);
  transition: color var(--transition);
  border-radius: var(--radius);
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--highlight);
}
.navbar__cta {
  margin-left: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--accent);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
  border: 1.5px solid var(--accent);
}
.navbar__cta:hover {
  background: var(--highlight);
  border-color: var(--highlight);
  color: var(--dark);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 7. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.45;
  transition: transform 8s ease;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,20,18,0.72) 0%,
    rgba(28,20,18,0.50) 50%,
    rgba(28,20,18,0.70) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 7rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--highlight);
}
.hero__eyebrow-text {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--highlight);
}
.hero__title {
  color: var(--cream);
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--highlight); font-style: normal; }
.hero__subtitle {
  color: rgba(250,246,241,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-family: var(--ff-body);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(250,246,241,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--highlight), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%        { transform: translateX(-50%) translateY(6px); }
}

/* ─── 8. PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--page-hero-bg, var(--dark));
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(155,123,106,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.page-hero__title { color: var(--cream); margin-bottom: 1rem; }
.page-hero__subtitle {
  color: rgba(250,246,241,0.65);
  font-size: 1.05rem;
  max-width: 540px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: rgba(250,246,241,0.5);
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--highlight); }
.breadcrumb span { color: rgba(250,246,241,0.35); }

/* ─── 9. FEATURES STRIP ─────────────────────────────────────── */
.features-strip {
  background: var(--dark);
  padding: 56px 0;
}
.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(250,246,241,0.08);
}
.feature-item:last-child { border-right: none; }
.feature-item__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--highlight);
}
.feature-item__title {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.feature-item__text {
  font-size: 0.78rem;
  color: rgba(250,246,241,0.55);
  line-height: 1.5;
}

/* ─── 10. SERVICES GRID ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  cursor: pointer;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover img { transform: scale(1.06); }
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,18,0.88) 0%, rgba(28,20,18,0.20) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.service-card__category {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.4rem;
}
.service-card__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--cream);
}
.service-card__arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(250,246,241,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover .service-card__arrow { opacity: 1; }

/* ─── 11. SECTION HEADER ────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .lead { margin: 0.75rem auto 0; }
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 1.25rem;
}
.divider--center { margin: 1.25rem auto 0; }

/* ─── 12. STATS ROW ─────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid rgba(250,246,241,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  color: var(--highlight);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(250,246,241,0.6);
  text-transform: uppercase;
}

/* ─── 13. REVIEWS ───────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #C8A05A;
}
.review-card__stars svg { width: 16px; height: 16px; }
.review-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(28,20,18,0.80);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-card__initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.9rem;
  color: var(--accent);
}
.review-card__name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
}
.review-card__source {
  font-size: 0.72rem;
  color: rgba(28,20,18,0.5);
  letter-spacing: 0.05em;
}

/* ─── 14. SOCIAL FEED ───────────────────────────────────────── */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.feed-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--dark);
}
.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), opacity var(--transition);
}
.feed-item:hover img { transform: scale(1.08); opacity: 0.75; }
.feed-item__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition);
}
.feed-item:hover .feed-item__hover { opacity: 1; }

/* ─── 15. BRAND TEASER ──────────────────────────────────────── */
.brand-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.brand-teaser__image {
  position: relative;
  overflow: hidden;
}
.brand-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-teaser__content {
  background: var(--dark);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-teaser__content .section-label { color: var(--highlight); }
.brand-teaser__content h2 { color: var(--cream); margin-bottom: 1.25rem; }
.brand-teaser__content p { color: rgba(250,246,241,0.70); margin-bottom: 2rem; }

/* ─── 16. ABOUT PAGE ELEMENTS ───────────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.philosophy-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.philosophy-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid var(--border);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.philosophy-card h3 { margin-bottom: 0.75rem; }
.values-list { list-style: none; counter-reset: values; }
.value-item {
  counter-increment: values;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-item__num {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--accent);
  padding-top: 0.25rem;
}
.value-item__title { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.value-item__text { font-size: 0.92rem; color: rgba(28,20,18,0.70); }

/* ─── 17. TIMELINE ──────────────────────────────────────────── */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.timeline-item__content {
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(even) .timeline-item__content:first-child { order: 3; }
.timeline-item:nth-child(even) .timeline-item__dot { order: 2; }
.timeline-item:nth-child(even) .timeline-item__content:last-child { order: 1; text-align: right; }
.timeline-item__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-item__year {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--highlight);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.timeline-item__title { font-family: var(--ff-display); font-size: 1rem; margin-bottom: 0.5rem; }
.timeline-item__text { font-size: 0.85rem; color: rgba(28,20,18,0.68); line-height: 1.6; }

/* ─── 18. SERVICES PAGE ─────────────────────────────────────── */
.disclaimer-box {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.disclaimer-box p { font-size: 0.88rem; color: rgba(28,20,18,0.75); }
.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 5rem;
}
.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.category-tile:hover img { transform: scale(1.07); }
.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,18,0.85) 0%, rgba(28,20,18,0.10) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.category-tile__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.3rem;
}
.category-tile__name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--cream);
}
.service-category-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.service-category-section:last-of-type { border-bottom: none; }
.service-category-section__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.service-category-section__num {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--cream-dim);
  line-height: 1;
  flex-shrink: 0;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-list-item {
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.service-list-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.service-list-item h4 { margin-bottom: 0.4rem; font-family: var(--ff-display); }
.service-list-item p { font-size: 0.85rem; }

/* ─── 19. GALLERY PAGE ──────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  color: rgba(28,20,18,0.70);
  letter-spacing: 0.05em;
  transition: var(--transition);
  background: transparent;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream);
}
.masonry {
  columns: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition);
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,20,18,0.45);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.masonry-item:hover .masonry-item__overlay { opacity: 1; }

/* ─── 20. LIGHTBOX ──────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(28,20,18,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: -40px; right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250,246,241,0.15);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox__close:hover { background: var(--accent); }
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(250,246,241,0.12);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--accent); }
.lightbox__counter {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(250,246,241,0.55);
  letter-spacing: 0.1em;
}

/* ─── 21. CONTACT PAGE ──────────────────────────────────────── */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-block {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.contact-block__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-block p, .contact-block a {
  font-size: 0.9rem;
  color: rgba(28,20,18,0.70);
}
.contact-block a:hover { color: var(--accent); }
.inquiry-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28,20,18,0.60);
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: white;
  color: var(--dark);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.78rem; color: rgba(28,20,18,0.50); margin-top: 0.75rem; }
#formSuccess {
  display: none;
  background: rgba(155,123,106,0.10);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--dark);
}
.map-placeholder {
  background: var(--cream-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(28,20,18,0.45);
  font-size: 0.88rem;
  margin: 3rem 0;
}
.map-placeholder__icon { width: 36px; height: 36px; color: var(--accent); }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 0.98rem;
  font-family: var(--ff-display);
  text-align: left;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent);
}
.faq-question.open svg { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
  color: rgba(28,20,18,0.72);
  line-height: 1.75;
}
.faq-answer.open { display: block; }

/* ─── 22. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 48px;
  border-bottom: 1px solid rgba(250,246,241,0.08);
}
.footer__brand { }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(200,168,130,0.3);
}
.footer__logo-text {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.25;
}
.footer__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
}
.footer__tagline {
  font-size: 0.88rem;
  color: rgba(250,246,241,0.55);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,246,241,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,246,241,0.55);
  transition: var(--transition);
}
.footer__social-link:hover { border-color: var(--accent); color: var(--highlight); }
.footer__social-link svg { width: 16px; height: 16px; }
.footer__col h4 {
  font-family: var(--ff-display);
  font-size: 0.88rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.85rem;
  color: rgba(250,246,241,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--highlight); }
.footer__contact-list { display: flex; flex-direction: column; gap: 0.85rem; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(250,246,241,0.55);
}
.footer__contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer__contact-item a { color: rgba(250,246,241,0.55); }
.footer__contact-item a:hover { color: var(--highlight); }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(250,246,241,0.35);
}
.footer__bottom a { color: rgba(250,246,241,0.35); }
.footer__bottom a:hover { color: var(--highlight); }

/* ─── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--highlight); color: var(--dark); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ─── FADE IN ANIMATION ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ─── CTA SPLIT ─────────────────────────────────────────────── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-split__img {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.cta-split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-split__content {
  background: var(--bg-alt);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-split__content h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-split__content p { color: rgba(250,246,241,0.65); margin-bottom: 2rem; }

/* ─── SOCIAL CTA ────────────────────────────────────────────── */
.social-cta { text-align: center; }
.social-cta h2 { margin-bottom: 0.75rem; }
.social-cta p { margin-bottom: 2rem; }
.social-cta__links { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.social-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  transition: var(--transition);
  color: var(--dark);
}
.social-cta__link svg { width: 18px; height: 18px; }
.social-cta__link:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }

/* ─── RESPONSIVE: 1024px ────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-strip__grid { grid-template-columns: repeat(3, 1fr); }
  .feature-item:nth-child(3) { border-right: none; }
  .feature-item:nth-child(4),
  .feature-item:nth-child(5) { border-top: 1px solid rgba(250,246,241,0.08); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .brand-teaser__content { padding: 2.5rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(250,246,241,0.08); }
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-item:nth-child(even) .timeline-item__content:first-child { order: 2; text-align: left; }
  .timeline-item:nth-child(even) .timeline-item__dot { order: 1; }
  .timeline-item:nth-child(even) .timeline-item__content:last-child { display: none; }
}

/* ─── RESPONSIVE: 768px ─────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 1.25rem; }
  .navbar__nav { display: none; flex-direction: column; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--dark); padding: 5rem 2rem 2rem; gap: 0; transition: right var(--transition); }
  .navbar__nav.open { display: flex; right: 0; }
  .navbar__link { font-size: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(250,246,241,0.07); color: var(--cream); border-radius: 0; }
  .navbar__cta { margin: 1.5rem 0 0; padding: 0.85rem 1.5rem; text-align: center; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-blocks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__img { min-height: 240px; }
  .brand-teaser { grid-template-columns: 1fr; }
  .brand-teaser__image { min-height: 280px; }
  .brand-teaser__content { padding: 2rem; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .inquiry-form { padding: 2rem 1.5rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .features-strip__grid { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(250,246,241,0.08); }
  .feature-item:last-child { border-bottom: none; }
  .page-hero { padding: 120px 0 60px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ─── RESPONSIVE: 480px ─────────────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .grid-4 { grid-template-columns: 1fr; }
  .features-strip__grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tiles { grid-template-columns: 1fr; }
  .cta-split__content { padding: 2rem 1.25rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
