/* ===== ORILLIA PEARL OYSTER MAMA =====
   Jewelry & Live Pearl Oyster Experience
   Palette: Warm gold seed (H:42) with teal accent
   Typography: Cormorant Garamond (display) + Plus Jakarta Sans (body)
   ======================================= */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* --- Color Palette (HSL Seed: H=42, warm gold) --- */
  --color-primary: hsl(42, 72%, 48%);
  --color-primary-light: hsl(42, 48%, 88%);
  --color-primary-dark: hsl(42, 77%, 28%);
  --color-accent: hsl(178, 62%, 30%);
  --color-accent-light: hsl(178, 35%, 88%);
  --color-bg: hsl(40, 18%, 97%);
  --color-bg-alt: hsl(40, 14%, 94%);
  --color-surface: hsl(40, 10%, 99%);
  --color-text: hsl(42, 22%, 14%);
  --color-text-light: hsl(42, 12%, 42%);
  --color-text-inverse: hsl(42, 12%, 95%);
  --color-dark-bg: hsl(42, 40%, 12%);
  --color-border: hsl(42, 12%, 85%);

  /* --- Typography --- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.85rem);
  --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --text-hero: clamp(2.8rem, 2.2rem + 3vw, 4.5rem);

  /* --- Spacing Scale --- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* --- Section Padding Tiers --- */
  --section-pad-lg: var(--space-3xl);
  --section-pad-md: var(--space-2xl);
  --section-pad-sm: var(--space-xl);

  /* --- Layout --- */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --nav-height: 72px;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;

  /* --- Easing --- */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --container-padding: 1.25rem;
    --nav-height: 64px;
  }
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  max-width: 65ch;
  color: var(--color-text-light);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.full-width-pad {
  padding-left: max(var(--container-padding), calc((100% - var(--container-max)) / 2));
  padding-right: max(var(--container-padding), calc((100% - var(--container-max)) / 2));
}

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xs) var(--container-padding);
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

.topbar a {
  color: var(--color-text-inverse);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.topbar a:hover {
  color: var(--color-primary-light);
}

.topbar-separator {
  width: 1px;
  height: 12px;
  background: hsla(42, 12%, 95%, 0.3);
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-brand-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-inverse);
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.1;
}

.nav-brand-name span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link, .nav-link:visited {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-light);
  text-decoration: none;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color 0.2s var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-dark);
  text-decoration: none;
  padding: 0.5rem var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out);
}

.nav-phone:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: var(--space-sm);
  color: var(--color-text);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* --- Nav Active States --- */
