/* =========================================================
   Punto Pie Podología — estilos
   Paleta y lenguaje visual inspirados en el Instagram @puntopie01
   ========================================================= */

:root {
  --navy: #1a3a6b;
  --navy-dark: #10254a;
  --navy-light: #3c5f9b;
  --blue-pale: #eaf1fb;
  --blue-pale-2: #dbe7f8;
  --blue-mist: #cfdcf3;
  --white: #ffffff;
  --ink: #22283a;
  --ink-soft: #5c6478;
  --border: #e3e9f4;
  --danger-bg: #fbe6e6;
  --danger-ink: #b23b3b;

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Quicksand", "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(16, 37, 74, 0.08);
  --shadow-md: 0 12px 32px rgba(16, 37, 74, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 37, 74, 0.18);

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section.section { padding: 96px 0; }
.section-alt { background: var(--blue-pale); }

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

/* ---------- Eyebrow (heart divider) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--navy);
  margin-bottom: 22px;
}
.eyebrow .rule {
  width: 44px;
  height: 1px;
  background: var(--navy-light);
  opacity: .5;
}
.hero .eyebrow,
.about-copy .eyebrow { justify-content: flex-start; }
.hero .eyebrow .rule:first-child,
.about-copy .eyebrow .rule:first-child { width: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { background: var(--blue-pale); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { display: inline-flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: .01em;
}
.logo-subtitle {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.logo-title.small { font-size: 1.05rem; }
.logo-subtitle.small { font-size: .55rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .main-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-pale) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: var(--navy);
  margin-bottom: .45em;
}
.hero-title em {
  font-style: italic;
  color: var(--navy-light);
}

.hero-subtitle {
  font-size: 1.08rem;
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero-subtitle strong { color: var(--navy); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 34px;
}

.trust-chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.trust-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-chips svg { color: var(--navy-light); flex-shrink: 0; }

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%;
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  transform: translate(-6%, 8%);
}
.hero-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card p { margin: 0; font-size: .95rem; color: var(--ink); }
.hero-card strong { color: var(--navy); }

.hero-badge {
  position: absolute;
  z-index: 3;
  bottom: 6%;
  right: 4%;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .eyebrow, .hero-title, .hero-subtitle { text-align: left; }
  .hero-visual { min-height: 300px; margin-top: 20px; }
  .hero-badge { right: 0; bottom: 0; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--navy);
  color: var(--white);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}
.trust-item strong { font-family: var(--font-serif); font-size: 1.05rem; }
.trust-item span { font-size: .78rem; opacity: .75; letter-spacing: .02em; }
.trust-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.18);
}
@media (max-width: 760px) {
  .trust-divider { display: none; }
  .trust-bar-inner { justify-content: center; text-align: center; }
}

/* ---------- Section headings ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.02rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.service-card p { font-size: .93rem; margin: 0; }

/* ---------- About / Nosotras ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
}

.about-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-blob {
  position: absolute;
  inset: 8%;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%;
  box-shadow: var(--shadow-lg);
}
.about-mark {
  position: relative;
  z-index: 2;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}

.about-list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: .96rem;
}
.about-list-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-pale-2);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Steps (cómo agendar) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 46px;
}
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  padding: 34px 28px 30px;
  text-align: center;
}
.step-number {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--blue-mist);
}
.step-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.1rem; }
.step-card p { font-size: .92rem; margin: 0; }

.steps-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -220px; right: -160px;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
}
.cta-banner-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.cta-banner strong { color: var(--white); }
.cta-banner .btn { margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.faq-icon { flex-shrink: 0; color: var(--navy-light); transition: transform .25s ease; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: .95rem;
}
.faq-item.is-open .faq-answer { max-height: 220px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .93rem; margin: 0; }
.contact-item a { color: var(--navy); font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.contact-map iframe {
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: 0;
}
.map-link {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  border-top: 1px solid var(--border);
}
.map-link:hover { background: var(--blue-pale); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.footer-logo .logo-title { color: var(--white); }
.footer-logo .logo-subtitle { color: rgba(255,255,255,.6); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.footer-nav a { font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.8); }
.footer-nav a:hover { color: var(--white); }

.footer-copy { font-size: .8rem; margin: 0; color: rgba(255,255,255,.5); }

/* ---------- Contact WhatsApp list ---------- */
.contact-wa-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-wa-list a { font-size: .93rem; }

/* ---------- Modal: elegir pedicura ---------- */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.wa-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 37, 74, .55);
  backdrop-filter: blur(2px);
}
.wa-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 38px 32px 30px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .22s ease;
}
.wa-modal.is-open .wa-modal-panel {
  transform: translateY(0) scale(1);
}
.wa-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--blue-pale);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease;
}
.wa-modal-close:hover { background: var(--blue-mist); }
.wa-modal-eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy-light);
  margin: 0 0 8px;
}
.wa-modal-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}
.wa-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-modal-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.wa-modal-option:hover {
  border-color: var(--navy-light);
  background: var(--blue-pale);
  transform: translateY(-1px);
}
.wa-modal-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.wa-modal-option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
}
.wa-modal-option-text strong { color: var(--navy); font-size: .98rem; }
.wa-modal-option-text small { color: var(--ink-soft); font-size: .78rem; }
.wa-modal-arrow { color: #25D366; flex-shrink: 0; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
