/* ============================================================
   WEDO EXPORTS — styles.css
   Design tokens → Reset → Base → Layout → Components → Sections → Print
============================================================ */

/* ============================================================
   1. DESIGN TOKENS
============================================================ */
:root {
  /* Colors */
  --color-navy:     #0F2D52;
  --color-green:    #A5C642;
  --color-blue:     #2AA3DA;
  --color-gold:     #C4941A;
  --color-white:    #FFFFFF;
  --color-gray-50:  #F8F9FA;
  --color-gray-100: #E9ECEF;
  --color-gray-300: #CED4DA;
  --color-gray-500: #6C757D;
  --color-gray-700: #495057;
  --color-gray-900: #1A202C;

  /* Typography */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-logo:    'Raleway', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-hero: clamp(2.75rem, 6vw, 4.5rem);

  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-normal: 1.6;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extrabold:800;

  /* Spacing (8px grid) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-width:      1400px;
  --header-height:  96px;
  --header-height-sm: 76px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:  0 2px 16px rgba(15, 45, 82, 0.07);
  --shadow-hover: 0 8px 32px rgba(15, 45, 82, 0.14);
  --shadow-modal: 0 24px 64px rgba(15, 45, 82, 0.2);

  /* Transitions */
  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   3. LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--sp-8);
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: var(--sp-12);
  }
}


/* ============================================================
   4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
}

p {
  max-width: 68ch;
}


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #1C1E4D;
  color: var(--color-white);
  border: 2px solid var(--color-navy);
}

.btn--primary:hover {
  background: #0a2040;
  border-color: #0a2040;
  box-shadow: 0 4px 16px rgba(15, 45, 82, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
  background: #1C1E4D;
  color: var(--color-white);
}

.btn--full {
  width: 100%;
}


/* ============================================================
   6. HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FBD900;
  border-bottom: none;
  height: var(--header-height);
  display: flex;
  flex-direction: column;
  transition: height var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  height: var(--header-height-sm);
  box-shadow: var(--shadow-card);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-isotipo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.header__logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
}

.header__logo-mark,
.header__logo-sub {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: #1C1E4D;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Desktop nav */
.header__nav {
  display: none;
}

@media (min-width: 900px) {
  .header__nav {
    display: block;
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.header__nav-link {
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  color: #1C1E4D;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.header__nav-link:hover {
  color: #1C1E4D;
  background: rgba(28, 30, 77, 0.08);
}

.header__nav-link--cta {
  background: #1C1E4D;
  color: #FBD900;
  padding: var(--sp-3) var(--sp-6);
  margin-left: var(--sp-3);
  font-weight: var(--fw-semibold);
}

.header__nav-link--cta:hover {
  background: #14163a;
  color: #FBD900;
}

/* ── Search bar (desktop) ── */
.header__search {
  flex: 1;
  max-width: 280px;
  position: relative;
  display: none;
}

@media (min-width: 900px) {
  .header__search {
    display: block;
  }
}

.search__field {
  position: relative;
  display: flex;
  align-items: center;
}

.search__icon {
  position: absolute;
  left: var(--sp-3);
  width: 16px;
  height: 16px;
  pointer-events: none;
  flex-shrink: 0;
}

.search__input {
  width: 100%;
  padding: var(--sp-2) var(--sp-8) var(--sp-2) var(--sp-8);
  background: var(--color-white);
  border: 1.5px solid rgba(28, 30, 77, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: #1C1E4D;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.search__input::placeholder {
  color: rgba(28, 30, 77, 0.45);
}

.search__input:focus {
  outline: none;
  border-color: #1C1E4D;
  box-shadow: 0 0 0 3px rgba(28, 30, 77, 0.12);
}

/* hide browser's built-in clear button */
.search__input::-webkit-search-cancel-button { display: none; }

.search__clear {
  position: absolute;
  right: var(--sp-3);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.search__clear:hover { opacity: 1; }
.search__clear svg { width: 12px; height: 12px; }

/* ── Results dropdown ── */
.search__results {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  max-height: 360px;
  overflow-y: auto;
  z-index: 300;
  padding: var(--sp-2) 0;
  list-style: none;
  min-width: 320px;
}

.search__results[hidden] { display: none; }

.search__result-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 0;
}

.search__result-item:hover,
.search__result-item[aria-selected="true"] {
  background: var(--color-gray-50);
}

.search__result-name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #1C1E4D;
  line-height: var(--lh-snug);
}

.search__result-name mark {
  background: #FBD900;
  color: #1C1E4D;
  border-radius: 2px;
  padding: 0 1px;
}

.search__result-category {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}

.search__no-results {
  padding: var(--sp-4) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  text-align: center;
}

/* ── Mobile search toggle button ── */
.header__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.header__search-toggle:hover {
  background: rgba(28, 30, 77, 0.08);
}

.header__search-toggle svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 900px) {
  .header__search-toggle { display: none; }
}

/* ── Mobile search panel (below header bar) ── */
.header__mobile-search {
  background: #FBD900;
  border-top: 1px solid rgba(28, 30, 77, 0.12);
  padding: var(--sp-3) 0 var(--sp-4);
}

.header__mobile-search[hidden] { display: none; }

.search__field--mobile .search__input {
  background: var(--color-white);
  border-color: rgba(28, 30, 77, 0.2);
  font-size: var(--text-base);
  padding-block: var(--sp-3);
}

.search__results--mobile {
  position: static;
  box-shadow: var(--shadow-card);
  margin-top: var(--sp-2);
  min-width: unset;
  border-radius: var(--radius-md);
}

/* ── Screen-reader only utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Controls */
.header__controls {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.header__lang {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #1C1E4D;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid rgba(28, 30, 77, 0.3);
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.header__lang:hover {
  background: rgba(28, 30, 77, 0.08);
  border-color: #1C1E4D;
}

/* Hamburger */
.header__menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
}

@media (min-width: 900px) {
  .header__menu-toggle {
    display: none;
  }
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #1C1E4D;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__menu-icon {
  position: relative;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.header__menu-icon::before { top: -6px; }
.header__menu-icon::after  { top:  6px; }

.header__menu-toggle[aria-expanded="true"] .header__menu-icon {
  background: transparent;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav drawer */
.header__mobile-nav {
  background: #FBD900;
  border-top: 1px solid rgba(28, 30, 77, 0.12);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
}

.header__mobile-nav[hidden] {
  display: none;
}

.header__mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.header__mobile-nav-link {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: #1C1E4D;
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid rgba(28, 30, 77, 0.12);
}

.header__mobile-nav-link:last-child {
  border-bottom: none;
}


/* ============================================================
   7. SECTIONS — shared
============================================================ */
.section {
  padding-block: var(--sp-20);
}

.section--alt {
  background-color: var(--color-gray-50);
}

.section__header {
  margin-bottom: var(--sp-12);
  max-width: 640px;
}

.section__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-3);
}

.section__headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  color: var(--color-gray-900);
  margin-bottom: var(--sp-4);
}

.section__intro {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  line-height: var(--lh-normal);
  max-width: 56ch;
}

.section__body {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-4);
  max-width: 60ch;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }


