/* =========================================================
   MYA SALUD · Clínica Podológica Talavera
   Multipágina · estética tipo Apple
   Brand: #02c3d4 (acento) · #ffffff · #f5f5f7 · grises
   Type: SF Pro (system) con Inter de respaldo
   ========================================================= */

:root {
  --accent: #02c3d4;
  --accent-600: #04a6b5;
  --accent-700: #067a86;
  --accent-050: #edfbfc;

  --ink: #1d1d1f;      /* casi negro Apple */
  --ink-2: #424245;
  --gray: #6e6e73;     /* gris texto Apple */
  --gray-2: #86868b;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --bg: #ffffff;
  --bg-gray: #f5f5f7;  /* gris canvas Apple */

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
  --maxw: 1120px;
  --ease: cubic-bezier(.28, .11, .32, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-weight: 600; color: var(--ink); letter-spacing: -0.022em; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--accent-700);
}
.eyebrow .dot { display: none; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #5ad6e2; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 400; }
.section-sub a { color: var(--accent-700); text-decoration: none; border-bottom: 1px solid rgba(2,195,212,.35); transition: border-color .25s; }
.section-sub a:hover { border-color: var(--accent-700); }

/* Full-width media band (optional image slot on inner pages) */
.media-band { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(15,35,60,.4); }
.media-band img { display: block; width: 100%; height: clamp(240px, 42vw, 460px); object-fit: cover; }

/* Image placeholder slot — marks a spot waiting for a photo */
.img-slot {
  border: 2px dashed rgba(2,195,212,.45);
  background: linear-gradient(180deg, rgba(2,195,212,.06), rgba(2,195,212,.02));
  border-radius: 28px; min-height: clamp(240px, 40vw, 420px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 30px; color: var(--accent-700);
}
.img-slot svg { opacity: .8; }
.img-slot .img-slot-label { font-weight: 600; font-size: 1.05rem; }
.img-slot .img-slot-hint { color: var(--gray); font-size: .9rem; max-width: 340px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 500; font-size: 1rem; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--accent-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 8px 12px; }
.btn-ghost:hover { color: var(--accent-700); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f2; }

/* Apple-style text link with chevron */
.link-more {
  display: inline-flex; align-items: center; gap: 3px; color: var(--accent-700);
  font-weight: 500; font-size: 1.05rem;
}
.link-more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .25s var(--ease); }
.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(3px); }

/* =========================================================
   HEADER (Apple-style translucent bar)
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
  padding: 0;
}
.site-header.scrolled { border-bottom-color: rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand-logo { height: 58px; width: auto; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 400; font-size: .88rem; color: var(--ink-2); transition: color .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 500; }
.header-cta { display: flex; align-items: center; gap: 6px; }
.btn-phone { font-size: .88rem; }
.btn-phone span { font-variant-numeric: tabular-nums; }
.header-cta .btn-primary { padding: 8px 16px; font-size: .88rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO (home) - centrado, tipo Apple
   ========================================================= */
.hero { text-align: center; padding: 120px 0 0; background: var(--bg); overflow: hidden; }
.hero-bg, .blob { display: none; }
.hero-inner { max-width: 900px; margin: 0 auto; }

