/**
 * Solar Panels Ireland — page-specific layout & components
 * Uses global :root from styles.css (e.g. --lime)
 */

.spi-page main {
    display: block;
}

.spi-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.spi-section {
    padding: 4rem 0;
}

.spi-section--muted {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.spi-section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
}

.spi-section--dark .spi-lead,
.spi-section--dark p {
    color: #cbd5e1;
}

.spi-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 0.75rem;
}

.spi-h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1rem;
}

.spi-section--dark .spi-h2 {
    color: #f8fafc;
}

/* Shorter vertical rhythm on dense sections */
.spi-section--compact {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .spi-section--compact {
        padding: 3rem 0;
    }
}

/* Expandable “read more” blocks — keeps page scannable */
.spi-details {
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    background: #fff;
    overflow: hidden;
}

.spi-details summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    -webkit-user-select: none;
    user-select: none;
}

.spi-details summary::-webkit-details-marker {
    display: none;
}

.spi-details summary::after {
    content: "+";
    font-weight: 300;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--lime);
    flex-shrink: 0;
}

.spi-details[open] summary::after {
    content: "\2212";
}

.spi-details summary:hover {
    background: #f8fafc;
}

.spi-details-body {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.spi-inline-cta {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    text-align: center;
    background: linear-gradient(90deg, #fff7ed, #ffedd5);
    border-radius: var(--border-radius);
    border: 1px solid #fed7aa;
    font-size: 0.98rem;
    color: #334155;
}

.spi-inline-cta a {
    color: var(--lime);
    font-weight: 700;
}

/* Narrow readable column for long explanations inside details */
.spi-details-body--narrow {
    max-width: 720px;
}

.spi-lead {
    font-size: 1.1rem;
    color: #475569;
    max-width: 720px;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.spi-center {
    text-align: center;
}

.spi-center .spi-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Sticky in-page navigation */
.spi-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.spi-anchor-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.25rem;
    justify-content: center;
}

.spi-anchor-inner a {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.spi-anchor-inner a:hover {
    background: #fff7ed;
    color: var(--lime);
}

/* Trust ribbon */
.spi-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.spi-trust-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.35rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.spi-trust-card i {
    font-size: 1.6rem;
    color: var(--lime);
    margin-top: 0.2rem;
}

.spi-trust-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.spi-trust-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

/* Stat strip */
.spi-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.spi-stat {
    padding: 2rem 1rem;
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.brand-stat {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--lime);
    line-height: 1;
}

.spi-stat p {
    margin-top: 0.5rem;
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
}

/* Generic grids */
.spi-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
}

.spi-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.spi-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.25rem;
}

.spi-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    height: 100%;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.spi-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lime);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.spi-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.spi-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Numbered pillar cards */
.spi-pillar {
    position: relative;
    padding-top: 0.5rem;
}

.spi-pillar__num {
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--lime);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spi-pillar .spi-card {
    padding-top: 2.25rem;
}

/* Two-column split */
.spi-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2.5rem;
    align-items: center;
}

.spi-split__img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.spi-split__img img {
    width: 100%;
    height: auto;
    display: block;
}

.spi-list {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    list-style: disc;
    color: #475569;
}

.spi-list li {
    margin-bottom: 0.5rem;
    line-height: 1.55;
}

.spi-list--check {
    list-style: none;
    padding-left: 0;
}

.spi-list--check li {
    padding-left: 1.5rem;
    position: relative;
}

.spi-list--check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--lime);
    font-size: 0.85rem;
    top: 0.2rem;
}

/* Comparison / choice */
.spi-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}

.spi-choice {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    border-top: 4px solid var(--lime);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.spi-choice h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.spi-choice .tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lime);
    margin-bottom: 0.5rem;
}

/* “Worth it in Ireland” — premium split layout */
.spi-worth {
    padding: 3rem 0 3.5rem;
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 45%, #eef2f7 100%);
}

.spi-worth__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: start;
}

