:root {
    --primary: #1a1a2e;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #ffa502 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(233, 69, 96, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

body {
    font-family: 'Onest', -apple-system, sans-serif;
    color: var(--primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gift item in nav (Bonus) */
.nav-gift {
    color: #D4AF37 !important; /* Gold */
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-gift:hover {
    color: #FFD700 !important; /* Brighter Gold */
    transform: scale(1.05);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed header when jumping to anchors */
section[id], h2[id], div[id] {
    scroll-margin-top: 100px;
}

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px !important;
    list-style: none;
}

.nav-links li {
    margin: 0 5px !important;
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px !important;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap !important;
}

.nav-links a[href*="ai-landing"] {
    color: #0088cc !important;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.menu-toggle:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown>a::after {
    display: none;
}

.nav-dropdown .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--primary);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--accent);
}

.dropdown-menu a::after {
    display: none;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== MODERN HERO ===== */
.modern-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.modern-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.modern-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.modern-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.modern-btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.35);
}

.modern-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.modern-btn-secondary:hover {
    background: var(--primary);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
    padding: 80px 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.adv-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.adv-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.adv-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
    font-size: 2rem;
}

.adv-card:hover .adv-icon {
    background: var(--gradient);
    transform: scale(1.1);
    color: white;
}

.adv-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.adv-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== SLIDESHOW ===== */
.hero-slideshow {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.hero-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 24px;
    text-align: center;
}

.hero-slideshow:hover .hero-slideshow-overlay {
    opacity: 1;
}

.hero-slideshow-overlay p {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-slideshow-overlay .btn {
    background: var(--gradient);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
}

/* ===== SLIDESHOW SECTION ===== */
/* РЈРґР°Р»РµРЅРѕ РґР»СЏ РѕРїС‚РёРјРёР·Р°С†РёРё */

/* ===== SERVICES ===== */
.services {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    opacity: 0;
}

.service-card[data-image]::before {
    background-image: var(--hover-image);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== CALCULATORS ===== */
.calculators {
    background: var(--light);
    padding: 50px 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.calc-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.calc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.calc-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.calc-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.calc-card p {
    color: var(--gray);
    font-size: 1rem;
}

.calc-card .btn {
    align-self: flex-start;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 60px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-overlay span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.portfolio-cta {
    text-align: center;
}

/* ===== WHY US ===== */
.why-us {
    background: var(--primary);
    color: white;
    padding: 60px 0;
}

.why-us .section-header h2 {
    color: white;
}

.why-us .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-messengers {
    text-align: center;
    padding: 60px 20px;
}

.contact-messengers h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-messengers .subtitle {
    color: #6b7280;
    margin-bottom: 40px;
}

.messenger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.messenger-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: #111827;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo img {
    height: 40px !important;
    width: auto;
    display: block;
}

.messenger-card img {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: block;
}

.messenger-card .title {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.messenger-card .value {
    font-size: 14px;
    color: #6b7280;
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 0;
    background: var(--light);
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item ul {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item li {
    margin-bottom: 8px;
}

.faq-cta {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.faq-cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-cta-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-content.single-col {
    display: flex;
    justify-content: center;
    text-align: center;
    grid-template-columns: none;
}

.footer-content.single-col .footer-col {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .modern-hero {
        padding: 120px 24px 60px;
    }

    .modern-hero-title {
        font-size: 2.8rem;
    }

    .advantages-grid,
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slideshow {
        max-width: 100%;
        margin: 0 auto;
    }

    .slideshow-section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    /* РњРѕР±С–Р»СЊРЅРµ dropdown РјРµРЅСЋ */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 8px 0 0 16px;
        display: none;
        background: transparent;
        min-width: auto;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 0;
        color: var(--gray);
    }

    .menu-toggle {
        display: flex;
    }

    .modern-hero {
        padding: 100px 20px 50px;
        min-height: 60vh;
    }

    .modern-hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .modern-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .modern-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .modern-btn {
        width: 100%;
        max-width: 300px;
    }

    .slideshow-section {
        padding: 40px 0;
    }

    /* РњРѕР±С–Р»СЊРЅС– РІС–РґСЃС‚СѓРїРё РґР»СЏ СЃРµРєС†С–Р№ */
    .services,
    .calculators {
        padding: 40px 0;
    }

    .portfolio,
    .why-us {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .calc-grid,
    .portfolio-grid,
    .why-grid,
    .adv-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 24px;
    }

    .faq-cta-links {
        flex-direction: column;
    }

    .faq-cta-links a {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* ================= HERO SECTION STYLES ================= */
.hero {
    padding: 100px 20px;
}

.hero-center {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
}

.subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 30px;
}

.offer {
    background: #f3f7ff;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 18px;
    margin: 0 auto 40px;
    display: inline-block;
}

.trust-line {
    font-size: 16px;
    color: #777;
}

/* ================= BUTTON STYLES ================= */
.btn-main,
.btn-secondary {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-main {
    background: #0066ff;
    color: #fff;
    border: none;
}

.btn-main:hover {
    background: #0052d6;
}

.btn-secondary {
    background: #e8e8e8;
    color: #222;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #dcdcdc;
}

a.btn-main,
a.btn-secondary {
    text-decoration: none !important;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* ===== CALCULATORS COMPACT UPDATE ===== */
.calculators {
    background: #f8f9fa;
    padding: 80px 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-card {
    background: #fff;
    border-radius: 22px;
    padding: 36px 30px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.calc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.calc-icon-wrap {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.calc-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.calc-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.calc-content p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 1.4;
}

.calc-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    margin-top: auto;
}

.calc-card:hover .calc-btn {
    border-color: #e94560;
    color: #e94560;
}

/* Responsive */
@media (max-width: 992px) {
    .calc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calc-card {
        padding: 30px 20px;
    }
}

/* ===== CALCULATORS PREMIUM PREMIUM UPDATE ===== */
.calc-premium-section {
    padding: 60px 0 90px;
    text-align: center;
}

.calc-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.calc-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

.calc-premium-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    justify-items: center;
}

/* арточка */
.calc-premium-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 32px 26px 38px;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.06),
        0 1px 1px rgba(255, 255, 255, 0.6) inset;
    transition: transform .25s ease, box-shadow .25s ease;
}

.calc-premium-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.10),
        0 1px 1px rgba(255, 255, 255, 0.65) inset;
}

/* конка */
.premium-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff7a4d, #ff3d7d);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 95, 95, 0.3);
}

.calc-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 360px;
}

.calc-layout-link {
    font-size: 14px;
    color: #007bff; /* Яскравий синій */
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    background: rgba(0, 123, 255, 0.05);
    animation: calcLinkPulse 2s infinite ease-in-out;
}

@keyframes calcLinkPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
        opacity: 1;
    }
}

.calc-layout-link:hover {
    opacity: 1;
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
    animation-play-state: paused;
}

.premium-icon-wrap img {
    width: 62%;
    height: 62%;
    object-fit: contain;
}

/* аголовок */
.calc-premium-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 10px;
    color: #111;
}