/* ============================================================
   8. SPLIT LAYOUT (alternating image / text)
============================================================ */
.split {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  /* Image right: text first in DOM, image second */
  .split--img-right .split__text  { order: 1; }
  .split--img-right .split__media { order: 2; }

  /* Image left: media first in DOM, text second */
  .split--img-left .split__media { order: 1; }
  .split--img-left .split__text  { order: 2; }
}

.split--contact {
  align-items: start;
}

@media (min-width: 768px) {
  .split--contact {
    grid-template-columns: 1fr 1.2fr;
  }
}

.split__text .section__label {
  display: block;
  margin-bottom: var(--sp-3);
}

.split__text .section__headline {
  margin-bottom: var(--sp-5);
}


/* ============================================================
   9. MEDIA PLACEHOLDERS
   (replaced by real photography in production)
============================================================ */
.media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--color-gray-100);
  position: relative;
  overflow: hidden;
}

.media-placeholder::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-500);
  padding: var(--sp-4);
  text-align: center;
}

.media-placeholder--about {
  background: linear-gradient(135deg, #e8f0d8 0%, #c8dba0 100%);
}

.media-placeholder--logistics {
  background: linear-gradient(135deg, #d0e8f5 0%, #9dd0ea 100%);
}


/* ============================================================
   10. HERO
============================================================ */
.hero {
  padding-block: var(--sp-32) var(--sp-24);
  background: var(--color-white);
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: calc(80vh - var(--header-height));
}

.hero__content {
  max-width: 680px;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-4);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
}

.hero__subheadline {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-10);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__actions .btn {
  font-size: var(--text-base);
  padding: var(--sp-4) var(--sp-8);
}


/* ============================================================
   11. ABOUT
============================================================ */
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  background: var(--color-white);
  border: 1.5px solid var(--color-green);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
}

.badge__icon {
  color: var(--color-green);
  font-size: var(--text-base);
  line-height: 1;
}


/* ============================================================
   12. PRODUCTS — category grid + catalog tabs + cards
============================================================ */
.products .section__header {
  max-width: 100%;
}

/* ── Category hero cards ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--sp-8);
}

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

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

.category-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  outline: 3px solid transparent;
  outline-offset: 3px;
  transform: scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, outline-color var(--transition);
}

.category-card:hover,
.category-card:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}

.category-card.is-active {
  outline-color: #FBD900;
  box-shadow: 0 0 0 3px #FBD900;
}

.category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
  will-change: transform;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.category-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  text-align: center;
}

.category-card__name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.2vw, var(--text-3xl));
  font-weight: var(--fw-bold);
  color: #ffffff;
  line-height: var(--lh-snug);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  max-width: 18ch;
}

/* ── Catalog detail panel ── */
.catalog-detail {
  border-top: 2px solid var(--color-gray-100);
  padding-top: var(--sp-8);
  margin-top: var(--sp-4);
  scroll-margin-top: calc(var(--header-height) + var(--sp-4));
}

.catalog-detail[hidden] { display: none; }

.catalog-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.catalog-detail__back-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
}

.catalog-detail__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-gray-500);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.catalog-detail__close:hover {
  color: var(--color-gray-900);
  background: var(--color-gray-100);
}

.catalog-detail__close svg {
  width: 16px;
  height: 16px;
}

/* ── Tab nav ── */
.catalog-tabs {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--sp-1);
  margin-bottom: var(--sp-8);
  border-bottom: 2px solid var(--color-gray-100);
}

.catalog-tabs::-webkit-scrollbar { display: none; }

.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: var(--sp-3) var(--sp-4);
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: color var(--transition), background var(--transition),
              border-color var(--transition);
}

.catalog-tab:hover {
  color: var(--color-gray-900);
  background: var(--color-gray-50);
}

.catalog-tab[aria-selected="true"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
  background: transparent;
}

.catalog-tab__emoji {
  font-size: var(--text-base);
  line-height: 1;
}

/* ── Tab panels ── */
.catalog-panel {
  display: none;
}

.catalog-panel.is-active {
  display: block;
}

/* ── Category intro row ── */
.catalog-panel__intro {
  margin-bottom: var(--sp-8);
}

.catalog-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--sp-2);
}

.catalog-panel__desc {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  max-width: 60ch;
}

/* ── Subcategory group heading ── */
.catalog-group {
  margin-bottom: var(--sp-10);
}

.catalog-group__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-gray-100);
}

/* ── Product cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-5);
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gray-300);
  transform: translateY(-2px);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  line-height: var(--lh-snug);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--lh-normal);
  flex: 1;
}

.product-card__origin {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-500);
}

.product-card__origin-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-green);
  flex-shrink: 0;
}

.product-card__cta {
  margin-top: var(--sp-1);
}

.product-card__cta .btn {
  font-size: var(--text-xs);
  padding: var(--sp-2) var(--sp-4);
  width: 100%;
}


/* ============================================================
   13. DATASHEET MODAL
============================================================ */
.datasheet-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.datasheet-modal[hidden] {
  display: none;
}

.datasheet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 82, 0.5);
  backdrop-filter: blur(2px);
}

.datasheet-modal__panel {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-8);
}

.datasheet-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  font-size: var(--text-2xl);
  color: var(--color-gray-500);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}

.datasheet-modal__close:hover {
  color: var(--color-navy);
  background: var(--color-gray-50);
}

.datasheet-modal__actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-gray-100);
}

/* Datasheet content layout */
.datasheet__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 2px solid var(--color-navy);
}

.datasheet__emoji {
  font-size: 3rem;
  line-height: 1;
}

.datasheet__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.datasheet__brand-name {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.datasheet__product-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  line-height: var(--lh-tight);
}

.datasheet__section {
  margin-bottom: var(--sp-6);
}

.datasheet__section-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: var(--sp-2);
}

.datasheet__value {
  font-size: var(--text-base);
  color: var(--color-gray-700);
}

.datasheet__packaging-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.datasheet__packaging-tag {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-3);
}

.datasheet__cta {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  text-align: center;
}

.datasheet__cta p {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--sp-2);
  max-width: none;
}

.datasheet__cta strong {
  display: block;
  font-size: var(--text-base);
  color: var(--color-navy);
  margin-bottom: var(--sp-1);
}


/* ============================================================
   14. LOGISTICS
============================================================ */
.logistics__subhead {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--sp-4);
}

.logistics__subhead--center {
  text-align: center;
}

.logistics__port-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.logistics__port {
  padding: var(--sp-2) var(--sp-4);
  border-left: 3px solid var(--color-blue);
}

.logistics__port strong {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-900);
}

.logistics__map-wrap {
  margin-top: var(--sp-16);
}

.logistics__map {
  margin-top: var(--sp-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  background: #EBF5FB;
}

.logistics__map svg {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   15. CONTACT
============================================================ */
.contact__info {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.contact__info-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-500);
}

.contact__info-value {
  font-size: var(--text-base);
  color: var(--color-navy);
  font-weight: var(--fw-medium);
}

a.contact__info-value:hover {
  text-decoration: underline;
}


/* ============================================================
   16. FORM
============================================================ */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 540px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-700);
}

