/* El Colmenar
   Colores del manual de imagen corporativa: Pantone 7743 (verde) y Pantone Oro Metallic 10124,
   con sus tonos al 70 % y 30 %. El verde lima es el color del aceite recién molturado.
   Tipografía corporativa: Noto Sans y Noto Sans Condensed. */
:root {
  --green: #42683c;
  --green-70: #7b9576;
  --green-30: #c6d2c5;
  --forest: #2c4628;
  --forest-ink: #1f321c;
  --gold: #c49d4b;
  --gold-70: #d6ba81;
  --gold-30: #ede2c9;
  --gold-hi: #dab764;
  --oil: #d4dc6a;
  --oil-30: #eef1c8;
  --paper: #fbf8f0;
  --ink: #23301f;
  --muted: #56624f;

  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
sup { font-size: .6em; line-height: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--forest-ink); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* Titulares: Noto Sans Condensed, negrita y en mayúsculas */
h1, h2, .fact strong, .product h3, .step h3, .profile-title {
  font-stretch: 62.5%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .95;
}
h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); color: var(--forest); }
.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.lead { font-size: 1.15rem; max-width: 48ch; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-lead { max-width: 56ch; color: var(--muted); font-size: 1.05rem; }

/* Botones en píldora */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-weight: 800; font-stretch: 75%; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px;
  transition: transform .2s ease, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--forest-ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border: 2px solid var(--gold-70); color: var(--paper); }
.btn-line:hover { background: rgba(214, 186, 129, .15); }

/* Cinta superior */
.ticker { background: var(--gold); color: var(--forest-ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 36s linear infinite; }
.ticker span {
  padding: 9px 22px; font-weight: 800; font-stretch: 75%; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 22px;
}
.ticker span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Cabecera */
.site-header { background: var(--forest); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--paper); text-decoration: none;
  font-weight: 700; font-stretch: 75%; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
}
.nav a:hover { background: rgba(251, 248, 240, .1); }
.nav .nav-cta { background: var(--oil); color: var(--forest-ink); margin-left: 8px; }
.nav .nav-cta:hover { background: var(--oil-30); }
.nav-toggle { display: none; }

/* Portada */
.hero { position: relative; background: var(--forest); color: var(--paper); padding-bottom: 48px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .kicker { color: var(--gold-70); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); color: var(--paper); }
.hero h1 .hl { color: var(--oil); }
.hero .lead { color: rgba(251, 248, 240, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.arch { border-radius: 220px 220px var(--r-xl) var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; border: 6px solid var(--gold); background: var(--forest-ink); }
.arch video { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; left: -28px; bottom: 56px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--oil); color: var(--forest-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-10deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  border: 3px dashed var(--forest);
  outline: 6px solid var(--oil); outline-offset: -1px;
}
.sticker span { font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.sticker strong { font-weight: 900; font-stretch: 62.5%; font-size: 2.5rem; line-height: .9; }
.hero-iso { position: absolute; right: -18px; top: -18px; width: 72px; height: auto; transform: rotate(8deg); }

/* Ondas entre secciones */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; display: block; }
.wave-flip { top: -1px; bottom: auto; }

/* Cifras */
.facts { padding-block: 8px 8px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -20px; position: relative; }
.fact { border-radius: var(--r-lg); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact strong { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.fact span { font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.f-green { background: var(--green); color: var(--paper); }
.f-oil { background: var(--oil); color: var(--forest-ink); }
.f-gold { background: var(--gold); color: var(--forest-ink); }
.f-sage { background: var(--green-30); color: var(--forest-ink); }

/* Tienda */
.shop { padding-block: clamp(72px, 9vw, 112px); }
.products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  position: relative; border-radius: var(--r-xl); padding: 12px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: transform .25s ease;
}
.product:hover { transform: translateY(-4px) rotate(-.6deg); }
.p-oil { background: var(--oil); }
.p-gold { background: var(--gold-70); }
.p-green { background: var(--green); color: var(--paper); }
.p-sage { background: var(--green-30); }
.product-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 0 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.product h3 { font-size: 2.3rem; }
.product-kind { font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.product p:last-child { font-size: .92rem; opacity: .85; }
.tag {
  position: absolute; top: 24px; left: 24px; z-index: 1;
  background: var(--paper); color: var(--forest);
  font-weight: 800; font-stretch: 75%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.notify {
  margin-top: 28px; padding: 26px 30px; border-radius: var(--r-xl);
  background: var(--forest); color: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
}
.notify p { max-width: 62ch; color: rgba(251, 248, 240, .86); }
.notify strong { color: var(--oil); }

/* El aceite */
.taste { position: relative; background: var(--green); color: var(--paper); padding-block: clamp(96px, 11vw, 136px) clamp(56px, 7vw, 88px); }
.taste .kicker { color: var(--oil); }
.taste h2 { color: var(--paper); }
.taste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.taste-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.taste-copy > p { color: rgba(251, 248, 240, .88); max-width: 56ch; }
.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: rgba(251, 248, 240, .12); border: 1.5px solid rgba(212, 220, 106, .55); font-weight: 600; font-size: .92rem; }
.lab { margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lab div { background: var(--forest); border-radius: var(--r-md); padding: 14px 16px; }
.lab dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-70); }
.lab dd { margin: 2px 0 0; font-weight: 800; font-stretch: 75%; font-size: 1.4rem; font-variant-numeric: tabular-nums; }

.profile { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: 28px 28px 22px; min-width: 0; }
.profile figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.profile-title { font-size: 1.9rem; color: var(--forest); }
.profile-sub { font-size: .85rem; color: var(--muted); }
.bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bars li { display: grid; grid-template-columns: 128px 1fr 34px; align-items: center; gap: 12px; font-size: .92rem; }
.bar-name { color: var(--ink); }
.bar-track { height: 14px; border-radius: 999px; background: var(--green-30); position: relative; overflow: hidden; }
.bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 10%); background: var(--green); border-radius: 999px; }
.bars li:first-child .bar { background: var(--gold); }
.bar-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.axis { display: flex; justify-content: space-between; margin: 8px 46px 0 140px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.profile-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--green-30); font-size: .85rem; font-weight: 600; color: var(--green); }
.notes-src { margin-top: 28px; font-size: .78rem; color: rgba(251, 248, 240, .7); }

/* La finca */
.story { padding-block: clamp(72px, 9vw, 112px); }
.story-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-photo { margin: 0; position: relative; }
.story-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl) 160px var(--r-xl) var(--r-xl); }
.story-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--forest);
  padding: 10px 18px 10px 12px; border-radius: 999px;
  font-weight: 800; font-stretch: 75%; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem;
}
.story-badge img { width: 22px; height: auto; }
.story-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.story-text > p { max-width: 58ch; color: var(--muted); font-size: 1.05rem; }
blockquote {
  margin: 8px 0 0; padding: 22px 26px; border-radius: var(--r-lg);
  background: var(--gold-30); color: var(--forest);
  font-weight: 700; font-stretch: 75%; font-size: 1.35rem; line-height: 1.3;
}

