:root {
    --primary-50: #EBF3FB;
    --primary-100: #D0E5F5;
    --primary-200: #A6CAE8;
    --primary-300: #5F9AC8;
    --primary-400: #3F83C5;
    --primary-500: #1F63A4;
    --primary-600: #174e83;
    --primary-700: #0f3560;
    --primary-800: #0a2444;
    --primary-900: #061627;

    --accent: #FF7A00;
    --accent-light: #FF9A3C;
    --accent-hover: #e86e00;
    --accent-soft: rgba(255, 122, 0, .10);

    --bg-light: #F4F7FB;
    --bg-page: #F4F7FB;
    --bg-surface: #ffffff;
    --bg-subtle: #EEF3F9;
    --bg-muted: #E4EBF4;
    --white: #ffffff;
    --dark: #071929;
    --muted: #5a7898;
    --text-muted: #5a7898;
    --line: rgba(31, 99, 164, .10);
    --border: rgba(31, 99, 164, .12);

    --shadow-soft: 0 4px 16px rgba(7, 25, 41, .09);
    --shadow-card: 0 12px 32px rgba(7, 25, 41, .13);
    --shadow-deep: 0 24px 56px rgba(7, 25, 41, .20);
    --shadow-blue: 0 8px 24px rgba(31, 99, 164, .20);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    --container: 1280px;
    --transition: all 280ms cubic-bezier(.16, 1, .3, 1);
    --font-main: "Montserrat", system-ui, sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;

    --z-header:   200;
    --z-dropdown: 80;
    --z-overlay:  1000;
    --z-floating: 1100;
    --z-lang:     1200;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-page);
    color: var(--dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(31, 99, 164, 0.3);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), 92%);
    margin: 0 auto;
}

/* =========================
TOP BAR
========================= */
.top-social-bar {
    background: var(--primary-800);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.top-social-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-social-text {
    margin: 0;
    color: rgba(255, 255, 255, .52);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social-links a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, .65);
    transition: var(--transition);
}

.top-social-links a:hover {
    background: rgba(255, 255, 255, .12);
    color: var(--accent);
    transform: translateY(-1px);
}

.top-social-links .social-link-facebook {
    color: #1877f2 !important;
    background: rgba(24, 119, 242, 0.14);
}

.top-social-links .social-link-instagram {
    color: #c13584 !important;
    background: linear-gradient(135deg, rgba(64, 93, 230, 0.18), rgba(131, 58, 180, 0.18), rgba(225, 48, 108, 0.18), rgba(252, 175, 69, 0.18));
}

.top-social-links .social-link-tiktok {
    color: #25f4ee !important;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.top-social-links .social-link-whatsapp {
    color: #25d366 !important;
    background: rgba(37, 211, 102, 0.14);
}

.top-social-links .social-link-facebook:hover {
    background: #1877f2;
    color: #ffffff !important;
}

.top-social-links .social-link-instagram:hover {
    background: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c, #fd1d1d, #f77737, #fcaf45);
    color: #ffffff !important;
}

.top-social-links .social-link-tiktok:hover {
    background: linear-gradient(135deg, #000000, #25f4ee, #fe2c55);
    color: #ffffff !important;
}

.top-social-links .social-link-whatsapp:hover {
    background: #25d366;
    color: #ffffff !important;
}

.top-social-links .social-link-facebook .social-icon,
.top-social-links .social-link-instagram .social-icon,
.top-social-links .social-link-tiktok .social-icon,
.top-social-links .social-link-whatsapp .social-icon {
    fill: currentColor !important;
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: transparent;
    transition: var(--transition);
}

.header-main {
    background: linear-gradient(160deg, var(--primary-700) 0%, var(--primary-500) 55%, var(--primary-400) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 4px 28px rgba(7, 25, 41, .32), 0 1px 0 rgba(255, 255, 255, .07) inset;
}

.header-main-inner {
    min-height: 80px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: .02em;
    transition: opacity 150ms ease;
}

.brand-logo:hover {
    opacity: .88;
}

.brand-logo span {
    color: var(--accent);
    text-shadow: 0 0 24px rgba(255, 122, 0, .45);
}

.search-box-pro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.search-box-pro input {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, .15);
    padding: 0 20px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    outline: none;
    font-size: .94rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.search-box-pro input::placeholder {
    color: rgba(255, 255, 255, .68);
}

.search-box-pro input:focus {
    border-color: rgba(255, 255, 255, .40);
    background: rgba(255, 255, 255, .20);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .10);
}

.search-submit {
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, #FF9020 100%);
    color: #fff;
    font-weight: 800;
    font-size: .84rem;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 122, 0, .30);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 122, 0, .38);
}

