/* ==========================================================================
   PINTARK BRAND DESIGN SYSTEM — Multi-page edition
   Tipografía: Caecilia LT Std  |  Header: Rosa permanente #d52978
   ========================================================================== */

/* Fuentes corporativas: Caecilia LT Std (instalada localmente) con fallbacks */
@font-face {
    font-family: 'Caecilia LT Std';
    src: local('CaeciliaLTStd-Roman'), local('Caecilia LT Std'), local('PMN Caecilia');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Caecilia LT Std';
    src: local('CaeciliaLTStd-Bold'), local('Caecilia LT Std Bold'), local('PMN Caecilia Bold');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Caecilia LT Std';
    src: local('CaeciliaLTStd-Heavy'), local('Caecilia LT Std Heavy');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Outfit como fuente complementaria UI (botones, etiquetas) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* ── Colores de marca ── */
    --brand-pink:        #d52978;
    --brand-pink-dark:   #b81f64;
    --brand-pink-glow:   rgba(213, 41, 120, 0.28);
    --brand-pink-light:  #fdf2f8;

    --brand-blue:        #0ea5e9;
    --brand-blue-light:  #f0f9ff;

    --brand-purple:      #7c3aed;
    --brand-purple-dark: #5b21b6;
    --brand-purple-light:#f5f3ff;

    /* ── Neutros ── */
    --white:          #ffffff;
    --bg-light:       #fbfbfe;
    --bg-footer:      #f7f7fa;
    --border:         #ececf2;
    --text-dark:      #0f172a;
    --text-muted:     #64748b;
    --text-light:     #94a3b8;

    /* ── Layout ── */
    --max-width:      1200px;
    --header-height:  76px;

    /* ── Sistema ── */
    --r-sm:  8px;
    --r-md:  16px;
    --r-lg:  24px;
    --r-xl:  32px;
    --sh-sm: 0 2px 8px rgba(0,0,0,.04);
    --sh-md: 0 10px 30px rgba(0,0,0,.07);
    --sh-lg: 0 20px 50px rgba(0,0,0,.09);
    --ease:  all 0.3s cubic-bezier(.4,0,.2,1);

    /* ── Tipografía corporativa ── */
    --font-brand: 'Caecilia LT Std', 'Caecilia', 'PMN Caecilia', 'Rockwell', Georgia, serif;
    --font-ui:    'Outfit', 'Caecilia LT Std', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-brand);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-brand);
    font-weight: 700;
    line-height: 1.2;
}

p, li, label, input, textarea, select, button {
    font-family: var(--font-brand);
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
button { font-family: var(--font-brand); border: none; background: none; cursor: pointer; transition: var(--ease); }
img { display: block; max-width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-pink); }

/* ─────────────────────────────────────────────
   UTILIDADES
───────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 9999px;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    transition: var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-pink);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--brand-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--brand-pink-glow);
}

.btn-white {
    background-color: var(--white);
    color: var(--brand-pink);
}
.btn-white:hover {
    background-color: var(--brand-pink-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--brand-pink);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--brand-pink);
    border: 2px solid var(--brand-pink);
}
.btn-secondary:hover {
    background-color: var(--brand-pink-light);
    transform: translateY(-2px);
}

.btn-facebook {
    background-color: #1877f2 !important;
    color: var(--white) !important;
}
.btn-facebook:hover {
    background-color: #166fe5 !important;
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.35) !important;
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   HEADER — ROSA PERMANENTE EN TODAS LAS PÁGINAS
───────────────────────────────────────────── */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--brand-pink);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(213,41,120,.25);
    transition: box-shadow .3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-link img, .logo-link object {
    display: block;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-brand);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    position: relative;
    padding: 6px 0;
    letter-spacing: .01em;
    transition: color .25s ease;
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--white);
    transition: width .3s ease;
}
.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Acciones del header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.85);
    position: relative;
    transition: var(--ease);
}
.header-icon-btn:hover {
    background-color: rgba(255,255,255,.15);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: var(--white);
    color: var(--brand-pink);
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
}

.header-cta {
    background-color: rgba(255,255,255,.18);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
    padding: 9px 22px;
    font-size: 14px;
}
.header-cta:hover {
    background-color: var(--white);
    color: var(--brand-pink);
    border-color: var(--white);
    transform: translateY(-1px);
}

/* Hamburger (mobile) */
.mobile-nav-toggle {
    display: none;
    flex-shrink: 0;
    color: var(--white);
    font-size: 26px;
}

/* ─────────────────────────────────────────────
   PAGE WRAPPER — compensate for fixed header
───────────────────────────────────────────── */
.page-wrapper {
    padding-top: var(--header-height);
}

/* ─────────────────────────────────────────────
   SECCIÓN PRINCIPAL — HOME  (index.html)
───────────────────────────────────────────── */

