/* ==========================================================================
   White Nest Management — hoja de estilos principal
   Paleta original del sitio:
     #ffffff  blanco            #f7ede2  crema (secciones claras)
     #d4c0b5  rosa empolvado    #857160  marrón (tarjetas, footer)
     #121826  azul tinta (botones)  #1a1a1a  texto
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --white: #ffffff;
  --cream: #f7ede2;
  --blush: #d4c0b5;
  --brown: #857160;
  --brown-dark: #6f5d4e;
  --ink: #121826;
  --black: #000000;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --gray: #c4c4c4;
  --dark-sofa: #2f2f2f;
  --blue: #4a6ef5;

  --font: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-pill: 999px;

  --section-y: 96px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
p  { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1340px; }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }

.section-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.section-head p { color: var(--text); margin-bottom: 0; }
.contact-section .section-head p,
.page-hero .section-head p { color: #fff; }
.lead { font-size: 1.05rem; }

.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--dark  { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--black { background: var(--black); color: #fff; }
.btn--black:hover { background: #222; }
.btn--blush { background: var(--blush); color: #fff; }
.btn--blush:hover { background: #c6ae9f; }
.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #3a5bd9; }
.btn--ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .9);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 4. Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; }
.brand img { width: 190px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 1.02rem;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .18s ease, opacity .18s ease;
}
.nav a:hover { opacity: .65; }
.nav a[aria-current="page"] { border-bottom-color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero de inicio ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 760px;
  padding-block: 90px 0;
  background: #7e7e78 url("../img/hero-salon.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(96, 96, 92, .45);
  z-index: -1;
}
.hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .25em; }
.hero__claim {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto .9em;
  line-height: 1.22;
}
.hero__sub {
  font-weight: 700;
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto 42px;
}
.hero__cta { margin-bottom: 70px; }

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 40px;
}
.hero__card {
  background: rgba(255, 255, 255, .12);
  padding: 30px 26px;
  text-align: center;
}
.hero__card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45em; }
.hero__card p { margin: 0; font-size: .98rem; }

/* ---------- 6. Bloque de dos columnas ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--radius); width: 100%; }
.split__body h2 { margin-bottom: .6em; }
.split__body h3 { font-size: 1.22rem; margin-top: 1.4em; }
.split__kicker { font-weight: 800; font-size: 1.15rem; margin: 2em 0 1.2em; }

/* ---------- 7. Rejilla de servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 90px;
  max-width: 1080px;
  margin: 0 auto;
}
.service {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  align-items: start;
}
.service__icon { width: 62px; height: 62px; }
.service__icon svg { width: 100%; height: 100%; stroke: var(--text); fill: none; stroke-width: 1.6; }
.service h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .3em; }
.service p { margin: 0; font-size: .97rem; line-height: 1.5; }

.services-cta { text-align: center; margin-top: 76px; }

/* ---------- 8. Testimonio destacado ---------- */
.feature-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.feature-quote__media {
  min-height: 520px;
  background: var(--gray) center / cover no-repeat;
}
.feature-quote__body {
  background: var(--brown);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 9%;
}
.stars { letter-spacing: 4px; font-size: 1.25rem; margin-bottom: 18px; }
.feature-quote__body p { max-width: 420px; }

.quote-author { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.quote-author img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(255, 255, 255, .85);
}
.quote-author span { font-size: .98rem; }

/* ---------- 9. Plataformas ---------- */
.platforms {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.platforms h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.platforms__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}
.platforms__logos img { height: 52px; width: auto; }

