@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;600;700&display=swap');

:root {
  --ink: #12151c;
  --navy: #1a2234;
  --navy-soft: #252f45;
  --gold: #c5a028;
  --gold-light: #e8d5a3;
  --gold-dark: #9a7b1a;
  --burgundy: #6e2f3f;
  --cream: #f3efe6;
  --paper: #faf9f6;
  --white: #ffffff;
  --muted: #5c6478;
  --line: rgba(197, 160, 40, 0.35);
  --font-h: 'Source Serif 4', Georgia, serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  /* alias compatibilidad */
  --midnight: var(--ink);
  --panel: var(--navy);
  --teal: var(--gold);
  --teal-dark: var(--gold-dark);
  --mint: var(--gold-light);
  --ice: var(--cream);
  --border: var(--line);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  background-image:
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 120px),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(26, 34, 52, 0.02) 48px,
      rgba(26, 34, 52, 0.02) 49px
    );
}
h1, h2, h3 { font-family: var(--font-h); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; }
a:hover { color: var(--burgundy); }
img { max-width: 100%; display: block; height: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  border-bottom: 1px solid var(--line);
}
.tasa-bcv { font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid rgba(18, 21, 28, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(197, 160, 40, 0.15);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo img { height: 42px; }
.nav-panel { margin-left: auto; display: flex; gap: 28px; }
.nav-panel a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-panel a:hover, .nav-panel a.active { color: var(--ink); }
.nav-panel a.active { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-btn {
  display: none;
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.22s ease;
}
.btn-teal,
.btn-gold {
  background: linear-gradient(180deg, #d4b23a 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--gold-dark);
}
.btn-teal:hover,
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-midnight {
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid var(--line);
}
.btn-midnight:hover { background: var(--ink); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline:hover { background: rgba(197, 160, 40, 0.15); color: #fff; }
.btn-outline-light {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
}
.btn-outline-light:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn-sm { padding: 8px 16px; font-size: 0.75rem; }

.hero {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(197, 160, 40, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(110, 47, 63, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, var(--navy) 50%, var(--navy-soft) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--burgundy) 100%);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  color: var(--gold-light);
  padding: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 500px;
  font-size: 1.02rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, var(--gold), transparent) 1;
  pointer-events: none;
  z-index: 1;
}
.hero-visual img { width: 100%; height: 360px; object-fit: cover; filter: saturate(0.92) contrast(1.05); }

.metrics {
  max-width: 1180px;
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  background: var(--paper);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 20px 48px rgba(18, 21, 28, 0.08);
  border: 1px solid rgba(18, 21, 28, 0.06);
  border-bottom: 3px solid var(--gold);
}
.metric strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1.75rem;
  color: var(--navy);
}
.metric span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-head { margin-bottom: 36px; max-width: 560px; }
.section-head h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 14px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.section-head p { color: var(--muted); font-size: 0.95rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: var(--paper);
  padding: 32px 28px;
  border: 1px solid rgba(18, 21, 28, 0.07);
  position: relative;
  transition: box-shadow 0.25s;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
}
.pillar:hover { box-shadow: 0 16px 40px rgba(18, 21, 28, 0.07); }
.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-h);
}
.pillar p { font-size: 0.9rem; color: var(--muted); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.prod-card {
  background: var(--paper);
  overflow: hidden;
  border: 1px solid rgba(18, 21, 28, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18, 21, 28, 0.1);
  border-color: var(--line);
}
.prod-img { position: relative; }
.prod-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 21, 28, 0.55) 0%, transparent 50%);
  pointer-events: none;
}
.prod-img img { width: 100%; height: 190px; object-fit: cover; }
.prod-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prod-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-sku {
  font-size: 0.68rem;
  color: var(--burgundy);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.prod-body h3 { font-size: 1.12rem; margin: 10px 0; font-family: var(--font-h); }
.prod-body h3 a { text-decoration: none; color: var(--ink); }
.prod-body h3 a:hover { color: var(--gold-dark); }
.prod-body > p { font-size: 0.88rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.prod-price strong {
  font-size: 1.3rem;
  display: block;
  font-family: var(--font-h);
  color: var(--navy);
}
.price-was { font-size: 0.82rem; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.price-bs { font-size: 0.8rem; color: var(--muted); display: block; margin-top: 4px; }
.prod-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.process-band {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--navy) 55%, var(--ink) 100%);
  color: #fff;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  padding: 20px 20px 20px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}
.process-step strong {
  display: block;
  font-family: var(--font-b);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.process-step p { font-size: 0.88rem; opacity: 0.9; line-height: 1.5; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--paper);
  padding: 36px;
  border: 1px solid rgba(18, 21, 28, 0.08);
  box-shadow: 0 12px 40px rgba(18, 21, 28, 0.05);
}
.contact-wrap input,
.contact-wrap textarea {
  width: 100%;
  margin: 6px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 21, 28, 0.12);
  border-radius: 2px;
  font-family: inherit;
  background: var(--cream);
}
.contact-wrap input:focus,
.contact-wrap textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(197, 160, 40, 0.2);
}
.contact-wrap textarea { min-height: 108px; resize: vertical; }
.mapa iframe { width: 100%; height: 300px; border: 0; border-radius: 2px; }
.legal-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 48px;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-inner h4 {
  color: var(--gold-light);
  font-family: var(--font-b);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 10px; }
