/* ==========================================================================
   RITO Raamatupidamine - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */

:root {
    --primary: #15AA74;
    --primary-dark: #0e8a5e;
    --primary-light: #e8f5f0;
    --secondary: #003D4C;
    --secondary-light: #005566;
    --accent: #F0242B;
    --text: #383838;
    --text-light: #5a5a5a;
    --text-muted: #7a7a7a;
    --bg: #ffffff;
    --bg-light: #f7f9fc;
    --bg-alt: #f0f4f8;
    --border: #e0e6ed;
    --border-light: #eef2f6;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    font-weight: 400;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

/* ==========================================================================
   2. Layout
   ========================================================================== */

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */

.header {
    background: transparent;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--secondary);
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-sub {
    font-weight: 300;
    font-size: 1.4rem;
    opacity: 0.8;
    margin-left: 2px;
}

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

.nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 8px;
}

.nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav a:hover {
    color: white;
}

.header.scrolled .nav a {
    color: var(--text);
}

.header.scrolled .nav a:hover {
    color: var(--primary);
}

/* Hide mobile menu contact on desktop */
.mobile-menu-contact {
    display: none;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(21, 170, 116, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(21, 170, 116, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--secondary);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */

.hero {
    background: var(--secondary);
    padding: 180px 0 140px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        #003D4C,
        #004d5e,
        #005566,
        rgba(0, 61, 76, 0.5),
        rgba(0, 61, 76, 0.4),
        rgba(0, 61, 76, 0.5),
        #005566,
        #004d5e,
        #003D4C
    );
    animation: heroGradientSpin 25s linear infinite;
    filter: blur(80px) saturate(130%);
    z-index: 0;
}

@keyframes heroGradientSpin {
    to {
        transform: rotate(360deg);
    }
}

.hero-r-shape {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: auto;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(21, 170, 116, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(21, 170, 116, 0.3);
}

.hero-text h1 {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 640px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(21, 170, 116, 0.3);
}

.btn-primary::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 170, 116, 0.4);
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   5b. Page Hero (subpages)
   ========================================================================== */

.page-hero {
    background: var(--secondary);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        #003D4C,
        #004d5e,
        #005566,
        rgba(0, 61, 76, 0.5),
        rgba(0, 61, 76, 0.4),
        rgba(0, 61, 76, 0.5),
        #005566,
        #004d5e,
        #003D4C
    );
    animation: heroGradientSpin 25s linear infinite;
    filter: blur(80px) saturate(130%);
    z-index: 0;
}

.page-hero .hero-r-shape {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: auto;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
}

.page-hero p strong {
    font-weight: 600;
    color: white;
}

/* ==========================================================================
   6. Hero Stats
   ========================================================================== */

.hero-stats {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.hero-stats-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

/* ==========================================================================
   7. Trust Bar
   ========================================================================== */

.trust-bar {
    background: var(--bg);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 400;
}

.trust-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}


/* ==========================================================================
   8. Section Styles
   ========================================================================== */

.section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ==========================================================================
   9. Services Cards
   ========================================================================== */

.services-section {
    overflow: hidden;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services-grid .service-card {
    width: auto;
    min-width: auto;
}

.services-grid-with-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 24px;
    align-items: start;
}

.services-grid-with-image .service-card {
    width: auto;
    min-width: auto;
    cursor: pointer;
    transition: var(--transition);
}

.services-grid-with-image .service-card:hover {
    transform: translateY(-4px);
}

.service-image-container {
    position: sticky;
    top: 120px;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-image.active {
    opacity: 1;
}

.benefits-container {
    margin-top: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: white;
}

.benefit-card {
    padding: 24px 20px;
}

.benefit-card h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-card .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card .benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 3;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.services-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: start;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-intro {
    max-width: 100%;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.services-benefits {
    list-style: none;
}

.services-benefits li {
    display: block;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.services-benefits li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.services-benefits li::before {
    display: none;
}

.services-benefits h4 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-benefits h4 .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-benefits h4 .benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 3;
}

.services-benefits p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.slider-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 24px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--secondary);
}

.slider-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.services-slider {
    overflow: visible;
    position: relative;
    margin-right: calc(-50vw + 50% - 40px);
}

