/* Stejar — static site styles (rebuilt from the previous site design, Nov 2026).
   Brand: navy #282d4b (old theme "accent"), dark #2a2829, Poppins 300/500. */

:root {
  --navy: #282d4b;
  --dark: #2a2829;
  --light: #e1e1db;
  --black: #000;
  --white: #fff;
  --font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --maxw: 1400px;
  --gutter: 4vw;
  --cw: min(var(--maxw), calc(100vw - 2 * var(--gutter)));
  /* Fluid type scale of the old site (heading sizes 4 / 2.8 / 2.2 / 1.2, large text 1.4) */
  --fs-h1: min(calc(3 * 1.2vw + 1rem), max(calc(3 * 0.012 * 1400px + 1rem), 4rem));
  --fs-h2: min(calc(1.8 * 1.2vw + 1rem), max(calc(1.8 * 0.012 * 1400px + 1rem), 2.8rem));
  --fs-h3: min(calc(1.2 * 1.2vw + 1rem), max(calc(1.2 * 0.012 * 1400px + 1rem), 2.2rem));
  --fs-h4: min(calc(0.2 * 1.2vw + 1rem), max(calc(0.2 * 0.012 * 1400px + 1rem), 1.2rem));
  --fs-lg: min(calc(0.4 * 1.2vw + 1rem), max(calc(0.4 * 0.012 * 1400px + 1rem), 1.4rem));
  --fs-sm: 0.9rem;
}
@media (max-width: 767px) and (orientation: portrait) {
  :root {
    --vhu: calc(0.012 * min(100vh, 900px));
    --fs-h1: calc(3 * var(--vhu) + 1rem);
    --fs-h2: calc(1.8 * var(--vhu) + 1rem);
    --fs-h3: calc(1.2 * var(--vhu) + 1rem);
    --fs-h4: calc(0.2 * var(--vhu) + 1rem);
    --fs-lg: calc(0.4 * var(--vhu) + 1rem);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 2rem 0 1rem; color: var(--hd, inherit); overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); line-height: 1.232; }
