/* ================================================================
   KIT: SOLAR CLEAN
   Светлая экологичная тема с зелёно-синими акцентами и мягкими карточками
   Вдохновлён: Tesla Solar, Enphase Energy, SunPower
   ================================================================ */

/* ----------------------------------------------------------------
   CSS VARIABLES
   AI: Замени --accent-1 и --accent-2 на цвета из color_palette
---------------------------------------------------------------- */
:root {
    --bg-primary: #f8faf9;
    --bg-secondary: #eef4f1;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f9f6;
    --text-primary: #1a2e28;
    --text-secondary: #4d6a5e;
    --text-muted: #8da79b;
    --footer-dark-bg: #1a2e28;
    --border-color: #d0e0d6;
    --border-light: #e2ede6;

    --accent-1: #1b9e6d;
    --accent-2: #2a7fc2;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --accent-glow: 0 6px 28px rgba(27, 158, 109, 0.18);

    --font-heading: 'Inter', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --fs-h1: 56px;
    --fs-h2: 42px;
    --fs-h3: 28px;
    --fs-h4: 22px;
    --fs-h5: 18px;
    --fs-body: 16px;
    --fs-small: 14px;

    --fw-bold: 700;
    --fw-semibold: 600;
    --fw-medium: 500;
    --fw-regular: 400;
    --fw-light: 300;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 2px 8px rgba(26, 46, 40, 0.04);
    --shadow-md: 0 6px 22px rgba(26, 46, 40, 0.06);
    --shadow-lg: 0 12px 40px rgba(26, 46, 40, 0.08);
    --shadow-xl: 0 20px 60px rgba(26, 46, 40, 0.10);

    --section-padding: 110px 0;
    --container-width: 1160px;
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--accent-1);
    transition: var(--transition);
}
a:hover { color: var(--accent-2); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--accent-1); color: #fff; }

/* ----------------------------------------------------------------
   TYPOGRAPHY — clean, modern sans-serif
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent-1); }
.text-accent-2 { color: var(--accent-2); }
.text-dark { color: var(--text-primary); }
.text-muted-custom { color: var(--text-muted); }

/* ----------------------------------------------------------------
   UTILITIES
---------------------------------------------------------------- */
.section-padding { padding: var(--section-padding); position: relative; }
.section-padding-sm { padding: 60px 0; }
.section-padding-lg { padding: 150px 0; }
.section-padding > .container { position: relative; z-index: 1; }

.bg-primary-custom { background-color: var(--bg-primary); }
.bg-secondary-custom { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }
.bg-gradient-custom { background: var(--accent-gradient); color: #fff; }
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3,
.bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff; }
.bg-gradient-custom p, .bg-gradient-custom li, .bg-gradient-custom span { color: rgba(255,255,255,0.85); }
.bg-gradient-custom a:not(.btn-custom) { color: #fff; }
.bg-gradient-custom .counter-number { color: #fff; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7); }

.bg-dark-section {
    background-color: #1a2e28;
    color: rgba(255,255,255,0.7);
}
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3,
.bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff; }
.bg-dark-section p, .bg-dark-section li, .bg-dark-section span:not(.badge) { color: rgba(255,255,255,0.7); }
.bg-dark-section a:not(.btn-custom) { color: rgba(255,255,255,0.8); }
.bg-dark-section a:not(.btn-custom):hover { color: #fff; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.pt-20 { padding-top: 20px; }
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.pb-20 { padding-bottom: 20px; }
.pb-40 { padding-bottom: 40px; }
.pb-60 { padding-bottom: 60px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

/* ----------------------------------------------------------------
   PRELOADER
---------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; gap: 8px; }
.preloader-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: preloaderPulse 1.4s ease-in-out infinite both;
}
.preloader-dot:nth-child(1) { animation-delay: -0.3s; }
.preloader-dot:nth-child(2) { animation-delay: -0.15s; }
.preloader-dot:nth-child(3) { animation-delay: 0; }

@keyframes preloaderPulse {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* ----------------------------------------------------------------
   BUTTONS — pill shape, soft shadows
---------------------------------------------------------------- */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary-custom {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 18px rgba(27, 158, 109, 0.22);
}
.btn-primary-custom:hover {
    color: #fff;
    box-shadow: 0 8px 28px rgba(27, 158, 109, 0.30);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent-1);
    border: 2px solid var(--accent-1);
}
.btn-outline-custom:hover {
    background: var(--accent-1);
    color: #fff;
    border-color: var(--accent-1);
}

.btn-link-custom {
    background: none;
    border: none;
    color: var(--accent-1);
    padding: 0;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
    position: relative;
}
.btn-link-custom::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-2);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}
.btn-link-custom:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-link-custom:hover { color: var(--accent-2); }
.btn-link-custom i { transition: transform 0.3s ease; }
.btn-link-custom:hover i { transform: translateX(5px); }

