/* ============================================================
   VERÓNICA SALAMANCA — CSS COMPARTIDO
   veronicasalamanca.com
   ============================================================ */

:root {
  --green-900: #667b73;
  --green-800: #7f938a;
  --mint-500: #a7c6b7;
  --mint-300: #dbe9e2;
  --lilac-500: #b9b0c8;
  --lilac-300: #e7e2ef;
  --gold-500: #c5a94e;
  --cream-50: #faf8f4;
  --cream-100: #f3eee7;
  --sand-200: #e7ddd1;
  --text-900: #181818;
  --text-700: #4e4e4e;
  --text-500: #7a7a7a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(102, 123, 115, 0.14);
  --shadow-card: 0 12px 26px rgba(24, 24, 24, 0.07);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text-900);
  background: var(--cream-50);
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 84px 0; }
.section-tight { padding: 62px 0; }

.eyebrow {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(167, 198, 183, 0.18);
  color: var(--green-900);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1, h2, h3,
.nav-links,
.dropdown-menu a,
.mobile-nav a,
.mobile-submenu summary {
  font-family: "Cinzel", serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.8rem); }

p {
  margin: 0 0 16px;
  color: var(--text-700);
  font-size: 1rem;
}

.lead { font-size: 1.08rem; }

/* ── BOTONES ── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }

.btn-primary { background: var(--green-900); color: var(--white); box-shadow: var(--shadow-card); }
.btn-secondary { background: var(--gold-500); color: var(--white); box-shadow: var(--shadow-card); }
.btn-tertiary { background: var(--lilac-500); color: var(--white); box-shadow: var(--shadow-card); }
.btn-ghost { background: transparent; border-color: rgba(102, 123, 115, 0.3); color: var(--green-900); }
.btn-white { background: var(--white); color: var(--green-900); box-shadow: var(--shadow-card); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(102, 123, 115, 0.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo img { width: 180px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-size: 0.96rem;
  margin: 0;
}

.nav-links > a,
.dropdown-toggle {
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
}

.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.78rem;
  font-family: sans-serif;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 340px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(102,123,115,0.12);
  padding: 14px;
  display: none;
  z-index: 1200;
}

.has-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--green-900);
  font-size: 0.96rem;
  line-height: 1.2;
}

.dropdown-menu a span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  color: var(--text-500);
  margin-top: 5px;
  line-height: 1.4;
}

.dropdown-menu a:hover { background: var(--cream-100); }

/* ── MOBILE TOGGLE ── */
.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: transform .25s ease, opacity .25s ease;
  position: absolute;
}

.mobile-toggle span { transform: translateY(0); }
.mobile-toggle::before { transform: translateY(-7px); }
.mobile-toggle::after { transform: translateY(7px); }
.mobile-toggle.active span { opacity: 0; }
.mobile-toggle.active::before { transform: rotate(45deg); }
.mobile-toggle.active::after { transform: rotate(-45deg); }

/* ── MOBILE PANEL ── */
.mobile-panel {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1100;
  overflow-y: auto;
  border-top: 1px solid rgba(102, 123, 115, 0.12);
  padding: 18px 0 24px;
}

.mobile-panel.open { display: block; }