/* писание */
.calc-premium-card p {
    font-size: 16px;
    color: #555;
    margin: 0 0 22px;
}

/* нопка */
.premium-btn {
    padding: 12px 22px;
    display: inline-block;
    background: #f5f5f5;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #111;
    transition: background .2s ease;
}

.premium-btn:hover {
    background: #e8e8e8;
}

/* Mobile */
@media (max-width: 768px) {

    .calc-title {
        font-size: 32px;
    }

    .calc-premium-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .calc-premium-card {
        padding: 26px 18px;
        border-radius: 20px;
        max-width: 100%;
    }

    .premium-icon-wrap {
        width: 74px;
        height: 74px;
    }

    .calc-premium-card h3 {
        font-size: 19px;
    }

    .calc-premium-card p {
        font-size: 14px;
        margin-bottom: 18px;
    }
}

/* ===== ADVANTAGES NEW ===== */
.advantages {
    padding: 80px 0;
    background: #ffffff;
}

.adv-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.adv-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.adv-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.adv-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
}

.adv-card picture,
.adv-card img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: block;
    user-select: none;
    pointer-events: none;
}

.adv-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.adv-card p {
    font-size: 16px;
    color: #555;
}


/* ----- MOBILE RESPONSIVE ----- */

@media (max-width: 992px) {
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .adv-card {
        padding: 20px 10px;
    }

    .adv-card img {
        width: 60px;
        height: 60px;
        margin: 0 auto 12px;
        display: block;
    }

    .adv-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .adv-card p {
        font-size: 13px;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 15px;
    font-weight: 500;
}

.lang-switcher a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.lang-active {
    color: #ff6b1a;
    font-weight: 700;
}

.lang-divider {
    color: #ccc;
    font-size: 12px;
}

/* Language Switcher Dropdown */
.lang-switcher-dropdown {
    position: relative;
    margin-left: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-toggle .arrow {
    font-size: 0.8em;
    transition: transform 0.3s;
}

.lang-toggle[aria-expanded='true'] .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    list-style: none;
    padding: 5px 0;
    z-index: 1000;
}

.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    padding: 0;
    display: block;
}

.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
    width: 100%;
}

.lang-menu a:hover {
    background: rgba(233, 69, 96, 0.05);
    color: var(--accent);
}

.lang-menu a.active {
    font-weight: 700;
    color: var(--accent);
    background: rgba(233, 69, 96, 0.05);
}