.footer-inner a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-inner a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}
.footer-bottom a { color: var(--gold-light); }

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 89;
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  font-weight: 700;
  transition: 0.2s;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 16px 24px;
  border-top: 2px solid var(--gold);
  z-index: 200;
  transform: translateY(100%);
  transition: 0.3s;
  box-shadow: 0 -8px 32px rgba(18, 21, 28, 0.08);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p { font-size: 0.86rem; color: var(--muted); flex: 1; }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filtros button {
  padding: 9px 18px;
  border: 1px solid rgba(18, 21, 28, 0.12);
  background: var(--paper);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.filtros button.on,
.filtros button:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

.pagina-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 88px;
  background: var(--paper);
  min-height: 50vh;
}
.pagina-legal h1 { font-family: var(--font-h); color: var(--navy); }
.pagina-legal h2 {
  margin: 28px 0 12px;
  font-size: 1.05rem;
  color: var(--burgundy);
  font-family: var(--font-b);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pagina-legal p,
.pagina-legal li { color: var(--muted); margin-bottom: 12px; }
.empty { text-align: center; padding: 48px; color: var(--muted); grid-column: 1/-1; }

/* Quiénes somos */
.about-intro {
  background: var(--paper);
  border-top: 1px solid rgba(18, 21, 28, 0.06);
  border-bottom: 1px solid rgba(18, 21, 28, 0.06);
}
.about-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}
.about-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--gold-light);
}
.about-band p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
  font-size: 1.05rem;
}
.about-split {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-split--reverse .about-media { order: 2; }
.about-split--reverse .about-text { order: 1; }
.about-media {
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(18, 21, 28, 0.1);
}
.about-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.about-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
}
.about-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.about-text h3 {
  font-size: 1.15rem;
  color: var(--burgundy);
  margin: 20px 0 10px;
  font-family: var(--font-b);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  text-align: justify;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.value-item {
  padding: 16px 18px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.value-item strong {
  display: block;
  font-family: var(--font-h);
  color: var(--navy);
  margin-bottom: 6px;
}
.value-item span {
  font-size: 0.86rem;
  color: var(--muted);
}
.about-page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.about-page-hero h1 { color: var(--gold-light); margin-bottom: 10px; }
.about-page-hero p { opacity: 0.88; max-width: 560px; margin: 0 auto; }

@media (max-width: 900px) {
  .about-split,
  .about-split--reverse .about-media,
  .about-split--reverse .about-text { grid-template-columns: 1fr; }
  .about-split--reverse .about-media,
  .about-split--reverse .about-text { order: unset; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-wrap,
  .pillars { grid-template-columns: 1fr; }
  .metrics,
  .process-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero::after { display: none; }
}
@media (max-width: 640px) {
  .nav-btn { display: block; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(18, 21, 28, 0.08);
    box-shadow: 0 12px 24px rgba(18, 21, 28, 0.08);
  }
  .nav-panel.open { display: flex; }
  .nav-panel a { color: var(--ink); }
  .metrics,
  .process-inner { grid-template-columns: 1fr; }
}