/* ---------- 10. Planes (Servicios) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: start;
}
.plan {
  background: var(--brown);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.plan__media { height: 300px; background: var(--gray) center / cover no-repeat; }
.plan__body {
  padding: 34px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.plan h3 { font-size: 1.5rem; margin-bottom: 1em; }
.plan__features { list-style: none; margin: 0 0 34px; padding: 0; width: 100%; max-width: 250px; }
.plan__features li {
  font-weight: 700;
  font-size: 1.02rem;
  padding: 5px 0;
  display: flex;
  gap: 6px;
}
.plan__features li::before { content: "\2713"; flex: none; }
.plan__features li.is-off {
  color: rgba(255, 255, 255, .45);
  text-decoration: line-through;
}
.plan__features li.is-off::before { content: "\2717"; text-decoration: none; }
.plan__features li.is-half {
  color: rgba(255, 255, 255, .45);
  text-decoration: line-through;
}
.plan .btn { margin-top: auto; }

/* ---------- 11. Set Up ---------- */
.setups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
  max-width: 1120px;
  margin-inline: auto;
}
.setup { position: relative; padding-bottom: 10px; }
.setup__media {
  height: 330px;
  border-radius: var(--radius);
  background: var(--gray) center / cover no-repeat;
}
.setup__card {
  position: relative;
  margin: -105px 4% 0;
  background: var(--brown);
  color: #fff;
  padding: 34px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.setup__card h3 { font-size: 1.32rem; margin-bottom: 1em; }

.cta-band {
  background: var(--brown);
  color: #fff;
  margin-top: 96px;
  padding: 44px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band p { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.45; }

/* ---------- 12. Hero interior ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #6f6f6a center / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(90, 90, 86, .45); z-index: -1;
}
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; margin: 0; }

/* ---------- 13. About ---------- */
.objective {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  color: #fff;
  background: #6f6f6a center / cover no-repeat;
  padding-block: 80px;
  isolation: isolate;
}
.objective::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(88, 88, 84, .5); z-index: -1;
}
.objective h2 { font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.objective p { max-width: 780px; margin: 0; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.photo-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px; max-width: 520px; }
.team__member { text-align: center; }
.team__member img {
  width: 130px; height: 130px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 20px;
}
.team__member h3 { font-size: 1rem; font-weight: 700; margin-bottom: .9em; }
.team__member p { font-size: .97rem; }

/* ---------- 14. Contacto ---------- */
.contact-section {
  position: relative;
  color: #fff;
  background: #6f6f6a center / cover no-repeat;
  padding-block: 90px 110px;
  isolation: isolate;
}
.contact-section::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(92, 92, 88, .45); z-index: -1;
}
.contact-section h2 { font-weight: 500; }

.form-card {
  max-width: 760px;
  margin: 46px auto 0;
  padding: 46px 60px 52px;
  background: rgba(255, 255, 255, .13);
  border-radius: 18px;
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .95rem; margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 18px 26px;
}
.field textarea { border-radius: 18px; min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9a9a9a; }
.form-card .btn { display: block; margin: 34px auto 0; min-width: 260px; }

/* ---------- 15. Testimonios de pie ---------- */
.testimonials {
  position: relative;
  background: var(--dark-sofa) center / cover no-repeat;
  color: #fff;
  padding-block: 110px;
  isolation: isolate;
}
.testimonials::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(30, 30, 30, .55); z-index: -1;
}
.testimonials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px; }
.testimonial { text-align: center; }
.testimonial p { max-width: 560px; margin: 0 auto 26px; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--brown); color: #fff; padding-block: 72px 56px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 56px;
}
.site-footer h2 { font-size: 1.85rem; margin-bottom: .6em; }
.site-footer h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 1.6em;
}
.site-footer p { max-width: 260px; }

.socials { display: flex; gap: 20px; margin: 26px 0 30px; }
.socials a { display: inline-flex; }
.socials svg { width: 28px; height: 28px; fill: #fff; }
.socials a:hover { opacity: .75; }

.legal-links { display: grid; gap: 8px; margin-bottom: 26px; }
.legal-links a {
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright { font-size: .92rem; margin: 0; }

.footer-contact a { display: block; margin-bottom: 14px; }
.footer-contact a:hover { text-decoration: underline; }

.newsletter label { display: block; font-size: .96rem; margin-bottom: 12px; }
.newsletter input {
  width: 100%;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 18px 26px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}
.newsletter .btn { width: 100%; margin-top: 16px; }

/* ---------- 17. Páginas legales ---------- */
.legal-page { padding-block: 80px; }
.legal-page .container { max-width: 840px; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2em; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section-y: 72px; }
  .split { gap: 48px; }
  .services-grid { gap: 42px 56px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .setups { grid-template-columns: 1fr; max-width: 520px; }
  .platforms { grid-template-columns: 1fr; }
  .platforms__logos { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 96px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: 12px 24px 28px;
    border-bottom: 1px solid #eee;
    transform: translateY(-140%);
    transition: transform .28s ease;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { display: block; width: 100%; padding: 14px 0; }

  .split, .feature-quote, .testimonials__grid,
  .site-footer__grid, .team { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .services-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__cards { grid-template-columns: 1fr; gap: 1px; }
  .feature-quote__media { min-height: 300px; }
  .team { max-width: 420px; margin-inline: auto; }
  .testimonials__grid { gap: 56px; }
  .site-footer p { max-width: none; }
}

@media (max-width: 560px) {
  :root { --section-y: 56px; --gutter: 20px; }
  body { font-size: 16px; }
  .hero { min-height: 640px; }
  .form-card { padding: 30px 22px 36px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cta-band { padding: 32px 26px; }
  .setup__card { margin-inline: 0; }
  .brand img { width: 150px; }
  .platforms__logos { gap: 28px; }
  .platforms__logos img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