.mobile-nav {
  width: min(var(--max), calc(100% - 1.2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav > a,
.mobile-submenu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  color: var(--green-900);
  border: 1px solid rgba(102, 123, 115, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-card);
  margin: 0;
}

.mobile-submenu summary { cursor: pointer; list-style: none; }
.mobile-submenu summary::-webkit-details-marker { display: none; }
.mobile-submenu[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.mobile-submenu-links {
  background: var(--white);
  border: 1px solid rgba(102,123,115,0.12);
  border-top: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 6px 10px 12px;
  box-shadow: var(--shadow-card);
}

.mobile-submenu-links a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--green-900);
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
}

.mobile-submenu-links a + a { margin-top: 4px; }
.mobile-submenu-links a:hover { background: var(--cream-100); }

.mobile-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

/* ── SECCIONES COMUNES ── */
.section-head {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head p {
  max-width: 820px;
  margin: 0 auto 14px;
}

.banner-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.banner-wrap img { width: 100%; display: block; }

/* ── GRIDS ── */
.cards-grid, .steps-grid, .why-grid, .lineas-grid {
  display: grid;
  gap: 22px;
}

.cards-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.lineas-grid { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ── CARDS ── */
.card, .step-card, .why-card, .line-card, .service-card, .case-card, .testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102,123,115,0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-media {
  background: linear-gradient(180deg, #f6f1e8 0%, #ebe3d6 100%);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.card-body, .step-card, .why-card, .line-card { padding: 24px; }

.card-logo { width: 86px; margin-bottom: 18px; }

.card-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.price-tag { font-weight: 800; color: var(--green-900); font-size: 1.1rem; }

.tag {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(167,198,183,0.18);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

/* ── INTRO STRIP ── */
.intro-strip { background: var(--green-900); color: var(--white); }

.intro-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-box p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }

/* ── ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 500px;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-900), #7f938a 62%, #b9b0c8 100%);
  color: var(--white);
}

.cta-box {
  border-radius: 32px;
  padding: 52px 42px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow-soft);
}

.cta-box p { color: rgba(255,255,255,0.9); max-width: 760px; margin: 0 auto 16px; }

/* ── TESTIMONIOS ── */
.testimonial-card { padding: 28px; position: relative; }

.testimonial-card::before {
  content: "\201C";
  font-family: "Cinzel", serif;
  font-size: 5rem;
  color: var(--mint-300);
  position: absolute;
  top: 10px;
  left: 22px;
  line-height: 1;
}

.testimonial-card p {
  padding-top: 28px;
  font-style: italic;
  color: var(--text-700);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  margin-top: 16px;
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── SERVICIOS (Prevenza/Equilibrate) ── */
.service-card { padding: 28px; }
.service-card h3 { margin-bottom: 10px; }
.service-price { font-size: 1.4rem; font-weight: 800; color: var(--green-900); margin: 12px 0; }
.service-tag { background: rgba(167,198,183,0.18); color: var(--green-900); border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 14px; }

/* ── CASOS DE EMPRESA ── */
.case-card { padding: 28px; }
.case-sector { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-500); margin-bottom: 10px; }
.case-result { background: rgba(167,198,183,0.12); border-left: 3px solid var(--mint-500); padding: 14px 18px; border-radius: 0 12px 12px 0; margin-top: 16px; font-size: 0.96rem; color: var(--text-700); }

/* ── ESFERAS (Equilibrate) ── */
.esferas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.esfera-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.esfera-item img { width: 90px; height: 90px; object-fit: contain; }
.esfera-item span { font-size: 0.82rem; font-weight: 700; color: var(--green-900); letter-spacing: 0.05em; text-transform: uppercase; }

/* ── ESCALERA DE SERVICIOS ── */
.ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ladder-grid::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint-300), var(--lilac-300));
  z-index: 0;
}

.ladder-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102,123,115,0.08);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 0 8px;
}

.ladder-item .ladder-num {
  width: 48px; height: 48px;
  background: var(--mint-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--green-900);
  margin: 0 auto 14px;
  font-size: 1.1rem;
}

.ladder-item h3 { font-size: 1rem; margin-bottom: 8px; }
.ladder-item .ladder-price { font-weight: 800; color: var(--green-900); font-size: 1.15rem; margin-bottom: 8px; }
.ladder-item p { font-size: 0.88rem; color: var(--text-500); margin: 0; }

/* ── HOW I WORK ── */
.work-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.work-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(102,123,115,0.08);
  box-shadow: var(--shadow-card);
}

.work-step-num {
  width: 40px; height: 40px;
  background: rgba(167,198,183,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}

/* ── FORMULARIO ── */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

label { font-size: 0.9rem; font-weight: 600; color: var(--text-700); }

input, select, textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(102,123,115,0.2);
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  color: var(--text-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus { border-color: var(--green-900); }
textarea { min-height: 130px; resize: vertical; }
.helper { font-size: 0.84rem; color: var(--text-500); margin-top: 8px; }

.form-status { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 14px; font-size: 0.96rem; text-align: center; }
.form-status.success { background: rgba(167,198,183,0.2); color: var(--green-900); border: 1px solid var(--mint-500); display: block; }
.form-status.error { background: rgba(220,80,80,0.08); color: #c0392b; border: 1px solid rgba(220,80,80,0.2); display: block; }

.rgpd-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-500);
  margin-top: 4px;
}

.rgpd-row input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--green-900);
  padding: 0;
  border: none;
}

.rgpd-row a { color: var(--green-900); text-decoration: underline; }