@media (max-width: 900px) {
    .spi-worth__grid {
        grid-template-columns: 1fr;
    }

    .spi-worth__visual-wrap {
        max-width: 420px;
        margin: 0 auto;
    }
}

.spi-worth__visual-wrap {
    position: sticky;
    top: 5.5rem;
}

@media (max-width: 900px) {
    .spi-worth__visual-wrap {
        position: static;
    }
}

.spi-worth__figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 22px 50px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    position: relative;
}

.spi-worth__figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spi-worth__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.spi-worth__badge i {
    color: var(--lime);
}

.spi-worth__intro .spi-kicker {
    margin-bottom: 0.5rem;
}

.spi-worth__title {
    font-size: clamp(1.65rem, 3.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.spi-worth__lead {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
    max-width: 38rem;
    margin-bottom: 1.35rem;
}

.spi-worth__stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 480px) {
    .spi-worth__stat-row {
        grid-template-columns: 1fr;
    }
}

.spi-worth__stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.spi-worth__stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--lime);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.spi-worth__stat span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-top: 0.35rem;
}

.spi-worth__sub {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.spi-worth__factors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

@media (max-width: 520px) {
    .spi-worth__factors {
        grid-template-columns: 1fr;
    }
}

.spi-worth__factors li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.45;
}

.spi-worth__factors li i {
    color: var(--lime);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.spi-worth__factors li strong {
    color: #0f172a;
}

.spi-worth__procon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .spi-worth__procon {
        grid-template-columns: 1fr;
    }
}

.spi-worth__card {
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    height: 100%;
    border: 1px solid transparent;
}

.spi-worth__card--pro {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.15);
}

.spi-worth__card--con {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.12);
}

.spi-worth__card h4 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
    color: #0f172a;
}

.spi-worth__card h4 i {
    font-size: 1.1rem;
}

.spi-worth__card--pro h4 i {
    color: #059669;
}

.spi-worth__card--con h4 i {
    color: #d97706;
}

.spi-worth__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spi-worth__card ul li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.45;
}

.spi-worth__card ul li:last-child {
    margin-bottom: 0;
}

.spi-worth__card--pro ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.7rem;
    color: #059669;
}

.spi-worth__card--con ul li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.65rem;
    color: #d97706;
}

.spi-worth__footnote {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
}

.spi-worth__footnote strong {
    color: #0f172a;
}

/* Pros / cons (legacy utility blocks) */
.spi-procon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.spi-procon-block {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
}

.spi-procon-block--pro {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.spi-procon-block--con {
    background: #fffbeb;
    border-color: #fde68a;
}

.spi-procon-block h4 {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Tables */
.spi-table-wrap {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    margin: 1.25rem 0;
    background: #fff;
}

.spi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.spi-table th,
.spi-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.spi-table th {
    background: var(--lime);
    color: #fff;
    font-weight: 600;
}

.spi-table tbody tr:last-child td {
    border-bottom: none;
}

.spi-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

/* Cost highlight */
.spi-cost-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.spi-cost-pill {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-align: center;
}

.spi-cost-pill strong {
    display: block;
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

/* Tip cards */
.spi-tip {
    background: #fff;
    border-left: 4px solid var(--lime);
    padding: 1rem 1.15rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
}

/* Reviews */
.spi-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}

.spi-review {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.spi-review__stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
}

.spi-review__name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.spi-review__meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.spi-review p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
}

/* CTA band */
.spi-cta-band {
    background: linear-gradient(120deg, var(--lime) 0%, #c2410c 100%);
    color: #fff;
    padding: 3rem 1.25rem;
    text-align: center;
}

.spi-cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    color: #fff;
}

.spi-cta-band p {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    font-size: 1.05rem;
}

.spi-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.spi-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    background: #fff;
    color: #0f172a;
    border: 2px solid #fff;
}

.spi-btn-outline:hover {
    background: transparent;
    color: #fff;
}

