/* ============================================
   Mia Sposa - Main Stylesheet
   Fonts: Cormorant Garamond + Space Grotesk
   Palette: Cream, Gold, Dark Brown
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-cream: #F9F7F5;
  --color-cream-dark: #F0EDE8;
  --color-gold: #C89236;
  --color-gold-light: #D4A853;
  --color-gold-dark: #A67728;
  --color-brown-dark: #3E2F25;
  --color-brown: #5C4A3A;
  --color-charcoal: #2C2B2B;
  --color-text: #3E3A3A;
  --color-text-light: #6B6565;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-overlay-gold: rgba(200, 146, 54, 0.5);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --h1-size: 36px;
  --h2-size: 24px;
  --h3-size: 20px;
  --body-size: 16px;
  --small-size: 14px;
  --menu-size: 14px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-round: 50%;

  --shadow-sm: 0 2px 8px rgba(62,47,37,0.08);
  --shadow-md: 0 4px 20px rgba(62,47,37,0.12);
  --shadow-lg: 0 8px 40px rgba(62,47,37,0.16);
  --shadow-gold: 0 4px 20px rgba(200,146,54,0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --header-height: 80px;
}

/* --- 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 {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-gold-dark); }

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-charcoal);
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

p { margin-bottom: 1em; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--color-text-light);
  max-width: 600px;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: 16px 0;
  border: none;
}

.gold-divider--center { margin: 16px auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--small-size);
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn--white {
  background: var(--color-white);
  color: var(--color-gold);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  background: rgba(249,247,245,0.95);
  transition: all var(--transition);
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 70px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.header__logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition);
}
.header.scrolled .header__logo img { height: 40px; }

/* Desktop Nav */
.nav { display: flex; align-items: center; gap: 0; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: var(--menu-size);
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active {
  color: var(--color-gold);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}
.nav__link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Submenu */
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200,146,54,0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 9999;
}
.nav__item:hover .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition);
}
.nav__submenu-link:hover {
  background: var(--color-cream);
  color: var(--color-gold);
  padding-left: 24px;
}
.nav__submenu-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Header CTA */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all var(--transition);
}
.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--color-white);
}
.header__cta svg { width: 16px; height: 16px; }

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 9999;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--color-cream);
}
.hero__bg {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 80px;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-cream) 0%, transparent 30%);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 60px 0;
}
.hero__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: inline-block;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}
.hero__text {
  font-size: var(--body-size);
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* Curved decoration */
.hero__curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 4;
}
.hero__curve svg { display: block; width: 100%; height: auto; }
/* --- Services Section --- */
.services {
  padding: 100px 0;
  background: var(--color-white);
  position: relative;
}
.services__header {
  text-align: center;
  margin-bottom: 60px;
}
.services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.service-card {
  flex: 0 1 calc(25% - 18px);
}
.service-card {
  flex: 0 1 calc(25% - 18px);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-card__img-wrap img {
  transform: scale(1.08);
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(62,47,37,0.7) 100%);
  z-index: 1;
}
.service-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  text-align: center;
}
.service-card__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  color: var(--color-gold-light);
}
.service-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}
.service-card__line {
  width: 30px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto;
  border-radius: 1px;
}
.services__cta {
  text-align: center;
  margin-top: 48px;
}
/* --- Features Section --- */
.features {
  padding: 100px 0;
  background: var(--color-cream);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid rgba(200,146,54,0.1);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200,146,54,0.1), rgba(200,146,54,0.05));
  border-radius: var(--radius-round);
  color: var(--color-gold);
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-charcoal);
}
.feature-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}
/* --- About Section --- */
.about {
  padding: 100px 0;
  background: var(--color-white);
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about__image-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.about__badge-icon { font-size: 24px; margin-bottom: 4px; }
.about__badge-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about__content { max-width: 500px; }
.about__text {
  font-size: var(--body-size);
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
}
.stat-item__number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}
.stat-item__label {
  font-size: 12px;
  color: var(--color-text-light);
  display: block;
  margin-top: 2px;
}
/* --- Testimonials Section --- */
.testimonials {
  padding: 100px 0;
  background: var(--color-brown-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--color-white);
  border-radius: 0 0 50% 50%;
}
.testimonials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.testimonials__content { position: relative; z-index: 2; }
.testimonials .section-label { color: var(--color-gold-light); }
.testimonials .section-title { color: var(--color-white); }
.testimonial-carousel { position: relative; }
.testimonial-slide {
  display: none;
  animation: fadeInUp 0.5s ease;
}
.testimonial-slide.active { display: block; }
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--color-gold);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}
.testimonial-author__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-white);
}
.testimonial-author__role {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.testimonial-dot.active {
  background: var(--color-gold);
  width: 30px;
  border-radius: 5px;
}
.testimonials__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.testimonials__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.testimonials__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(200,146,54,0.3);
  border-radius: var(--radius-xl);
}
/* --- Stats Section --- */
.stats {
  padding: 60px 0;
  background: var(--color-cream);
  border-top: 1px solid rgba(200,146,54,0.15);
  border-bottom: 1px solid rgba(200,146,54,0.15);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats__item {
  text-align: center;
  padding: 24px 16px;
}
.stats__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--color-gold);
}
.stats__number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-charcoal);
  display: block;
}
.stats__label {
  font-size: 13px;
  color: var(--color-text-light);
  display: block;
  margin-top: 4px;
}
/* --- CTA Section --- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: var(--color-brown-dark);
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-banner__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 12px;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-banner__text {
  font-size: var(--body-size);
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
/* --- Footer --- */
.footer {
  background: var(--color-brown-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand-logo img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(200,146,54,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  transition: all var(--transition);
}
.footer__social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}
.footer__social-link svg { width: 16px; height: 16px; }
.footer__heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--transition);
}
.footer__link:hover { color: var(--color-gold-light); padding-left: 4px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
/* --- Service Detail Pages --- */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--color-cream);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 60px;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-cream) 0%, transparent 40%);
}
.page-hero__content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: 42px;
  margin-bottom: 16px;
}
.page-hero__text {
  font-size: var(--body-size);
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* Service detail content */
.service-detail {
  padding: 80px 0;
  background: var(--color-white);
}
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-detail__gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-detail__gallery img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.service-detail__content h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  margin-bottom: 16px;
  margin-top: 32px;
}
.service-detail__content h2:first-child { margin-top: 0; }
.service-detail__content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.service-detail__list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-detail__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
}
.service-detail__list-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}
/* --- Contact Page --- */
.contact { padding: 80px 0; background: var(--color-white); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact__info-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(200,146,54,0.15);
}
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, rgba(200,146,54,0.15), rgba(200,146,54,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
}
.contact__info-icon svg { width: 20px; height: 20px; }
.contact__info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.contact__info-value {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-brown-dark);
  color: rgba(255,255,255,0.9);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 14px;
  flex: 1;
  min-width: 300px;
}
.cookie-banner__text a { color: var(--color-gold-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; }
.cookie-banner__btn {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.cookie-banner__btn--accept {
  background: var(--color-gold);
  color: var(--color-white);
}
.cookie-banner__btn--accept:hover { background: var(--color-gold-dark); }
.cookie-banner__btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-banner__btn--decline:hover { border-color: rgba(255,255,255,0.6); }
/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  animation: none;
}
.whatsapp-float svg { width: 30px; height: 30px; color: white; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  background: var(--color-cream-dark);
  border-bottom: 1px solid rgba(200,146,54,0.1);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.breadcrumb__item { color: var(--color-text-light); }
.breadcrumb__item a {
  color: var(--color-gold);
  text-decoration: none;
}
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--color-text-light); opacity: 0.5; }
.breadcrumb__current { color: var(--color-charcoal); font-weight: 500; }
/* --- 404 Page --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--color-cream);
}
.error-page__number {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page__title {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  margin-bottom: 16px;
}
.error-page__text {
  font-size: var(--body-size);
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Privacy / Cookies Pages --- */
.legal-page {
  padding: 120px 0 80px;
  background: var(--color-white);
}
.legal-page__content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-page__content h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-page__content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.legal-page__content ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}
.legal-page__content ul li {
  color: var(--color-text-light);
  margin-bottom: 6px;
}
/* --- Responsive --- */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__content { max-width: 100%; }
  .testimonials__inner { grid-template-columns: 1fr; }
  .testimonials__image { display: none; }
  .service-detail__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .service-card { flex: 0 1 calc(33.333% - 16px); }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 28px;
    --h2-size: 22px;
    --header-height: 70px;
  }

  /* Mobile Nav */
  .nav__toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 1002;
    pointer-events: none;
  }
  .nav.open { 
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav__link {
    padding: 14px 16px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(200,146,54,0.1);
  }
  .nav__link--active::after { display: none; }
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-cream-dark);
    border-radius: var(--radius-sm);
    margin: 4px 0 8px;
    display: none;
  }
  .nav__submenu.open { display: block; }
  .header__cta { margin-top: 16px; width: 100%; justify-content: center; }

  /* Hero Mobile */
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 20px); padding-bottom: 60px; }
  .hero__bg { width: 100%; height: 300px; position: relative; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  .hero__bg::after { background: linear-gradient(180deg, transparent 50%, var(--color-cream) 100%); }
  .hero__content { padding: 30px 0 0; }
  .hero__title { font-size: 32px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Services Mobile */
  .services__grid { gap: 16px; }
  .service-card { flex: 0 1 calc(50% - 8px); }

  /* Features Mobile */
  .features__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Stats Mobile */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer Mobile */
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }

  /* Page Hero Mobile */
  .page-hero { padding: 120px 0 60px; }
  .page-hero__bg { width: 100%; height: 250px; position: relative; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .page-hero__title { font-size: 32px; }

  /* Cookie Mobile */
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__text { min-width: auto; }

  /* WhatsApp */
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .service-card { flex: 0 1 100%; max-width: 320px; }
  .about__stats { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .error-page__number { font-size: 80px; }
}

/* --- Print --- */
@media print {
  .header, .whatsapp-float, .cookie-banner, .footer { display: none; }
  body { background: white; color: black; }
}


/* Accessibility: respect reduced-motion preferences. */
@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;
  }
}

/* --- Skip Link (Acessibilidade) --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary, #d4af37);
  color: var(--color-dark, #1a1a1a);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-dark, #1a1a1a);
  outline-offset: 2px;
}
