/* ============================================
   LA MAIDS — Upscale Redesign
   Palette: Warm Ivory · Deep Charcoal · Sage
   ============================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #1c1c1a;
  background: #faf9f7;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
ul, ol { list-style: none; }

/* TOKENS */
:root {
  --ivory:    #faf9f7;
  --ivory-2:  #f2f0ec;
  --charcoal: #1c1c1a;
  --mid:      #5a5955;
  --sage:     #7a8c78;
  --sage-light: #eef1ee;
  --gold:     #b59a6a;
  --serif: 'Cormorant', Georgia, serif;
  --sans:  'Jost', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* UTILITIES */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }
.section    { padding: 7rem 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.heading-serif {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 2rem;
}
.heading-serif em { font-style: italic; color: var(--sage); }
.section-header { margin-bottom: 4rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--dark {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn--dark:hover { background: #2e2e2b; }
.btn--outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
  margin-left: 1rem;
}
.btn--outline-dark:hover { background: var(--charcoal); color: var(--ivory); }
.btn--light {
  background: rgba(255,255,255,0.95);
  color: var(--charcoal);
  border-color: transparent;
}
.btn--light:hover { background: var(--ivory-2); }
.btn--outline-light {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.55);
  margin-left: 1rem;
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.btn--full { display: block; width: 100%; text-align: center; margin-left: 0; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.5rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ivory);
  transition: color 0.4s;
}
.nav--scrolled .nav__logo { color: var(--charcoal); }
.nav__links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav--scrolled .nav__links a { color: var(--mid); }
.nav__links a:hover { color: var(--gold); }
.nav--scrolled .nav__links a:hover { color: var(--gold); }
.nav__book {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--ivory) !important;
  transition: background 0.3s, border-color 0.3s !important;
}
.nav--scrolled .nav__book {
  border-color: var(--charcoal) !important;
  color: var(--charcoal) !important;
}
.nav__book:hover { background: rgba(255,255,255,0.12) !important; }
.nav--scrolled .nav__book:hover { background: var(--charcoal) !important; color: var(--ivory) !important; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 85svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}
.hero.active .hero__img { transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.72) 0%, rgba(10,10,8,0.3) 50%, rgba(10,10,8,0.15) 100%);
}
.hero__body {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: 0 2.5rem; width: 100%;
}
.hero__heading {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 1.5rem;
}
.hero__heading em { font-style: italic; }
.hero__desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-start; }
.hero__actions .btn { margin-left: 0; }

/* Hero eyebrow — override gold so it reads against the image */
.hero .eyebrow { color: rgba(255,255,255,0.88); }

/* ---- HAMBURGER ---- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span { background: var(--charcoal); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- MOBILE NAV OVERLAY ---- */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile a {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--gold); }
.nav__mobile .nav__book {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 0.85rem 2.25rem;
  margin-top: 0.5rem;
  color: var(--ivory) !important;
  background: none !important;
}
.nav__mobile .nav__book:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

/* ---- CREDENTIALS BAR ---- */
.bar { background: var(--charcoal); padding: 2rem 0; }
.bar__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.bar__item { text-align: center; }
.bar__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.bar__item span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.bar__sep { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ---- INTRO ---- */
.intro { background: var(--ivory); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.intro__right p { color: var(--mid); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.9; }

/* ---- SERVICES ---- */
.services { background: var(--ivory-2); }
.services__list { display: flex; flex-direction: column; }
.service {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: background 0.25s;
}
.service:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.service:hover { background: rgba(255,255,255,0.5); }
.service__num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(0,0,0,0.12);
  line-height: 1;
  padding-left: 0.5rem;
}
.service__body h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.service__body p { font-size: 0.92rem; color: var(--mid); max-width: 560px; }
.service__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  border: 1px solid var(--gold);
  padding: 0.35rem 0.85rem;
  opacity: 0.85;
}

/* ---- PROCESS ---- */
.process { background: var(--ivory); text-align: center; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; max-width: 820px; margin: 0 auto; }
.process__step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.process__step h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.process__step p { font-size: 0.9rem; color: var(--mid); }

/* ---- ABOUT ---- */
.about { background: var(--sage-light); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about__img-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about__img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease);
}
.about__img-frame:hover img { transform: scale(1.03); }
.about__visual { position: relative; }
.about__stat {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 2rem;
  text-align: center;
  min-width: 120px;
}
.about__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.about__stat span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); line-height: 1.4; display: block; margin-top: 0.4rem; }
.about__content p { color: var(--mid); margin-bottom: 1.5rem; line-height: 1.9; }
.about__content .btn { margin-top: 1rem; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--charcoal); }
.testimonials .eyebrow { color: var(--gold); }
.testimonials .heading-serif { color: var(--ivory); }
.testimonials .heading-serif em { color: rgba(255,255,255,0.45); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.testimonial { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.testimonial__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.75rem; margin-bottom: 1.25rem; }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial cite { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-style: normal; }

/* ---- AREAS ---- */
.areas { background: var(--ivory-2); }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.area-item {
  padding: 1.75rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--charcoal);
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: color 0.2s, padding-left 0.25s var(--ease);
  cursor: default;
}
.area-item:hover { color: var(--sage); padding-left: 0.5rem; }

/* ---- FAQ ---- */
.faq { background: var(--ivory); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 6rem; align-items: start; }
.faq__list { padding-top: 0.5rem; }
.faq__item { border-top: 1px solid rgba(0,0,0,0.09); }
.faq__item:last-child { border-bottom: 1px solid rgba(0,0,0,0.09); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item[open] summary { color: var(--sage); }
.faq__item p { padding: 0 0 1.5rem; font-size: 0.92rem; color: var(--mid); line-height: 1.8; }

/* ---- CONTACT ---- */
.contact { background: var(--ivory-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 7rem; align-items: start; }
.contact__info p { color: var(--mid); margin-bottom: 2.5rem; line-height: 1.9; }
.contact__info .btn + .btn { display: block; margin-top: 1rem; margin-left: 0; }
.contact__form {
  background: var(--ivory);
  padding: 3rem;
  border: 1px solid rgba(0,0,0,0.07);
}
.contact__form h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form__field span { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); }
.form__field input,
.form__field select {
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
}
.form__field input:focus, .form__field select:focus { border-color: var(--sage); }
.contact__form .btn--full { margin-top: 0.75rem; }
.form__success { padding: 3rem 0; text-align: center; }
.form__success strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; display: block; margin-bottom: 0.75rem; }
.form__success p { color: var(--mid); }

/* ---- FOOTER ---- */
.footer { background: #111110; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem; padding-top: 4.5rem; padding-bottom: 4rem;
}
.footer__logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--ivory); letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer__col h4 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.5rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 2.5rem;
  text-align: center;
}
.footer__bottom p { font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  /* Cap hero height so tall iPad viewports don't create excess space */
  .hero { height: 55svh; max-height: 500px; min-height: 440px; padding-bottom: 3rem; }
  .intro__grid,
  .about__grid,
  .contact__grid,
  .faq__grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 2rem; }
  .areas__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: 2rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about__stat { right: 0; bottom: 0; }
}
@media (max-width: 600px) {
  .section { padding: 5rem 0; }
  .hero { height: 65svh; max-height: none; min-height: 460px; padding-bottom: 3rem; }
  .service { grid-template-columns: 48px 1fr; }
  .service__label { display: none; }
  .areas__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .bar__inner { gap: 1.5rem; }
  .bar__sep { display: none; }
}
