/* ============================================================
   HomeTivo — main stylesheet
   Tokens (TZ §0.3):
     primary  #2E6B5E   accent  #D97706
     dark     #111827   mid     #4B5563
     bg       #F9FAFB   white   #FFFFFF
     border   #E5E7EB
     Card radius 12px · Button radius 8px · Badge radius 6px
     Font: Inter (400 / 500 / 600 / 700)
   ============================================================ */

:root {
    --c-primary:        #2E6B5E;
    --c-primary-dark:   #1A4A40;
    --c-primary-soft:   #E8F5F2;
    --c-accent:         #D97706;
    --c-accent-soft:    #FEF3C7;
    --c-danger:         #DC2626;
    --c-dark:           #111827;
    --c-mid:            #4B5563;
    --c-muted:          #9CA3AF;
    --c-bg:             #F9FAFB;
    --c-bg-soft:        #FFFFFF;
    --c-border:         #E5E7EB;
    --c-border-strong:  #D1D5DB;

    --radius-card:      12px;
    --radius-button:    8px;
    --radius-badge:     6px;

    --shadow-sm:        0 1px 2px rgba(17, 24, 39, 0.04);
    --shadow-md:        0 4px 12px rgba(17, 24, 39, 0.06);
    --shadow-lg:        0 12px 32px rgba(17, 24, 39, 0.08);
    --shadow-sticky:    0 -4px 12px rgba(17, 24, 39, 0.12);

    --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max:    1200px;
    --container-pad:    1.25rem;

    --header-height:    72px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-dark);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    color: var(--c-dark);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
/* Reason: scope vertical-rhythm to long-form prose only. An unscoped
   `li + li { margin-top }` rule pushed every nav item except the first down
   by 4px, so "Inicio" (the only first-child <li>) sat misaligned in the
   header. Prose blocks still get the breathing room via these scopes. */
.article__body li + li,
.page-body li + li,
.faq-item__body li + li { margin-top: 0.25rem; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section-header { margin-bottom: 2.5rem; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--c-mid); font-size: 1.0625rem; }
.section-header--with-link { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; max-width: none; }
.section-header--with-link > div { max-width: 640px; }
.section-link { font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { display: block; height: 40px; width: auto; }
.site-logo:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .menu {
    list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0;
}
.site-nav .menu a {
    color: var(--c-mid); font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
.site-nav .menu a:hover { color: var(--c-primary); text-decoration: none; }
.site-nav__toggle {
    display: none;
    background: transparent; border: 0; padding: 0.5rem;
    cursor: pointer; flex-direction: column; gap: 5px;
}
.site-nav__toggle span {
    display: block; width: 22px; height: 2px; background: var(--c-dark);
    border-radius: 1px;
}

@media (max-width: 768px) {
    .site-nav__toggle { display: flex; }
    .site-nav .menu {
        display: none; position: absolute; top: var(--header-height); left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 1rem 1.5rem;
        background: #fff; border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-md);
    }
    .site-nav .menu.is-open { display: flex; }
    .site-nav .menu li { padding: 0.5rem 0; border-bottom: 1px solid var(--c-border); }
    .site-nav .menu li:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.cta-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--c-primary); color: #fff !important;
    font-family: inherit; font-weight: 700; font-size: 1.0625rem;
    letter-spacing: 0.2px;
    border: 0; cursor: pointer;
    border-radius: var(--radius-button);
    padding: 0 2rem;
    height: 52px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: var(--shadow-sm);
}
.cta-button:hover { background: var(--c-primary-dark); text-decoration: none; color: #fff !important; }
.cta-button:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.cta-button--lg { height: 56px; font-size: 1.125rem; padding: 0 2.5rem; }
.cta-button--sm { height: 40px; font-size: 0.95rem; padding: 0 1.25rem; }
.cta-button--full { width: 100%; }
.cta-button--disabled {
    background: var(--c-border-strong); color: var(--c-muted) !important;
    cursor: not-allowed; pointer-events: none;
}
.cta-button--hero { margin-top: 0.5rem; }
.cta-button--final {
    background: #fff; color: var(--c-primary) !important;
}
.cta-button--final:hover { background: var(--c-primary-soft); color: var(--c-primary) !important; }

@media (max-width: 640px) {
    .cta-button { height: 56px; width: 100%; }
    .cta-button--sm { height: 40px; width: auto; }
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; cursor: pointer; border-radius: var(--radius-button);
    padding: 0 1.25rem; height: 40px; font-weight: 600; font-size: 0.95rem;
    font-family: inherit;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--c-mid); border: 1px solid var(--c-border-strong); }
.btn-ghost:hover { color: var(--c-dark); border-color: var(--c-mid); text-decoration: none; }

/* ---------- Price block ---------- */
.price-block {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}
.price-block--center { justify-content: center; }
.price-block__old {
    font-size: 1rem; color: var(--c-muted); text-decoration: line-through;
}
.price-block__new {
    font-size: 2.25rem; font-weight: 700; color: var(--c-primary);
    letter-spacing: -0.02em; line-height: 1;
}
.price-block__badge {
    background: var(--c-danger); color: #fff; font-weight: 700; font-size: 0.875rem;
    border-radius: var(--radius-badge); padding: 0.25rem 0.625rem;
}
.price-block__savings {
    color: var(--c-accent); font-size: 0.875rem; font-weight: 600;
    flex-basis: 100%;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
    list-style: none; margin: 0 0 1.5rem; padding: 0;
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.875rem; color: var(--c-muted);
}
.breadcrumbs li::after { content: '/'; margin-left: 0.5rem; color: var(--c-border-strong); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--c-mid); }
.breadcrumbs span { color: var(--c-dark); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero */
.home-hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--c-primary-soft) 100%);
}
.home-hero__inner {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem;
    align-items: center;
}
.home-hero__eyebrow {
    color: var(--c-primary); font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; font-size: 0.8125rem; margin-bottom: 0.75rem;
}
.home-hero__title { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.25rem; }
.home-hero__subtitle { font-size: 1.125rem; color: var(--c-mid); margin-bottom: 1.5rem; }
.home-hero__benefits {
    display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
    color: var(--c-primary); font-weight: 600; font-size: 0.9375rem;
}
.home-hero__visual {
    position: relative; min-height: 380px;
}
.home-hero__card {
    position: absolute; width: 85%;
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-card); padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}
.home-hero__card strong { display: block; font-size: 1.125rem; margin: 0.5rem 0 0.5rem; }
.home-hero__card p { color: var(--c-mid); margin: 0; font-size: 0.95rem; }
.home-hero__card-icon { font-size: 2rem; display: inline-block; }
.home-hero__card--top    { top: 0; right: 0; }
.home-hero__card--bottom { bottom: 0; left: 0; }

