/* Base Reset - Avoiding * as requested */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button,
input {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #FF8C00;
    --primary-hover: #e67e00;
    --secondary-color: #1A1A1A;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

.main-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-text {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: loader-pulse 1.5s infinite ease-in-out;
}

@keyframes loader-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Ad Note Top */
.top-ad-note {
    background-color: #f4f4f4;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text-styled {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.05rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.2);
    padding: 60px 40px;
}

.hamburger-overlay.active {
    right: 0;
}

.hamburger-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
    line-height: 1;
}

.hamburger-nav-list {
    list-style: none;
    margin-top: 50px;
}

.hamburger-nav-item {
    margin-bottom: 30px;
}

.hamburger-nav-link {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 120px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://www.solardynamics.co.uk/wp-content/uploads/2025/10/1.jpg') center/cover no-repeat;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glass-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    max-width: 900px;
    padding: 70px 50px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Badges */
.trust-labels {
    background: #fdfdfd;
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
}

.trust-flex {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.trust-img {
    height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.trust-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Sections */
.generic-section {
    padding: 100px 20px;
}

.section-bg-alt {
    background-color: var(--light-bg);
}

.main-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    color: var(--secondary-color);
    font-weight: 800;
}

/* Feature Cards */
.feature-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-tile {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    text-align: center;
}

.feature-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.feature-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
}

.feature-h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Split Content */
.split-view {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.about-p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

.split-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Stats */
.impact-stats-row {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.impact-stat-n {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.impact-stat-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Testimonials */
.review-grid-c {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.review-stars-ui {
    color: #FFB400;
    margin-bottom: 15px;
    display: block;
}

.review-p {
    font-style: italic;
    color: #444;
    font-size: 1.05rem;
}

/* FAQ Accordion */
.faq-wrap-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-q-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: var(--white);
}

.faq-q-trigger {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: left;
}

.faq-a-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s;
    padding: 0 30px;
    color: #666;
}

.faq-q-item.active .faq-a-body {
    max-height: 400px;
    padding: 0 30px 30px;
}

/* Footer Section */
.main-footer {
    background: #0d0d0d;
    color: var(--white);
    padding: 100px 20px 40px;
}

.footer-top-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 70px;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.footer-ul {
    list-style: none;
}

.footer-li {
    margin-bottom: 14px;
}

.footer-link-tag {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link-tag:hover {
    color: var(--primary-color);
}

.footer-h4 {
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.ad-disclosure-footer {
    border-top: 1px solid #222;
    padding: 50px 0;
    text-align: center;
}

.disclosure-text-p {
    color: #666;
    font-size: 0.9rem;
    max-width: 900px;
    margin: 0 auto 15px;
}

.footer-bottom-copy {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 30px;
    color: #444;
    font-size: 0.85rem;
}

/* Cookie Alert / Banner - High-end Design */
.floating-cookie-alert {
    position: fixed;
    bottom: 30px;
    left: 20px;
    right: 20px;
    background: var(--white);
    color: var(--secondary-color);
    z-index: 9000;
    padding: 35px 45px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    margin: 0 auto;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.cookie-title-h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-title-h3::before {
    content: '🍪';
    font-size: 1.8rem;
}

.cookie-content-p {
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

.cookie-button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.button-cookie {
    padding: 14px 35px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 160px;
}

.button-accept {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.25);
}

.button-accept:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.35);
}

.button-decline {
    background: #f0f0f0;
    color: #444;
}

.button-decline:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
    color: var(--secondary-color);
}

@media (max-width: 600px) {
    .floating-cookie-alert {
        padding: 25px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .button-cookie {
        width: 100%;
        flex: none;
        padding: 16px 20px;
    }

    .cookie-button-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* Modal Styling */
.modal-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 8000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.modal-content-container {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    background: #f5f5f5;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
    color: var(--secondary-color);
}

.btn-close-modal:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 992px) {
    .split-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-list,
    .header-cta-wrapper {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}