.mobile-menu-scrim {
    position: fixed;
    inset: 0;
    background: rgba(24, 19, 16, 0.42);
    backdrop-filter: blur(4px);
    z-index: 79;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu-scrim.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-tool,
.menu-toggle {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .90);
    border: 1px solid rgba(255, 255, 255, .10);
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.header-tool:hover,
.menu-toggle:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
}

.header-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.header-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 122, 0, .40);
    margin-left: 2px;
}

/* =========================
   NAV
========================= */
.main-nav {
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-500) 100%);
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.nav-container {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item>a,
.main-nav li>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, .85);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .02em;
    position: relative;
    transition: background 150ms ease, color 150ms ease;
}

.menu-item>a:hover,
.main-nav li>a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* Mega menu premium */
.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 20px 60px rgba(7, 25, 41, .18), 0 1px 0 rgba(31, 99, 164, .06);
    display: none;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(31, 99, 164, .10);
    z-index: 50;
    animation: slideDown 180ms var(--ease-out) both;
}

.menu-item:hover .mega-menu,
.menu-item:focus-within .mega-menu {
    display: flex;
}

.mega-menu a {
    color: var(--text-secondary, #2d4f6a);
    font-size: .88rem;
    font-weight: 500;
    padding: 9px 12px;
    border-radius: 10px;
    transition: background 120ms ease, color 120ms ease;
}

.mega-menu a:hover {
    background: var(--primary-50, #EBF3FB);
    color: var(--primary-500);
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Chatbot Toggle ─────────────────────────────────── */
.ai-chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-700, #0f3560);
    box-shadow: 0 8px 32px rgba(15, 53, 96, .50), 0 2px 8px rgba(0,0,0,.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: 2.5px solid rgba(255,255,255,.22);
    transition: transform 280ms cubic-bezier(.34,1.56,.64,1), box-shadow 250ms ease;
}

.ai-chatbot-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-chatbot-toggle:hover {
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 18px 44px rgba(15, 53, 96, .55), 0 4px 12px rgba(0,0,0,.20);
}

/* ── Shell ──────────────────────────────────────────── */
.ai-chatbot-shell {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: min(380px, calc(100vw - 32px));
    max-height: 590px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 28px 72px rgba(15,53,96,.20), 0 8px 24px rgba(0,0,0,.10), 0 0 0 1px rgba(15,53,96,.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 50;
    opacity: 0;
    transform: translateY(18px) scale(.96);
    transition: opacity 0.26s ease, transform 0.26s cubic-bezier(.34,1.56,.64,1);
}

.ai-chatbot-shell.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ai-chatbot-shell[hidden] {
    display: none;
}

/* ── Header ─────────────────────────────────────────── */
.ai-chatbot-header {
    padding: 14px 16px 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0f3560 0%, #1a5276 100%);
    flex-shrink: 0;
}

.ai-chatbot-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.ai-chatbot-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.28);
    display: block;
}

.ai-chatbot-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: #2ecc71;
    border-radius: 50%;
    border: 2.5px solid #0f3560;
}

.ai-chatbot-header-text {
    flex: 1;
    min-width: 0;
}

.ai-chatbot-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
    line-height: 1.2;
}

.ai-chatbot-subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
    letter-spacing: .03em;
    line-height: 1.3;
}

.ai-chatbot-close-button {
    flex-shrink: 0;
    border: none;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.80);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
    padding: 0;
}

.ai-chatbot-close-button svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.ai-chatbot-close-button:hover {
    background: rgba(255,255,255,.26);
    color: #fff;
}

/* ── Messages ───────────────────────────────────────── */
.ai-chatbot-messages {
    flex: 1;
    min-height: 200px;
    padding: 16px 14px 10px;
    overflow-y: auto;
    background: #f4f6f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.14) transparent;
}

.ai-chatbot-messages::-webkit-scrollbar { width: 4px; }
.ai-chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chatbot-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,.16); border-radius: 4px; }

.ai-chatbot-message {
    max-width: 84%;
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.55;
    font-size: 0.895rem;
    word-break: break-word;
    animation: chatbot-msg-in 0.18s ease;
}