h2 { font-size: var(--fs-h2); line-height: 1.3; }
h3 { font-size: var(--fs-h3); line-height: 1.333; }
h4 { font-size: var(--fs-h4); line-height: 1.39; }
p { margin: 1rem 0; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.6em; margin: 1rem 0; }
li > p { margin: 0.5rem 0; }
.lg { font-size: var(--fs-lg); }
.sm { font-size: var(--fs-sm); }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.ta-j { text-align: justify; }
.c-darkAccent { color: var(--dark); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- section themes (old site: white / bright / dark) ---------- */
.theme-white  { --bg: #fff; --fg: #000; --hd: #000; --lnk: var(--navy); --btn-bg: var(--navy); --btn-fg: #fff; }
.theme-bright { --bg: var(--navy); --fg: #fff; --hd: #fff; --lnk: #fff; --btn-bg: #fff; --btn-fg: var(--navy); }
.theme-dark   { --bg: var(--dark); --fg: #fff; --hd: #fff; --lnk: #fff; --btn-bg: #fff; --btn-fg: #000; }
.theme-light  { --bg: var(--light); --fg: #000; --hd: #000; --lnk: var(--navy); --btn-bg: var(--navy); --btn-fg: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.6em; padding: 1em 2.5em;
  background: var(--btn-bg, var(--navy)); color: var(--btn-fg, #fff);
  font-family: var(--font); font-weight: 500; font-size: 1rem; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; text-align: center; border: 0; border-radius: 0;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .8; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn-wrap { display: flex; width: 100%; }
.btn-wrap .btn { white-space: nowrap; }
.btn-wrap.al-center { justify-content: center; }
.btn-wrap.al-right { justify-content: flex-end; }
.btn-stretch { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: var(--navy); color: #fff;
  border: 4px solid #000;
  box-shadow: 0 0 30px rgba(0, 0, 0, .35);
}
.hdr {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter); min-height: 0;
}
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; margin-left: 2rem; }
.nav-list { list-style: none; display: flex; gap: 2.4rem; margin: 0 auto; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a, .sub-toggle {
  color: #fff; text-decoration: none; font: inherit; font-weight: 300; font-size: 1rem; line-height: 1.8;
  background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .35em;
}
.nav-list > li > a, .sub-toggle { border-bottom: 1px solid transparent; }
.nav-list > li > a:hover, .sub-toggle:hover,
.nav-list > li > a[aria-current="page"], .has-sub.active > .sub-toggle { border-bottom-color: #fff; }
.chev { width: .7em; height: .7em; fill: none; stroke: currentColor; stroke-width: 1.4; display: none; }
.sub {
  list-style: none; margin: 0; padding: .9rem 1.4rem; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); min-width: 13rem; background: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: none; text-align: center;
}
.sub li { margin: .3rem 0; }
.sub a:hover, .sub a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub { display: block; }
.lang {
  display: inline-flex; align-items: center; gap: .45em; color: #fff; text-decoration: none;
  font-weight: 300; white-space: nowrap;
}
.lang:hover span { text-decoration: underline; text-underline-offset: 4px; }
.globe { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5; }
.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; width: 52px; height: 44px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 29px; }

@media (max-width: 899px) {
  .hdr { padding: .4rem 6vw; }
  .logo img { width: 150px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0; padding: 7rem 6vw 3rem;
    background: var(--navy); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2rem;
    overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open .burger { position: fixed; top: 20px; right: 6vw; }
  .nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-open body, body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 1.1rem; margin: 0; }
  .nav-list a, .sub-toggle { font-size: 1.6rem; }
  .sub { position: static; transform: none; display: block; box-shadow: none; padding: .4rem 0 0 1.2rem; text-align: left; min-width: 0; background: none; }
  .sub a { font-size: 1.15rem; }
  .sub-toggle { cursor: default; }
  .lang { font-size: 1.15rem; }
}

/* ---------- generic sections ---------- */
.sec { position: relative; background: var(--bg); color: var(--fg); display: flex; flex-direction: column; justify-content: center; }
.sec.va-top { justify-content: flex-start; }
.sec.va-bottom { justify-content: flex-end; }
.sec a:not(.btn):not(.btn-buy) { color: var(--lnk); }
.sec-content { position: relative; z-index: 1; width: 100%; }
.h-small { min-height: 33vh; }
.h-medium { min-height: 66vh; }
.h-large { min-height: 100vh; }
.h-custom { min-height: var(--minh, 0); justify-content: flex-start; }
.h-small > .sec-content { padding: 3.3vmax 0; }
.h-medium > .sec-content { padding: 6.6vmax 0; }
.h-large > .sec-content { padding: 10vmax 0; }
.h-custom > .sec-content, .h-none > .sec-content { padding: var(--gutter) 0; }
.sec-bg { position: absolute; inset: 0; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-bg::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--ov, 0); }

/* ---------- the old "fluid engine" 24-column grid, reproduced in plain CSS ---------- */
.fe {
  --gut: calc(6vw - var(--cg, 11px));
  --cell: calc((var(--maxw) - var(--cg, 11px) * 7) / 8);
  display: grid; position: relative;
  grid-template-columns: minmax(var(--gut), 1fr) repeat(8, minmax(0, var(--cell))) minmax(var(--gut), 1fr);
  grid-template-rows: repeat(var(--rm, 1), minmax(24px, auto));
  row-gap: var(--rg, 11px); column-gap: var(--cg, 11px);
  overflow-x: clip;
}
.fe > .blk { grid-area: var(--gm, auto); min-width: 0; display: flex; flex-direction: column; justify-content: var(--jm, flex-start); position: relative; }
@media (min-width: 768px) {
  .fe {
    --gut: calc(var(--gutter) - var(--cg, 11px));
    --cell: calc((var(--maxw) - var(--cg, 11px) * 23) / 24);
    grid-template-columns: minmax(var(--gut), 1fr) repeat(24, minmax(0, var(--cell))) minmax(var(--gut), 1fr);
    grid-template-rows: repeat(var(--rd, 1), minmax(calc(var(--cw) * var(--f, .0215)), auto));
  }
  .fe > .blk { grid-area: var(--gd, auto); justify-content: var(--jd, flex-start); }
}
.blk > :first-child { margin-top: 0; }
.blk > :last-child { margin-bottom: 0; }
.blk-image { overflow: hidden; }
.blk-image img, .blk-image .img-link { position: absolute; inset: 0; width: 100%; height: 100%; }
.blk-image img.fill { object-fit: cover; }
.blk-image img.fit { object-fit: contain; }
.blk-html h1.scaled { font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: 1.15; }

/* accordion (accordion -> <details>) */
.accordion { border-top: 1px solid currentColor; }
.acc { border-bottom: 1px solid currentColor; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.6rem 0; font-weight: 500; font-size: 1rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; }
.acc[open] summary::after { content: "−"; }
.acc-body { padding: 0 0 1.6rem; }
.acc-body > :first-child { margin-top: 0; }

/* featured products (home code block) */
.featured-products { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: flex-start; gap: 10px; padding: 20px 0; }
.featured-product { flex: 1 1 20%; max-width: 200px; box-sizing: content-box; text-align: center; background: #fff; padding: 5px; display: flex; flex-direction: column; align-self: stretch; }
.featured-product img { width: 100%; height: auto; margin-bottom: 5px; aspect-ratio: 1; object-fit: contain; }
.featured-product h3 { font-size: 14px; color: #333; margin: 5px 0; line-height: 1.4; }
.featured-product p { margin: .8rem 0; }
.featured-product .btn-buy {
  display: inline-block; margin-top: auto; padding: 14px 20px; background: #30334d; color: #fff;
  text-decoration: none; font-size: 12px; font-weight: 600; line-height: 21px;
}
.featured-product .btn-buy:hover { background: #2980b9; }
@media (max-width: 767px) {
  .featured-products { flex-direction: column; flex-wrap: nowrap; align-items: center; }
  .featured-product { flex: 0 0 auto; max-width: 90%; width: 90%; box-sizing: border-box; align-self: center; }
}
/* test-page code blocks (/pruebas) */
.testimonials, .customer-reviews { padding: 1rem 0; }
.testimonial, .review { margin: 1rem 0; }
.comment-section { display: grid; gap: 1rem; }
.dropdown summary { cursor: pointer; font-weight: 500; }
.dropdown-content { display: flex; flex-direction: column; gap: .3rem; padding: .5rem 0 0 1rem; }

/* contact card (replaces the old contact form) */
.contact-card { border: 1px solid currentColor; padding: clamp(1.5rem, 4vw, 3rem); }
.contact-card h3 { margin-top: 0; }
.contact-card .btn { word-break: break-all; }

/* ---------- carousels (hero slideshow, product carousels, review images) ---------- */
.car-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > li { scroll-snap-align: start; min-width: 0; }
.car-btn {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(225, 225, 230, .85); color: var(--navy); display: inline-flex; align-items: center; justify-content: center;
}
.car-btn svg { width: 34px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.car-btn:hover { background: #fff; }
.car-btn[disabled] { opacity: .35; cursor: default; }
.car-btn[hidden] { display: none; }

/* hero */
.sec-hero { display: block; }
.sec-hero > .sec-content { padding: 0; }
.hero { position: relative; }
.hero-track { grid-auto-columns: 100%; }
.hero-slide { position: relative; height: clamp(360px, 36.5vw, 640px); overflow: hidden; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(34%, 460px);
  display: flex; flex-direction: column; justify-content: center; text-align: center;
  padding: 0 1.5rem 4%; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .2);
}
.hero-text h2 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); margin: 0 0 1rem; color: #fff; line-height: 1.25; }
.hero-text p { font-size: clamp(1rem, 1.5vw, 1.25rem); margin: 0; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; justify-content: center; gap: 20px; pointer-events: none; }
.hero-nav .car-btn { pointer-events: auto; }
@media (max-width: 767px) {
  .hero-text { width: 100%; padding: 0 6vw 30%; }
  .hero-nav { bottom: 1rem; }
  .hero-nav .car-btn { width: 48px; height: 48px; }
}

/* product / review carousels */
.sec-list > .sec-content { padding: 3.3vmax 0; }
.list-title { text-align: center; margin: 0 var(--gutter) 70px; font-size: var(--fs-h3); }
.carousel {
  position: relative; width: var(--cw); margin: 0 auto;
  --gap: 2.2vw;
}
.carousel .car-track { gap: var(--gap); grid-auto-columns: calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols)); }
.carousel.cols-1 .car-track { grid-auto-columns: 100%; }
.carousel.cols-1 .car-media { width: var(--ciw, 100%); }
.carousel.cols-1 { width: min(var(--cw), 900px); }
.car-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.car-media { width: 100%; margin-bottom: 6%; }
.carousel.sq .car-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.car-title { font-size: var(--tfs, 1.2rem); margin: 0 0 .6rem; line-height: 1.35; }
.car-desc { font-size: var(--bfs, .9rem); }
.car-desc p { margin: 0 0 1rem; }
.car-item .btn { margin-top: auto; font-size: .85rem; min-height: 0; padding: .9em 2.4em; }
.carousel > .car-btn { position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; }
.carousel > .car-prev { left: -30px; }
.carousel > .car-next { right: -30px; }
.carousel.cols-1 > .car-prev { left: -90px; }
.carousel.cols-1 > .car-next { right: -90px; }
@media (max-width: 1100px) {
  .carousel.cols-1 > .car-prev { left: 4px; }
  .carousel.cols-1 > .car-next { right: 4px; }
  .carousel > .car-prev { left: 4px; }
  .carousel > .car-next { right: 4px; }
}
@media (max-width: 767px) {
  .carousel { width: 100%; padding: 0 6vw; }
  .carousel .car-track { grid-auto-columns: 72%; gap: 6vw; scroll-padding: 0 6vw; }
  .carousel.cols-1 .car-track { grid-auto-columns: 100%; }
  .carousel.cols-1 .car-media { width: 100%; }
  .carousel > .car-btn { width: 44px; height: 44px; top: 30%; }
  .carousel > .car-btn svg { width: 24px; }
  .list-title { margin-bottom: 2rem; }
}

/* ---------- blog ---------- */
.sec-blog > .sec-content { padding: 3.3vmax var(--gutter); }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 2.2rem; max-width: var(--maxw); margin: 0 auto; }
.post-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-date { font-size: .85rem; font-weight: 400; margin: 1.6rem 0 1rem; }
.post-card-title { font-size: 1.6rem; line-height: 1.4; margin: 0 0 1.4rem; }
.post-card-title a { color: inherit !important; text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-excerpt { font-size: .9rem; }
.post-more { display: inline-block; font-size: .85rem; margin-top: 1.4rem; color: var(--navy) !important; }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; gap: 3rem; } }

.sec-post > .sec-content { padding: 3.3vmax var(--gutter) 5vmax; }
.post { max-width: 880px; margin: 0 auto; }
.post-meta { font-size: .9rem; font-weight: 400; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.post-title { margin: 0 0 3rem; }
.post-body h2 { font-size: var(--fs-h3); }
.post-body h3 { font-size: var(--fs-h4); }
.post-body li { margin: 1.4rem 0; }
.author-box { margin-top: 4rem; font-size: .9rem; }
.author-name { font-weight: 400; margin-bottom: 1rem; }
.pager { max-width: 1400px; margin: 4rem auto 0; display: flex; justify-content: space-between; gap: 2rem; }
.pager a { text-decoration: none; color: inherit !important; display: flex; flex-direction: column; max-width: 45%; }
.pager-next { margin-left: auto; text-align: right; }
.pager-label { font-size: .85rem; }
.pager-title { font-size: var(--fs-h4); font-weight: 500; line-height: 1.3; }
.pager a:hover .pager-title { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer .sec a:not(.btn) { color: var(--navy); }

/* ---------- misc ---------- */
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 5rem; font-weight: 500; margin: 0; line-height: 1; color: var(--navy); }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