@media (max-width: 900px) {
    .home-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .home-hero__visual { min-height: 320px; }
}
@media (max-width: 480px) {
    .home-hero { padding: 2rem 0 3rem; }
    .home-hero__visual { min-height: 280px; }
    .home-hero__card { padding: 1rem; }
}

/* Trustbar */
.home-trustbar { padding: 2rem 0; background: #fff; border-bottom: 1px solid var(--c-border); }
.home-trustbar__inner {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.home-trustbar__item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 0.25rem;
}
.home-trustbar__icon { font-size: 1.75rem; }
.home-trustbar__item strong { font-size: 0.9375rem; color: var(--c-dark); }
.home-trustbar__item small { font-size: 0.8125rem; color: var(--c-muted); }
@media (max-width: 720px) { .home-trustbar__inner { grid-template-columns: repeat(2, 1fr); } }

/* Problems */
.home-problems { padding: 5rem 0; }
.home-problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.problem-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 2rem 1.5rem; transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.problem-card__icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.problem-card h3 { margin-bottom: 0.5rem; }
.problem-card p { color: var(--c-mid); margin: 0; }
@media (max-width: 800px) { .home-problems__grid { grid-template-columns: 1fr; } }

/* Products grid */
.home-products { padding: 5rem 0; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.home-products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.product-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card__media {
    aspect-ratio: 4 / 3; background: var(--c-primary-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-card__media--alt { background: #F0FAF4; }
.product-card__media img,
.product-card__media picture { width: 100%; height: 100%; object-fit: cover; }
.product-card__icon { font-size: 5rem; }
.product-card__body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.product-card__tag {
    align-self: flex-start;
    background: var(--c-primary-soft); color: var(--c-primary);
    border-radius: var(--radius-badge); padding: 0.25rem 0.75rem;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.product-card__title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.product-card__subtitle { color: var(--c-mid); margin-bottom: 1.25rem; }
.product-card__features { list-style: none; padding: 0; margin: 0 0 1rem; }
.product-card__features li {
    padding: 0.375rem 0; color: var(--c-mid); font-size: 0.95rem;
    position: relative; padding-left: 1.5rem;
}
.product-card__features li::before {
    content: '✓'; color: var(--c-primary); font-weight: 700;
    position: absolute; left: 0;
}
.product-card__cta-row { display: flex; gap: 0.75rem; align-items: center; margin-top: auto; flex-wrap: wrap; }
.product-card__details { color: var(--c-mid); font-weight: 500; font-size: 0.9375rem; }
@media (max-width: 800px) { .home-products__grid { grid-template-columns: 1fr; } }

/* Why */
.home-why { padding: 5rem 0; }
.home-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 2rem 1.5rem; text-align: left;
}
.why-card__icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--c-mid); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .home-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-why__grid { grid-template-columns: 1fr; } }

/* Testimonials */
.home-testimonials { padding: 5rem 0; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.home-testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.testimonial-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 1.5rem;
}
.testimonial-card__stars { color: var(--c-accent); font-size: 1.125rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.testimonial-card p { color: var(--c-dark); font-size: 0.9375rem; margin-bottom: 1rem; }
.testimonial-card footer { color: var(--c-mid); font-size: 0.875rem; }
.testimonial-card footer strong { color: var(--c-dark); }
@media (max-width: 1000px) { .home-testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-testimonials__grid { grid-template-columns: 1fr; } }

/* Blog preview / blog grid */
.home-blog { padding: 5rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card {
    position: relative;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card__link { position: absolute; inset: 0; z-index: 1; }
.article-card__media {
    height: 180px; background: var(--c-primary-soft);
    display: flex; align-items: center; justify-content: center;
}
.article-card__media-glyph { font-size: 3rem; }
.article-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-card__category {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
    font-weight: 600; color: var(--c-primary); margin-bottom: 0.5rem;
}
.article-card__title {
    font-size: 1.125rem; margin-bottom: 0.5rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__excerpt {
    color: var(--c-mid); font-size: 0.9375rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 1rem;
}
.article-card__meta {
    display: flex; align-items: center; justify-content: space-between;
    color: var(--c-muted); font-size: 0.8125rem;
    margin-top: auto;
}
.article-card__more { color: var(--c-primary); font-weight: 600; position: relative; z-index: 2; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* About */
.home-about { padding: 5rem 0; background: #fff; border-top: 1px solid var(--c-border); }
.home-about__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.home-about__copy h2 { margin-bottom: 1rem; }
.home-about__copy p { color: var(--c-mid); }
.link-arrow { font-weight: 600; }
.home-about__values { list-style: none; padding: 0; margin: 0; }
.home-about__values li {
    padding: 1rem 1.25rem; border-left: 3px solid var(--c-primary);
    background: var(--c-bg); border-radius: 0 var(--radius-card) var(--radius-card) 0;
    margin-bottom: 0.75rem; color: var(--c-mid);
}
.home-about__values strong { color: var(--c-dark); }
@media (max-width: 900px) { .home-about__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.product-hero {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, var(--c-primary-soft) 0%, #FFFFFF 100%);
}
.product-hero--esb {
    background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
}
.product-hero__inner {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
    align-items: center;
}
.product-hero__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.product-hero__subtitle { color: var(--c-mid); font-size: 1.125rem; margin-bottom: 1.25rem; }
.product-hero__pills {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem;
}
.product-hero__pills span {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: 999px; padding: 0.375rem 0.875rem;
    font-size: 0.875rem; color: var(--c-primary); font-weight: 600;
}
.product-hero__trust { color: var(--c-mid); font-size: 0.9375rem; margin-top: 1rem; }
.product-hero__visual {
    display: flex; align-items: center; justify-content: center;
}
.product-hero__visual picture { display: block; }
.product-hero__image {
    width: 100%; max-width: 480px; height: auto;
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}
@media (max-width: 900px) {
    .product-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .product-hero__image { max-width: 340px; }
}

/* Block 2 — Problem */
.product-problem { padding: 4.5rem 0; }
.product-problem__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.problem-item {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 1.75rem; display: flex; flex-direction: column;
}
.problem-item__num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--c-primary-soft); color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; margin-bottom: 1rem;
}
.problem-item h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.problem-item p { color: var(--c-mid); margin: 0; }
.product-problem__cta { text-align: center; margin-top: 2rem; }
@media (max-width: 700px) { .product-problem__grid { grid-template-columns: 1fr; } }

/* Block 3 — Comparison */
.product-comparison { padding: 4.5rem 0; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.comparison-table { overflow-x: auto; }
.comparison-table table {
    width: 100%; border-collapse: collapse; min-width: 640px;
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-card); overflow: hidden;
}
.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--c-border);
}
.comparison-table th {
    background: var(--c-bg); font-weight: 700; color: var(--c-dark);
    font-size: 0.9375rem;
}
.comparison-table__highlight { background: var(--c-primary-soft) !important; color: var(--c-primary); }
.comparison-table td:last-child { color: var(--c-primary); font-weight: 600; background: rgba(46, 107, 94, 0.03); }
.comparison-table tr:last-child td { border-bottom: 0; }
.product-comparison__cta { text-align: center; margin-top: 2rem; }

/* Block 4 — How */
.product-how { padding: 4.5rem 0; }
.product-how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.how-step {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 2rem 1.5rem; text-align: center; position: relative;
}
.how-step__num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--c-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
}
.how-step__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--c-primary-soft);
    font-size: 1.75rem; margin: 0.5rem auto 1rem;
}
.how-step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.how-step p { color: var(--c-mid); margin: 0; font-size: 0.9375rem; }
.tech-data {
    background: var(--c-bg); border: 1px solid var(--c-border);
    border-radius: var(--radius-card);
    padding: 1.25rem 1.5rem; text-align: center;
    color: var(--c-mid); font-size: 0.9375rem;
}
.tech-data strong { color: var(--c-dark); margin-right: 0.5rem; }
.product-how__note {
    text-align: center; color: var(--c-mid); font-style: italic;
    font-size: 0.8125rem; margin-top: 1rem;
}
@media (max-width: 800px) { .product-how__steps { grid-template-columns: 1fr; } }

/* Block 5 — Benefits */
.product-benefits { padding: 4.5rem 0; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.product-benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.benefit-card {
    background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 1.75rem;
}
.benefit-card__icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.benefit-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.benefit-card p { color: var(--c-mid); margin: 0; font-size: 0.9375rem; }
.product-benefits__pricing {
    margin-top: 2.5rem; text-align: center;
}
.product-benefits__pricing .price-block { display: flex; justify-content: center; margin-bottom: 1.25rem; }
@media (max-width: 700px) { .product-benefits__grid { grid-template-columns: 1fr; } }

/* Banner-style benefits (ESB only — banner image carries the 3-card row) */
.product-benefits__feature-banner picture,
.product-benefits__feature-banner img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius-card); box-shadow: var(--shadow-md);
    background: #fff;
}
.product-benefits__extra {
    margin-top: 1.5rem; display: flex; justify-content: center;
}
.benefit-card--inline {
    display: flex; gap: 1.25rem; align-items: flex-start;
    max-width: 760px; width: 100%;
    background: #fff;
}
.benefit-card--inline .benefit-card__icon {
    font-size: 2.25rem; margin: 0; flex-shrink: 0; line-height: 1;
}
.benefit-card--inline h3 { margin: 0 0 0.25rem; }
.benefit-card--inline p { margin: 0; }

/* Block 6 — testimonials (uses .home-testimonials__grid for layout) */
.product-testimonials { padding: 4.5rem 0; }

/* Lifestyle banner break (ESB only — bilingual marketing creative) */
.product-lifestyle { padding: 2.5rem 0; }
.product-lifestyle--narrow { padding: 2.5rem 0 0; }
.product-lifestyle picture,
.product-lifestyle img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Block 7 — FAQ */
.product-faq { padding: 4.5rem 0; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--c-bg); border: 1px solid var(--c-border);
    border-radius: var(--radius-card); padding: 0; margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.125rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    font-weight: 600; color: var(--c-dark);
    transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(46, 107, 94, 0.04); }
.faq-item__toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 1px solid var(--c-border);
    color: var(--c-primary); font-weight: 700; font-size: 1.125rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.faq-item__body { padding: 0 1.5rem 1.25rem; color: var(--c-mid); }
.faq-item__body p { margin: 0; }
.product-faq__cta { text-align: center; margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.product-faq__cta p { margin: 0; color: var(--c-mid); }

/* Block 8 — related articles (uses .blog-grid) */
.product-articles { padding: 4.5rem 0; }

/* Block 9 — Final CTA (dark) */
.product-final-cta { padding: 5rem 0; background: var(--c-primary); color: #fff; }
.product--electricity-saving-box .product-final-cta { background: #1A4A40; }
.product-final-cta__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.product-final-cta__title { color: #fff; margin-bottom: 1rem; }
.product-final-cta__subtitle { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 1.5rem; }
.product-final-cta .price-block { justify-content: center; margin: 0 0 1.5rem; }
.product-final-cta .price-block__old { color: rgba(255,255,255,0.6); }
.product-final-cta .price-block__new { color: #fff; font-size: 2.5rem; }
.product-final-cta .price-block__badge { background: var(--c-danger); }
.product-final-cta .price-block__savings { color: var(--c-accent-soft); }
.product-final-cta__pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.product-final-cta__pills span {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px; padding: 0.375rem 0.875rem;
    font-size: 0.875rem; color: #fff; font-weight: 600;
}
.product-final-cta__trust { margin-top: 1rem; color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.product-final-cta__disclaimer { margin-top: 0.75rem; color: rgba(255,255,255,0.65); font-size: 0.75rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: #fff; box-shadow: var(--shadow-sticky);
    padding: 0.5rem 0.875rem env(safe-area-inset-bottom, 0.5rem);
    z-index: 99;
    transform: translateY(110%);
    transition: transform 0.3s ease;
    display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
    display: flex; align-items: center; gap: 0.75rem;
}
.sticky-cta__price {
    display: flex; flex-direction: column; align-items: flex-start;
    min-width: 0;
}
.sticky-cta__price-old {
    font-size: 0.75rem; color: var(--c-muted); text-decoration: line-through;
}
.sticky-cta__price-new {
    font-size: 1.25rem; font-weight: 700; color: var(--c-primary);
    line-height: 1;
}
.sticky-cta__badge {
    background: var(--c-danger); color: #fff; font-size: 0.6875rem; font-weight: 700;
    border-radius: var(--radius-badge); padding: 0.125rem 0.375rem;
    margin-top: 0.125rem;
}
.cta-button--sticky { flex: 1; height: 48px; font-size: 0.9375rem; padding: 0 1rem; }

@media (max-width: 768px) {
    .sticky-cta { display: block; }
}

/* ============================================================
   ARTICLE PAGE / BLOG INDEX
   ============================================================ */

.article { padding: 2.5rem 0 4rem; max-width: 1080px; }
.article__header { margin-bottom: 2rem; }
.article__category {
    display: inline-block;
    background: var(--c-primary-soft); color: var(--c-primary);
    border-radius: var(--radius-badge); padding: 0.25rem 0.75rem;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.article__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.article__meta {
    color: var(--c-muted); font-size: 0.9375rem;
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.article__layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: flex-start; }
.article__body { font-size: 1.0625rem; line-height: 1.75; color: var(--c-dark); }
.article__body h2 { margin: 2.5rem 0 1rem; font-size: 1.625rem; }
.article__body h3 { margin: 1.75rem 0 0.75rem; font-size: 1.25rem; }
.article__body ul, .article__body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article__body li { margin: 0.375rem 0; }
.article-lead {
    font-size: 1.1875rem; color: var(--c-mid); font-weight: 500;
    line-height: 1.6; margin-bottom: 1.5rem;
}
.article-cta-box {
    background: var(--c-primary-soft); border: 1px solid var(--c-primary);
    border-radius: var(--radius-card); padding: 2rem;
    margin: 2.5rem 0; text-align: center;
}
.article-cta-box h2 { color: var(--c-primary); margin: 0 0 0.5rem; font-size: 1.5rem; }
.article-cta-box .price-block { justify-content: center; }
.article-cta-box__disclaimer { font-size: 0.75rem; color: var(--c-muted); margin: 1rem 0 0; }
.article__disclaimer {
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border);
    font-style: italic; color: var(--c-muted); font-size: 0.8125rem;
}
.article__related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--c-border); }
.article__sidebar { position: relative; }
.sidebar-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    padding: 1.5rem;
}
.sidebar-card--sticky { position: sticky; top: calc(var(--header-height) + 1rem); }
.sidebar-card__eyebrow {
    display: inline-block;
    background: var(--c-accent); color: #fff;
    font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em;
    font-weight: 700; padding: 0.25rem 0.625rem; border-radius: var(--radius-badge);
    margin-bottom: 1rem;
}
.sidebar-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.sidebar-card__subtitle { color: var(--c-mid); font-size: 0.9375rem; margin-bottom: 1rem; }
.sidebar-card .price-block { margin: 0.5rem 0 1rem; }
.sidebar-card .price-block__new { font-size: 1.75rem; }

@media (max-width: 900px) {
    .article__layout { grid-template-columns: 1fr; gap: 2rem; }
    .sidebar-card--sticky { position: relative; top: auto; }
}

/* Blog Index */
.blog-index { padding: 2.5rem 0 4rem; }
.blog-index__header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.blog-index__lead { color: var(--c-mid); font-size: 1.0625rem; }
.blog-index__filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.blog-index__filter {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--c-border);
    color: var(--c-mid); font-weight: 600; font-size: 0.9375rem;
    text-decoration: none; transition: all 0.2s;
}
.blog-index__filter:hover { color: var(--c-primary); border-color: var(--c-primary); text-decoration: none; }
.blog-index__filter.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.blog-index__grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: flex-start; }

@media (max-width: 900px) {
    .blog-index__grid { grid-template-columns: 1fr; }
    .blog-index__sidebar { order: -1; }
}

/* Generic page template */
/* Reason: scope to article only — `.page` is also a WP body class on static
   pages, so an unscoped `.page { max-width: 800px }` was clamping <body> to
   800px and pinning the whole site to the top-left. */
article.page { padding: 2.5rem 0 4rem; max-width: 800px; }
.page-body { font-size: 1.0625rem; line-height: 1.75; color: var(--c-dark); }
.page-body h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.page-body h3 { margin: 1.5rem 0 0.75rem; font-size: 1.1875rem; }
.page-body ul, .page-body ol { padding-left: 1.5rem; }
.page-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.page-body th, .page-body td { padding: 0.75rem; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.page-body th { background: var(--c-bg); }

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

.site-footer { background: var(--c-dark); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; margin-top: 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer__brand p { color: rgba(255,255,255,0.7); margin: 0.5rem 0; font-size: 0.9375rem; }
.site-footer__logo {
    display: inline-flex; padding: 0.5rem 0.75rem;
    background: #fff; border-radius: var(--radius-button);
    margin-bottom: 0.5rem;
}
.site-footer__logo img { display: block; height: 36px; width: auto; }
.site-footer__logo:hover { text-decoration: none; }
.site-footer__tagline { font-style: italic; color: rgba(255,255,255,0.6) !important; margin-top: 0.75rem !important; }
.site-footer__contact a, .site-footer__social a { color: rgba(255,255,255,0.9); }
.site-footer__col h4 { color: #fff; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { padding: 0.25rem 0; }
.site-footer__col a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; gap: 0.5rem;
}
.site-footer__disclaimer { color: rgba(255,255,255,0.55); font-size: 0.8125rem; line-height: 1.5; margin: 0; }
.site-footer__copyright { color: rgba(255,255,255,0.45); font-size: 0.8125rem; margin: 0.5rem 0 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    max-width: 720px; margin: 0 auto;
}
.cookie-banner__inner {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner__text { margin: 0; flex: 1; min-width: 240px; font-size: 0.9375rem; color: var(--c-mid); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.cookie-modal {
    border: 0; border-radius: var(--radius-card); padding: 2rem;
    max-width: 540px; width: calc(100% - 2rem);
    box-shadow: var(--shadow-lg);
}
.cookie-modal::backdrop { background: rgba(17, 24, 39, 0.5); }
.cookie-modal__title { margin-top: 0; }
.modal-close {
    position: absolute; top: 0.75rem; right: 1rem; background: transparent;
    border: 0; font-size: 1.5rem; cursor: pointer; color: var(--c-muted);
}
.cookie-pref { border: 1px solid var(--c-border); border-radius: var(--radius-card); padding: 1rem; margin: 0 0 0.75rem; }
.cookie-pref legend { font-weight: 600; padding: 0 0.5rem; }
.cookie-pref label { display: flex; gap: 0.625rem; align-items: flex-start; color: var(--c-mid); font-size: 0.9375rem; }
.cookie-modal__actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1.25rem; flex-wrap: wrap; }