/* ----------------------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}
.site-header.scrolled {
    background: rgba(248, 250, 249, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(26, 46, 40, 0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.site-logo:hover { color: var(--text-primary); }

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav .nav-link {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    padding: 6px 0;
    position: relative;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent-1);
    border-radius: 2px;
    transition: width 0.35s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--accent-1); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { width: 100%; }

.header-cta { margin-left: 12px; }

/* Centered logo variant */
.nav-group-left, .nav-group-right { display: flex; align-items: center; gap: 28px; }
.nav-group-left .nav-link, .nav-group-right .nav-link {
    color: var(--text-secondary); font-size: var(--fs-small);
    font-weight: var(--fw-medium); padding: 8px 0;
}
.nav-group-left .nav-link:hover, .nav-group-right .nav-link:hover { color: var(--accent-1); }
.nav-group-left ~ .main-nav { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.mobile-toggle .burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   HERO SECTION — clean, airy
---------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: var(--bg-primary);
}
.hero-section .hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.08;
    filter: saturate(0.6);
}
.hero-section .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 40%, transparent 60%, var(--bg-primary) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    margin-bottom: 24px;
    padding: 8px 18px;
    background: rgba(27, 158, 109, 0.08);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(27, 158, 109, 0.12);
}
.hero-tagline i { font-size: 14px; }

.hero-title {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image { position: relative; z-index: 2; }
.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* soft gradient blob */
.hero-section .hero-blob {
    position: absolute;
    width: 550px; height: 550px;
    background: radial-gradient(ellipse, rgba(27,158,109,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blobPulse 10s ease-in-out infinite;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* ----------------------------------------------------------------
   SECTION TITLE
---------------------------------------------------------------- */
.section-header { margin-bottom: 60px; }

.section-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-tagline i { font-size: 15px; }

.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}
.section-header.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------
   ICON BOX / FEATURE CARD — soft, rounded
---------------------------------------------------------------- */
.icon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 26px;
    transition: var(--transition);
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.icon-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(27, 158, 109, 0.2);
}

.icon-box .icon-wrap {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(27, 158, 109, 0.08);
    color: var(--accent-1);
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.icon-box:hover .icon-wrap {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.08);
}

.icon-box .icon-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    margin-bottom: 10px;
    color: var(--text-primary);
}
.icon-box .icon-text {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    margin-bottom: 0;
}

.icon-box-horizontal {
    display: flex;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.icon-box-horizontal:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(27,158,109,0.2); }
.icon-box-horizontal .icon-wrap {
    flex-shrink: 0;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(27, 158, 109, 0.08);
    color: var(--accent-1);
    font-size: 20px;
}

/* ----------------------------------------------------------------
   ABOUT SECTION
---------------------------------------------------------------- */
.about-section .about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-section .about-image img { width: 100%; border-radius: var(--radius-xl); }
.about-section .about-image .experience-badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 18px rgba(27,158,109,0.25);
}
.experience-badge .badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1;
    font-weight: var(--fw-bold);
}
.experience-badge .badge-text { font-size: var(--fs-small); opacity: 0.9; }

.about-list { margin-top: 20px; }
.about-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}
.about-list li:last-child { border-bottom: none; }
.about-list li i { color: var(--accent-1); font-size: 14px; }