/* Proceso */
.process { padding-block: 0 clamp(96px, 11vw, 136px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-radius: var(--r-xl); padding: 12px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s-gold { background: var(--gold-30); }
.s-oil { background: var(--oil-30); }
.s-sage { background: var(--green-30); }
.step img, .step video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; border-radius: var(--r-lg); background: var(--forest-ink); }
.step-body { padding: 0 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.step h3 { font-size: 1.9rem; color: var(--forest); }
.step p { color: var(--muted); }

/* Cierre */
.cta { position: relative; background: var(--forest); color: var(--paper); padding-block: clamp(96px, 11vw, 136px) clamp(64px, 8vw, 96px); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-iso { width: 64px; height: auto; }
.cta h2 { color: var(--paper); max-width: 16ch; }
.cta p { max-width: 52ch; color: rgba(251, 248, 240, .85); }

/* Pie */
.site-footer { background: var(--forest-ink); color: rgba(251, 248, 240, .75); padding-block: 44px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-inner img { height: 34px; width: auto; }
.copy { font-size: .8rem; opacity: .75; }

/* Responsive */
@media (max-width: 1040px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .products { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) 22px;
    background: var(--forest); border-radius: 0 0 var(--r-lg) var(--r-lg);
  }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav[data-open="false"] { display: none; }
  .hero-grid, .taste-grid, .story-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(100%, 360px); margin-top: 8px; }
  .sticker { left: -8px; width: 112px; height: 112px; }
  .sticker strong { font-size: 2.1rem; }
  .hero-iso { right: -6px; }
  .steps { grid-template-columns: 1fr; }
  .step img, .step video { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .product-img { aspect-ratio: 5 / 4; }
  .bars li { grid-template-columns: 104px 1fr 30px; gap: 10px; font-size: .86rem; }
  .axis { margin: 8px 40px 0 114px; }
  .profile { padding: 22px 18px 18px; }
  .notify .btn { width: 100%; }
  .lab { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .product { transition: none; }
  .btn:hover, .product:hover { transform: none; }
}

/* Enlaces legales del pie */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; }
.footer-legal a { color: rgba(251, 248, 240, .8); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-hi); text-decoration: underline; }

/* Páginas legales */
.legal-page .site-header { position: static; }
.legal-back { color: var(--paper); text-decoration: none; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 9px 16px; border-radius: 999px; border: 2px solid rgba(214, 186, 129, .5); }
.legal-back:hover { background: rgba(251, 248, 240, .1); }
.legal { max-width: 780px; padding-block: 56px 88px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-stretch: 62.5%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .95; color: var(--forest); }
.legal h2 { font-size: 1.5rem; margin-top: 18px; color: var(--green); }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--green); }
.legal-updated { font-size: .85rem; color: var(--muted) !important; }
.legal-callout { background: var(--oil-30); border-radius: var(--r-lg); padding: 18px 22px; }
.legal-nav { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-nav a { text-decoration: none; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; padding: 10px 18px; border-radius: 999px; background: var(--green-30); color: var(--forest); }
.legal-nav a:hover { background: var(--gold-30); }
.pending { background: #fff1b8; color: #6b4e00; border-radius: 6px; padding: 0 6px; font-weight: 600; }