.spi-phone-big {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.spi-phone-big a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Glance override — cleaner grid inside page */
.spi-glance-section {
    padding: 2.25rem 0;
    background: #fff;
}

.spi-glance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.spi-glance-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.spi-glance-card:hover {
    border-color: var(--lime);
}

.spi-glance-card i {
    font-size: 1.75rem;
    color: var(--lime);
    margin-bottom: 0.75rem;
}

.spi-glance-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.spi-glance-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
}

/* FAQ subtle refresh */
.spi-faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .spi-anchor-inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .spi-anchor-inner a {
        white-space: nowrap;
    }
}

/* =============================================================================
   Solar Panels Ireland — page-scoped premium / audit polish
   Scoped to body.solar-panels-page only (does not affect rest of site)
   ============================================================================= */

.solar-panels-page {
    scroll-padding-top: 10rem;
}

@media (max-width: 992px) {
    .solar-panels-page {
        scroll-padding-top: 5.5rem;
    }
}

/* Skip link — WCAG-friendly */
.spi-skip-link {
    position: absolute;
    left: 1rem;
    top: -120px;
    z-index: 100000;
    padding: 0.75rem 1.25rem;
    background: var(--lime);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    transition: top 0.2s ease;
}

.spi-skip-link:focus {
    top: 1rem;
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Sticky subnav sits below fixed top-bar + navbar */
.solar-panels-page .spi-anchor-nav {
    top: 118px;
}

@media (max-width: 992px) {
    .solar-panels-page .spi-anchor-nav {
        top: 72px;
    }
}

.solar-panels-page .spi-anchor-inner a:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

.solar-panels-page .spi-anchor-inner a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Hero — hierarchy, conversion, trust */
.solar-panels-page .hero .hero-content {
    max-width: min(56rem, 94vw);
    padding-left: 1rem;
    padding-right: 1rem;
}

.solar-panels-page .hero .hero-title {
    font-size: clamp(2rem, 5.2vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

.solar-panels-page .hero .hero-subtitle {
    font-size: clamp(0.98rem, 2.1vw, 1.18rem);
    max-width: 40rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    opacity: 0.97;
}

.solar-panels-page .spi-hero-cta-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.solar-panels-page .spi-hero-cta-secondary {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    transition: text-decoration-color 0.2s, background 0.2s;
}

.solar-panels-page .spi-hero-cta-secondary:hover {
    text-decoration-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.solar-panels-page .spi-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.1rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.1rem;
    background: rgba(15, 23, 42, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.solar-panels-page .spi-hero-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.96);
    white-space: nowrap;
}

.solar-panels-page .spi-hero-trust__item i {
    color: var(--lime);
    font-size: 0.85rem;
    opacity: 0.95;
}

@media (max-width: 640px) {
    .solar-panels-page .spi-hero-trust {
        border-radius: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .solar-panels-page .spi-hero-trust__item {
        white-space: normal;
    }
}

/* Main content rhythm & safe-area */
.solar-panels-page main .content-section {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
}

.solar-panels-page main .content-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .solar-panels-page main .content-container {
        flex-direction: column !important;
    }
}

/* FAQ — tighter band before footer on this page */
.solar-panels-page .faq-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.solar-panels-page .faq-section .faq-container > h2 {
    text-align: center;
    font-size: clamp(1.65rem, 3.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: #0f172a;
}

.solar-panels-page .faq-section .faq-container > h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--lime);
    border-radius: 2px;
    margin: 0.65rem auto 0;
}

.solar-panels-page .btn-hero-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.solar-panels-page details.faq-item summary:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

/* Static hero (no carousel) — Solar Panels Ireland */
.spi-hero-headline {
    position: relative;
    width: 100%;
    margin-bottom: 0.25rem;
}

.spi-hero-static .hero-bg,
.spi-hero-static .hero-bg.active {
    opacity: 1;
    transform: scale(1);
    transition: none;
}