/* ----------------------------------------------------------------
   COUNTER / STATS
---------------------------------------------------------------- */
.counter-section {
    background: var(--accent-gradient);
    color: #fff;
    border-radius: var(--radius-xl);
}
.counter-item { text-align: center; padding: 24px; }
.counter-number {
    font-family: var(--font-heading);
    font-size: 50px;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    font-weight: var(--fw-bold);
}
.counter-number .counter-suffix { color: rgba(255,255,255,0.8); }
.counter-label {
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.75);
}

/* ----------------------------------------------------------------
   SERVICE CARDS
---------------------------------------------------------------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27,158,109,0.2);
}
.service-card .card-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.service-card .card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .card-image img { transform: scale(1.06); }
.service-card .card-image .card-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: var(--fw-semibold);
}
.service-card .card-body { padding: 26px; }
.service-card .card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    margin-bottom: 12px;
    color: var(--text-primary);
}
.service-card .card-title a { color: var(--text-primary); }
.service-card .card-title a:hover { color: var(--accent-1); }
.service-card .card-text { font-size: var(--fs-small); color: var(--text-secondary); margin-bottom: 20px; }
.service-card .card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.service-card .card-price {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    color: var(--accent-1);
    font-weight: var(--fw-bold);
}

/* ----------------------------------------------------------------
   TEAM SECTION
---------------------------------------------------------------- */
.team-card { text-align: center; transition: var(--transition); }
.team-card:hover { transform: translateY(-5px); }
.team-card .team-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}
.team-card .team-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-card:hover .team-image img { transform: scale(1.05); }
.team-card .team-social {
    position: absolute;
    bottom: -60px; left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(0deg, rgba(26,46,40,0.6) 0%, transparent 100%);
    transition: bottom 0.4s ease;
}
.team-card:hover .team-social { bottom: 0; }
.team-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    transition: var(--transition);
}
.team-social a:hover { background: var(--accent-1); }
.team-card .team-name {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    margin-bottom: 4px;
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}
.team-card .team-role {
    font-size: var(--fs-small);
    color: var(--accent-1);
}

/* ----------------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(27,158,109,0.2); }
.testimonial-card .quote-icon {
    font-size: 44px;
    color: var(--accent-1);
    margin-bottom: 12px;
    opacity: 0.18;
    line-height: 1;
}
.testimonial-card .quote-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-card .author-image {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary);
}
.testimonial-card .author-name {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
}
.testimonial-card .author-role {
    font-size: var(--fs-small);
    color: var(--text-muted);
}
.testimonial-card .stars { color: var(--accent-2); margin-bottom: 12px; }

/* solar panel decoration */
.testimonial-card::before {
    content: '☀️';
    position: absolute;
    top: 14px; right: 20px;
    font-size: 22px;
    opacity: 0.12;
}