.lang-menu .flag {
    font-size: 1.2em;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .lang-switcher-dropdown {
        margin: 10px 0;
    }

    .lang-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .lang-menu.open {
        display: block;
    }
}

/* ================= PARTNERS PROMO SECTION ================= */
.partners-promo-section {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
    border-top: 1px solid #eee;
}

.partners-promo-section .section-title {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

#partners-rotator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: opacity 0.6s ease-in-out;
}

/* Partner Card - Browser Window Style */
.partner-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.browser-bar {
    background: #f1f1f1;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.partner-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.partner-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.partner-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #306550;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.partner-btn:hover {
    background: #1e4133;
}

@media (max-width: 768px) {
    .partners-promo-section { padding: 40px 0; }
    .partners-promo-section .section-title { font-size: 1.8rem; margin-bottom: 30px; }
    #partners-rotator-container { grid-template-columns: 1fr; }
}

/* ================= BONUS HIGHLIGHT ================= */
.bonus-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D4AF37; /* Soft Gold */
    font-size: 18px;
    text-align: center;
    margin: 25px 0;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    font-weight: bold;
    animation: pulse-gold 6s infinite ease-in-out;
}

.bonus-icon {
    margin-right: 10px;
    font-size: 24px;
}

@keyframes pulse-gold {
    0%, 100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
        transform: scale(1.01);
        opacity: 1;
    }
}

/* ================= SOCIAL ICONS ================= */
.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background-color: #eeeeee;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #111;
}

.social-icon-link svg {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
}

/* ================= CUSTOM ANIMATED CTA BUTTONS (STAGE 1) ================= */

/* Grouped core rules for all CTA buttons */
.btn-animated-slide-up,
.btn-animated-dot-expand,
.btn-telegram-action,
.btn-calculator-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Ensure child layers work correctly */
.hover-content,
.bg-slide,
.bg-dot,
.hover-overlay {
    position: absolute;
}

/* Ensure visible text/icon layer stays above overlays */
.btn-animated-slide-up > span,
.btn-animated-dot-expand > span,
.btn-telegram-action > span,
.btn-calculator-action > span {
    position: relative;
    z-index: 2;
}

/* Animated Slide-Up Button (Hero CTA) */
.btn-animated-slide-up {
    width: max-content;
    padding: 12px 32px; /* py-3 (12px) px-8 (32px) */
    border-radius: 9999px; /* rounded-full */
    border: 1px solid transparent;
    background-color: #ffffff; /* bg-white */
    text-align: center;
    font-weight: 600; /* font-semibold */
    transition: all 0.5s ease; /* transition-all duration-500 */
}

.btn-animated-slide-up:hover {
    border-color: transparent; /* hover:border-transparent */
}

/* Modifiers for Slide-Up Button */
.btn-animated-slide-up.btn-primary-action {
    border-color: #2676bb; /* border-[#2676bb] */
}

.btn-animated-slide-up.btn-primary-action > span {
    color: #2676bb; /* text-[#2676bb] */
}

.btn-animated-slide-up.btn-secondary-action {
    border-color: #e5e7eb; /* border-gray-200 */
}

.btn-animated-slide-up.btn-secondary-action > span {
    color: #1f2937; /* text-gray-800 */
}

/* Inner elements for Slide-Up Button */
.btn-animated-slide-up > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s ease; /* transition-all duration-500 */
}

.btn-animated-slide-up:hover > span {
    transform: translateY(-150%); /* group-hover:-translate-y-[150%] */
    opacity: 0; /* group-hover:opacity-0 */
}

.btn-animated-slide-up > .hover-content {
    inset: 0; /* inset-0 */
    z-index: 3; /* z-3 */
    display: flex; /* flex */
    height: 100%; /* h-full */
    width: 100%; /* w-full */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
    gap: 8px; /* gap-2 */
    color: #ffffff; /* text-white */
    opacity: 0; /* opacity-0 */
    transform: translateY(150%); /* translate-y-[150%] */
    transition: all 0.5s ease; /* transition-all duration-500 */
}

.btn-animated-slide-up:hover > .hover-content {
    transform: translateY(0); /* group-hover:translate-y-0 */
    opacity: 1; /* group-hover:opacity-100 */
}

.btn-animated-slide-up > .bg-slide {
    inset: 0; /* inset-0 */
    z-index: 1; /* z-1 */
    background-color: #2676bb; /* bg-[#2676bb] */
    transform: translateY(100%); /* translate-y-full */
    transition: transform 0.5s ease; /* transition-transform duration-500 */
}

.btn-animated-slide-up:hover > .bg-slide {
    transform: translateY(0); /* group-hover:translate-y-0 */
}