@keyframes chatbot-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ai-chatbot-message.bot {
    background: #fff;
    color: #1c2b3a;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.ai-chatbot-message.user {
    background: linear-gradient(135deg, #0f3560 0%, #1a5276 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 3px 12px rgba(15,53,96,.30);
}

/* Typing indicator */
.ai-chatbot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 11px 16px;
    background: #fff;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    width: fit-content;
}

.ai-chatbot-typing[hidden] { display: none; }

.ai-chatbot-typing span {
    width: 7px;
    height: 7px;
    background: #1a5276;
    border-radius: 50%;
    opacity: .45;
    animation: chatbot-dot 1.3s ease-in-out infinite;
}

.ai-chatbot-typing span:nth-child(2) { animation-delay: .22s; }
.ai-chatbot-typing span:nth-child(3) { animation-delay: .44s; }

@keyframes chatbot-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ── Form ───────────────────────────────────────────── */
.ai-chatbot-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(0,0,0,.06);
    background: #fff;
    flex-shrink: 0;
}

.ai-chatbot-input {
    flex: 1;
    min-height: 40px;
    max-height: 110px;
    border: 1.5px solid rgba(0,0,0,.10);
    border-radius: 22px;
    padding: 10px 16px;
    resize: none;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1c2b3a;
    background: #f4f6f9;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
    line-height: 1.4;
    overflow-y: auto;
    scrollbar-width: none;
}

.ai-chatbot-input::-webkit-scrollbar { display: none; }

.ai-chatbot-input:focus {
    outline: none;
    border-color: #0f3560;
    box-shadow: 0 0 0 3px rgba(15,53,96,.09);
    background: #fff;
}

.ai-chatbot-submit {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #0f3560 0%, #1a5276 100%);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
    box-shadow: 0 4px 14px rgba(15,53,96,.32);
    padding: 0;
}

.ai-chatbot-submit svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
    transform: translateX(1px);
}

.ai-chatbot-submit:hover {
    transform: scale(1.10);
    box-shadow: 0 6px 20px rgba(15,53,96,.42);
}

.ai-chatbot-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Status ─────────────────────────────────────────── */
.ai-chatbot-status {
    min-height: 0;
    padding: 3px 14px 8px;
    font-size: 0.76rem;
    color: #8a9ab0;
    background: #fff;
    text-align: center;
    line-height: 1.3;
}

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

/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-outline,
.hero-side-link {
    min-height: 52px;
    padding: 0 28px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #FF9020 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 28px rgba(255, 122, 0, .32);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, transparent 60%);
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 122, 0, .42);
    filter: brightness(1.06);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, .30);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .45);
    transform: translateY(-2px);
}

.btn-outline-dark {
    color: var(--primary-500);
    border: 1.5px solid var(--primary-300);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
}

/* =========================
   HERO
========================= */

.hero-section {
    position: relative;
    min-height: 740px;
    background:
        linear-gradient(120deg, rgba(7, 25, 41, .92) 0%, rgba(15, 53, 96, .72) 50%, rgba(7, 25, 41, .50) 100%),
        url("/img/banner.jpg") center/cover no-repeat;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(31, 99, 164, .22), transparent 45%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 122, 0, .08), transparent 35%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, var(--bg-page), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    min-height: 740px;
    z-index: 3;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(440px, 580px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    min-height: 640px;
    padding: 100px 0 120px;
}

.hero-content {
    position: relative;
    grid-column: 1 / 2;
    color: var(--white);
    max-width: 580px;
    animation: fadeUp .8s var(--ease-out, cubic-bezier(.16, 1, .3, 1)) both;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 122, 0, .15);
    border: 1px solid rgba(255, 122, 0, .28);
    color: #ffb066;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    margin: 0 0 22px;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    max-width: 540px;
    font-size: clamp(3.2rem, 5.5vw, 5.5rem);
    line-height: .88;
    letter-spacing: -.01em;
    color: #ffffff;
    text-shadow: 0 4px 32px rgba(0, 0, 0, .22);
    text-wrap: balance;
}

.hero-text {
    margin: 0;
    max-width: 500px;
    color: rgba(255, 255, 255, .80);
    font-size: .98rem;
    line-height: 1.85;
}


.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */

.home-section {
    padding: 90px 0;
}

.section-materials,
.section-social {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
}

.section-head {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 14px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-head h2,
.story-content h2,
.social-content h2 {
    margin: 0 0 16px;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: .92;
    color: var(--dark);
    letter-spacing: -.01em;
}

.section-head p,
.story-content p,
.social-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
    font-size: .98rem;
}

