/* ============================================================
   Bravo Tea Kidney Strong – Spanish Amazon Landing Page
   Design: corporate-clean | border: sharp | shadow: subtle
   Header: logo-left | CTA: gradient
   Palette: #1D2A3C (midnight), #C0E0B1 (sage), #FF6F61 (coral), #F5F5F5 (ash)
   ============================================================ */

:root {
    --midnight:     #1D2A3C;
    --sage:         #C0E0B1;
    --coral:        #FF6F61;
    --ash:          #F5F5F5;
    --bg:           #f8f8f8;
    --surface:      #ffffff;
    --text:         #1D2A3C;
    --text-muted:   #596677;
    --border:       #dde3e8;
    --radius-card:  0;
    --radius-btn:   0;
    --shadow:       0 2px 12px rgba(29,42,60,0.08);
    --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 — logo-left, corporate: white bg, midnight text, left
   ============================================================ */
.site-header {
    background: var(--surface);
    border-bottom: 2px solid var(--midnight);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-logo {
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 700;
    color: var(--midnight);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem 1.5rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
        align-items: start;
    }
}

/* ============================================================
   GALLERY — sharp, subtle shadow
   ============================================================ */
.gallery-wrap {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    padding: 0.85rem;
    background: var(--ash);
}

.gallery-wrap input[type="radio"] { display: none; }

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s 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; }

/* Dots — sharp dash */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 0.75rem;
}

.gallery-dots label {
    width: 18px;
    height: 3px;
    border-radius: 0;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}

#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(--midnight); }

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.gallery-thumbs label {
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    flex: 0 0 52px;
    transition: border-color 0.2s;
}

.gallery-thumbs label img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.gallery-thumbs label:hover { border-color: var(--midnight); }

#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(--midnight); }

/* ============================================================
   PRODUCT INFO — corporate-clean: strict dividers, numbered blocks
   ============================================================ */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0;
}

@media (min-width: 768px) {
    .product-info {
        padding-left: 2rem;
        border-left: 2px solid var(--sage);
    }
}

.product-title {
    font-size: clamp(18px, 4.5vw, 28px);
    font-weight: 700;
    line-height: 1.28;
    color: var(--midnight);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-intro {
    font-size: clamp(13px, 3.5vw, 14px);
    color: var(--text-muted);
    line-height: 1.68;
}

/* Section rule divider — corporate label */
.section-rule {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.section-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Feature rows — corporate: accent bar + text */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feat-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.feat-row:last-child { border-bottom: none; }

.feat-bar {
    width: 3px;
    min-height: 20px;
    background: var(--sage);
    flex-shrink: 0;
    margin-top: 0.3rem;
    align-self: stretch;
}

.feat-row strong {
    display: block;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 0.25rem;
}

.feat-row 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.6rem 0.8rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

/* ============================================================
   CTA — gradient button, sharp
   ============================================================ */
.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 2rem;
    min-height: 56px;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--coral) 100%);
    border-radius: var(--radius-btn);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    transition: filter 0.22s, box-shadow 0.22s, transform 0.18s;
    box-shadow: 0 4px 16px rgba(255,111,97,0.25);
}

.cta-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(255,111,97,0.38);
    transform: translateY(-1px);
}

/* ============================================================
   REVIEWS — Amazon style
   ============================================================ */
.reviews-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3.5rem;
}

.reviews-title {
    font-size: clamp(17px, 4.5vw, 22px);
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--midnight);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.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: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 15px);
    color: var(--midnight);
}

.stars {
    color: var(--coral);
    font-size: 1rem;
    letter-spacing: 1px;
    filter: brightness(0.88);
}

.review-headline {
    font-weight: 600;
    font-size: clamp(14px, 3.5vw, 15px);
    color: var(--text);
    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 — midnight, sage hover
   ============================================================ */
.site-footer {
    background: var(--midnight);
    color: rgba(255,255,255,0.65);
    padding: 1.75rem 1rem;
    margin-top: 2rem;
    border-top: 3px solid var(--sage);
}

.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: #ffffff;
}

.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(--sage); }