.services-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.slider-spacer {
    min-width: 40vw;
    flex-shrink: 0;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card {
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 380px;
    min-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 420px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card:hover .service-card-desc,
.service-card:hover .service-link {
    color: white;
}

.service-card:hover .card-r-shape {
    color: rgba(255, 255, 255, 0.2);
}

.card-r-shape {
    position: absolute;
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    color: white;
    transition: var(--transition);
}

.service-card.active .card-r-shape {
    opacity: 0.1;
}

.service-card h3,
.service-card .service-card-desc,
.service-card .service-link {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary);
    letter-spacing: -0.5px;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.service-card-desc {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-top: auto;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 20px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.service-link span {
    font-size: 1.2rem;
}

.service-card.active {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: white;
}

.service-card.active h3 {
    color: var(--primary);
}

.service-card.active .service-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card.active .service-link {
    color: var(--primary);
}

.service-card:not(.active):hover {
    border-color: var(--primary);
    border-style: solid;
    box-shadow: var(--shadow);
}


.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.9rem;
}

.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.service-card .btn {
    width: 100%;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--secondary);
    border: 1px solid var(--border);
}

.service-card .btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==========================================================================
   10. KÜ Section
   ========================================================================== */

.ku-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 100px 0;
}

.ku-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ku-text {
    color: white;
}

.ku-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.ku-text > p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 300;
}

.ku-features {
    list-style: none;
}

.ku-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ku-feature:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ku-feature-marker {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ku-feature-marker::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.ku-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.ku-feature p {
    font-size: 0.9rem;
    opacity: 0.75;
    font-weight: 300;
}

/* KÜ Card */
.ku-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.ku-card h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.ku-card-list {
    list-style: none;
}

.ku-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text);
}

.ku-card-list li:last-child {
    border-bottom: none;
}

.ku-card-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.ku-card-list li::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: -15px;
}

/* ==========================================================================
   10b. Price Tabs
   ========================================================================== */

.price-tabs {
    margin-top: 24px;
}

.price-tab-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.price-tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.price-tab-btn:first-child {
    border-radius: var(--radius) 0 0 0;
}

.price-tab-btn:last-child {
    border-radius: 0 var(--radius) 0 0;
    border-left: none;
}

.price-tab-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.price-tab-content {
    display: none;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

.price-tab-content.active {
    display: block;
}

.price-table-simple {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.price-table-simple th,
.price-table-simple td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.95rem;
}

.price-table-simple th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table-simple th:last-child {
    text-align: right;
}

.price-table-simple td {
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.price-table-simple tr:last-child td {
    border-bottom: none;
}

.price-table-simple tr:hover td {
    background: var(--bg-light);
}

/* ==========================================================================
   10c. Accordion
   ========================================================================== */

.accordion {
    margin-top: 32px;
}

.accordion-item {
    border: none;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.accordion-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-inner {
    padding: 20px;
    border-top: none;
}

.accordion-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    padding-left: 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
    position: relative;
}

.accordion-price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    border-radius: 50%;
}

.accordion-price-list li::after {
    content: '';
    position: absolute;
    left: 3px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.accordion-price-list li:nth-child(1)::after { animation-delay: 0s; }
.accordion-price-list li:nth-child(2)::after { animation-delay: 0.5s; }
.accordion-price-list li:nth-child(3)::after { animation-delay: 1s; }
.accordion-price-list li:nth-child(4)::after { animation-delay: 1.5s; }
.accordion-price-list li:nth-child(5)::after { animation-delay: 2s; }
.accordion-price-list li:nth-child(6)::after { animation-delay: 2.5s; }

.accordion-price-list li:last-child {
    border-bottom: none;
}

.accordion-price-list .service-name {
    color: var(--text);
}

.accordion-price-list .service-price {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.price-table-simple td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--secondary);
}

/* ==========================================================================
   10d. Feature Cards
   ========================================================================== */

.feature-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 48px;
    align-items: end;
}

.feature-header h2 {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.feature-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    border-style: solid;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-light);
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-card p:last-child {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   11. Why Us
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.why-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-weight: 700;
    font-size: 1.2rem;
}

.why-card h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   12. Pricing
   ========================================================================== */