/* =========================
   TRUST STRIP
========================= */

.trust-strip {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 0;
}

.trust-strip-grid {
    background: #fff;
    border: 1px solid rgba(31, 99, 164, .10);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 48px rgba(7, 25, 41, .12), 0 1px 0 rgba(255, 255, 255, .8) inset;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.trust-strip-grid article {
    padding: 26px 28px;
    border-right: 1px solid rgba(31, 99, 164, .08);
    transition: background 200ms ease;
}

.trust-strip-grid article:last-child {
    border-right: none;
}

.trust-strip-grid article:hover {
    background: var(--primary-50, #EBF3FB);
}

.trust-strip-grid strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-600, #174e83);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.trust-strip-grid span {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
}

.commerce-strip {
    padding: 28px 0 8px;
}

.commerce-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.commerce-pill {
    background: #fff;
    border: 1px solid rgba(31, 99, 164, .10);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.commerce-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(31, 99, 164, .12);
    border-color: rgba(31, 99, 164, .22);
}

.commerce-pill strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-500);
    font-size: .96rem;
    font-weight: 700;
}

.commerce-pill span {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
}

/* =========================
   CATEGORIES
========================= */

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

.category-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    aspect-ratio: 3/5;
    min-height: 420px;
    box-shadow: 0 16px 40px rgba(7, 25, 41, .18);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease;
}

.category-card-premium:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 32px 64px rgba(7, 25, 41, .25);
}

.category-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.category-card-premium:hover img {
    transform: scale(1.06);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(7, 25, 41, .08) 0%,
            rgba(7, 25, 41, .22) 40%,
            rgba(7, 25, 41, .82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 26px;
    transition: background .32s ease;
}

.category-card-premium:hover .category-card-overlay {
    background: linear-gradient(180deg,
            rgba(7, 25, 41, .14) 0%,
            rgba(7, 25, 41, .36) 40%,
            rgba(7, 25, 41, .90) 100%);
}

.category-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.category-card-tag {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .92);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.category-card-title {
    margin: 0;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: .92;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .36);
    letter-spacing: -.02em;
}

.category-card-link {
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 700;
    font-size: .84rem;
    backdrop-filter: blur(8px);
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.category-card-premium:hover .category-card-link {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .36);
    transform: translateX(3px);
}

.category-card-text h3 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}

.category-card-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* =========================
   FEATURED PRODUCTS
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(31, 99, 164, .09);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(7, 25, 41, .08);
    transition: transform 280ms cubic-bezier(.16, 1, .3, 1), box-shadow 280ms cubic-bezier(.16, 1, .3, 1), border-color 280ms ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(7, 25, 41, .16), 0 0 0 1px rgba(31, 99, 164, .14);
    border-color: rgba(31, 99, 164, .20);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-subtle);
    transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover .product-card-image {
    transform: scale(1.08);
}

/* Quick view overlay */
.product-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 25, 41, .40) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 280ms ease;
}

.product-card:hover .product-card-media::after {
    opacity: 1;
}

.product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    min-height: 26px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(31, 99, 164, .35);
}

.product-card-badge.is-sale {
    background: linear-gradient(135deg, var(--accent), #FF9020);
    box-shadow: 0 4px 12px rgba(255, 122, 0, .35);
}

.product-card-body {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.product-card-category {
    color: var(--accent);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
}

.product-card-title {
    margin: 4px 0 0;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 1.45rem;
    line-height: 1.05;
    color: var(--dark);
    letter-spacing: -.01em;
}

.product-card-meta {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.6;
}

.product-card-footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(31, 99, 164, .07);
}

.product-card-price {
    color: var(--primary-600, #174e83);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.product-card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-500);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-50, #EBF3FB);
    transition: background 150ms ease, color 150ms ease;
}

.product-card:hover .product-card-action {
    background: var(--primary-500);
    color: #fff;
}

.empty-state {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.empty-state p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.empty-state-btn {
    width: fit-content;
    margin: 0 auto;
}

.section-cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.conversion-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-800, #0a2444) 0%, var(--primary-600, #174e83) 60%, var(--primary-500) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    box-shadow: 0 24px 64px rgba(7, 25, 41, .28), 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.conversion-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, .18) 0%, transparent 70%);
    pointer-events: none;
}

.conversion-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 40%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 131, 197, .20) 0%, transparent 70%);
    pointer-events: none;
}