/* ── HERO ── */
.hero {
  background:
    radial-gradient(circle at top left, rgba(167,198,183,0.14), transparent 28%),
    linear-gradient(180deg, #faf8f4 0%, #f2ece4 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-photo-wrap { position: relative; }

.hero-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  max-height: 580px;
}

.hero-badge {
  position: absolute;
  right: -18px;
  bottom: 20px;
  width: 140px;
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.hero-badge img { width: 100%; max-width: 90px; margin: 0 auto; }
.hero-actions-note { font-size: 0.9rem; color: var(--text-500); margin-top: 8px; }

/* ── FOOTER ── */
.site-footer {
  background: #4f665c;
  color: rgba(255,255,255,0.82);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--white); }

/* ── FAQ (conecta-contigo) ── */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102,123,115,0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-family: sans-serif; color: var(--mint-500); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 20px; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .cards-grid,
  .lineas-grid,
  .steps-grid,
  .why-grid,
  .work-steps,
  .ladder-grid { grid-template-columns: 1fr; }

  .ladder-grid::before { display: none; }
  .ladder-item { margin: 0; }
  .esferas-grid { grid-template-columns: repeat(3, 1fr); }

  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }

  .hero-badge { position: static; margin-top: 18px; width: 130px; }
  .two-col { grid-template-columns: 1fr; }
}

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

  .container { width: min(var(--max), calc(100% - 1.2rem)); }
  .nav { min-height: 76px; }
  .logo img { width: 154px; }

  .hero-grid { gap: 26px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .lead { font-size: 1rem; }

  .btn { width: 100%; }
  .btn-row { align-items: stretch; }

  .section-head { text-align: left; margin-bottom: 28px; }
  .section-head p { margin-left: 0; max-width: none; }

  .cta-box { padding: 28px 22px; }
  .about-photo { min-height: 320px; }
  .footer-grid { align-items: flex-start; }

  .form-grid { grid-template-columns: 1fr; }
  .esferas-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ── MOBILE EXTRA (480px y menos) ── */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.9rem, 9vw, 2.4rem) !important; }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }

  .hero { padding: 40px 0; }
  .hero-photo { max-height: 360px; }
  .hero-badge { display: none; }

  .ladder-item { padding: 20px 16px; }
  .ladder-item .ladder-num { width: 40px; height: 40px; }

  .esfera-item img { width: 72px; height: 72px; }

  .vero-mini { flex-direction: column; text-align: center; }
  .vero-mini-photo { margin: 0 auto; }

  .lead-magnet-box { padding: 24px 18px; }
  .cta-box { padding: 24px 18px; }
  .form-landing { padding: 24px 18px; }

  .work-step { padding: 20px 18px; }
  .service-card { padding: 20px 18px; }
  .case-card { padding: 20px 18px; }
  .card-body { padding: 20px 18px; }

  .footer-links { flex-direction: column; gap: 10px; }
}

/* ── HERO FOTO: no overflow en móvil ── */
@media (max-width: 1080px) {
  .hero-photo {
    max-height: 420px;
    width: 100%;
  }

  .hero-photo-wrap {
    width: 100%;
  }

  /* Sección intro strip centrada en móvil */
  .intro-box { text-align: center; }
  .intro-box .eyebrow { display: inline-block; }

  /* Why grid colapsa a 2 columnas antes de llegar a 1 */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials en móvil */
  .testimonial-card { padding: 20px; }
  .testimonial-card::before { font-size: 3.5rem; }

  /* Normativa grid */
  .normativa-grid { grid-template-columns: 1fr; }

  /* Audio moments */
  .audio-moments { grid-template-columns: 1fr; }

  /* Experiencias page h1 fix */
  .hero-copy h1[style] { font-size: clamp(1.7rem, 5vw, 2.6rem) !important; }
}

@media (max-width: 720px) {
  /* Why grid a 1 columna en móvil pequeño */
  .why-grid { grid-template-columns: 1fr; }

  /* Secciones con padding reducido */
  .about-grid { gap: 20px; }
  .two-col { gap: 16px; }

  /* Ladder items más compactos */
  .ladder-grid { gap: 14px; }
  .ladder-item { padding: 20px 16px; }

  /* Work steps compactos */
  .work-steps { gap: 14px; }

  /* Esfera labels menores */
  .esfera-item span { font-size: 0.76rem; }
  .esfera-item p { font-size: 0.78rem !important; }

  /* Botones WhatsApp/Calendly en hero bien visibles */
  .btn-row .btn { font-size: 0.9rem; padding: 0 18px; }

  /* Footer en columna */
  .footer-grid { flex-direction: column; gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}