/* Hero */
.hero {
    min-height: calc(90vh - var(--header-height));
    background-image:
        linear-gradient(to bottom right, rgba(0,0,0,.45), rgba(0,0,0,.32)),
        url('assets/hero_room.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content { max-width: 680px; }

.hero-title {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -.03em;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
    margin-bottom: 38px;
    font-weight: 400;
}

/* Features grid */
.features-section {
    padding: 84px 0;
    background-color: var(--bg-light);
}

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

.feature-card {
    border-radius: var(--r-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--ease);
    height: 316px;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.feature-top-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: .9;
    font-weight: 400;
}

/* Card variants */
.card-pink {
    grid-column: span 2;
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    color: var(--white);
}
.card-blue {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: var(--white);
}
.card-purple {
    background: var(--brand-purple-light);
    color: var(--brand-purple-dark);
    border: 1px solid rgba(124,58,237,.1);
}
.card-purple .feature-icon-box { background-color: rgba(124,58,237,.12); }

/* Asesoría cromática — fila inferior ocupa 2 columnas con imagen */
.card-asesoria {
    grid-column: span 2;
    background: #fff5f8;
    border: 1px solid rgba(213,41,120,.1);
    color: var(--text-dark);
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    height: 280px;
}
.asesoria-text {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.asesoria-text h3 { color: var(--brand-pink); }
.asesoria-text p  { color: var(--text-muted); font-size: 15px; line-height: 1.6; font-weight: 400; }
.asesoria-img {
    flex: .8;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Banner de estadísticas */
.stats-banner {
    background-color: var(--brand-pink);
    color: var(--white);
    padding: 84px 0;
    text-align: center;
}
.stats-banner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 14px;
}
.stats-banner .lead {
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto 50px;
    color: rgba(255,255,255,.88);
    font-weight: 400;
}
.stats-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat-pill {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--r-md);
    padding: 22px 40px;
    min-width: 170px;
    transition: var(--ease);
}
.stat-pill:hover { transform: translateY(-4px); background: rgba(255,255,255,.22); }
.stat-number {
    display: block;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 4px;
}
.stat-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.76);
}

/* Sección header utility (Top Ventas, Explora la Gama…) */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text-dark);
}
.section-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 400;
}
.slider-btns { display: flex; gap: 10px; }
.slider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-dark);
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
}
.slider-btn:hover {
    background: var(--brand-pink);
    color: var(--white);
    border-color: var(--brand-pink);
}

/* Grid de Top Ventas (3 columnas) */
.top-ventas-section {
    padding: 84px 0;
    background-color: var(--white);
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
    border-color: rgba(213,41,120,.18);
}
.product-img-box {
    height: 270px;
    background-color: #f9f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-tag {
    position: absolute;
    top: 18px; right: 18px;
    padding: 5px 14px;
    border-radius: 9999px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--white);
}
.tag-interior { background: var(--brand-pink); }
.tag-exterior { background: var(--brand-purple); }
.tag-techos   { background: var(--brand-blue); }

.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    font-weight: 400;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.product-price {
    font-size: 23px;
    font-weight: 800;
    color: var(--text-dark);
}
.product-cart-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-pink-light);
    color: var(--brand-pink);
    display: flex; align-items: center; justify-content: center;
    transition: var(--ease);
}
.product-cart-btn:hover {
    background: var(--brand-pink);
    color: var(--white);
    transform: scale(1.08);
}

/* Asesoría de expertos (sección de formulario) */
.consultation-section {
    padding: 84px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.consult-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}
.consult-text .lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    font-weight: 400;
}
.consult-bullets { display: flex; flex-direction: column; gap: 22px; }
.bullet-row { display: flex; gap: 14px; }
.bullet-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--brand-pink-light);
    color: var(--brand-pink);
    font-size: 12px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.bullet-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.bullet-body p  { font-size: 14px; color: var(--text-muted); font-weight: 400; line-height: 1.5; }

/* Formulario card */
.form-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 44px;
    box-shadow: var(--sh-lg);
    border: 1px solid var(--border);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: span 2; }
.form-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 13px 17px;
    border-radius: var(--r-md);
    border: 1.5px solid #e2e8f0;
    background: var(--white);
    font-family: var(--font-brand);
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color .25s, box-shadow .25s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #c1c9d8; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 3px var(--brand-pink-glow);
}
.form-textarea { resize: none; height: 96px; }
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}
.form-submit {
    width: 100%;
    padding: 15px;
    border-radius: 9999px;
    background: var(--brand-pink);
    color: var(--white);
    font-family: var(--font-brand);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: var(--ease);
}
.form-submit:hover {
    background: var(--brand-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--brand-pink-glow);
}

