/* ==========================================================================
   Morgan Specialties — shared stylesheet
   Fresh build. Visual language (warm brown accent, Manrope + Public Sans,
   card style) follows the Morgan Suplementos wholesale prototype, but all
   markup and rules here are written from scratch.
   ========================================================================== */

:root {
  --accent: #69441A;
  --accent-dark: #362818;
  --accent-tint: rgba(105, 68, 26, .08);
  --fg: #262626;
  --fg-muted: #676767;
  --fg-faint: #9a9a9a;
  --border: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #f7faf9;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(20, 20, 20, .06);
  --shadow-md: 0 10px 30px rgba(20, 20, 20, .08);
  --heading-font: "Manrope", sans-serif;
  --body-font: "Public Sans", sans-serif;
  --container-max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--fg);
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

section { padding: 64px 0; }

.section-tight { padding: 40px 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-heading h2 {
  font-size: 30px;
  font-weight: 800;
}

.section-heading p {
  color: var(--fg-muted);
  font-size: 16px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 0;
  font-family: var(--body-font);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: #ffffff;
  color: var(--fg);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 13px 8px;
}

.btn-ghost:hover { color: var(--accent-dark); }

.btn-block { width: 100%; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Header / nav ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--fg);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle svg { width: 24px; height: 24px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    /* Must match the real rendered header height (16px padding + 64px
       logo + 16px padding + 1px border = 97px) — a stale smaller value
       here made the dropdown start too high and cover the bottom of the
       logo when open. */
    inset: 97px 0 0 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn-secondary { display: none; }

  .nav-toggle { display: inline-flex; }
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  background: #362818;
  color: #d9ece8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid p { color: var(--fg-faint); font-size: 14px; }

.footer-links { list-style: none; margin: 0; padding: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--fg-faint);
  text-decoration: none;
  font-size: 14.5px;
}

.footer-links a:hover { color: #ffffff; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: var(--fg-faint);
}

.footer-legal p { margin: 0; line-height: 1.5; }

.footer-legal__afip { flex: none; line-height: 0; }

.footer-legal__afip img { height: 46px; width: auto; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-faint);
}

.footer-bottom a {
  color: var(--fg-faint);
  text-decoration: underline;
}

.footer-bottom a:hover { color: #ffffff; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Hero --------------------------------------------------------------- */

.hero {
  /* Override the global `section { padding: 64px 0; }` — the video should
     sit flush against the header above and the next section below; other
     sections keep the default 64px. */
  padding: 0;
  background: var(--bg-alt);
}

.hero__inner {
  position: relative;
  /* Match the video's native 16:9 so object-fit: cover barely has to crop
     it — min-height keeps it usable on short videos, max-height stops it
     from getting absurdly tall on very wide/ultra-wide screens (where it
     falls back to the old wide-and-short crop, just capped). width: 100%
     has to be explicit here: with it left as block-default "auto", the
     spec's aspect-ratio/max-height interaction derives width FROM the
     clamped height instead of the other way around, so the section
     shrink-wraps to a ~1350px-wide column on wide viewports instead of
     spanning full width. */
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  max-height: 760px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg-alt);
}

/* Looping background video behind the text */

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Flat dark tint, independent of the text-shadow on .hero__content —
     bump this opacity up/down to trade off video visibility vs. legibility. */
  background: rgba(0, 0, 0, .3);
}

.hero__inner .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 540px;
  color: #ffffff;
  /* Dark drop shadow so the light text holds up over the busy, variable
     video behind it, without needing a big opaque panel to cover it. */
  text-shadow:
    0 1px 3px rgba(0, 0, 0, .55),
    0 4px 14px rgba(0, 0, 0, .45),
    0 0 32px rgba(0, 0, 0, .3);
}

.hero__content .eyebrow {
  color: #ffffff;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #ffffff;
}

.hero p.lead {
  font-size: 17.5px;
  color: #ffffff;
  max-width: 520px;
}