.conversion-copy h2 {
    margin: 0 0 14px;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: .9;
    color: #fff;
    letter-spacing: -.02em;
}

.conversion-copy p:last-child {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
    font-size: .97rem;
}

.conversion-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* =========================
   MATERIALS
========================= */

.material-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.material-card {
    min-height: 90px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(31, 99, 164, .10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-600, #174e83);
    font-weight: 700;
    font-size: .88rem;
    box-shadow: 0 2px 10px rgba(7, 25, 41, .07);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
    text-align: center;
    padding: 14px 10px;
    letter-spacing: .02em;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(31, 99, 164, .14);
    border-color: rgba(31, 99, 164, .26);
    background: var(--primary-50, #EBF3FB);
    color: var(--primary-500);
}

/* =========================
   STORY
========================= */

.story-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    align-items: start;
}

.story-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(31, 99, 164, .09);
    box-shadow: 0 8px 28px rgba(7, 25, 41, .09);
    transition: box-shadow 250ms ease;
}

.story-card:hover {
    box-shadow: 0 16px 48px rgba(7, 25, 41, .14);
}

.story-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 1.9rem;
    color: var(--primary-500);
    letter-spacing: -.01em;
}

.story-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 2;
}

/* =========================
   VALUES
========================= */

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--white);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.value-card h3 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.72rem;
    color: var(--primary-500);
}

.value-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

/* =========================
   SOCIAL
========================= */

.social-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 14px;
}

.social-card {
    min-height: 74px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    font-weight: 800;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-3px);
    color: var(--primary-400);
    border-color: var(--primary-400);
}

.social-links .social-card-facebook {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.16), rgba(255, 255, 255, 0.95));
    color: #1877f2 !important;
    border-color: rgba(24, 119, 242, 0.28);
}

.social-links .social-card-facebook:hover {
    background: #1877f2;
    color: #ffffff !important;
    border-color: transparent;
}

.social-links .social-card-instagram {
    background: linear-gradient(135deg, rgba(64, 93, 230, 0.14), rgba(131, 58, 180, 0.16), rgba(193, 53, 132, 0.16), rgba(252, 175, 69, 0.14), rgba(255, 255, 255, 0.96));
    color: #c13584 !important;
    border-color: rgba(193, 53, 132, 0.24);
}

.social-links .social-card-instagram:hover {
    background: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c, #fd1d1d, #f77737, #fcaf45);
    color: #ffffff !important;
    border-color: transparent;
}

.social-links .social-card-tiktok {
    background: linear-gradient(135deg, #000000, rgba(37, 244, 238, 0.20), rgba(254, 44, 85, 0.22));
    color: #25f4ee !important;
    border-color: rgba(37, 244, 238, 0.26);
}

.social-links .social-card-tiktok:hover {
    background: linear-gradient(135deg, #000000, #25f4ee, #fe2c55);
    color: #ffffff !important;
    border-color: transparent;
}

.social-links .social-card-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(255, 255, 255, 0.95));
    color: #25d366 !important;
    border-color: rgba(37, 211, 102, 0.28);
}

.social-links .social-card-whatsapp:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: transparent;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: linear-gradient(180deg, var(--primary-900, #061627) 0%, #040f1b 100%);
    color: rgba(255, 255, 255, .72);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 99, 164, .40), rgba(255, 122, 0, .22), rgba(31, 99, 164, .40), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 60px 0 44px;
    position: relative;
    z-index: 1;
}

.footer-brand h3,
.footer-column h4 {
    margin: 0 0 18px;
    font-family: var(--font-display, "Cormorant Garamond", serif);
    color: #fff;
    letter-spacing: -.01em;
}

.footer-brand h3 {
    font-size: 2.1rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    color: rgba(255, 255, 255, .50);
}

.footer-brand p {
    color: rgba(255, 255, 255, .55);
    line-height: 1.85;
    font-size: .92rem;
    max-width: 280px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    line-height: 1.6;
    transition: color 150ms ease, transform 150ms ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, .38);
    font-size: .86rem;
    position: relative;
    z-index: 1;
}

.footer-group {
    padding: 44px 0 36px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-group-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-group-label {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin: 0;
}

.footer-group-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer-group-brand {
    padding: 0 28px;
}

.footer-group-brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .82);
    white-space: nowrap;
}

.footer-group-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .18);
    flex-shrink: 0;
}

.footer-group-company {
    font-size: .73rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .28);
    margin: 0;
}

.footer-group-company span {
    color: rgba(255, 255, 255, .18);
}