/* --- Hero con vídeo de fondo --- */
.hero.hero-video {
  position: relative; min-height: 94vh; display: flex; align-items: center;
  padding: 130px 0 80px; background: var(--ink);
}
.hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,26,29,.35) 0%, rgba(6,26,29,.15) 38%, rgba(6,26,29,.62) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(2,195,212,.16) 0%, transparent 60%);
}
.hero-video .hero-inner { position: relative; z-index: 2; }
.hero-video .hero-title { color: #fff; text-shadow: 0 2px 24px rgba(6,26,29,.35); }
.hero-video .hero-lead { color: rgba(255,255,255,.95); text-shadow: 0 1px 14px rgba(6,26,29,.35); }
.hero-video .hero-trust.light li { color: #fff; }
.hero-video .hero-trust.light svg { color: #fff; }
.link-more.light { color: #fff; }
.hero-video .eyebrow.light { color: #7fe6ef; }
.hero .eyebrow { margin-bottom: 16px; font-size: 1.15rem; }
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.04; margin-bottom: 22px; color: var(--ink);
}
.hero-title .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--gray); font-weight: 400; max-width: 660px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-bottom: 56px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: .98rem; color: var(--gray); }
.hero-trust svg { color: var(--accent); flex-shrink: 0; }
.hero-figure { max-width: 1000px; margin: 0 auto; }
.hero-figure img {
  width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; object-fit: cover;
  aspect-ratio: 16/8; box-shadow: 0 -1px 0 rgba(0,0,0,.04);
}

/* =========================================================
   PAGE HEADER (interior)
   ========================================================= */
.page-header { text-align: center; padding: 130px 0 60px; background: var(--bg); }
.page-header .blob { display: none; }
.page-header .inner { max-width: 800px; margin: 0 auto; }
.page-header .eyebrow { margin-bottom: 14px; font-size: 1.1rem; }
.page-header h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 18px; }
.page-header p { color: var(--gray); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 400; max-width: 620px; margin: 0 auto; }
.crumbs { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; font-size: .9rem; color: var(--gray-2); }
.crumbs a:hover { color: var(--accent-700); }
.crumbs span { color: var(--ink-2); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 120px 0; }
.section.pt-0 { padding-top: 0; }
.section.soft { background: var(--bg-gray); }

/* trust bar */
.trustbar { background: var(--bg); padding: 84px 0 0; }
.trustbar + .section { padding-top: 84px; }
.trustbar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 30px 20px; background: var(--bg-gray); border-radius: var(--radius-lg); }
.trust-ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent-700); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow); }
.trust-item strong { display: block; font-size: 1.18rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.trust-item > div > span { display: block; font-size: .98rem; color: var(--gray); line-height: 1.45; }

/* feature (why) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { text-align: left; padding: 36px 30px; position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #5ad6e2); opacity: 0; transition: opacity .35s var(--ease); }
.feature-card:hover::before { opacity: 1; }
.feature-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-050); color: var(--accent-700); margin: 0 0 22px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.feature-card p { color: var(--gray); font-size: 1.04rem; line-height: 1.55; }

/* meta chips under the page-header intro */
.meta-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.meta-chips li { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 980px; background: rgba(255,255,255,.7); border: 1px solid var(--line-2); color: var(--ink-2); font-size: .95rem; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.meta-chips li svg { color: var(--accent-700); flex-shrink: 0; }

/* facts strip — dense row of key figures/facts */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line-2); box-shadow: 0 12px 34px -24px rgba(18,49,47,.22); }
.fact { padding: 34px 26px; text-align: center; border-left: 1px solid var(--line-2); }
.fact:first-child { border-left: none; }
.fact strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: var(--accent-700); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.fact span { display: block; color: var(--gray); font-size: .98rem; line-height: 1.4; }

