/* ============================================================
   CAR THERAPY NAPLES — Home Page Styles
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,8,0.65) 0%,
    rgba(8,8,8,0.3) 50%,
    rgba(8,8,8,0.85) 100%
  );
}

/* Floating badge */
.hero__badge {
  position: absolute;
  top: calc(var(--nav-h) + 2rem);
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(8px);
  z-index: 2;
  animation: fadeIn 1s 0.8s both;
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero__badge span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-top: calc(var(--nav-h) + 4rem);
}

.hero__content .section-label {
  animation: slideUp 0.9s 0.3s var(--ease-out) both;
}

.hero__heading {
  animation: slideUp 0.9s 0.45s var(--ease-out) both;
  color: var(--white);
}

.hero__heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: rgba(245,242,236,0.7);
  max-width: 480px;
  animation: slideUp 0.9s 0.6s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: slideUp 0.9s 0.75s var(--ease-out) both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stats bar */
.hero__stats {
  position: relative;
  z-index: 2;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.hero__stats-inner {
  display: flex;
  align-items: stretch;
  padding: 1.75rem 0;
  gap: 0;
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 2rem;
}

.hero__stat strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__stat-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0.5rem 0;
}

/* ── Intro ── */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.intro__left h2 { color: var(--white); margin-top: 0.5rem; }
.intro__left h2 em { font-style: italic; color: var(--gold); }

.intro__right {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.intro__img-main {
  grid-column: 1 / -1;
  height: 340px;
  border-radius: var(--radius);
}

.intro__img-accent {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  grid-column: 1 / 2;
}

.intro__img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.intro__img-accent:hover img { transform: scale(1.05); }

.intro__img-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
}

/* ── Services Preview ── */
.services-preview__header { margin-bottom: 3.5rem; }
.services-preview__header h2 { color: var(--white); margin-top: 0.5rem; }

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--surface-2);
  padding: 2.5rem 2rem;
  position: relative;
  display: block;
  transition: background 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.service-card:hover { background: var(--surface); }
.service-card:hover::before { width: 100%; }

.service-card__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}

.service-card:hover .service-card__icon { border-color: var(--gold-dark); }

.service-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.service-card__num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
}

.service-card:hover .service-card__num { color: rgba(201,168,76,0.12); }

.service-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p { font-size: 0.88rem; line-height: 1.65; }

.service-card__link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}

.service-card--addons {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
}

.service-card--addons:hover { background: rgba(201,168,76,0.08); }

/* PeelClear service card */
.service-card--peelclear {
  background: rgba(184,224,255,0.03);
  border-top: 2px solid rgba(184,224,255,0.4);
  position: relative;
  overflow: hidden;
}

.service-card--peelclear::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,224,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-card--peelclear:hover { background: rgba(184,224,255,0.06); }

.service-card--peelclear .service-card__icon {
  border-color: rgba(184,224,255,0.2);
}

.service-card--peelclear .service-card__icon svg { color: #B8E0FF; }

.service-card--peelclear:hover .service-card__icon { border-color: rgba(184,224,255,0.5); }

.service-card--peelclear::before {
  background: linear-gradient(90deg, #B8E0FF, #D4BBFF);
}

.pc-num { color: rgba(184,224,255,0.15) !important; }

.service-card__new-badge {
  position: absolute;
  top: 1.25rem;
  left: 2rem;
  background: linear-gradient(135deg, #B8E0FF, #D4BBFF);
  color: #050810;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
}

/* ── Why Us ── */
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.why-us__image {
  position: relative;
  height: 620px;
}

.why-us__image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 220px;
}

.why-us__image-badge svg { color: var(--gold); flex-shrink: 0; }

.why-us__image-badge strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.why-us__image-badge span {
  font-size: 0.72rem;
  color: var(--muted);
}

.why-us__content h2 { color: var(--white); }
.why-us__content h2 em { font-style: italic; color: var(--gold); }

.why-us__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.pillar {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.3s;
}

.pillar__icon svg { width: 20px; height: 20px; color: var(--gold); }
.pillar:hover .pillar__icon { border-color: var(--gold-dark); }

.pillar h4 { margin-bottom: 0.4rem; }
.pillar p { font-size: 0.88rem; }

/* ── Gallery Preview ── */
.gallery-preview__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1px;
  background: var(--border);
}

.gallery-preview__item {
  position: relative;
  overflow: hidden;
}

.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-preview__item--tall { grid-row: 1 / 3; }

.gallery-preview__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.3s var(--ease-out);
  z-index: 2;
}

.gallery-preview__item:hover .gallery-preview__label {
  opacity: 1;
  transform: translateY(0);
}

/* ── Testimonials ── */
.testimonials { background: var(--black); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.testimonial:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.testimonial__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  background: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.testimonial__author span {
  font-size: 0.75rem;
  color: var(--muted);
}

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

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.7;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  color: var(--white);
  margin-top: 0.5rem;
}

.cta-banner__content p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .services-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .intro__grid,
  .why-us__grid { grid-template-columns: 1fr; }

  .why-us__image { height: 420px; }
  .why-us__image-badge { right: 1rem; bottom: 1rem; }
}

@media (max-width: 768px) {
  .hero__stats-inner { flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem 0; }
  .hero__stat { min-width: 45%; padding: 0 1rem; }
  .hero__stat-divider { display: none; }

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

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

  .gallery-preview__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 240px 240px 240px;
  }

  .gallery-preview__item--tall { grid-row: auto; }

  .intro__right { display: none; }
}