@media (max-width: 480px) {
    .footer-group-brand-name { font-size: 1.1rem; }
    .footer-group-brand { padding: 0 16px; }
}

/* =========================
   REVEAL
========================= */

.reveal-ready,
.reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-card {
        max-width: 520px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .material-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .top-social-inner {
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
    }

    .top-social-text {
        text-align: center;
    }

    .top-social-links {
        justify-content: center;
    }

    .header-main-inner {
        grid-template-columns: 1fr auto;
        gap: 14px;
        min-height: auto;
        padding: 14px 0;
    }

    .brand-logo {
        grid-column: 1 / 2;
    }

    .header-tools {
        grid-column: 2 / 3;
        justify-content: flex-end;
    }

    .search-box-pro {
        grid-column: 1 / -1;
        order: 3;
    }

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

    .main-nav {
        display: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        z-index: 80;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 0 18px;
        min-height: auto;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav li>a,
    .menu-item>a {
        width: 100%;
        min-height: 48px;
        padding: 0 4px;
    }

    /* corregido: en móvil el mega menú ya no queda abierto */
    .mega-menu {
        display: none !important;
        position: static;
        margin: 0;
        box-shadow: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 18px;
    }

    .trust-strip-grid,
    .commerce-strip-grid,
    .story-grid,
    .about-pillars,
    .social-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), 94%);
    }

    .top-social-bar {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-main-inner {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 10px 0;
    }

    .brand-logo {
        font-size: 1.45rem;
    }

    .header-tool span {
        display: none;
    }

    .header-tools {
        gap: 4px;
    }

    .header-tool,
    .menu-toggle {
        min-width: 40px;
        padding: 0 8px;
    }

    /* Buscador siempre inline — nunca apilado */
    .search-box-pro {
        grid-template-columns: 1fr auto;
        gap: 6px;
    }

    .search-box-pro input {
        height: 44px;
        font-size: 0.88rem;
        padding: 0 14px;
        backdrop-filter: none;
    }

    .search-submit {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
    }

    /* ── Hero ── */
    .hero-section,
    .hero-overlay {
        min-height: 460px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 32px 0 48px;
        gap: 14px;
    }

    .hero-kicker {
        font-size: .68rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.3rem);
        line-height: .92;
        margin-bottom: 12px;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.68;
        max-width: 100%;
    }

    .hero-trust-pills {
        gap: 6px;
        margin-top: 14px;
    }

    .hero-trust-pill {
        font-size: .72rem;
        padding: 4px 10px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
        margin-top: 20px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        min-height: 46px;
        font-size: .9rem;
    }

    /* ── About ── */
    .about-hero { padding-top: 18px; }
    .about-hero-inner { padding: 24px 18px; border-radius: 20px; }
    .about-hero-inner h1 { font-size: 2rem; }

    /* ── Grids ── */
    .category-grid,
    .material-grid,
    .social-links,
    .conversion-actions {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .conversion-banner {
        padding: 22px 18px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .conversion-actions {
        justify-content: stretch;
        display: grid;
    }

    .hero-side-card { padding: 20px 18px; }

    .category-card-premium,
    .category-card-premium img {
        min-height: 260px;
    }

    .category-card-overlay { padding: 18px; }

    /* ── Sections ── */
    .home-section { padding: 52px 0; }
    .section-head { margin-bottom: 24px; }

    .section-head h2,
    .story-content h2,
    .social-content h2 {
        line-height: 1.05;
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    /* ── Trust strip ── */
    .trust-strip { margin-top: 0; }
    .trust-strip-grid { padding: 16px; gap: 12px; }

    /* ── Product cards ── */
    .product-card-media { aspect-ratio: 3/4; }
    .product-card-body  { padding: 12px 10px 14px; }
    .product-card-name  { font-size: 0.9rem; }
    .product-card-price { font-size: 1rem; }

    /* ── Text reduction ── */
    .section-head p,
    .story-content p,
    .social-content p {
        font-size: .87rem;
        line-height: 1.65;
    }

    .material-card-desc { display: none; }

    .trust-item { padding: 14px 16px; }

    .storytelling-content p + p { display: none; }
}

/* ── 480px — small phones ─────────────────────────── */
@media (max-width: 480px) {
    .hero-section,
    .hero-overlay {
        min-height: 420px;
    }

    .hero-layout { padding: 36px 0 44px; }

    .hero-content h1 {
        font-size: clamp(1.65rem, 8vw, 2rem);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card-body { padding: 10px 8px 12px; }

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

    /* Texto secundario — aligerado en pantallas muy pequeñas */
    .hero-text { display: none; }
    .conversion-banner p { display: none; }
    .social-content p { display: none; }

    /* Botones flotantes en fila horizontal — evitan solaparse con el hero */
    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 80px;
    }

    .ai-chatbot-toggle {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }

    .ai-chatbot-shell {
        right: 10px;
        bottom: 82px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 96px);
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================
   BOTÓN WHATSAPP FLOTANTE
========================= */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 95px;
    /* Ubicado arriba del botón del chatbot */
    right: 25px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: transparent;
    background-image: url('../img/whatsapp_alpaca.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatWhatsApp 5s ease-in-out infinite;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.15);
    animation-play-state: paused;
}

@keyframes floatWhatsApp {
    0%   { transform: translateY(0) scale(1); }
    20%  { transform: translateY(-7px) scale(1.04); }
    40%  { transform: translateY(0) scale(1); }
    100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp-btn { animation: none; }
}

body:has(.ai-chatbot-shell.is-visible) .floating-whatsapp-btn {
    display: none !important;
}

/* Las secciones se muestran siempre para evitar pantallas en blanco. */
.reveal-ready {
    will-change: auto;
}
/* ── Mobile performance: disable heavy backdrop-filter ── */
@media (max-width: 640px) {
    .header-main,
    .site-search-box,
    .hero-overlay::before,
    .product-card-action,
    .category-card-link { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================================
   HOMEPAGE PREMIUM ADDITIONS — v2
   Paleta azul/naranja preservada — solo layout, tipografía,
   espaciado y componentes nuevos mejorados.
   ============================================================ */

/* ── Hero trust pills ────────────────────────────────── */
.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .82);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .04em;
    backdrop-filter: blur(6px);
}

/* ── Trust strip: rediseño con ícono + texto ─────────── */
.trust-strip-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 22px;
    border-right: 1px solid rgba(31, 99, 164, .08);
    transition: background 200ms ease;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: var(--primary-50);
}

.trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    transition: background 200ms ease, color 200ms ease;
}

.trust-item:hover .trust-icon {
    background: var(--primary-500);
    color: #fff;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-text strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary-700);
    letter-spacing: -.01em;
    margin: 0;
}

.trust-text span {
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.55;
}

/* ── Category tagline ────────────────────────────────── */
.category-card-tagline {
    display: block;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    line-height: 1.4;
    font-weight: 400;
    margin-top: -6px;
    font-style: italic;
}

/* ── Skeleton loader ─────────────────────────────────── */
@keyframes skeleton-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.product-skeleton {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(
        90deg,
        var(--bg-subtle) 25%,
        var(--bg-muted) 50%,
        var(--bg-subtle) 75%
    );
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

/* ── Product card: stock badge variants ──────────────── */
.product-card-badge.is-low-stock {
    background: linear-gradient(135deg, var(--accent), #FF9020);
    box-shadow: 0 4px 12px rgba(255, 122, 0, .35);
}

.product-card-badge.is-out-of-stock {
    background: rgba(100, 100, 120, .75);
    box-shadow: none;
}

.product-card-badge.is-new {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    box-shadow: 0 4px 12px rgba(31, 99, 164, .35);
}

/* Producto sin stock: ligeramente atenuado */
.product-card.is-out-of-stock {
    opacity: .72;
}

/* ── Storytelling section ────────────────────────────── */
.storytelling-section {
    padding: clamp(60px, 8vw, 120px) 0;
    background: linear-gradient(135deg,
        var(--primary-900) 0%,
        var(--primary-700) 60%,
        var(--primary-600) 100%);
    position: relative;
    overflow: hidden;
}

.storytelling-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, .12) 0%, transparent 70%);
    pointer-events: none;
}