/* =========================================================
   SERVICES (tiles Apple)
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--bg-gray); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column;
}
.section.soft .svc-card { background: #fff; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-media { aspect-ratio: 16/10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-body h2, .svc-body h3 { margin-bottom: 10px; font-size: 1.45rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.svc-body p { color: var(--gray); font-size: 1.02rem; flex: 1; margin-bottom: 18px; }
.svc-link { font-weight: 500; color: var(--accent-700); display: inline-flex; align-items: center; gap: 3px; font-size: 1.02rem; }
.svc-link span { transition: transform .3s var(--ease); }
.svc-card:hover .svc-link span { transform: translateX(4px); }
.center-cta { text-align: center; margin-top: 56px; }

/* =========================================================
   SPLIT (tech / clinic)
   ========================================================= */
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 68px; align-items: stretch; }
.split.reverse .split-media { order: 2; }
.split-copy { align-self: center; }
.split-media { position: relative; align-self: stretch; min-height: 440px; }
.split-media img { width: 100%; border-radius: var(--radius-lg); }
/* decorative accent panel behind the photo so it never floats in empty space */
.split-media.organic::before {
  content: ""; position: absolute; z-index: 0;
  left: 28px; right: -22px; top: 28px; bottom: -22px;
  background: linear-gradient(150deg, rgba(2,195,212,.20), rgba(2,195,212,.02));
  border-radius: var(--radius-lg);
}
.split-media.organic img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; min-height: 440px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px -34px rgba(15,35,60,.55);
}
/* floating info badge overlapping the photo */
.media-badge {
  position: absolute; z-index: 2; bottom: 22px; left: -18px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 40px -20px rgba(15,35,60,.4);
  padding: 12px 18px 12px 14px; border-radius: 16px;
}
.media-badge .mb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; flex-shrink: 0; }
.media-badge strong { display: block; font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; }
.media-badge span { display: block; font-size: .82rem; color: var(--gray); }
.split-media .float { position: absolute; z-index: 2; width: 42%; bottom: -22px; right: -18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-copy .eyebrow { margin-bottom: 14px; font-size: 1.1rem; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy > p { color: var(--gray); font-size: 1.15rem; margin-bottom: 24px; }
.tick-list { list-style: none; margin-bottom: 32px; display: grid; gap: 14px; }
.tick-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 1.05rem; }
.tick-list .check { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-050); color: var(--accent-700); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.split-points { display: flex; gap: 40px; margin: 26px 0 32px; flex-wrap: wrap; }
.split-points strong { font-size: 1.6rem; font-weight: 600; color: var(--ink); display: block; letter-spacing: -0.02em; }
.split-points span { font-size: .98rem; color: var(--gray); }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 40px 32px; background: #fff; border-radius: var(--radius-lg); text-align: center; }
.section.soft .step { background: var(--bg); }
.section:not(.soft) .step { background: var(--bg-gray); }
.step-num { font-size: 2.4rem; font-weight: 600; color: var(--accent); display: block; margin-bottom: 12px; letter-spacing: -0.03em; }
.step h3 { margin-bottom: 10px; font-size: 1.4rem; }
.step p { color: var(--gray); font-size: 1.02rem; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 36px 32px; border-radius: var(--radius-lg); background: var(--bg-gray); }
.section.soft .review { background: #fff; }
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 16px; font-size: 1.05rem; }
.review p { font-size: 1.25rem; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 18px; letter-spacing: -0.015em; }
.review footer { font-weight: 400; color: var(--gray); font-size: .95rem; }

/* =========================================================
   BLOG — listado y artículos
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-media { aspect-ratio: 16/10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--accent-700); background: var(--accent-050); padding: 5px 11px; border-radius: 100px; margin-bottom: 14px;
}
.post-card h2, .post-card h3 { font-size: 1.28rem; line-height: 1.25; margin-bottom: 10px; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent-700); }
.post-excerpt { color: var(--gray); font-size: .96rem; line-height: 1.6; flex: 1; margin-bottom: 16px; text-align: left; }
.post-meta { font-size: .84rem; color: var(--gray-2); margin-bottom: 14px; }
.post-meta time { color: var(--gray-2); }
.post-link { font-weight: 500; color: var(--accent-700); display: inline-flex; align-items: center; gap: 4px; font-size: .96rem; }
.post-link span { transition: transform .3s var(--ease); }
.post-card:hover .post-link span { transform: translateX(4px); }

/* Cabecera de artículo */
.article-header { padding: 130px 0 40px; text-align: center; position: relative; overflow: hidden; }
.article-header .inner { max-width: 760px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 5px; color: var(--gray); font-size: .9rem; margin-bottom: 22px; transition: color .2s, transform .2s var(--ease); }
.page-header .inner .back-link { display: flex; justify-content: center; }
.back-link:hover { color: var(--accent-700); transform: translateX(-3px); }
.article-header .post-cat { display: inline-block; margin: 0 auto 16px; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gray); font-size: .95rem; }
.article-meta .author { font-weight: 600; color: var(--ink-2); }
.article-figure { max-width: 900px; margin: 0 auto; padding: 0 22px; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); }

/* Cuerpo del artículo (prosa) */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body > p:first-child { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; }
.article-body h2 { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.015em; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: 1.3rem; font-weight: 600; margin: 1.5em 0 .4em; color: var(--ink); }
.article-body h4 { font-size: 1.08rem; font-weight: 600; margin: 1.3em 0 .3em; color: var(--ink-2); }
.article-body p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.75; margin-bottom: 1.1em; }
.article-body ul { list-style: none; margin: 0 0 1.3em; padding: 0; }
.article-body li { position: relative; padding-left: 1.5em; margin-bottom: .55em; color: var(--ink-2); line-height: 1.7; }
.article-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body .note { background: var(--bg-gray); border-left: 3px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 0 0 1.3em; }
.article-body .note p { margin: 0; }

