/* ===== RodillaPro — Tienda de rodilleras deportivas (Colombia) — 100% estático, sin JavaScript ===== */
:root {
  --brand: #0d6e5a;
  --brand-dark: #095344;
  --brand-light: #e6f4f0;
  --accent: #ff7a1a;
  --accent-dark: #e8630a;
  --ink: #172321;
  --muted: #5c6b68;
  --line: #e2e8e5;
  --bg: #ffffff;
  --bg-soft: #f4f8f6;
  --shadow: 0 8px 30px rgba(13, 110, 90, 0.10);
  --radius: 14px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(255,122,26,0.35); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ===== Top bar ===== */
.topbar {
  background: var(--brand-dark);
  color: #d7f0e8;
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.main-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.main-nav a.active { color: var(--brand); background: var(--brand-light); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta {
  display: inline-flex;
  padding: 9px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.header-cta:hover { background: var(--brand-dark); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0d6e5a 0%, #0a5647 55%, #073b31 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 70px 0;
}
.hero h1 {
  font-size: 2.9rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 span { color: #ffd39c; }
.hero p.lead { font-size: 1.15rem; color: #d5efe8; margin-bottom: 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-badge { font-size: 0.92rem; color: #e7f6f1; }
.hero-badge b { color: #fff; display: block; font-size: 1.05rem; }
.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 40px 28px;
  position: relative;
  text-align: center;
}
.hero-visual .visual-title { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.hero-visual .visual-sub { color: #d5efe8; margin-top: 8px; }
.hero-visual .visual-bars { display: flex; gap: 10px; justify-content: center; align-items: flex-end; height: 120px; margin: 26px 0 8px; }
.hero-visual .visual-bars i { width: 22px; background: rgba(255,255,255,0.35); border-radius: 6px 6px 0 0; display: block; }
.hero-visual .visual-bars i:nth-child(1){height:45%}
.hero-visual .visual-bars i:nth-child(2){height:70%;background:var(--accent)}
.hero-visual .visual-bars i:nth-child(3){height:90%}
.hero-visual .visual-bars i:nth-child(4){height:60%}
.hero-price-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  transform: rotate(4deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.hero-price-tag small { display: block; font-weight: 600; font-size: 0.7rem; opacity: 0.9; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 22px; display: block; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }

/* ===== Trust strip ===== */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 0;
}
.trust-item { padding-left: 16px; border-left: 3px solid var(--brand); }
.trust-item b { display: block; font-size: 0.98rem; }
.trust-item span { font-size: 0.82rem; color: var(--muted); }

/* ===== Section ===== */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
}
.section-head h2 { font-size: 2.1rem; letter-spacing: -0.5px; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 16px;
  text-align: center;
}
.card-media .media-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: #bfe6db; font-weight: 700; }
.card-media .media-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; margin-top: 4px; line-height: 1.15; }
.card-media.has-photo { background: #fff; padding: 0; }
.card-media.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-tag.sport { background: #fff; color: var(--brand-dark); }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.card h3 { font-size: 1.08rem; margin: 4px 0 6px; }
.card .desc { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.price-old { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; }

/* ===== Single product feature ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-info h3 { font-size: 1.8rem; margin: 6px 0 12px; letter-spacing: -0.5px; }
.feature-info > p { color: var(--muted); margin-bottom: 16px; }
.feature-info .value-list { margin-bottom: 20px; }
.feature-info .pd-price { margin-bottom: 20px; }

/* ===== Category anchors ===== */
.cat-nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.cat-nav a {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.15s ease;
}
.cat-nav a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.cat-block { margin-bottom: 54px; scroll-margin-top: 90px; }
.cat-block > h2 { font-size: 1.6rem; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }

/* ===== Banner CTA ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--accent) 0%, #ff9a4d 100%);
  color: #fff;
  border-radius: 20px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: 1.8rem; }
.cta-banner p { opacity: 0.95; }
.cta-banner .btn { background: #fff; color: var(--accent-dark); }
.cta-banner .btn:hover { background: #fff2e6; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.why-card .num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* ===== Page hero (interior) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 54px 0;
}
.page-hero h1 { font-size: 2.3rem; margin-bottom: 8px; }
.page-hero p { color: #d5efe8; max-width: 560px; }
.breadcrumb { font-size: 0.85rem; color: #b8ddd2; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ===== Product detail ===== */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pd-media {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}
.pd-media .media-cat { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: #bfe6db; font-weight: 700; }
.pd-media .media-name { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin-top: 8px; }
.pd-media.has-photo { background: #fff; padding: 0; overflow: hidden; }
.pd-media.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); background: #fff; }
.pd-info h1 { font-size: 2rem; margin: 6px 0 10px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price .price { font-size: 2rem; }
.pd-price .price-old { font-size: 1.1rem; }
.pd-desc { color: var(--muted); margin-bottom: 22px; }
.pd-options { margin-bottom: 22px; }
.pd-options label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.size-list { display: flex; gap: 10px; flex-wrap: wrap; }
.size-list span {
  min-width: 52px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.pd-buy { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.pd-buy .btn { flex: 1; min-width: 180px; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.9rem; color: var(--muted); }
.pd-meta div { margin-bottom: 6px; }
.pd-meta b { color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; margin-top: 20px; }
.specs td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.specs td:first-child { font-weight: 700; width: 40%; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .info-item { margin-bottom: 22px; padding-left: 16px; border-left: 3px solid var(--brand); }
.contact-info b { display: block; }
.contact-info span { color: var(--muted); font-size: 0.92rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { background: var(--brand-light); border-radius: 10px; padding: 12px 14px; font-size: 0.85rem; color: var(--brand-dark); margin-top: 14px; }

/* ===== About ===== */
.about-lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; margin: 0 auto 40px; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--brand); }
.stat .lbl { color: var(--muted); font-size: 0.9rem; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  padding: 30px;
  text-align: center;
}
.about-cols h3 { font-size: 1.6rem; margin-bottom: 14px; }
.about-cols p { color: var(--muted); margin-bottom: 14px; }
.value-list { list-style: none; }
.value-list li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); }
.value-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; background: var(--brand); border-radius: 50%; }

/* ===== FAQ (details/summary, sin JS) ===== */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); }

/* ===== Newsletter ===== */
.newsletter { background: var(--brand-dark); color: #fff; }
.newsletter .container { text-align: center; }
.newsletter h2 { font-size: 1.9rem; margin-bottom: 10px; }
.newsletter p { color: #cfeae2; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 18px; border: none; border-radius: 999px; font-family: var(--font); font-size: 0.95rem; }

/* ===== Footer ===== */
.site-footer { background: #0a2a24; color: #b7d6cd; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-social { display: flex; gap: 18px; margin-top: 16px; font-size: 0.9rem; font-weight: 600; }
.footer-social a { color: #cfeae2; }
.footer-social a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-grid, .pd-grid, .contact-grid, .about-cols { grid-template-columns: 1fr; }
  .trust-grid, .why-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.3rem; }
}
@media (max-width: 680px) {
  .main-nav { gap: 2px; }
  .main-nav a { padding: 6px 9px; font-size: 0.85rem; }
  .logo span:last-child { display: none; }
  .trust-grid, .why-grid, .stats-grid, .product-grid, .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 46px 0; }
  .topbar .container { justify-content: center; }
  .topbar .tb-right { display: none; }
  .header-cta { display: none; }
}