/* ----------------------------------------------------------------
   PORTFOLIO / GALLERY
---------------------------------------------------------------- */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.portfolio-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item .portfolio-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(0deg, rgba(26,46,40,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .portfolio-cat {
    font-size: 12px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.portfolio-overlay .portfolio-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    color: #fff;
    margin-bottom: 0;
}

/* ----------------------------------------------------------------
   FAQ / ACCORDION
---------------------------------------------------------------- */
.faq-section .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-section .accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: var(--fw-semibold);
    padding: 20px 24px;
    box-shadow: none;
    border: none;
}
.faq-section .accordion-button:not(.collapsed) {
    background: rgba(27, 158, 109, 0.04);
    color: var(--accent-1);
}
.faq-section .accordion-body {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ----------------------------------------------------------------
   PRICING — clean cards with gradient accents
---------------------------------------------------------------- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 38px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: var(--accent-glow);
}
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-period,
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .plan-price { color: #fff; }
.pricing-card.featured .plan-features li i { color: rgba(255,255,255,0.9); }
.pricing-card.featured .btn-custom { background: #fff; color: var(--accent-1); }
.pricing-card.featured .btn-custom:hover { background: var(--bg-secondary); }

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pricing-card .plan-name {
    font-size: var(--fs-small);
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: var(--fw-semibold);
}
.pricing-card .plan-price {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    font-weight: var(--fw-bold);
}
.pricing-card .plan-price .currency {
    font-size: 22px;
    vertical-align: top;
    color: var(--accent-1);
}
.pricing-card .plan-period { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: 28px; }
.pricing-card .plan-features { text-align: left; margin-bottom: 30px; }
.pricing-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: var(--fs-small);
}
.pricing-card .plan-features li:last-child { border-bottom: none; }
.pricing-card .plan-features li i { color: var(--accent-1); }
.pricing-card .plan-features li.disabled { opacity: 0.4; text-decoration: line-through; }

/* ----------------------------------------------------------------
   BLOG CARDS
---------------------------------------------------------------- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(27,158,109,0.2); }
.blog-card .card-image { height: 210px; overflow: hidden; }
.blog-card .card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .card-image img { transform: scale(1.06); }
.blog-card .card-body { padding: 24px; }
.blog-card .card-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card .card-meta i { margin-right: 4px; color: var(--accent-1); }
.blog-card .card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}
.blog-card .card-title a { color: var(--text-primary); }
.blog-card .card-title a:hover { color: var(--accent-1); }

/* ----------------------------------------------------------------
   CTA SECTION
---------------------------------------------------------------- */
.cta-section {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.cta-section .cta-content { position: relative; z-index: 2; }
.cta-section .cta-title { font-size: var(--fs-h2); color: #fff; }
.cta-section .cta-text { color: rgba(255,255,255,0.8); font-size: 17px; max-width: 520px; }
.cta-section p, .cta-section li { color: rgba(255,255,255,0.8); }
.cta-section .btn-custom { background: #fff; color: var(--accent-1); border: none; }
.cta-section .btn-custom:hover { background: var(--bg-secondary); transform: translateY(-2px); }
.cta-section .cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
    z-index: 0;
}
.cta-shape-1 { width: 350px; height: 350px; top: -150px; right: -80px; }
.cta-shape-2 { width: 220px; height: 220px; bottom: -90px; left: -50px; }

/* ----------------------------------------------------------------
   NEWSLETTER
---------------------------------------------------------------- */
.newsletter-form { display: flex; gap: 12px; max-width: 460px; }
.newsletter-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 14px 24px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--fs-body);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(27,158,109,0.08); }

/* ----------------------------------------------------------------
   PROCESS / STEPS
---------------------------------------------------------------- */
.process-item { text-align: center; position: relative; padding: 0 20px; }
.process-item .step-number {
    width: 58px; height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(27, 158, 109, 0.08);
    color: var(--accent-1);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: var(--fw-bold);
    margin: 0 auto 18px;
    transition: var(--transition);
}
.process-item:hover .step-number {
    background: var(--accent-gradient);
    color: #fff;
}
.process-item .step-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h5);
    margin-bottom: 10px;
    color: var(--text-primary);
}
.process-item .step-text { font-size: var(--fs-small); color: var(--text-secondary); }
.process-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 24px; right: -16px;
    color: var(--accent-1);
    font-size: 22px;
    opacity: 0.5;
}

/* ----------------------------------------------------------------
   MARQUEE / TEXT SLIDER
---------------------------------------------------------------- */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    gap: 60px;
}

.marquee-track .marquee-item {
    font-size: 60px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    color: var(--text-primary);
}

.marquee-track .marquee-item.stroke {
    -webkit-text-stroke: 1px var(--text-primary);
    -webkit-text-fill-color: transparent;
}

.marquee-track .marquee-item.italic {
    font-style: italic;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
    background: #1a2e28;
    color: rgba(255,255,255,0.6);
}
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5 { color: #fff; }

.footer-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 17px;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    font-weight: var(--fw-semibold);
}
.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: var(--accent-1);
    border-radius: 2px;
}
.footer-widget p { color: rgba(255,255,255,0.45); font-size: var(--fs-small); }
.footer-links a { color: rgba(255,255,255,0.45); font-size: var(--fs-small); transition: var(--transition); }
.footer-links a:hover { color: var(--accent-1); padding-left: 5px; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; color: rgba(255,255,255,0.45); font-size: var(--fs-small);
}
.footer-contact li i { color: var(--accent-1); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent-1); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; margin-top: 50px; }
.footer-bottom p { margin: 0; font-size: var(--fs-small); color: rgba(255,255,255,0.3); }

