/* ============================================================
   Dra. Isabel Bueno — Aesthetic Dentist
   Design System + Full Stylesheet
   Prada-inspired: minimal luxury, editorial, quiet elegance
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --color-black: #0a0a0a;
  --color-rich-black: #111111;
  --color-charcoal: #1a1a1a;
  --color-dark-gray: #2a2a2a;
  --color-stone: #8a8278;
  --color-stone-light: #b5aea5;
  --color-warm-gray: #c8c2b8;
  --color-ivory: #f5f0eb;
  --color-ivory-light: #faf7f3;
  --color-white: #fefefe;

  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Font sizes — fluid scale */
  --fs-display: clamp(2.8rem, 6vw, 5.5rem);
  --fs-h1: clamp(2.2rem, 4.5vw, 4rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-small: clamp(0.8rem, 0.9vw, 0.9rem);
  --fs-caption: 0.75rem;
  --fs-overline: 0.7rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-section: clamp(5rem, 10vw, 9rem);

  /* Layout */
  --max-width: 1320px;
  --max-width-narrow: 900px;
  --max-width-text: 680px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;

  /* Borders */
  --border-thin: 1px solid rgba(138, 130, 120, 0.2);
  --border-accent: 1px solid var(--color-stone);
}

/* ---------- Reset ---------- */
*,
*::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: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-black);
  background-color: var(--color-ivory-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

.overline {
  font-family: var(--font-sans);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-stone);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--text {
  max-width: var(--max-width-text);
}

.section {
  padding: var(--space-section) 0;
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-ivory);
}

.section--dark .overline {
  color: var(--color-stone-light);
}

.section--charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-ivory);
}

.section--ivory {
  background-color: var(--color-ivory);
}

.text-center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-black);
  color: var(--color-ivory);
  border-color: var(--color-black);
}

.btn--primary:hover {
  background-color: var(--color-stone);
  border-color: var(--color-stone);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-ivory);
}

.btn--white {
  background-color: var(--color-ivory);
  color: var(--color-black);
  border-color: var(--color-ivory);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--color-ivory);
  border-color: var(--color-ivory);
}

.btn--whatsapp {
  background-color: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background-color: #1ea952;
  border-color: #1ea952;
}

.btn--small {
  padding: 0.7rem 1.5rem;
  font-size: var(--fs-caption);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-thin);
  transition: all var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  background-color: rgba(250, 247, 243, 0.98);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.header__logo-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-overline);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-top: 2px;
}

.header__nav {
  display: none;
  gap: var(--space-md);
}

.header__nav a {
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-stone);
  transition: width var(--duration-normal) var(--ease-out);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-black);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-ivory-light);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-black);
  transition: color var(--duration-fast);
}

.mobile-nav a:hover {
  color: var(--color-stone);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(100%) contrast(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.5) 50%,
      rgba(10, 10, 10, 0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-ivory);
  padding: var(--space-3xl) var(--space-lg);
  max-width: 800px;
}

.hero__overline {
  font-family: var(--font-sans);
  font-size: var(--fs-overline);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-stone-light);
  margin-bottom: var(--space-md);
  display: block;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--color-ivory);
}

.hero__title em {
  font-style: italic;
  color: var(--color-warm-gray);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-stone-light);
  margin-bottom: var(--space-xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- Pillars ---------- */
.pillars {
  text-align: center;
}

.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: var(--space-lg);
}

.pillar__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
  color: var(--color-stone);
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
}

.pillar__text {
  font-size: var(--fs-body);
  color: var(--color-stone);
  line-height: 1.8;
}

/* ---------- Service Cards ---------- */
.services-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .services-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--color-white);
  border: var(--border-thin);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-card__image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform var(--duration-slow) var(--ease-out),
    filter var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
  filter: grayscale(60%);
}

.service-card__body {
  padding: var(--space-lg);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.service-card__text {
  font-size: var(--fs-small);
  color: var(--color-stone);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-card__link {
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--duration-normal) var(--ease-out);
}

.service-card__link:hover {
  gap: 0.8rem;
  color: var(--color-stone);
}

/* ---------- How It Works ---------- */
.steps {
  counter-reset: step;
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }

  .steps__grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-stone-light), transparent);
  }
}

.step {
  text-align: center;
  counter-increment: step;
}

