/* ============================================
   KEELEY'S KITCHEN — Custom Styles
   Premium Catering Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-cream: #FAF7F2;
  --color-cream-dark: #F0EBE3;
  --color-charcoal: #2C2C2C;
  --color-charcoal-light: #4A4A4A;
  --color-olive: #7C8C6E;
  --color-olive-light: #94A685;
  --color-olive-dark: #5E6B52;
  --color-terracotta: #C4795B;
  --color-terracotta-light: #D4917A;
  --color-gold: #C9A96E;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;

  --font-serif: 'Cinzel Decorative', 'Playfair Display', Georgia, serif;
  --font-sans: 'Karma', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--transition-smooth);
}

/* --- Typography --- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-charcoal);
  letter-spacing: 0.02em;
}

h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-charcoal);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 300;
  color: var(--color-charcoal-light);
  max-width: 65ch;
}

.text-sm {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-olive);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-olive);
  margin-right: 1rem;
  vertical-align: middle;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-white);
  transition: color 0.4s var(--transition-smooth), text-shadow 0.4s var(--transition-smooth);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.nav-logo span {
  font-weight: 400;
}

.nav.scrolled .nav-logo {
  color: var(--color-charcoal);
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s var(--transition-smooth), text-shadow 0.3s var(--transition-smooth);
  position: relative;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav.scrolled .nav-links a {
  color: var(--color-charcoal-light);
  text-shadow: none;
}

.nav.scrolled .nav-links a:hover {
  color: var(--color-charcoal);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-cta {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  padding: 0.7rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s var(--transition-smooth) !important;
}

.nav-cta:hover {
  background: var(--color-white);
  color: var(--color-charcoal) !important;
  border-color: var(--color-white);
}

.nav.scrolled .nav-cta {
  border-color: var(--color-charcoal);
  color: var(--color-charcoal) !important;
}

.nav.scrolled .nav-cta:hover {
  background: var(--color-charcoal);
  color: var(--color-white) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-white);
  transition: all 0.3s var(--transition-smooth);
  transform-origin: center;
}

.nav.scrolled .nav-hamburger span {
  background: var(--color-charcoal);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--transition-smooth);
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-charcoal);
  transition: color 0.3s var(--transition-smooth);
}

.nav-mobile a:hover {
  color: var(--color-olive);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-charcoal);
}

.btn-white:hover {
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 10rem);
  overflow: hidden;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(26, 26, 26, 0.4) 40%,
    rgba(26, 26, 26, 0.35) 70%,
    rgba(26, 26, 26, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 550px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Hero (smaller) */
.hero-page {
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-page .hero-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}

.section-narrow {
  max-width: 1200px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-label {
  color: var(--color-gold);
}

.section-dark .section-label::before {
  background: var(--color-gold);
}

.section-olive {
  background: var(--color-olive);
  color: var(--color-white);
}

.section-olive h2,
.section-olive h3 {
  color: var(--color-white);
}

.section-olive p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Split Layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.8s var(--transition-smooth);
}

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

.split-text {
  padding: clamp(1rem, 3vw, 3rem) 0;
}

.split-text h2 {
  margin-bottom: 1.5rem;
}

.split-text p {
  margin-bottom: 1.5rem;
}

.split-text .btn {
  margin-top: 1rem;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.1) 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.4s var(--transition-smooth);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.2) 70%
  );
}

.service-card h3 {
  color: var(--color-white);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 300px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition-smooth);
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition-smooth) 0.1s;
}

.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--transition-smooth);
}

.service-card-link:hover svg {
  transform: translateX(4px);
}

/* --- Menu Preview Grid --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.menu-card {
  background: var(--color-white);
  padding: 2.5rem;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.menu-card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.menu-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.menu-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.menu-card-items {
  list-style: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-cream-dark);
}

.menu-card-items li {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
  padding: 0.4rem 0;
  font-style: italic;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.6s var(--transition-smooth);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  transition: background 0.4s var(--transition-smooth);
}

.gallery-item:hover::after {
  background: rgba(26, 26, 26, 0.15);
}

/* Masonry style variations */
.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item:nth-child(4) img {
  aspect-ratio: 2/1;
}

.gallery-item:nth-child(7) {
  grid-row: span 2;
}

.gallery-item:nth-child(7) img {
  aspect-ratio: 1/2;
}

/* --- Testimonials --- */
.testimonials-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--color-olive-light);
  opacity: 0.3;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  border: none;
}

.testimonial-dot.active {
  background: var(--color-olive);
  transform: scale(1.3);
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.65);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* --- Contact Form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-cream-dark);
  background: var(--color-white);
  color: var(--color-charcoal);
  transition: border-color 0.3s var(--transition-smooth);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-olive);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* --- Contact Info --- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-olive);
}

.contact-info-text h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal-light);
  margin-bottom: 0.3rem;
}

.contact-info-text p {
  font-size: 1rem;
  color: var(--color-charcoal);
}

.contact-info-text a {
  color: var(--color-charcoal);
  transition: color 0.3s;
}

.contact-info-text a:hover {
  color: var(--color-olive);
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem) 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-brand {
  max-width: 350px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.footer-brand h3 span {
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  max-width: none;
  font-size: 0.8rem;
}

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

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

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

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

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.6s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.75s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--transition-smooth);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

.lightbox-close svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

/* --- Stat Counter --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 auto;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--color-charcoal-light);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-olive);
}

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

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-image {
    order: -1;
  }

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

  .service-card {
    aspect-ratio: 16/9;
  }

  .service-card p,
  .service-card-link {
    opacity: 1;
    transform: translateY(0);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .gallery-item:nth-child(4) img {
    aspect-ratio: 1;
  }

  .gallery-item:nth-child(7) {
    grid-row: span 1;
  }

  .gallery-item:nth-child(7) img {
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding-bottom: 4rem;
  }

  .hero-page {
    min-height: 60vh;
    padding-top: 6rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }

  .cta-banner {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
