/* ============================================================
   Guaever Wrist BP Monitor – Spanish Landing Page
   Design: soft-organic | border: pill | shadow: dramatic
   Header: accent-bar (dark) | CTA: solid
   Palette: #F7DC6F (gold), #3498DB (sky), #F79C92 (peach), #0C0F24 (abyss)
   Unique: 40/60 grid, 2×2 spec boxes, trust bar strip
   ============================================================ */

:root {
    --gold:         #F7DC6F;
    --sky:          #3498DB;
    --peach:        #F79C92;
    --abyss:        #0C0F24;
    --bg:           #f8f9fc;
    --surface:      #ffffff;
    --text:         #0C0F24;
    --text-muted:   #5a6278;
    --border:       #dde3ee;
    --radius-card:  22px;
    --radius-btn:   50px;
    --shadow:       0 20px 60px rgba(52,152,219,0.14);
    --shadow-hover: 0 28px 72px rgba(52,152,219,0.24);
    --font:         'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: clamp(14px, 4vw, 16px);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   HEADER — accent-bar: abyss bg, gold bottom border, white name
   ============================================================ */
.site-header {
    background: var(--abyss);
    border-bottom: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.site-name {
    color: #ffffff;
    font-size: clamp(13px, 3.2vw, 16px);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

/* ============================================================
   PRODUCT SECTION — 40/60 asymmetric split
   ============================================================ */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 40fr 60fr;
        gap: 3rem;
        align-items: start;
    }
}

/* ============================================================
   GALLERY — pill, dramatic shadow
   ============================================================ */
.gallery-wrap {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-wrap:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.gallery-wrap input[type="radio"] { display: none; }

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f5e8 0%, #eef4fb 100%);
}

.slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex; align-items: center; justify-content: center;
}

.slide img { width: 100%; height: 100%; object-fit: contain; }

#s1:checked ~ .slides #slide1, #s2:checked ~ .slides #slide2,
#s3:checked ~ .slides #slide3, #s4:checked ~ .slides #slide4 { opacity: 1; }

.gallery-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 1rem;
}

.gallery-dots label {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: block;
}

.gallery-dots label:hover { transform: scale(1.3); }

#s1:checked ~ .gallery-dots label[for="s1"], #s2:checked ~ .gallery-dots label[for="s2"],
#s3:checked ~ .gallery-dots label[for="s3"], #s4:checked ~ .gallery-dots label[for="s4"] { background: var(--sky); }

.gallery-thumbs {
    display: flex; gap: 0.5rem;
    margin-top: 0.85rem; flex-wrap: wrap;
}

.gallery-thumbs label {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px; overflow: hidden;
    flex: 0 0 58px;
    transition: border-color 0.2s;
}

.gallery-thumbs label img { width: 58px; height: 58px; object-fit: cover; }
.gallery-thumbs label:hover { border-color: var(--sky); }

#s1:checked ~ .gallery-thumbs label[for="s1"], #s2:checked ~ .gallery-thumbs label[for="s2"],
#s3:checked ~ .gallery-thumbs label[for="s3"], #s4:checked ~ .gallery-thumbs label[for="s4"] { border-color: var(--sky); }

/* ============================================================
   PRODUCT INFO — 60% col, soft-organic style
   ============================================================ */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: clamp(20px, 4.5vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--abyss);
    letter-spacing: -0.015em;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gold);
}

/* 2×2 spec boxes — pill radius */
.spec-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.sb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-card);
    background: rgba(52,152,219,0.07);
    border: 1px solid rgba(52,152,219,0.18);
    gap: 0.15rem;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
}

.sb-val {
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    color: var(--sky);
    line-height: 1.1;
}

.sb-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Feature pills — soft-organic: dot + text blocks */
.feature-pills {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    transition: background 0.2s;
}

.fp-item:last-child { border-bottom: none; }

.fp-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 0.45rem;
    border: 2px solid var(--sky);
    box-sizing: border-box;
}

.fp-item strong {
    display: block;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 700;
    color: var(--abyss);
    margin-bottom: 0.2rem;
}

.fp-item p {
    font-size: clamp(13px, 3.8vw, 14px);
    line-height: 1.65;
    color: var(--text);
}

.seo-note {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0.65rem 0.9rem;
    background: rgba(247,220,111,0.1);
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    line-height: 1.62;
}

/* ============================================================
   TRUST BAR — horizontal 3-item strip
   ============================================================ */
.trust-bar {
    background: var(--abyss);
    margin-top: 2.5rem;
}

.tb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 640px) {
    .tb-inner {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
}

.tb-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255,255,255,0.85);
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 600;
    padding: 0 1.5rem;
}

.tb-icon { font-size: 1.2rem; }

.tb-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    display: none;
}

@media (min-width: 640px) { .tb-sep { display: block; } }

/* ============================================================
   CTA — solid pill, sky
   ============================================================ */
.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    display: flex;
    justify-content: center;
}

.cta-btn {
    display: inline-block;
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding: 1.1rem 2.5rem;
    min-height: 58px;
    font-size: clamp(16px, 4vw, 19px);
    font-weight: 700;
    color: #ffffff;
    background: var(--sky);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.02em;
    border: none;
    box-shadow: 0 8px 28px rgba(52,152,219,0.32);
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.cta-btn:hover {
    background: #2980b9;
    box-shadow: 0 14px 40px rgba(52,152,219,0.42);
    transform: translateY(-2px);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3.5rem;
}

.reviews-title {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    color: var(--abyss);
    margin-bottom: 1.5rem;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid var(--border);
}

.review { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: none; }

.review-header { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 0.4rem; }
.review-avatar { flex-shrink: 0; }

.review-avatar img {
    width: 44px; height: 44px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border);
    box-shadow: 0 2px 6px rgba(52,152,219,0.1);
}

.review-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.reviewer-name { font-weight: 700; font-size: clamp(14px,3.5vw,15px); color: var(--abyss); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; filter: brightness(0.85); }
.review-headline { font-weight: 600; font-size: clamp(14px,3.5vw,15px); color: var(--sky); line-height: 1.4; }
.review-date { font-size: 13px; color: var(--text-muted); margin-bottom: 0.2rem; }
.review-attr { font-size: 13px; color: var(--text-muted); margin-bottom: 0.65rem; }
.review-body { display: flex; flex-direction: column; gap: 0.55rem; font-size: clamp(14px,4vw,15px); line-height: 1.75; }

/* ============================================================
   FOOTER — abyss, gold hover
   ============================================================ */
.site-footer {
    background: var(--abyss);
    color: rgba(255,255,255,0.65);
    padding: 1.75rem 1rem;
    margin-top: 2rem;
    border-top: 3px solid var(--gold);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

.footer-brand { font-weight: 700; font-size: clamp(12px,3vw,14px); color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.25rem; }
.footer-links a { color: rgba(255,255,255,0.58); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }