/* ============================================================
   Solara Persianas — Global Styles & Design Tokens
   ============================================================ */

/* ── Self-Hosted Fonts ────────────────────────────────────── */
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/R70BjzAei_CDNLfgZxrW6wrZOF2WX5yZmF2a.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/R70BjzAei_CDNLfgZxrW6wrZOF2WX5KZmA.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/R70BjzAei_CDNLfgZxrW6wrZOF2WX5yZmF2a.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/R70BjzAei_CDNLfgZxrW6wrZOF2WX5KZmA.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --ink:          #20201E;
  --gold:         #F9D358;
  --gold-dark:    #E8BB1A;
  --clay:         #B5673D;
  --canvas:       #F9F6F0;
  --linen:        #F2EDE5;
  --sand:         #E8E0D5;
  --slate:        #5C5A54;
  --slate-light:  #9A9690;
  --white:        #FFFFFF;
  --green-wa:     #1FAE54;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(32,32,30,.08);
  --shadow-md: 0 4px 28px rgba(32,32,30,.07);
  --shadow-lg: 0 8px 36px rgba(32,32,30,.10);
  --shadow-xl: 0 10px 44px rgba(32,32,30,.12);

  /* Radii */
  --radius-sm:   10px;
  --radius-lg:   18px;
  --radius-pill: 999px;

  /* Layout */
  --section-y: 88px;
  --container: 1200px;
}

/* ── Minimal Reset ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin:     0;
  padding:    0;
}

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

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

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

ul {
  list-style: none;
}

input {
  font: inherit;
}

/* ── Base ────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation:         none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,174,84,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(31,174,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,174,84,0); }
}

@keyframes slideUp {
  from {
    opacity:   0;
    transform: translateY(24px);
  }
  to {
    opacity:   1;
    transform: translateY(0);
  }
}

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

/* ── Catalog Grid ────────────────────────────────────────── */
.catalog-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:                   20px;
  padding:               0;
}

/* ── Loading State ───────────────────────────────────────── */
.catalog-loading {
  text-align: center;
  padding:    48px;
  color:      var(--slate);
}

/* ── Product Card Hover ──────────────────────────────────── */
.product-card:hover {
  box-shadow: var(--shadow-xl) !important;
}

/* ── Footer Grid ─────────────────────────────────────────── */
[data-footer-grid] {
  display: grid;
}

/* ── Mobile Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  /* Header container padding */
  header > div {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Section horizontal padding */
  section, [role="complementary"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Section vertical padding */
  section[aria-labelledby],
  section[aria-label] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* Footer columns → 2 cols */
  [data-footer-grid] {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }

  /* Footer padding */
  footer > div > div:last-child {
    padding-top: 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* B2B section padding */
  section[aria-labelledby="b2b-h2"] > div {
    flex-direction: column !important;
  }

  /* Home form: stack 1fr 1fr */
  #lead-form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero section content */
  section[aria-label="Presentación"] > div {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Trust bar items */
  [role="complementary"] > div {
    gap: 18px !important;
  }
  [role="complementary"] [aria-hidden="true"][style*="width:1px"] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  /* Footer: single column */
  [data-footer-grid] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Product grid: full width cards */
  [style*="minmax(270px"] {
    grid-template-columns: 1fr !important;
  }

  /* Guarantee cards row */
  [style*="justify-content:center"][style*="gap:20px"] {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Hero: tighter top */
  section[aria-label="Presentación"] > div {
    padding-top: 60px !important;
  }

  /* Footer container padding */
  footer > div {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer > div > div:first-child {
    padding-bottom: 28px !important;
  }
}