[data-page="home"] .nav-link[href="index.html"],
[data-page="services"] .nav-link[href="services.html"],
[data-page="gallery"] .nav-link[href="gallery.html"],
[data-page="contact"] .nav-link[href="contact.html"] {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

[data-page="home"] .nav-link[href="index.html"]::after,
[data-page="services"] .nav-link[href="services.html"]::after,
[data-page="gallery"] .nav-link[href="gallery.html"]::after,
[data-page="contact"] .nav-link[href="contact.html"]::after {
  width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), visibility 300ms var(--ease-out);
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.mobile-menu-link, .mobile-menu-link:visited {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  text-decoration: none;
  padding: 0.75rem var(--space-lg);
  min-height: 56px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(1rem);
}

.mobile-menu-link.is-active, .mobile-menu-link.is-active:visited {
  color: var(--color-primary);
}

.mobile-menu-link:hover {
  color: var(--color-primary);
}

.mobile-menu-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: color 200ms, opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-menu-links li:nth-child(1) .mobile-menu-link { transition-delay: 0.08s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) .mobile-menu-link { transition-delay: 0.16s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) .mobile-menu-link { transition-delay: 0.24s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) .mobile-menu-link { transition-delay: 0.32s; }

.mobile-menu-phone {
  margin-top: var(--space-2xl);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-menu-phone:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* ===== FLOATING BUTTONS (Mobile) ===== */
.floating-btns {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px hsla(42, 40%, 12%, 0.2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.floating-btn:active {
  transform: scale(0.95);
}

.floating-btn--call {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

.floating-btn--directions {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .floating-btns {
    display: flex;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  padding: var(--section-pad-sm) 0 var(--space-lg);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-inverse);
}

.footer-brand p {
  color: hsla(42, 12%, 95%, 0.7);
  font-size: var(--text-sm);
  max-width: 35ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  color: hsla(42, 12%, 95%, 0.7);
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.footer-col a:hover {
  color: var(--color-text-inverse);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg) var(--container-padding) 0;
  border-top: 1px solid hsla(42, 12%, 95%, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: hsla(42, 12%, 95%, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: hsla(42, 12%, 95%, 0.5);
  transition: color 0.2s var(--ease-out);
}

.footer-social a:hover {
  color: var(--color-primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

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

.btn--primary {
  background: var(--color-primary);
  color: var(--color-dark-bg);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn--inverse {
  background: var(--color-text-inverse);
  color: var(--color-dark-bg);
}

.btn--inverse:hover {
  background: var(--color-primary-light);
}

.btn svg {
  width: 16px;
  height: 16px;
}

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


/* ================================================================
   HOME PAGE
   ================================================================ */

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsla(42, 40%, 6%, 0.88) 0%,
    hsla(42, 40%, 6%, 0.6) 40%,
    hsla(42, 40%, 6%, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  color: var(--color-text-inverse);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: var(--color-primary-light);
  margin-bottom: var(--space-lg);
  max-width: 40ch;
}

.hero-place {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: hsla(42, 12%, 95%, 0.75);
  font-size: var(--text-sm);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: color 0.2s var(--ease-out);
}

.hero-place:hover {
  color: var(--color-text-inverse);
}

.hero-place svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.hero-rating {
  font-size: var(--text-sm);
  color: hsla(42, 12%, 95%, 0.6);
  margin-top: var(--space-lg);
}

.hero-rating svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  fill: var(--color-primary);
  margin-right: 2px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding-bottom: var(--space-2xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== ABOUT TEASER ===== */
.about-teaser {
  padding: var(--section-pad-lg) 0;
  background: var(--color-bg);
}

.about-teaser-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-teaser-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.about-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-teaser-image:hover img {
  transform: scale(1.03);
}

.about-teaser-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid hsla(42, 72%, 48%, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-teaser-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-teaser-text .section-label {
  margin-bottom: var(--space-sm);
}

.about-teaser-text h2 {
  margin-bottom: var(--space-sm);
}

.about-teaser-text p + p {
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ===== SERVICES HIGHLIGHTS ===== */
.services-highlights {
  padding: var(--section-pad-lg) 0;
  background: var(--color-bg-alt);
}

.services-highlights-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.services-highlights-header {
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
}

.services-highlights-header .section-label {
  margin-bottom: var(--space-sm);
}

.services-highlights-header h2 {
  margin-bottom: var(--space-lg);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.service-item:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px hsla(42, 40%, 12%, 0.06);
}

.service-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary-light);
  line-height: 1;
  min-width: 3rem;
}

.service-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.service-item p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ===== REVIEWS ===== */
.reviews {
  padding: var(--section-pad-sm) 0;
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
}

.reviews-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.reviews-header {
  margin-bottom: var(--space-xl);
}

.reviews-header .section-label {
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.reviews-header h2 {
  color: var(--color-text-inverse);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review-card {
  padding: var(--space-lg);
  border: 1px solid hsla(42, 12%, 95%, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

.review-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: hsla(42, 12%, 95%, 0.9);
  flex: 1;
}

.review-author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--section-pad-md) 0;
  background: var(--color-bg);
}

.cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cta-text .section-label {
  margin-bottom: var(--space-sm);
}

.cta-text h2 {
  margin-bottom: var(--space-sm);
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.cta-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.cta-info-item a {
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.cta-info-item a:hover {
  color: var(--color-primary);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.cta-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
}

.cta-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .cta-map {
    aspect-ratio: 16 / 10;
  }
}


/* ================================================================
   SERVICES PAGE
   ================================================================ */

.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: var(--color-bg);
}

.page-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.page-header .section-label {
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  font-size: var(--text-4xl);
}

.page-header p {
  margin-top: var(--space-md);
}

.page-header + .section {
  padding-top: var(--space-2xl);
}

/* --- Services Full List --- */
.services-full {
  padding: var(--space-2xl) 0 var(--section-pad-lg);
  background: var(--color-bg);
}

.services-full-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-2xl);
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-detail-image:hover img {
  transform: scale(1.03);
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-detail-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary-light);
  line-height: 1;
}

.service-detail-content h2 {
  font-size: var(--text-2xl);
}

.service-detail-content p {
  font-size: var(--text-base);
}

.service-detail-content .btn {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }
}


/* ================================================================
   GALLERY PAGE
   ================================================================ */

.gallery-grid-section {
  padding: var(--space-2xl) 0 var(--section-pad-lg);
  background: var(--color-bg);
}

.gallery-grid-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(42, 40%, 12%, 0);
  transition: background 0.3s var(--ease-out);
  pointer-events: none;
}

.gallery-item:hover::after {
  background: hsla(42, 40%, 12%, 0.1);
}

.gallery-item--wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

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

  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: hsla(42, 40%, 6%, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms var(--ease-out), visibility 300ms var(--ease-out);
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--color-text-inverse);
  cursor: pointer;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}


/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-split {
  padding: var(--space-2xl) 0 var(--section-pad-lg);
  background: var(--color-bg);
}

.contact-split-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.contact-block a {
  color: var(--color-text);
  font-size: var(--text-base);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.contact-block a:hover {
  color: var(--color-primary);
}

.contact-block p {
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: none;
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-hours-row:last-child {
  border-bottom: none;
}

.contact-hours-day {
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.contact-hours-time {
  color: var(--color-text-light);
}

.contact-hours-row--closed .contact-hours-time {
  color: var(--color-primary);
  font-weight: var(--weight-medium);
}

.contact-social-links {
  display: flex;
  gap: var(--space-md);
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
}

.contact-social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
}

.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-split-inner {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap {
    aspect-ratio: 16 / 10;
  }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
}

.fade-in.visible {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.fade-in.visible:nth-child(1) { animation-delay: 0s; }
.fade-in.visible:nth-child(2) { animation-delay: 0.08s; }
.fade-in.visible:nth-child(3) { animation-delay: 0.16s; }
.fade-in.visible:nth-child(4) { animation-delay: 0.24s; }
.fade-in.visible:nth-child(5) { animation-delay: 0.32s; }
.fade-in.visible:nth-child(6) { animation-delay: 0.4s; }

.stagger-children .fade-in.visible {
  animation-delay: calc(var(--i, 0) * 80ms);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .mobile-menu-link {
    opacity: 1;
    transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }
}