/* ─────────────────────────────────────────────
   SECCIÓN PRODUCTOS  (productos.html)
───────────────────────────────────────────── */

/* Banner Lanzamiento Premium */
.product-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f8 0%, #faf5ff 100%);
    border-bottom: 1px solid var(--border);
}
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.premium-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 9999px;
    background: var(--brand-pink-light);
    color: var(--brand-pink);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 24px;
}
.product-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 22px;
    line-height: 1.08;
}
.product-hero-title em {
    color: var(--brand-pink);
    font-style: italic;
}
.product-hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 30px;
    font-weight: 400;
}
.hero-features-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}
.hero-feat {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}
.hero-feat-icon { font-size: 16px; }
.pricing-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,.07);
}
.price-label-sm {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-light);
    display: block;
    margin-bottom: 2px;
}
.price-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-dark);
}
.product-hero-image-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    gap: -30px;
}
.product-hero-img-large {
    width: 55%;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,.1));
    z-index: 2;
    position: relative;
}
.product-hero-img-small {
    width: 35%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.08));
    margin-left: -30px;
    margin-bottom: -12px;
    z-index: 1;
}

/* Explora la Gama */
.explore-section {
    padding: 84px 0;
    background: var(--white);
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.catalog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--ease);
}
.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
    border-color: rgba(213,41,120,.12);
}
.catalog-img-box {
    height: 196px;
    background: #f9f9fb;
    display: flex; align-items: center; justify-content: center;
    padding: 18px;
    position: relative;
    overflow: hidden;
}
.catalog-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.catalog-card:hover .catalog-img { transform: scale(1.06); }
.catalog-tag {
    position: absolute;
    top: 14px; right: 14px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: var(--font-ui);
    font-size: 9px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--white);
}
.tag-vial       { background: var(--brand-blue); }
.tag-garantia   { background: var(--brand-pink); }
.tag-anticorros { background: var(--brand-purple); }
.tag-acrilica   { background: #db2777; }

.catalog-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.catalog-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.catalog-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 20px; flex: 1; font-weight: 400; }
.catalog-actions { display: flex; flex-direction: column; gap: 10px; }
.catalog-buy-btn {
    width: 100%; padding: 10px;
    border-radius: 9999px;
    background: var(--brand-pink); color: var(--white);
    font-family: var(--font-brand);
    font-size: 14px; font-weight: 700;
    transition: var(--ease);
    text-align: center;
}
.catalog-buy-btn:hover { background: var(--brand-pink-dark); }
.catalog-dl-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    color: var(--brand-pink);
    font-size: 12px; font-weight: 700;
}
.catalog-dl-link:hover { text-decoration: underline; }

/* Banner de asesor experto */
.advisor-section {
    padding: 84px 0;
    background: var(--bg-light);
}
.advisor-banner {
    background: linear-gradient(135deg, #fce7f3 0%, #faf5ff 100%);
    border: 1px solid rgba(213,41,120,.1);
    border-radius: var(--r-xl);
    padding: 56px 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.advisor-text h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    margin-bottom: 14px;
}
.advisor-text p {
    font-size: 16px; color: var(--text-muted); line-height: 1.65;
    margin-bottom: 32px; font-weight: 400;
}
.advisor-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.advisor-img-side {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.advisor-photo-ring {
    width: 196px; height: 196px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: var(--sh-md);
}
.advisor-photo { width: 100%; height: 100%; object-fit: cover; }
.advisor-counter {
    position: absolute; bottom: -8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 7px 16px;
    font-size: 12px; font-weight: 800;
    box-shadow: var(--sh-sm);
    white-space: nowrap;
}
.advisor-counter span { color: var(--brand-pink); }

/* ─────────────────────────────────────────────
   SECCIÓN CONTACTO  (contacto.html)
───────────────────────────────────────────── */

/* Hero de contacto */
.contact-hero {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, #fff5f8 0%, var(--white) 100%);
    text-align: center;
}
.contact-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
}
.contact-hero-title em {
    color: var(--brand-pink);
    font-style: italic;
}
.contact-hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

/* Grid de contacto */
.contact-section { padding: 0 0 84px; background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 44px;
    box-shadow: var(--sh-sm);
}
.contact-form-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 30px; }
.contact-cards-col { display: flex; flex-direction: column; gap: 18px; }

