/* PodoCare — Diseño podológico wellness (distinto al template clínico genérico) */

:root {
  --teal: #0F766E;
  --teal-dark: #0a524c;
  --teal-mid: #14B8A6;
  --mint: #2DD4BF;
  --mint-soft: #E6FAF7;
  --mint-bg: #F0FDFA;
  --slate: #1E293B;
  --slate-muted: #64748B;
  --line: #D1E9E6;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --wa: #25D366;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 76px;
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --wrap: min(100% - 2rem, 1180px);
  --section-y: clamp(4rem, 9vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
ul { list-style: none; }
address { font-style: normal; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--mint); }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--cta {
  background: var(--teal);
  color: var(--white);
}
.btn--cta:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--ghost {
  background: var(--white);
  color: var(--teal);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--teal-mid);
  color: var(--teal-dark);
}
.btn--light {
  background: var(--white);
  color: var(--teal);
}
.btn--light:hover { background: var(--mint-soft); }
.btn--full { width: 100%; }

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1rem;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
}
.brand__mark { color: var(--teal-mid); }
.brand__name span { color: var(--mint); }
.brand--footer { color: var(--white); margin-bottom: 0.5rem; }
.brand--footer .brand__name span { color: var(--mint); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav__list { display: none; gap: 1.5rem; }
.site-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
}
.site-nav__link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0;
  transition: opacity var(--ease);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--teal); }
.site-nav__link.is-active::before { opacity: 1; }
.site-nav__cta { display: none; font-size: 0.85rem; padding: 0.65rem 1.2rem; min-height: 42px; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav__overlay {
  display: none;
}

/* ── Hero ── */
.hero-pod {
  position: relative;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 0;
  background: var(--mint-bg);
  overflow: hidden;
}
.hero-pod__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(45, 212, 191, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(20, 184, 166, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.hero-pod__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  padding-bottom: 2rem;
}
.hero-pod__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.hero-pod__lead {
  color: var(--slate-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}
.hero-pod__btns { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero-pod__media {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}
.hero-pod__frame {
  position: relative;
  z-index: 1;
  border-radius: 48% 52% 44% 56% / 42% 44% 56% 58%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.18);
}
.hero-pod__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-pod__accent {
  position: absolute;
  bottom: -12%;
  right: -8%;
  width: 55%;
  height: 55%;
  border: 3px solid var(--mint);
  border-radius: 48% 52% 44% 56% / 42% 44% 56% 58%;
  opacity: 0.5;
  z-index: 0;
}

.metrics-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}
.metrics-bar__item {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.metrics-bar__item:last-child { border-bottom: none; }
.metrics-bar__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}
.metrics-bar__item span {
  font-size: 0.8125rem;
  color: var(--slate-muted);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 56px;
  color: var(--white);
}
.wave-divider--bottom { margin-top: 2rem; }
.wave-divider--top { color: var(--bg); margin-bottom: -1px; }

/* ── Bloques ── */
.block { padding-block: var(--section-y); }
.block--white { background: var(--white); }
.block--mint { background: var(--mint-soft); }
.block--soft { background: var(--bg); }
.block--contact {
  background: linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  color: var(--white);
}

.block-head { margin-bottom: 2.5rem; }
.block-head--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.block-head--split {
  display: grid;
  gap: 1rem;
  align-items: end;
}
.block-head__title {
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.2;
}
.block-head__title--light { color: var(--white); }
.block-head__side {
  color: var(--slate-muted);
  max-width: 36ch;
}

/* ── Servicios (lista editorial) ── */
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--teal);
}
.treatment-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--ease), background var(--ease);
}
.treatment-item:hover {
  padding-left: 0.75rem;
  background: linear-gradient(90deg, var(--mint-bg), transparent);
}
.treatment-item__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  padding-top: 0.15rem;
}
.treatment-item__body h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.treatment-item__body p {
  font-size: 0.9375rem;
  color: var(--slate-muted);
}

/* ── Nosotros ── */
.about-pod {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about-pod__visual { position: relative; }
.about-pod__photo {
  border-radius: 24px 24px 80px 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.15);
}
.about-pod__photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.about-pod__badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
  max-width: 160px;
}
.about-pod__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-pod__badge span { font-size: 0.75rem; opacity: 0.9; }