.storytelling-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.storytelling-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(7, 25, 41, .40);
    aspect-ratio: 4/5;
}

.storytelling-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.4, 0, .2, 1);
}

.storytelling-image:hover img {
    transform: scale(1.04);
}

.storytelling-content {
    color: #fff;
    position: relative;
    z-index: 1;
}

.storytelling-content .section-tag {
    color: var(--accent-light, #FF9A3C);
}

.storytelling-content .section-tag::before {
    background: var(--accent-light, #FF9A3C);
}

.storytelling-content h2 {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: .9;
    color: #fff;
    letter-spacing: -.02em;
}

.storytelling-content p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.85;
    font-size: .97rem;
    margin: 0 0 16px;
    max-width: 480px;
}

.storytelling-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.storytelling-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--accent-light, #FF9A3C);
    margin-bottom: 6px;
    font-weight: 700;
}

.storytelling-stat span {
    display: block;
    font-size: .78rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.5;
    letter-spacing: .02em;
}

.btn-outline-dark--storytelling {
    color: #fff;
    border-color: rgba(255, 255, 255, .30);
    background: rgba(255, 255, 255, .08);
}

.btn-outline-dark--storytelling:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .45);
    transform: translateY(-2px);
}

/* ── Materials: nombre + descripción ─────────────────── */
.material-card {
    flex-direction: column;
    gap: 6px;
    min-height: 100px;
    padding: 18px 14px;
    text-align: center;
}