/* Info cards */
.info-card {
    border-radius: var(--r-lg);
    padding: 28px 30px;
    color: var(--white);
    overflow: hidden;
    position: relative;
}
.info-card-purple { background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%); }
.info-card-pink   { background: linear-gradient(135deg, var(--brand-pink) 0%, #9d174d 100%); }
.info-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 20px; }

.info-row { display: flex; gap: 14px; margin-bottom: 16px; }
.info-row:last-of-type { margin-bottom: 0; }
.info-icon { font-size: 20px; opacity: .8; margin-top: 1px; }
.info-details label {
    display: block;
    font-family: var(--font-ui);
    font-size: 9px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    opacity: .65; margin-bottom: 3px;
}
.info-details p { font-size: 14px; font-weight: 600; }

.sched-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.sched-row {
    display: flex; justify-content: space-between;
    font-size: 14px; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.14);
    padding-bottom: 8px;
}
.sched-row:last-child { border: none; padding-bottom: 0; }
.sched-notice {
    display: flex; align-items: flex-start; gap: 10px;
    background: rgba(255,255,255,.14);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    font-size: 12px; font-weight: 500; line-height: 1.5;
}

.promo-card {
    background: var(--brand-purple-light);
    border: 1px solid rgba(124,58,237,.12);
    border-radius: var(--r-lg);
    padding: 22px 28px;
    display: flex; justify-content: space-between; align-items: center;
    color: #4c1d95;
    transition: var(--ease);
    cursor: pointer;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.promo-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.promo-card p  { font-size: 12px; opacity: .75; font-weight: 400; }
.promo-icon { font-size: 26px; }

/* Mapa */
.map-section { padding: 40px 0 84px; background: var(--white); }
.map-wrap {
    height: 440px;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background: #eaeaea;
}
.map-bg {
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 50%, #f0f0f0 0%, #e2e2e2 100%);
    position: relative;
}
.map-bg::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.6) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 38px 38px;
}
.map-marker {
    position: absolute; top: 46%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center;
    z-index: 10;
}
.marker-pin {
    width: 44px; height: 44px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--brand-pink);
    border: 3px solid var(--white);
    box-shadow: 0 4px 14px var(--brand-pink-glow);
    display: flex; align-items: center; justify-content: center;
}
.marker-pin svg { transform: rotate(45deg); }
.marker-label {
    margin-top: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 7px 16px;
    font-size: 13px; font-weight: 700;
    box-shadow: var(--sh-md);
    white-space: nowrap;
}
.map-zoom {
    position: absolute; bottom: 20px; right: 20px;
    display: flex; flex-direction: column; gap: 6px; z-index: 20;
}
.map-zoom-btn {
    width: 38px; height: 38px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 18px; font-weight: 700;
    color: var(--text-dark);
    box-shadow: var(--sh-sm);
}
.map-zoom-btn:hover { color: var(--brand-pink); }

/* ─────────────────────────────────────────────
   FOOTER — compartido
───────────────────────────────────────────── */
.main-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-brand-name {
    font-size: 22px; font-weight: 800;
    color: var(--brand-pink);
}
.footer-brand-tagline {
    font-size: 13px; color: var(--text-light);
    margin-top: 4px; font-weight: 400;
}
.footer-links {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.footer-link {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-link:hover { color: var(--brand-pink); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-light); font-weight: 400; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--ease);
}
.social-btn:hover {
    background: var(--brand-pink-light);
    color: var(--brand-pink);
    border-color: rgba(213,41,120,.2);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .card-pink     { grid-column: span 2; }
    .card-asesoria { grid-column: span 2; }
    .catalog-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .product-hero-grid    { grid-template-columns: 1fr; gap: 40px; }
    .advisor-banner       { grid-template-columns: 1fr; text-align: center; }
    .advisor-btns         { justify-content: center; }
    .contact-grid         { grid-template-columns: 1fr; }
    .consultation-grid    { grid-template-columns: 1fr; gap: 40px; }
    .products-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 68px; }

    .mobile-nav-toggle  { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-height); left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        background: var(--brand-pink);
        flex-direction: column;
        padding: 36px 28px;
        align-items: flex-start;
        gap: 20px;
        transition: left .3s ease;
        z-index: 999;
    }
    .nav-menu.open { left: 0; }
    .nav-link { font-size: 20px; color: var(--white) !important; }

    .header-actions .header-cta { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .card-pink, .card-asesoria { grid-column: span 1; }
    .card-asesoria {
        flex-direction: column;
        height: auto;
    }
    .asesoria-img { width: 100%; height: 180px; }

    .products-grid { grid-template-columns: 1fr; }
    .catalog-grid  { grid-template-columns: 1fr; }

    .footer-top    { flex-direction: column; text-align: center; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 580px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .advisor-banner { padding: 36px 28px; }
    .stats-row { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Tooltip message */
.whatsapp-float::before {
    content: "¡Escríbenos por WhatsApp!";
    position: absolute;
    right: 76px;
    background-color: #0f172a;
    color: #fff;
    padding: 8px 14px;
    font-size: 14px;
    font-family: var(--font-ui);
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    /* Hide tooltip on mobile to avoid layout issues */
    .whatsapp-float::before {
        display: none;
    }
}