.about-pod__text {
  color: var(--slate-muted);
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}
.about-pod__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.about-pod__certs li {
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.values-grid__cell {
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 4px solid var(--teal-mid);
  border-radius: 0 12px 12px 0;
}
.values-grid__cell h3 {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.values-grid__cell p {
  font-size: 0.8125rem;
  color: var(--slate-muted);
}

/* ── Beneficios ── */
.perks-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.perks-strip__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--mint-bg);
  border-radius: 12px;
  font-weight: 500;
  color: var(--slate);
  transition: transform var(--ease), box-shadow var(--ease);
}
.perks-strip__item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
}
.perks-strip__check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ── Testimonios ── */
.reviews-row {
  display: grid;
  gap: 1.25rem;
}
.review-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform var(--ease), box-shadow var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.1);
}
.review-card--featured {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.review-card--featured .review-card__stars { color: #FDE68A; }
.review-card--featured .review-card__name { color: rgba(255,255,255,0.9); }
.review-card__top {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--mint);
}
.review-card--featured .review-card__avatar { border-color: var(--mint); }
.review-card__stars {
  color: #F59E0B;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.review-card__name {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
}
.review-card blockquote p {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
}

/* ── Contacto ── */
.contact-pod {
  display: grid;
  gap: 2rem;
}
.contact-pod__intro {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 42ch;
}
.contact-pod__form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 1.75rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.95;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate);
  background: var(--white);
  border: none;
  border-radius: 10px;
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--mint);
  outline-offset: 0;
}
.field input.error,
.field textarea.error { outline: 2px solid #FCA5A5; }
.field__error {
  display: block;
  font-size: 0.75rem;
  color: #FECACA;
  margin-top: 0.35rem;
  min-height: 1rem;
}
.field__success {
  margin-top: 1rem;
  padding: 0.875rem;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.contact-pod__list { margin-bottom: 1.5rem; }
.contact-pod__row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-pod__row:last-child { border-bottom: none; }
.contact-pod__row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  opacity: 0.85;
}
.contact-pod__row p { font-size: 0.9375rem; opacity: 0.95; }
.contact-pod__row a:hover { color: var(--mint); }

.contact-pod__map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.contact-pod__map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding-bottom: 1.5rem;
}
.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
.site-footer__brand p { font-size: 0.875rem; opacity: 0.8; }
.site-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.site-footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}
.site-footer__social a:hover { background: var(--teal-mid); }
.site-footer__col h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.site-footer__col p,
.site-footer__col a {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}
.site-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-footer__col a:hover { color: var(--mint); }
.site-footer__copy {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Flotantes ── */
.wa-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wa);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--ease);
}
.wa-btn svg { width: 26px; height: 26px; }
.wa-btn:hover { transform: scale(1.06); color: var(--white); }

.top-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.12);
  transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
}
.top-btn svg { width: 20px; height: 20px; }
.top-btn:hover { transform: translateY(-3px); }
.top-btn[hidden] { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .metrics-bar { grid-template-columns: repeat(3, 1fr); }
  .metrics-bar__item { border-bottom: none; border-right: 1px solid var(--line); }
  .metrics-bar__item:last-child { border-right: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .block-head--split { grid-template-columns: 1.2fr 1fr; }
  .reviews-row { grid-template-columns: 1.2fr 1fr 1fr; align-items: stretch; }
  .contact-pod { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .contact-pod__map iframe { height: 300px; }
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-nav__list { display: flex; }
  .site-nav__cta { display: inline-flex; }

  .hero-pod__layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .hero-pod__media { margin-inline: 0; margin-left: auto; }

  .treatment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
    border-top: none;
  }
  .treatment-item {
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 0;
  }

  .about-pod {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
  .about-pod__badge { right: -1.5rem; bottom: 2rem; }

  .perks-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 88vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 2rem) 1.75rem 2rem;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(15, 118, 110, 0.12);
    transition: right var(--ease);
    z-index: 1001;
    gap: 0;
  }
  .site-nav.is-open { right: 0; }
  .site-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .site-nav__link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__cta { display: inline-flex; width: 100%; justify-content: center; }

  .site-nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 118, 110, 0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
  }
  .site-nav__overlay.is-visible { opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
