:root {
  --rodman-teal: #00a7a0;
  --rodman-teal-soft: #e1f5f3;
  --bg: #f5f7f9;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --rodman-black: #111827;
  --radius-xl: 1.25rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --transition-fast: 200ms ease-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Avenir", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ecfeff 0, var(--bg) 55%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main { min-height: 100vh; }

.page { max-width: 1120px; margin: 0 auto; padding: 1.25rem 1.5rem 3rem; }

/* NAVBAR */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.75rem 0 0.5rem; }
.nav-left { display: flex; align-items: center; gap: 0.75rem; }
.logo-wrap { width: 42px; height: 42px; border-radius: 999px; overflow: hidden; box-shadow: 0 10px 25px rgba(0, 167, 160, 0.35); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-name { font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.brand-sub { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a { position: relative; padding-bottom: 0.1rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0%; height: 1px; background: var(--rodman-teal); transition: width var(--transition-fast); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(0, 167, 160, 0.2);
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); font-size: 0.85rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.35rem; transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.nav-cta span { font-size: 1rem; line-height: 1; }
.nav-cta:hover { background: #ffffff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }

/* HERO */
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: center; margin-top: 2.5rem; margin-bottom: 3.25rem; }
.hero-kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--rodman-teal); font-weight: 600; margin-bottom: 0.75rem; }
.hero-title { font-size: clamp(2.2rem, 3.1vw + 1rem, 3rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero-title span { color: var(--rodman-teal); }
.hero-text { font-size: 0.98rem; color: var(--text-muted); max-width: 34rem; margin-bottom: 1.75rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.3rem; }
.btn {
  border-radius: 999px; padding: 0.85rem 1.6rem; font-size: 0.9rem; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--rodman-teal); color: #ffffff; box-shadow: 0 15px 35px rgba(0, 167, 160, 0.45); }
.btn-primary:hover { background: #02958e; transform: translateY(-1px); box-shadow: 0 20px 40px rgba(0, 167, 160, 0.55); }
.btn-ghost { background: rgba(255, 255, 255, 0.85); border-color: rgba(0, 0, 0, 0.04); color: var(--text-main); }
.btn-ghost:hover { background: #ffffff; border-color: rgba(0, 0, 0, 0.08); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08); }

/* Botón Training destacado */
.btn-training { background: var(--rodman-black); color: #ffffff; border-color: var(--rodman-black); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.45); }
.btn-training:hover { background: #020617; border-color: #020617; transform: translateY(-1px); box-shadow: 0 22px 46px rgba(15, 23, 42, 0.65); }

.hero-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta-dot { width: 4px; height: 4px; border-radius: 999px; background: var(--rodman-teal); }

/* HERO RIGHT cards */
.hero-card { position: relative; border-radius: var(--radius-xl); background: radial-gradient(circle at top, #ccfbf1 0, #ecfeff 35%, #ffffff 100%); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); overflow: hidden; border: 1px solid rgba(15, 23, 42, 0.03); }
.hero-bubble { position: absolute; inset: auto auto -60px -60px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(0, 167, 160, 0.12), transparent 60%); pointer-events: none; }
.hero-bubble--top { inset: -80px -80px auto auto; width: 220px; height: 220px; }
.hero-mini-grid { position: relative; display: flex; flex-direction: column; gap: 0.9rem; }
.hero-mini-card { position: relative; display: flex; gap: 0.75rem; background: rgba(255, 255, 255, 0.92); border-radius: 1rem; padding: 0.7rem 0.75rem; border: 1px solid rgba(148, 163, 184, 0.3); backdrop-filter: blur(10px); }
.hero-mini-image { width: 82px; border-radius: 0.9rem; overflow: hidden; flex-shrink: 0; }
.hero-mini-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-mini-body { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.8rem; }
.hero-mini-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-mini-tag--clinic { background: rgba(0, 167, 160, 0.08); color: var(--rodman-teal); }
.hero-mini-tag--diet { background: #fef9c3; color: #854d0e; }
.hero-mini-tag--training { background: var(--rodman-black); color: #f9fafb; }
.hero-mini-title { font-size: 0.9rem; font-weight: 600; }
.hero-mini-text { font-size: 0.8rem; color: var(--text-muted); }
.hero-mini-pill-row { margin-top: 0.25rem; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.hero-mini-pill { font-size: 0.68rem; padding: 0.18rem 0.55rem; border-radius: 999px; background: #f3f4f6; }
.hero-mini-pill--training { background: rgba(15, 23, 42, 0.9); color: #f9fafb; }

/* SECTIONS */
.section { margin-bottom: 3rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--rodman-teal); font-weight: 600; margin-bottom: 0.4rem; }
.section-title { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 0.1rem; }
.section-sub { font-size: 0.9rem; color: var(--text-muted); max-width: 30rem; }
.section-link { font-size: 0.8rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.3rem; padding-bottom: 0.15rem; border-bottom: 1px solid rgba(148, 163, 184, 0.5); white-space: nowrap; }

/* SERVICES */
.services-group { margin-bottom: 2.1rem; }
.services-group-title { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.7rem; }
.services-group--training { border-top: 1px solid rgba(148, 163, 184, 0.35); padding-top: 1.7rem; }
.services-group--training .services-group-title { color: var(--rodman-black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.service-card {
  border-radius: 1rem; background: #ffffff; padding: 1.15rem 1.1rem; border: 1px solid var(--border-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03); display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.service-card:hover {
  border-color: rgba(0, 167, 160, 0.3); transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.09);
  background: linear-gradient(145deg, rgba(225,245,243,0.6), #ffffff 40%, #ffffff);
}
.service-card--training { border-top: 3px solid var(--rodman-black); }
.service-name { font-size: 0.95rem; font-weight: 600; }
.service-desc { font-size: 0.86rem; color: var(--text-muted); flex: 1; }
.service-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

/* CENTER / ESPACIOS */
.center-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.center-card { background: #ffffff; border-radius: 1.25rem; padding: 1rem; border: 1px solid var(--border-soft); box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03); display: flex; flex-direction: column; gap: 0.45rem; }
.center-photo { border-radius: 1rem; overflow: hidden; margin-bottom: 0.6rem; }
.center-title { font-size: 0.95rem; font-weight: 600; }
.center-text { font-size: 0.86rem; color: var(--text-muted); }

/* CTA / FOOTER */
.cta {
  border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--rodman-teal), #0f766e);
  color: #ffffff; padding: 1.6rem 1.7rem; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; box-shadow: var(--shadow-soft);
}
.cta-main { max-width: 28rem; }
.cta-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.cta-text { font-size: 0.9rem; opacity: 0.9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.btn-cta-light {
  background: #ffffff; color: #0f172a; border-radius: 999px; padding: 0.8rem 1.5rem; font-size: 0.9rem; font-weight: 500; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25); transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.btn-cta-light:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35); background: #f9fafb; }
.cta-meta { font-size: 0.8rem; opacity: 0.9; }

footer {
  padding: 1.6rem 0 0.4rem; font-size: 0.78rem; color: var(--text-muted); display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  border-top: 1px solid rgba(148, 163, 184, 0.2); margin-top: 2.5rem;
}
footer a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Banner de cookies */
.cr-consent {
  position: fixed; inset: auto 1rem 1rem 1rem; z-index: 99999;
  background: #111827; color: #fff; padding: 1rem; border-radius: .75rem;
  font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); max-width: 680px; margin: 0 auto;
}
.cr-consent h3 { margin: 0 0 .5rem; font-size: 1rem; }
.cr-consent p { margin: 0 0 .75rem; color: #cbd5e1; }
.cr-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cr-btn { cursor: pointer; border: 0; border-radius: .5rem; padding: .6rem .9rem; }
.cr-btn-primary { background: #00a7a0; color: #fff; }
.cr-btn-secondary { background: #374151; color: #fff; }
.cr-link { color: #067c78; text-decoration: underline; }
.cr-hidden { display: none !important; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .hero-card { max-width: 420px; margin-inline: auto; }
  .section-header { align-items: flex-start; }
}
@media (max-width: 720px) {
  .page { padding-inline: 1.1rem; }
  .nav-links { display: none; }
  .hero { margin-top: 1.7rem; margin-bottom: 2.6rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-text { font-size: 0.95rem; }
  .cta { padding: 1.4rem 1.4rem 1.3rem; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