.hero .cta-row {
  /* Buttons carry their own solid backgrounds and were perfectly
     readable already — the glow above is only meant for the bare text. */
  text-shadow: none;
}

@media (max-width: 900px) {
  .hero__inner {
    /* The 16:9 box only makes sense once the video drives the layout on
       desktop — on mobile the content stacks tall, so let height follow
       the content again instead of clipping it to a short video strip. */
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    padding: 32px 0;
  }

  .hero__content { max-width: none; }

  .hero h1 { font-size: 32px; }
}

/* Page header (About / Contact / Ingredients) ----------------------------- */

.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.breadcrumb {
  font-size: 13px;
  color: var(--fg-faint);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--fg-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.page-header h1 {
  font-size: 34px;
  font-weight: 800;
}

.page-header p.lead {
  max-width: 620px;
  color: var(--fg-muted);
  font-size: 16.5px;
  margin: 0;
}

.page-header__tagline {
  margin: 10px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--fg-faint);
}

/* Value props row ------------------------------------------------------- */

.value-props {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.value-props li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg-muted);
}

.value-props svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* Category filter (Our Ingredients page) --------------------------------- */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.category-btn {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--fg);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.category-btn:hover { border-color: var(--accent); color: var(--accent); }

.category-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Product grid + cards ----------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.product-grid[hidden] { display: none; }

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.product-card__image {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(38, 38, 38, .75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
  gap: 8px;
}

.product-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.product-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  /* Fixed (not min-) height so every card's "Más detalles" toggle lands at
     the same spot regardless of description length — a min-height alone
     still lets longer text grow the box past it. 4 lines, truncated with
     an ellipsis beyond that. */
  height: 84px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.product-card__meta {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 38px;
  overflow: hidden;
}

.product-card__meta p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card__meta strong {
  color: var(--fg);
  font-weight: 700;
}

.product-card__details-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--body-font);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.product-card__details-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.product-card__details-toggle.is-open svg {
  transform: rotate(180deg);
}

.product-card__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: height .25s ease, opacity .2s ease, margin-top .25s ease,
    padding-top .25s ease, border-color .2s ease;
}

.product-card__details.is-open {
  /* A forced height (not max-height, not content-measured) so every
     expanded card lands at the exact same size regardless of how much
     Presentación/Datos técnicos text it has — this matters even when
     rows don't stretch to match each other (e.g. single-column mobile,
     or a card alone in the last row). Sized for 2 lines per field (the
     realistic worst case), not padded further, so expanding doesn't
     leave a lot of visible dead space for shorter content. */
  height: 95px;
  margin-top: 2px;
  padding-top: 10px;
  opacity: 1;
  border-top-color: var(--border);
}

.product-card__details p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card__details strong {
  color: var(--fg);
  font-weight: 700;
}

.product-card__docs {
  margin: 4px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
}

.product-card__docs p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-muted);
  /* Fixed height (3 lines), same trick as .product-card__desc/__meta —
     without it, a product with fewer doc labels wraps to fewer lines and
     all that saved space gets dumped into the WhatsApp button's
     margin-top: auto below, making the gap just above that one button
     jump around card to card instead of the rest of the layout. */
  height: 54px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product-card__docs p strong {
  color: var(--fg);
  font-weight: 700;
}

.product-card__docs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.product-card__docs-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.product-card__docs-btn svg { width: 14px; height: 14px; }

.product-card__cta {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}

.product-card__cta:hover { background: var(--accent-dark); }
.product-card__cta svg { width: 15px; height: 15px; }

/* Wholesale CTA banner ----------------------------------------------------- */

.wholesale-cta {
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
}

.wholesale-cta h2 { font-size: 25px; font-weight: 800; }

.wholesale-cta p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--fg-muted);
}