/* Reseñas estilo Google */
.g-review {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 22px 24px; text-align: left; display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease);
}
.section.soft .g-review { background: #fff; }
.g-review:hover { box-shadow: 0 4px 18px rgba(0, 0, 0, .09); }
.g-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.g-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 1.15rem; flex-shrink: 0;
}
.g-avatar.g-c1 { background: #1a73e8; }
.g-avatar.g-c2 { background: #d93025; }
.g-avatar.g-c3 { background: #1e8e3e; }
.g-avatar.g-c4 { background: #9334e6; }
.g-avatar.g-c5 { background: #e8710a; }
.g-meta { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; min-width: 0; }
.g-name { font-size: .98rem; font-weight: 600; color: var(--ink); }
.g-sub { font-size: .82rem; color: var(--gray); }
.g-logo { flex-shrink: 0; }
.g-stars { color: #fbbc04; letter-spacing: 1px; font-size: 1.1rem; margin-bottom: 10px; }
.g-text { color: var(--ink-2); font-size: .96rem; line-height: 1.55; text-align: left; }

/* Tarjeta final (ver todas) */
.g-cta { align-items: flex-start; justify-content: center; }
.g-cta .g-logo-lg { margin-bottom: 14px; }
.g-cta-text { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin: 0 0 14px; }
.review .rev-src { color: var(--accent-700); font-weight: 500; }
.rev-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rev-cta p { font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro .eyebrow { margin-bottom: 14px; font-size: 1.1rem; }
.faq-intro h2, .faq-intro h3 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.06; margin-bottom: 16px; }
.faq-intro .section-sub { color: var(--gray); margin-bottom: 26px; font-size: 1.15rem; }
.faq-intro .section-sub a { color: var(--accent-700); white-space: nowrap; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em;
  padding: 24px 40px 24px 0; position: relative; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--accent-700); transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--gray); padding-bottom: 24px; font-size: 1.08rem; line-height: 1.55; max-width: 90%; }

/* =========================================================
   CTA BAND (sección oscura Apple)
   ========================================================= */
.cta-band { padding: 110px 0; background: var(--ink); text-align: center; }
.cta-band .inner { max-width: 720px; margin: 0 auto; color: #fff; }
.cta-band .eyebrow { margin-bottom: 16px; font-size: 1.15rem; }
.cta-band h2 { color: #fff; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; }
.cta-band p { color: #a1a1a6; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 400; margin-bottom: 32px; }
.cta-band .btns { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-band .btn-line { background: transparent; color: #5ad6e2; padding: 8px 4px; }
.cta-band .btn-line::after { content: "›"; margin-left: 3px; font-size: 1.2em; transition: transform .25s var(--ease); }
.cta-band .btn-line:hover { text-decoration: underline; }
.cta-band .btn-line:hover::after { transform: translateX(3px); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { list-style: none; display: grid; gap: 22px; margin-bottom: 30px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-050); color: var(--accent-700); display: grid; place-items: center; flex-shrink: 0; }
.ci-label { display: block; font-size: .9rem; color: var(--gray-2); margin-bottom: 2px; }
.contact-info a, .contact-info .ci-text { color: var(--ink); font-weight: 500; font-size: 1.08rem; }
.contact-info .ci-text { font-weight: 400; }
.contact-info a:hover { color: var(--accent-700); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

.contact-card { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 40px; }
.contact-form h2, .contact-form h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 500; font-size: .92rem; color: var(--ink-2); margin-bottom: 8px; }
.field label .opt { color: var(--gray-2); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-050);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--gray); margin: 8px 0 20px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.form-note { text-align: center; font-size: .88rem; color: var(--gray-2); margin-top: 14px; }
.form-success { text-align: center; font-weight: 500; color: var(--accent-700); background: var(--accent-050); padding: 13px; border-radius: 12px; margin-top: 14px; }
.form-error { text-align: center; font-weight: 500; color: #b23b3b; background: #fbeaea; padding: 13px; border-radius: 12px; margin-top: 14px; }

/* =========================================================
   FOOTER (estilo Apple, claro y compacto)
   ========================================================= */
.site-footer { background: var(--accent); color: rgba(255, 255, 255, .9); padding: 44px 0 30px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255, 255, 255, .88); font-size: .88rem; max-width: 280px; line-height: 1.5; }
.footer-col h4 { color: #fff; font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: rgba(255, 255, 255, .85); font-size: .88rem; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: rgba(255, 255, 255, .8); font-size: .82rem; }
.footer-legal a:hover { color: #fff; }

/* FAB */
.fab-call {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #04333a;
  display: none; place-items: center; box-shadow: var(--shadow-lg);
}
.fab-wa {
  position: fixed; bottom: 86px; right: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: none; place-items: center; box-shadow: var(--shadow-lg);
}
.fab-call:active, .fab-wa:active { transform: scale(.94); }
/* Texto de párrafo alineado a la izquierda */
.svc-body p,
.split-copy > p,
.review p,
.faq-item p,
.faq-intro .section-sub,
.footer-brand p { text-align: left; }

/* Reveal */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sr.in { opacity: 1; transform: none; }
.sr-d1 { transition-delay: .08s; }
.sr-d2 { transition-delay: .16s; }
.sr-d3 { transition-delay: .24s; }
.sr-d4 { transition-delay: .32s; }
.sr-d5 { transition-delay: .40s; }
.sr-d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { *{animation:none!important; scroll-behavior:auto!important;} .sr{opacity:1!important; transform:none!important;} }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .split, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .faq-intro { position: static; }
  .feature-grid, .services-grid, .reviews-grid, .steps, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-media { min-height: 0; }
  .split-media.organic { max-width: 520px; margin: 0 auto; }
  .split-media.organic img { min-height: 340px; max-height: 420px; }
  .split-media.organic::before { left: 20px; right: -14px; top: 20px; bottom: -14px; }
  .split-media .float { width: 46%; bottom: -16px; right: 0; margin: 0; }
  .split-media img.float-hide-mobile { display: none; }
  .media-badge { left: 0; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; }
  .fact:nth-child(2) { border-left: 1px solid var(--line-2); }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .section { padding: 88px 0; }
  .trustbar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff; padding: 12px 22px; gap: 0;
    box-shadow: var(--shadow); border-top: 1px solid var(--line-2);
  }
  .main-nav.open a { padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 1.08rem; }
  .main-nav.open a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .fab-call, .fab-wa { display: grid; }
  .header-inner { height: 64px; }
  .brand-logo { height: 48px; }
  .hero { padding-top: 100px; }
  .hero-figure img { border-radius: 18px 18px 0 0; aspect-ratio: 3/2.4; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-card { padding: 26px; }
}
@media (max-width: 480px) {
  .feature-grid, .services-grid, .reviews-grid, .steps, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { border-left: none !important; border-bottom: 1px solid var(--line-2); }
  .fact:last-child { border-bottom: none; }
}

/* =========================================================
   GLASS UI — glassmorphism (sobre vídeo / superposiciones)
   ========================================================= */

/* Hero: texto directamente sobre el vídeo (sin caja de cristal) */

/* Botones flotantes de cristal */
.fab-wa {
  background: rgba(37, 211, 102, .80);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
}
.fab-call {
  background: rgba(2, 195, 212, .82);
  border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
}

/* Menú móvil de cristal esmerilado */
@media (max-width: 960px) {
  .main-nav.open {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
    border-top: 1px solid rgba(255, 255, 255, .5);
  }
}

/* Sin translucidez si el navegador no soporta backdrop-filter (fallback legible) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .main-nav.open { background: #fff; }
  .fab-wa { background: #25d366; }
  .fab-call { background: var(--accent); }
}

/* =========================================================
   GLASS — extendido a toda la web
   ========================================================= */

/* Fondo continuo para toda la página (sin cortes entre secciones).
   Va fijo al viewport, así el cristal difumina siempre el mismo fondo. */
body {
  background:
    radial-gradient(34% 30% at 84% 6%, rgba(2, 195, 212, .07), transparent 62%),
    radial-gradient(32% 30% at 8% 66%, rgba(2, 195, 212, .05), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #fafeff 55%, #ffffff 100%);
  background-attachment: fixed;
}
/* Secciones transparentes: dejan ver el fondo continuo (sin costuras) */
.section, .section.soft, .trustbar, .page-header, .article-header { background: transparent; }

/* Tarjetas de cristal sutil (limpias, con un toque translúcido) */
.svc-card, .post-card, .review, .g-review, .step, .trust-item, .faq-item, .contact-card, .feature-card {
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 34px -24px rgba(18, 49, 47, .22), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.section.soft .svc-card, .section.soft .review,
.section.soft .g-review, .section.soft .step { background: rgba(255, 255, 255, .58); }

.feature-card {
  border-radius: var(--radius-lg);
  padding: 34px 26px;
}

.contact-card { background: rgba(255, 255, 255, .72); }
.faq-item { background: rgba(255, 255, 255, .55); }
.faq-item[open] { background: rgba(255, 255, 255, .78); }

/* Campos del formulario: más sólidos para legibilidad al escribir */
.field input, .field select, .field textarea { background: rgba(255, 255, 255, .78); }

/* Hover: más nítido */
.svc-card:hover, .post-card:hover, .g-review:hover, .step:hover,
.trust-item:hover, .feature-card:hover { background: rgba(255, 255, 255, .82); }

/* Fallback: sin desenfoque, tarjetas sólidas */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .svc-card, .post-card, .review, .g-review, .step, .trust-item,
  .contact-card, .feature-card { background: #fff; }
}

/* Retrato del podólogo sin fondo (persona recortada, sin sombra de caja) */
.split-media.organic img.pf-solo { box-shadow: none; }

/* Barra de confianza — minimalista (sin cajas, con divisores finos) */
.trust-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 8px 34px;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: none; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none;
}
.trust-item:first-child { border-left: none; }
.trust-item:hover { transform: none; box-shadow: none; background: none; }
.trust-item .trust-ic {
  width: auto; height: auto; background: none; box-shadow: none;
  color: var(--accent); display: block; margin-bottom: 4px;
}
.trust-item .trust-ic svg { width: 30px; height: 30px; color: var(--accent); }
.trust-item strong { font-size: 1.08rem; font-weight: 600; }
.trust-item > div span { color: var(--gray); font-size: .95rem; }

@media (max-width: 700px) {
  .trustbar-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--line); padding: 24px 0; }
  .trust-item:first-child { border-top: none; }
}

/* FAQ sin caja: lista con líneas divisorias (como el diseño original) */
.faq-item, .faq-item[open] {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: none; border-bottom: 1px solid var(--line);
  box-shadow: none; border-radius: 0;
}

/* =========================================================
   MOTION — scroll suave, microinteracciones y hover
   ========================================================= */

/* Entrada escalonada del hero y cabeceras */
.hero-inner > *, .page-header .inner > * { animation: revealUp .7s var(--ease) both; }
.hero-inner > *:nth-child(2), .page-header .inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3), .page-header .inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4), .page-header .inner > *:nth-child(4) { animation-delay: .24s; }
.hero-inner > *:nth-child(5), .page-header .inner > *:nth-child(5) { animation-delay: .32s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Botones: pulsación y elevación suave */
.btn { transition: background .3s var(--ease), color .3s, border-color .3s, transform .18s var(--ease), box-shadow .3s var(--ease); }
.btn:active { transform: scale(.96); }
.btn-primary:hover, .btn-white:hover, .btn-dark:hover, .btn-outline:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 26px -12px rgba(2, 195, 212, .55); }

/* Nav: subrayado animado */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Enlaces del footer: leve desplazamiento */
.footer-col a { transition: color .25s, transform .25s var(--ease); }
.footer-col a:hover { transform: translateX(3px); }

/* Tarjetas de valores / pasos / confianza / reseñas: elevación al pasar el ratón */
.feature-card, .step, .trust-item, .review { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-card:hover, .step:hover, .trust-item:hover, .review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-ic { transition: transform .35s var(--ease); }
.feature-card:hover .feature-ic { transform: scale(1.08) rotate(-3deg); }

/* FAQ: resaltar la pregunta al pasar el ratón */
.faq-item summary { transition: color .2s; }
.faq-item:hover summary { color: var(--accent-700); }

/* Botones flotantes: leve rebote */
.fab-call:hover, .fab-wa:hover { transform: translateY(-3px); }

/* Accesibilidad: sin movimiento si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .page-header .inner > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .btn:active, .feature-card:hover, .step:hover, .trust-item:hover, .review:hover,
  .footer-col a:hover, .fab-call:hover, .fab-wa:hover { transform: none !important; }
}
