/* ============================================================
   PLANTILLA 02 — Salud & Belleza · Lumina Studio
   Paleta: Rosa pálido / Melocotón / Crema / Nude / Blanco roto
   Tipografía: Cormorant Garamond (títulos) + Lato (cuerpo)
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --rose:       #ffdbdb;   /* rosa pálido principal */
  --rose-deep:  #f5cccc;   /* rosa algo más saturado, hover */
  --peach:      #fce4e4;   /* melocotón suave */
  --cream:      #fff5f7;   /* fondo crema */
  --nude:       #cc0058;   /* borgoña — acento */
  --nude-dark:  #a0004a;   /* borgoña oscuro — texto acento */
  --white:      #ffffff;
  --text:       #3a1520;   /* oscuro cálido */
  --text-light: #8a4060;   /* texto secundario */
  --border:     #edddd8;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;

  --radius:  12px;
  --radius-sm: 6px;
  --shadow:  0 4px 24px rgba(180, 100, 80, 0.08);
  --shadow-card: 0 2px 16px rgba(180, 100, 80, 0.10);
  --transition: 0.3s ease;
  --max-w: 1180px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
em { font-style: italic; color: var(--nude-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.bg-soft    { background: var(--cream); }

/* ── EYEBROW / LABELS ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nude-dark);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--nude);
  color: var(--white);
  border-color: var(--nude);
}
.btn-primary:hover {
  background: var(--nude-dark);
  border-color: var(--nude-dark);
}
.btn-outline {
  background: transparent;
  color: var(--nude-dark);
  border-color: var(--nude);
}
.btn-outline:hover {
  background: var(--nude);
  color: var(--white);
}
.btn-full { width: 100%; text-align: center; }

.link-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nude-dark);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.link-arrow:hover { color: var(--rose-deep); }

/* ── HEADER / NAV ───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo span { color: var(--nude-dark); }

.nav ul {
  display: flex;
  gap: 36px;
}
.nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--nude);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav a:hover, .nav a.active {
  color: var(--nude-dark);
}
.nav a:hover::after, .nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(253, 246, 240, 0.85) 0%,
    rgba(244, 197, 197, 0.75) 60%,
    rgba(247, 221, 208, 0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nude-dark);
  margin-bottom: 20px;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 auto 36px;
  max-width: 460px;
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 64px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--peach) 100%);
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }

/* ── VALUES ─────────────────────────────────────────────────── */
.values { background: var(--cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
  font-size: 1.4rem;
  color: var(--rose-deep);
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.value-card p { font-size: 0.92rem; color: var(--text-light); }

/* ── SERVICES GRID ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(180, 100, 80, 0.13);
}
.service-img { overflow: hidden; aspect-ratio: 4/3; }
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p  { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }

/* ── GALLERY STRIP ──────────────────────────────────────────── */
.gallery-strip { padding: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s;
}
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(4) {
  height: 100%;
  object-position: center;
}
.gallery-grid img:hover { transform: scale(1.03); opacity: 0.92; }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: linear-gradient(160deg, var(--peach) 0%, var(--cream) 100%); }
.testimonials-inner { text-align: center; max-width: 720px; margin: 0 auto; }

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.testimonial.active {
  display: block;
  opacity: 1;
}
.testimonial p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial cite {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nude-dark);
  font-style: normal;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--rose);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active, .dot:hover {
  background: var(--nude-dark);
  transform: scale(1.2);
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--rose) 0%, var(--peach) 100%);
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p  { color: var(--text-light); margin-bottom: 32px; }

/* ── SERVICE DETAIL (servicios.html) ────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail--reverse .service-detail-grid {
  direction: rtl;
}
.service-detail--reverse .service-detail-grid > * {
  direction: ltr;
}
.service-detail-img img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.service-detail-text .eyebrow { display: block; margin-bottom: 8px; }
.service-detail-text h2 { margin-bottom: 20px; }
.service-detail-text p  { color: var(--text-light); margin-bottom: 24px; }

.service-list { margin-bottom: 32px; }
.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: '✦';
  font-size: 0.65rem;
  color: var(--rose-deep);
  flex-shrink: 0;
}

/* ── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}
.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--nude-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pricing-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.pricing-card li span { color: var(--nude-dark); font-weight: 700; }
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 28px;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--nude);
  box-shadow: 0 0 0 3px rgba(201, 168, 154, 0.18);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-msg {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  min-height: 22px;
}
.form-msg.success { color: #6a9a6a; }
.form-msg.error   { color: #c0504a; }

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.info-block h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 4px;
}
.info-block p, .info-block a {
  font-size: 0.9rem;
  color: var(--text-light);
}
.info-block a:hover { color: var(--nude-dark); }
.contact-img img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer .logo { color: var(--white); font-size: 1.4rem; }
.footer .logo span { color: var(--rose); }
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--rose); }
.footer-copy { font-size: 0.78rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-detail--reverse .service-detail-grid { direction: ltr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 240px 240px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav.open { max-height: 240px; }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }
  .nav a { display: block; padding: 10px 0; font-size: 0.9rem; }

  .values-grid,
  .services-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 180px 180px; }

  .contact-form-wrap { padding: 32px 24px; }
  .hero-content { text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 220px); }
}

/* FLOATING WHATSAPP */
.float-wa{position:fixed;bottom:24px;right:24px;z-index:150;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s;text-decoration:none}
.float-wa:hover{transform:scale(1.1);box-shadow:0 6px 24px rgba(0,0,0,.25)}
.float-wa svg{width:26px;height:26px;fill:#fff}
@media(max-width:600px){.float-wa{bottom:16px;right:16px;width:50px;height:50px}.float-wa svg{width:22px;height:22px}}