/* Cards used on Home / About (feature tiles) ------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* 4-card variant (Sobre Nosotros) — same tiles, one more column. */
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .feature-grid--4 { grid-template-columns: 1fr; }
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 17px; font-weight: 800; }
.feature-card p { font-size: 14.5px; color: var(--fg-muted); margin: 0; }

/* Category grid (Home preview of categories) -------------------------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: box-shadow .2s ease, transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.category-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.category-card:hover .category-card__image img {
  transform: scale(1.05);
}

.category-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 8px;
}

.category-card__body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.category-card__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.category-card__button {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

.category-card__download {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.category-card__download:hover {
  background: var(--accent);
  color: #ffffff;
}

.category-card__download svg { width: 14px; height: 14px; }

/* Trust strip (client logos) ------------------------------------------------ */

.trust-strip { background: var(--bg-alt); }

.trust-strip__label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 28px;
}

.trust-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 36px;
  row-gap: 16px;
}

.trust-strip__logo {
  display: inline-flex;
  align-items: center;
}

.trust-strip__logo img {
  max-height: 32px;
  max-width: 160px;
  object-fit: contain;
  filter:  brightness(0%) grayscale(100%);
  opacity: .75;
  transition: filter .2s ease, opacity .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .trust-strip__logo:hover img {
    filter: grayscale(0%) drop-shadow(0 0 3px rgba(0, 0, 0, .4));
    opacity: 1;
  }
}

/* Shown instead of the <img> above when a logo file 404s — see
   initTrustLogoFallback in main.js. Any client slot works this way, not
   just the placeholders shipped today, so a future client with no logo
   file yet degrades gracefully instead of showing a broken image. */
.trust-strip__logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* Quality & compliance badges (Home, "Calidad y respaldo internacional") --
   Two groups — Argentina's own registrations vs. manufacturers' international
   certifications — in one bordered card, reusing the trust-strip logo
   treatment (grayscale-to-black on hover) since that styling already fits. */

.quality-badges {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.quality-badges__group + .quality-badges__group {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.quality-badges__group h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 8px;
}

.quality-badges__group > p {
  text-align: center;
  font-size: 13.5px;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.quality-badges .trust-strip__logos { column-gap: 44px; }

.quality-badges .trust-strip__logo img {
  max-height: 72px;
  max-width: 150px;
}

/* Two-column content block (About Us) -------------------------------------- */

.split-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .split-block { grid-template-columns: 1fr; }
}

.split-block img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.checklist li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--fg-muted);
}

.checklist svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

.checklist strong { color: var(--fg); display: block; margin-bottom: 2px; font-size: 15px; }

/* Contact page ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-option {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-option__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-option__icon svg { width: 20px; height: 20px; }

.contact-option h3 { font-size: 15.5px; margin-bottom: 2px; }
.contact-option p { font-size: 13.5px; color: var(--fg-muted); margin: 0 0 8px; }
.contact-option a.btn { padding: 9px 16px; font-size: 13px; }

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: #ffffff;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 14.5px;
  color: var(--fg);
  background: #ffffff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-row textarea { resize: vertical; min-height: 110px; }

.form-hint { font-size: 12.5px; color: var(--fg-faint); margin-top: 20px; }

.form-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 600;
}

.form-note[hidden] { display: none; }

/* Respect reduced-motion preference for animated UI (details toggle, etc.) */

@media (prefers-reduced-motion: reduce) {
  .product-card__details,
  .product-card__details-toggle svg,
  .category-card,
  .category-card__image img,
  .product-card,
  .product-card__image img {
    transition: none !important;
  }
}

/* Legal pages (Política de Privacidad / Términos y Condiciones) ------------ */

.legal-content { max-width: 760px; }

.legal-content h2 {
  font-size: 19px;
  margin-top: 40px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal-content ul { padding-left: 20px; margin: 0 0 1em; }

.legal-content li { margin-bottom: 8px; }

.legal-content .updated-note {
  font-size: 13px;
  color: var(--fg-faint);
  margin-bottom: 32px;
}