.step__number {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--color-stone-light);
  margin-bottom: var(--space-md);
  display: block;
  position: relative;
}

.step__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
  color: var(--color-ivory);
}

.step__text {
  font-size: var(--fs-small);
  color: var(--color-stone-light);
  line-height: 1.7;
}

/* ---------- Results Gallery ---------- */
.results-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .results-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform var(--duration-slow) var(--ease-out),
    filter var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(40%);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ivory);
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  border: var(--border-thin);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  position: absolute;
  top: var(--space-sm);
  left: var(--space-lg);
  color: var(--color-stone-light);
  opacity: 0.3;
}

.testimonial__text {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-stone);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: var(--space-xl) auto 0;
}

.faq-item {
  border-bottom: var(--border-thin);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  text-align: left;
  color: var(--color-black);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.faq-item__question:hover {
  color: var(--color-stone);
}

.faq-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
    padding var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  font-size: var(--fs-small);
  color: var(--color-stone);
  line-height: 1.8;
}

/* ---------- CTA Band ---------- */
.cta-band {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-black);
  color: var(--color-ivory);
}

.cta-band__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.cta-band__text {
  font-size: var(--fs-body);
  color: var(--color-stone-light);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .cta-band__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- Location ---------- */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .location__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.location__map {
  width: 100%;
  aspect-ratio: 16/10;
  border: var(--border-thin);
  overflow: hidden;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--duration-slow);
}

.location__map:hover iframe {
  filter: grayscale(50%);
}

.location__info h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

.location__detail {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-small);
  color: var(--color-stone);
  line-height: 1.7;
}

.location__detail-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-black);
  color: var(--color-ivory);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand .header__logo-name {
  color: var(--color-ivory);
  font-size: 1.5rem;
}

.footer__brand .header__logo-subtitle {
  color: var(--color-stone);
}

.footer__brand-text {
  font-size: var(--fs-small);
  color: var(--color-stone);
  line-height: 1.8;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: var(--space-md);
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  font-size: var(--fs-small);
  color: var(--color-stone-light);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--color-ivory);
}

.footer__bottom {
  border-top: 1px solid rgba(138, 130, 120, 0.15);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: var(--fs-caption);
  color: var(--color-stone);
}

.footer__disclaimer {
  font-size: 0.65rem;
  color: rgba(138, 130, 120, 0.6);
  max-width: 500px;
  line-height: 1.6;
}

/* ---------- Sticky WhatsApp ---------- */
.whatsapp-sticky {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.whatsapp-sticky:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--color-black);
  background-color: var(--color-white);
  border: var(--border-thin);
  transition: border-color var(--duration-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-stone);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-warm-gray);
  font-weight: 300;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238a8278' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background-color: var(--color-black);
  color: var(--color-ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--with-image {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero .overline {
  margin-bottom: var(--space-sm);
  display: block;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
}

.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Service Detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.service-detail__content h2 {
  margin-bottom: var(--space-md);
}

.service-detail__content p {
  color: var(--color-stone);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.service-detail__list {
  margin-bottom: var(--space-lg);
}

.service-detail__list li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-stone);
  font-size: var(--fs-small);
}

.service-detail__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-stone-light);
}

/* ---------- Process Steps ---------- */
.process-steps {
  counter-reset: process;
  margin: var(--space-xl) 0;
}

.process-step {
  counter-increment: process;
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: var(--border-thin);
}

.process-step__number::before {
  content: '0' counter(process);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--color-stone-light);
}

.process-step__content h4 {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.process-step__content p {
  font-size: var(--fs-small);
  color: var(--color-stone);
  line-height: 1.7;
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 5fr 6fr;
  }
}

.about-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  color: var(--color-stone);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

/* ---------- Results Page Gallery ---------- */
.results-page-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .results-page-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.result-case {
  border: var(--border-thin);
  overflow: hidden;
  background: var(--color-white);
}

.result-case__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.result-case__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--duration-slow);
}

.result-case:hover .result-case__image img {
  filter: grayscale(50%);
}

.result-case__body {
  padding: var(--space-lg);
}

.result-case__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.result-case__desc {
  font-size: var(--fs-small);
  color: var(--color-stone);
}

/* ---------- Thank You ---------- */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-ivory-light);
  padding: var(--space-lg);
}

.thank-you__content h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