.material-card-name {
    display: block;
    font-size: .96rem;
    font-weight: 700;
    color: var(--primary-600);
    letter-spacing: .02em;
    transition: color 200ms ease;
}

.material-card-desc {
    display: block;
    font-size: .76rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.45;
    transition: color 200ms ease;
}

.material-card:hover .material-card-name {
    color: var(--primary-500);
}

.material-card:hover .material-card-desc {
    color: var(--primary-600);
}

/* ── Testimonials section ─────────────────────────────── */
.section-testimonials {
    background: var(--bg-subtle);
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(31, 99, 164, .09);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    box-shadow: 0 4px 20px rgba(7, 25, 41, .07);
    transition: transform 280ms ease, box-shadow 280ms ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(7, 25, 41, .12);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1;
}

.testimonial-text {
    margin: 0;
    font-size: .94rem;
    line-height: 1.8;
    color: var(--dark);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(31, 99, 164, .08);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .02em;
}

.testimonial-name {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -.01em;
}

.testimonial-city {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    margin-top: 2px;
}

/* ── Newsletter section ──────────────────────────────── */
.section-newsletter {
    background: linear-gradient(135deg,
        var(--primary-800) 0%,
        var(--primary-600) 100%);
    position: relative;
    overflow: hidden;
}

.section-newsletter::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, .14) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-content .section-tag {
    color: var(--accent-light, #FF9A3C);
}

.newsletter-content .section-tag::before {
    background: var(--accent-light, #FF9A3C);
}

.newsletter-content h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: .92;
    color: #fff;
    letter-spacing: -.02em;
}

.newsletter-content p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
    line-height: 1.75;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-field-group {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: .94rem;
    outline: none;
    backdrop-filter: blur(8px);
    transition: border-color 200ms ease, background 200ms ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, .50);
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, .40);
    background: rgba(255, 255, 255, .16);
}

.newsletter-submit {
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-msg {
    min-height: 20px;
    margin: 0;
    font-size: .84rem;
    color: rgba(255, 255, 255, .72);
    transition: opacity 300ms ease;
}

.newsletter-msg.is-success {
    color: #6ee7b7;
}

.newsletter-msg.is-error {
    color: #fca5a5;
}

/* ── Footer: logo + social row + payment badges ───────── */
.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    line-height: 1;
    display: inline-block;
    margin-bottom: 14px;
    transition: opacity 150ms ease;
}

.footer-logo span {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 122, 0, .35);
}

.footer-logo:hover { opacity: .85; }

.footer-social-row {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.footer-social-icon:hover {
    background: var(--accent);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ── Social cards: agregar icono flex ────────────────── */
.social-card {
    gap: 10px;
}

/* ── Responsive nuevos componentes ───────────────────── */
@media (max-width: 1180px) {
    .storytelling-inner {
        grid-template-columns: 1fr;
    }

    .storytelling-image {
        aspect-ratio: 16/7;
        max-height: 420px;
    }

    .storytelling-image img {
        object-position: center top;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .trust-strip-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(3) {
        border-top: 1px solid rgba(31, 99, 164, .08);
    }

    .trust-item:nth-child(4) {
        border-top: 1px solid rgba(31, 99, 164, .08);
        border-right: none;
    }

    .storytelling-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-strip-grid {
        grid-template-columns: 1fr !important;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(31, 99, 164, .08);
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .hero-trust-pills {
        display: none;
    }

    .storytelling-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .storytelling-stat strong {
        font-size: 1.6rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-field-group {
        flex-direction: column;
    }

    .newsletter-submit {
        width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-payment-icons {
        justify-content: center;
    }
}