.pricing-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.pricing-intro p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.pricing-table {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.pricing-header {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    background: var(--secondary);
    color: white;
}

.pricing-header > div {
    padding: 18px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

.pricing-header > div:first-child {
    text-align: left;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    border-bottom: 1px solid var(--border-light);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row > div {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.pricing-row > div:not(:first-child) {
    justify-content: center;
    text-align: center;
}

.pricing-row:nth-child(even) {
    background: var(--bg-light);
}

.pricing-check {
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    position: relative;
}

.pricing-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   13. Quote Form
   ========================================================================== */

.quote-section {
    background: radial-gradient(ellipse at 30% 50%, rgba(21, 170, 116, 0.08) 0%, #edeef3 50%, #edeef3 100%);
    padding: 80px 40px;
    margin: 0 40px;
    border-radius: 32px;
}

@media (max-width: 768px) {
    .quote-section {
        margin: 0 20px;
        padding: 60px 20px;
        border-radius: 24px;
    }
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.quote-info h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 700;
}

.quote-info > p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.quote-benefits {
    list-style: none;
}

.quote-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
}

.quote-benefits li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-benefits li::after {
    content: '';
    position: absolute;
    left: 6px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.quote-benefits li:nth-child(1)::after { animation-delay: 0s; }
.quote-benefits li:nth-child(2)::after { animation-delay: 0.75s; }
.quote-benefits li:nth-child(3)::after { animation-delay: 1.5s; }
.quote-benefits li:nth-child(4)::after { animation-delay: 2.25s; }

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 170, 116, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-conditional {
    display: none;
    animation: fadeIn 0.2s ease;
}

.form-conditional.visible {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-card .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    margin-top: 6px;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    text-align: center;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-message {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message-success {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}

.form-message-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   14. Contact
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
    background: var(--secondary);
    color: white;
    padding: 48px 0;
}

.footer-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 24px;
}

.footer-minimal .logo {
    color: white;
    font-size: 1.5rem;
}

.footer-minimal .logo-sub {
    font-size: 1.1rem;
}

.footer-reg {
    font-size: 0.85rem;
    opacity: 0.6;
    text-align: center;
}

.footer-contact {
    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

/* ==========================================================================
   16. Mobile Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 4rem;
    }

    .service-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .services-intro {
        text-align: left;
    }

    .services-intro h2 {
        font-size: 2rem;
    }

    .services-benefits {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }

    .services-slider {
        margin-right: -40px;
        margin-left: -40px;
        padding-left: 40px;
        padding-right: 40px;
        overflow-x: auto;
    }

    .slider-nav {
        justify-content: center;
    }

    .service-card {
        width: 320px;
        min-width: 320px;
        min-height: auto;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid-with-image {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-image-container {
        order: -1;
    }

    .ku-content {
        grid-template-columns: 1fr;
    }

    .ku-card {
        max-width: 400px;
        margin: 40px auto 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-header h2 {
        font-size: 2.25rem;
    }

    .pricing-table {
        overflow-x: auto;
    }

    .pricing-header,
    .pricing-row {
        min-width: 650px;
    }

    .quote-container {
        grid-template-columns: 1fr;
    }

    .trust-items {
        gap: 40px;
    }

    .trust-item {
        font-size: 1rem;
    }

    /* Mobile navigation for tablets */
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 0;
        z-index: 999;
        justify-content: flex-start;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        color: white !important;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: var(--transition);
    }

    .nav a:hover {
        color: var(--primary) !important;
        padding-left: 10px;
    }

    .nav a.nav-cta {
        display: block;
        background: transparent;
        color: white !important;
        padding: 16px 0;
        border-radius: 0;
        text-align: left;
        margin-top: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.5rem;
        box-shadow: none;
    }

    .nav a.nav-cta:hover {
        background: transparent;
        color: var(--primary) !important;
        padding-left: 10px;
        transform: none;
        box-shadow: none;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .mobile-menu-btn span {
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span {
        background: white;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile menu contact info */
    .mobile-menu-contact {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        margin-top: auto;
        padding-top: 32px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu-contact a {
        color: rgba(255,255,255,0.8) !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        padding: 8px 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .mobile-menu-contact a:hover {
        color: var(--primary) !important;
        padding-left: 0;
    }

    .mobile-menu-contact svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-menu-cta {
        background: var(--primary) !important;
        color: white !important;
        padding: 14px 20px !important;
        border-radius: 50px;
        text-align: center !important;
        margin-top: 8px;
        font-weight: 600 !important;
        font-size: 1rem !important;
        justify-content: center;
        box-shadow: 0 4px 14px rgba(21, 170, 116, 0.3);
    }

    .mobile-menu-cta::after {
        content: none !important;
        display: none !important;
    }

    .mobile-menu-cta:hover {
        background: var(--primary-dark) !important;
        transform: translateY(-2px);
    }


    /* Footer responsive for tablets */
    .footer-minimal {
        grid-template-columns: 1fr 1fr;
        gap: 8px 40px;
    }

    .footer-minimal .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .footer-reg {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
    }

    .footer-minimal > :nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-start;
    }

    .footer-minimal > :nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 110px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-header h2 {
        font-size: 2rem;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .services-slider {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: auto;
    }

    .services-intro h2 {
        font-size: 1.75rem;
    }

    .services-benefits li {
        flex-direction: column;
    }

    .services-benefits li::before {
        width: 32px;
        height: 32px;
    }

    .service-card {
        width: 280px;
        min-width: 280px;
        padding: 36px 28px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid .service-card {
        width: auto;
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar {
        padding: 32px 0;
    }

    .trust-items {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .trust-item {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 20px;
    }

    .service-card h3 {
        font-size: 1.8rem;
    }

    /* Footer responsive for mobile - single column */
    .footer-minimal {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-minimal .logo {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .footer-reg {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }

    .footer-minimal > :nth-child(3),
    .footer-minimal > :nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   17. Cookie Consent Banner (Minimal)
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    z-index: 9999;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.cookie-banner-buttons {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex: 1;
    text-align: center;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
    border-color: var(--text-muted);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}