.thank-you__content p {
  color: var(--color-stone);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ---------- Responsive fine-tuning ---------- */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__content {
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .service-card__image {
    height: 220px;
  }

  .footer__grid {
    gap: var(--space-lg);
  }
}

/* ---------- Selection ---------- */
::selection {
  background-color: var(--color-stone);
  color: var(--color-ivory);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-ivory-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-stone-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-stone);
}

/* ============================================
   SUBMIT MY CASE — Photo Instructions
   ============================================ */
.case-instructions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .case-instructions__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.case-instructions__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.case-instructions__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-black);
}

.case-instructions__bullet {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-stone);
  min-width: 2rem;
  text-align: center;
  padding-top: 2px;
  flex-shrink: 0;
}

.case-instructions__reference {
  text-align: center;
}

.case-instructions__ref-image {
  background: var(--color-ivory);
  border: var(--border-thin);
  padding: var(--space-sm);
  display: inline-block;
}

.case-instructions__ref-image img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%);
}

.case-instructions__ref-label {
  margin-top: var(--space-sm);
  font-size: var(--fs-caption);
  color: var(--color-stone);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   SUBMIT MY CASE — Upload Zone
   ============================================ */
.upload-zone {
  border: 2px dashed var(--color-stone-light);
  border-radius: 4px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--color-white);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--color-black);
  background: var(--color-ivory);
}

.upload-zone__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.upload-zone__text {
  font-size: var(--fs-body);
  color: var(--color-black);
  margin-bottom: var(--space-xs);
}

.upload-zone__browse {
  color: var(--color-stone);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.upload-zone__browse:hover {
  color: var(--color-black);
}

.upload-zone__hint {
  font-size: var(--fs-caption);
  color: var(--color-stone);
}

/* Upload previews */
.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.upload-preview {
  position: relative;
  width: 120px;
  height: 120px;
  border: var(--border-thin);
  overflow: hidden;
  background: var(--color-ivory);
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-ivory);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--duration-fast);
  line-height: 1;
}

.upload-preview__remove:hover {
  background: #c00;
}

.upload-preview__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.7);
  color: var(--color-ivory);
  font-size: 0.6rem;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Upload error */
.upload-error {
  font-size: var(--fs-small);
  color: #c00;
  margin-top: var(--space-xs);
  min-height: 1.5em;
}

/* ============================================
   SUBMIT MY CASE — Style Selector
   ============================================ */
.style-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .style-selector {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .style-selector {
    grid-template-columns: repeat(5, 1fr);
  }
}

.style-card {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--color-white);
  overflow: hidden;
}

.style-card:hover {
  border-color: var(--color-stone-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.style-card:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}



.style-card:has(input:checked) {
  border-color: var(--color-black);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.style-card:has(input:checked) .style-card__check {
  opacity: 1;
  transform: scale(1);
}

.style-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.style-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--duration-normal) var(--ease-out);
}

.style-card:has(input:checked) .style-card__image img {
  filter: grayscale(30%);
}

.style-card__label {
  display: block;
  padding: var(--space-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  text-align: center;
}

.style-card__check {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-ivory);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--duration-normal) var(--ease-out);
}

/* ============================================
   SUBMIT MY CASE — Form Enhancements
   ============================================ */
.form-required {
  color: #c00;
  font-weight: 400;
}

.form-error {
  display: block;
  font-size: var(--fs-caption);
  color: #c00;
  margin-top: 4px;
  min-height: 0;
  transition: all var(--duration-fast);
}

.form-error:not(:empty) {
  min-height: 1.2em;
}

.form-group--checkbox {
  margin-top: var(--space-md);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--color-black);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-stone-light);
  margin-top: 2px;
  position: relative;
  transition: all var(--duration-fast);
}

.checkbox-label input:checked+.checkbox-custom {
  background: var(--color-black);
  border-color: var(--color-black);
}

.checkbox-label input:checked+.checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-ivory);
  font-size: 13px;
  font-weight: 700;
}

.checkbox-label input:focus-visible+.checkbox-custom {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.checkbox-text {
  flex: 1;
}

/* ============================================
   SUBMIT MY CASE — Confirmation
   ============================================ */
.case-confirmation__content {
  padding: var(--space-3xl) 0;
}

.case-confirmation__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-lg);
  color: var(--color-stone);
}