/* Animated Dot Expand Button (Section CTA) */
.btn-animated-dot-expand {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 32px; /* py-3 px-8 */
    border-radius: 9999px; /* rounded-full */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    background-color: #ffffff; /* bg-white */
    text-align: center;
    font-weight: 600; /* font-semibold */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.btn-animated-dot-expand:hover {
    border-color: transparent; /* hover:border-transparent */
}

.btn-animated-dot-expand > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f2937; /* text-gray-800 */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.btn-animated-dot-expand:hover > span {
    transform: translateX(100%); /* group-hover:translate-x-full */
    opacity: 0; /* group-hover:opacity-0 */
}

.btn-animated-dot-expand > .hover-content {
    inset: 0; /* inset-0 */
    z-index: 3; /* z-3 */
    display: flex; /* flex */
    height: 100%; /* h-full */
    width: 100%; /* w-full */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
    gap: 8px; /* gap-2 */
    color: #ffffff; /* text-white */
    opacity: 0; /* opacity-0 */
    transform: translateX(-100%); /* -translate-x-full */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.btn-animated-dot-expand:hover > .hover-content {
    transform: translateX(0); /* group-hover:translate-x-0 */
    opacity: 1; /* group-hover:opacity-100 */
}

.btn-animated-dot-expand > .bg-dot {
    left: 20%; /* left-[20%] */
    top: 40%; /* top-[40%] */
    height: 8px; /* h-2 */
    width: 8px; /* w-2 */
    transform: scale(1); /* scale-[1] */
    border-radius: 8px; /* rounded-lg */
    background-color: #2676bb; /* bg-[#2676bb] */
    opacity: 0; /* opacity-0 */
    z-index: 1; /* z-1 */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

.btn-animated-dot-expand:hover > .bg-dot {
    left: 0; /* group-hover:left-0 */
    top: 0; /* group-hover:top-0 */
    height: 100%; /* group-hover:h-full */
    width: 100%; /* group-hover:w-full */
    transform: scale(1.8); /* group-hover:scale-[1.8] */
    border-radius: 0; /* group-hover:rounded-none */
    opacity: 1; /* group-hover:opacity-100 */
}

/* Final CTA Telegram Button */
.btn-telegram-action {
    width: 100%;
    padding: 16px 40px; /* py-4 px-10 */
    border-radius: 9999px; /* rounded-full */
    background-color: #2676bb; /* bg-[#2676bb] */
    color: #ffffff; /* text-white */
    text-align: center;
    font-weight: 700; /* font-bold */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

@media (min-width: 640px) {
    .btn-telegram-action {
        width: auto; /* sm:w-auto */
    }
}

.btn-telegram-action:hover {
    transform: scale(1.05); /* hover:scale-105 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* hover:shadow-xl */
}

.btn-telegram-action > span {
    display: inline-flex; /* inline-flex */
    align-items: center; /* items-center */
    gap: 8px; /* gap-2 */
    font-size: 1.125rem; /* text-lg */
}

.btn-telegram-action > .hover-overlay {
    inset: 0; /* inset-0 */
    z-index: 1; /* z-1 */
    background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
    opacity: 0; /* opacity-0 */
    transition: opacity 0.3s ease; /* transition-opacity duration-300 */
}

.btn-telegram-action:hover > .hover-overlay {
    opacity: 1; /* group-hover:opacity-100 */
}

/* Final CTA Calculator Button */
.btn-calculator-action {
    width: 100%;
    padding: 16px 40px; /* py-4 px-10 */
    border-radius: 9999px; /* rounded-full */
    border: 2px solid #2676bb; /* border-2 border-[#2676bb] */
    background-color: #ffffff; /* bg-white */
    color: #2676bb;
    text-align: center;
    font-weight: 700; /* font-bold */
    transition: all 0.3s ease; /* transition-all duration-300 */
}

@media (min-width: 640px) {
    .btn-calculator-action {
        width: auto; /* sm:w-auto */
    }
}

.btn-calculator-action:hover {
    transform: scale(1.05); /* hover:scale-105 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* hover:shadow-lg */
}

.btn-calculator-action > span {
    display: inline-flex; /* inline-flex */
    align-items: center; /* items-center */
    gap: 8px; /* gap-2 */
    font-size: 1.125rem; /* text-lg */
}

.btn-calculator-action > .hover-overlay {
    inset: 0; /* inset-0 */
    z-index: 1; /* z-1 */
    background-color: #f9fafb; /* bg-gray-50 */
    opacity: 0; /* opacity-0 */
    transition: opacity 0.3s ease; /* transition-opacity duration-300 */
}

.btn-calculator-action:hover > .hover-overlay {
    opacity: 1; /* group-hover:opacity-100 */
}

/* ================= SERVICES LAYOUT & ICON SIZING (STAGE 1.1) ================= */

.services-grid .service-card .service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-grid .service-card .service-icon picture {
    display: block;
    width: 100%;
    height: 100%;
}

.services-grid .service-card .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .services-grid .service-card .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 14px;
    }
}