.form-label span {
  color: var(--color-gold);
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-gray-900);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(15, 45, 82, 0.1);
}

.form-input.is-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
}

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

.form-error {
  font-size: var(--text-xs);
  color: #e53e3e;
  font-weight: var(--fw-medium);
  min-height: 1em;
}

.form-confirmation {
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
  color: #276749;
  font-weight: var(--fw-medium);
}

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


/* ============================================================
   17. FOOTER
============================================================ */
.footer {
  background: #1C1E4D;
  padding-block: var(--sp-12);
  color: rgba(255,255,255,0.7);
}

.footer__inner {
  display: grid;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: var(--sp-12);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__logo .header__logo-mark,
.footer__logo .header__logo-sub {
  color: var(--color-white);
}

/* Isotipo azul → blanco sobre fondo oscuro del footer */
.footer__logo .header__logo-isotipo {
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  max-width: 28ch;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-6);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__legal p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: var(--lh-normal);
  max-width: none;
}

.footer__legal a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-white);
}

.footer__credit {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Social icons */
.footer__social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: var(--sp-5);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
  transition: color var(--transition);
}

.footer__social-link:hover {
  color: var(--color-white);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}


/* ============================================================
   18. WHATSAPP FAB
============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.whatsapp-fab__icon {
  width: 56px;
  height: 56px;
}


/* ============================================================
   19. PRINT STYLES — datasheet
============================================================ */
@media print {
  header, footer, .whatsapp-fab, .datasheet-modal__actions,
  .datasheet-modal__close, .datasheet-modal__backdrop {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .datasheet-modal {
    position: static;
    display: block !important;
    padding: 0;
  }

  .datasheet-modal__panel {
    box-shadow: none;
    max-height: none;
    padding: 2cm;
    border-radius: 0;
  }

  .datasheet__header {
    border-bottom: 2pt solid #0F2D52;
  }

  .datasheet__product-name {
    color: #0F2D52;
  }

  .datasheet__brand-name {
    color: #C4941A;
  }

  .datasheet__packaging-tag {
    border: 1pt solid #CED4DA;
  }

  a[href]::after {
    content: none;
  }
}

/* ============================================================
   19. PRODUCT PAGE (plantilla de producto)
============================================================ */
.product-hero {
  padding: var(--sp-12) 0 var(--sp-16);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--sp-8);
}

.product-breadcrumb a {
  color: #1C1E4D;
  font-weight: var(--fw-medium);
}

.product-breadcrumb a:hover { text-decoration: underline; }

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

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

.product-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.product-hero__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1C1E4D;
  background: #FBD900;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.product-hero__name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-4);
}

.product-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-gray-700);
  margin-bottom: var(--sp-6);
}

.product-hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Specs table */
.product-specs {
  padding: var(--sp-16) 0;
  background: var(--color-gray-50);
}

.product-specs__table {
  width: 100%;
  max-width: 820px;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-specs__table th,
.product-specs__table td {
  text-align: left;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--color-gray-100);
  font-size: var(--text-base);
  vertical-align: top;
}

.product-specs__table tr:last-child th,
.product-specs__table tr:last-child td {
  border-bottom: none;
}

.product-specs__table th {
  width: 38%;
  font-weight: var(--fw-semibold);
  color: #1C1E4D;
  background: rgba(28, 30, 77, 0.03);
}

/* CTA band */
.product-cta {
  padding: var(--sp-16) 0;
  background: #1C1E4D;
  text-align: center;
}

.product-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--sp-6);
}

.product-cta .btn--primary {
  background: #FBD900;
  color: #1C1E4D;
  border-color: #FBD900;
}

.product-cta .btn--primary:hover {
  background: #e5c500;
  border-color: #e5c500;
  box-shadow: none;
}

/* ============================================================
   20. MISIÓN / VISIÓN / VALORES
============================================================ */
.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

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

.mvv__card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-top: 4px solid #FBD900;
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
}

.mvv__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 30, 77, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-5);
}

.mvv__icon svg { width: 26px; height: 26px; color: #1C1E4D; }

.mvv__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--sp-3);
}

.mvv__text {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: var(--lh-normal);
}

/* Lista de valores dentro de la card */
.mvv__values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.mvv__value {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-base);
  color: var(--color-gray-700);
}

.mvv__value-mark {
  color: var(--color-gold);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

/* Banda de experiencia (30 años) */
.experience-band {
  background: #1C1E4D;
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
  margin-top: var(--sp-12);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.experience-band__number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 7vw, 4rem);
  font-weight: var(--fw-extrabold);
  color: #FBD900;
  line-height: 1;
  flex-shrink: 0;
}

.experience-band__text {
  font-size: var(--text-lg);
  line-height: var(--lh-normal);
  max-width: 60ch;
}

.experience-band__text strong { color: #FBD900; }
