/* ===================================================================
   La Perla — Wellness & Spa
   Palette: ivory / soft blush / charcoal / gold
   =================================================================== */

:root {
  /* Brand palette — La Perla (from Figma) */
  --gold:       #b38e42;   /* Primary   */
  --gold-deep:  #93712f;   /* Primary hover/darker */
  --teal:       #3f8b8f;   /* Secondary */
  --teal-deep:  #2f6a6d;   /* Secondary darker */

  --white:      #ffffff;   /* Background */
  --ivory:      #ffffff;   /* Base page background */
  --cream:      #f5f4f0;   /* Subtle alt-section background */
  --blush:      #f1e9d8;   /* Soft gold tint (icon circles) */

  --charcoal:   #23201c;   /* Text */
  --charcoal-2: #4a433c;   /* Muted text */
  --line:       rgba(35, 32, 28, 0.12);
  --shadow:     0 18px 50px -22px rgba(35, 32, 28, 0.32);

  --ff-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 .8rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 40px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 12px 26px -12px rgba(168, 134, 63, .7);
}
.btn-primary:hover { background: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

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

.btn-block { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  /* drops the white JPG background against the light header */
  mix-blend-mode: multiply;
}
.brand--footer .footer-logo {
  height: 74px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
}
.brand-mark { color: var(--gold); font-size: 1.7rem; line-height: 1; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-name small {
  font-family: var(--ff-body);
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--charcoal-2);
  margin-top: 3px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-2);
  transition: color .2s ease;
}
.nav-list a:hover { color: var(--gold-deep); }
.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 40px;
  color: var(--gold-deep) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--charcoal);
  transition: transform .3s ease, opacity .3s ease;
}

/* ===== Hero slider ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

/* Slides (crossfade) */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);       /* slow Ken-Burns zoom while active */
}

/* Legibility overlay above the images */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 40, 41, .35) 0%, rgba(20, 40, 41, .30) 40%, rgba(20, 40, 41, .78) 100%),
    radial-gradient(900px 500px at 72% 20%, rgba(179, 142, 66, .22), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 60px;
  padding-bottom: 60px;
}
#slide-label, #slide-title, #slide-lead { transition: opacity .4s ease; }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(20, 40, 41, .25);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 66px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dots button {
  width: 11px; height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .8);
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hero-dots button.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.hero .eyebrow { color: #e6cf9a; }
.hero h1 { color: var(--white); }
.hero-lead {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 560px;
  margin: 1.4rem auto 2.2rem;
  color: rgba(255, 255, 255, .88);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, .8);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Intro ===== */
.intro { padding: 110px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}
.intro-points { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.intro-points li {
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}
.intro-points li::before {
  content: "\25C6";
  color: var(--gold);
  position: absolute;
  left: 0; top: 12px;
  font-size: .7rem;
}

.intro-figure { position: relative; min-height: 420px; }
.figure-card {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}
.figure-a {
  inset: 0 30% 22% 0;
  background:
    linear-gradient(0deg, rgba(35,32,28,.10), rgba(35,32,28,.10)),
    radial-gradient(circle at 30% 30%, #e7dcc4, #c9ab7f);
}
.figure-b {
  inset: 30% 0 0 34%;
  border: 6px solid var(--white);
  background:
    linear-gradient(0deg, rgba(35,32,28,.10), rgba(35,32,28,.10)),
    radial-gradient(circle at 70% 60%, #7fb3b4, var(--teal));
}

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-sub { color: var(--charcoal-2); font-size: 1.05rem; }

/* ===== Services ===== */
.services { padding: 110px 0; background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(194, 161, 91, .5);
}
.service-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--gold-deep);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: .35em; }
.service-card p { color: var(--charcoal-2); }
.service-meta {
  display: block;
  margin-top: 18px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ===== Experience ===== */
.experience {
  padding: 120px 0;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(179,142,66,.28), transparent 60%),
    linear-gradient(150deg, var(--teal-deep), var(--teal));
  background-color: var(--teal-deep);
}
.experience-inner { max-width: 760px; }
.experience h2 { color: var(--white); }
.experience .eyebrow { color: #e6cf9a; }
.experience p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.stats { display: flex; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--ff-display); font-size: 2.8rem; color: #e6cf9a; line-height: 1; }
.stat-label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px; }

/* ===== Pricing ===== */
.pricing { padding: 110px 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}
.badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
}
.price { margin: 6px 0 20px; }
.price span { font-family: var(--ff-display); font-size: 3rem; color: var(--charcoal); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  flex: 1;
}
.price-card li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--charcoal-2);
}
.price-card li::before {
  content: "\2713";
  color: var(--gold-deep);
  position: absolute; left: 0; top: 10px;
}
.price-note { text-align: center; margin-top: 30px; font-size: .82rem; color: var(--charcoal-2); font-style: italic; }

/* ===== Contact ===== */
.contact { padding: 110px 0; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-details { list-style: none; padding: 0; margin: 26px 0; }
.contact-details li { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--charcoal-2); }
.contact-details .ci { color: var(--gold-deep); font-size: 1.2rem; width: 22px; text-align: center; }
.contact-details a:hover { color: var(--gold-deep); }

.social-links { display: flex; gap: 26px; margin-top: 6px; flex-wrap: wrap; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: .04em;
}
.ig-link span { font-size: 1.15rem; }
.ig-link:hover { color: var(--teal); text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal-2);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: .96rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--charcoal);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 161, 91, .18);
}
.field textarea { resize: vertical; }
.form-note { margin: 14px 0 0; font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-note.success { color: var(--gold-deep); }
.form-note.error { color: #b4453a; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.75); padding: 56px 0 40px; }
.footer-inner { text-align: center; }
.brand--footer { justify-content: center; display: inline-flex; color: var(--white); }
.brand--footer .brand-name { color: var(--white); }
.brand--footer .brand-name small { color: rgba(255,255,255,.6); }
.footer-tag { font-family: var(--ff-display); font-size: 1.3rem; margin: 18px 0 8px; color: rgba(255,255,255,.9); }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 76px; right: 0; left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-list.open { max-height: 380px; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 12px 0; width: 100%; }
  .nav-cta { display: inline-block; margin-top: 8px; }

  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-figure { min-height: 340px; order: -1; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .stats { gap: 30px; }
}