.footer-policy { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-policy a { font-size: 13px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.3s; }
.footer-policy a:hover { color: var(--accent-1); }

/* ----------------------------------------------------------------
   POLICY PAGES
---------------------------------------------------------------- */
.policy-content h1 { font-size: var(--fs-h2); margin-bottom: 24px; }
.policy-content h2 { font-size: var(--fs-h4); margin-top: 32px; margin-bottom: 16px; }
.policy-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.policy-content ul, .policy-content ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 16px; }
.policy-content li { margin-bottom: 8px; line-height: 1.7; }
.policy-content a { color: var(--accent-1); text-decoration: underline; }
.policy-content strong { color: var(--text-primary); }

/* ----------------------------------------------------------------
   SCROLL TO TOP
---------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 14px rgba(27,158,109,0.25);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(27,158,109,0.35); }

/* ----------------------------------------------------------------
   FORMS
---------------------------------------------------------------- */
.form-custom .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--fs-body);
}
.form-custom .form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(27, 158, 109, 0.08);
    background: var(--bg-card);
    color: var(--text-primary);
}
.form-custom .form-control::placeholder { color: var(--text-muted); }
.form-custom textarea.form-control { min-height: 120px; resize: vertical; }

/* ----------------------------------------------------------------
   SWIPER OVERRIDES
---------------------------------------------------------------- */
.swiper-pagination-bullet { background: var(--border-color); opacity: 1; width: 10px; height: 10px; }
.swiper-pagination-bullet-active { background: var(--accent-1); width: 24px; border-radius: 10px; }
.swiper-button-prev,
.swiper-button-next {
    width: 44px; height: 44px;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.swiper-button-prev::after,
.swiper-button-next::after { font-size: 14px; }
.swiper-button-prev:hover,
.swiper-button-next:hover { background: var(--accent-1); color: #fff; border-color: var(--accent-1); }

/* ----------------------------------------------------------------
   WOW.JS / ANIMATION HELPERS
---------------------------------------------------------------- */
.wow { visibility: hidden; }
.animated { visibility: visible; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-anim { animation: floatUpDown 5s ease-in-out infinite; }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) { :root { --fs-h1: 46px; --fs-h2: 36px; } }

@media (max-width: 992px) {
    :root { --fs-h1: 38px; --fs-h2: 32px; --fs-h3: 24px; --section-padding: 80px 0; }
    .main-nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: var(--bg-primary);
        padding: 90px 28px 40px;
        gap: 0;
        z-index: 10000;
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    }
    .main-nav.active { right: 0; }
    .main-nav .nav-link {
        display: block !important;
        font-size: 16px !important; padding: 14px 0 !important;
        border-bottom: 1px solid var(--border-light); width: 100%;
        color: var(--text-primary) !important;
        opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    }
    .main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--accent-1) !important; }
    .main-nav .nav-link::after { display: none; }
    .header-cta { display: none !important; }
    .mobile-toggle {
        display: flex !important; z-index: 10001; position: relative;
        pointer-events: auto !important; opacity: 1 !important;
        background: none !important; border: none !important;
    }
    .mobile-overlay {
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.2);
        z-index: 9999;
        opacity: 0; visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    .mobile-overlay.active { opacity: 1; visibility: visible; }
    .hero-title { font-size: var(--fs-h1); }
    .process-item:not(:last-child)::after { display: none; }
    .counter-number { font-size: 36px; }
    .cta-section { border-radius: var(--radius-lg); }
}

@media (max-width: 768px) {
    :root { --fs-h1: 32px; --fs-h2: 26px; --fs-h3: 22px; --fs-h4: 20px; --section-padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .hero-section { min-height: auto; padding: 130px 0 70px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; }
    .pricing-card .plan-price { font-size: 36px; }
    .footer-bottom { text-align: center; }
}

@media (max-width: 576px) {
    :root { --fs-h1: 28px; --fs-h2: 22px; --fs-h3: 19px; --section-padding: 44px 0; }
    .testimonial-card { padding: 24px; }
    .pricing-card { padding: 24px; }
    .icon-box { padding: 24px 18px; }
    .counter-section { border-radius: var(--radius-md); }
}
