/* ... Previous styles ... */
:root {
    --font-primary: 'Inter', sans-serif;
    --color-bg: #f8f9fa;
    --color-text-primary: #111111;
    --color-text-secondary: #555555;
    --color-accent: #000000;
    --color-white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(240, 242, 245, 0) 70%);
    filter: blur(60px);
    opacity: 0.6;
}

/* Simulating the ripple effect with subtle gradients */
.circle-1 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #ffffff 20%, #eef0f5 60%, transparent 80%);
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.9);
}

.circle-2 {
    width: 1200px;
    height: 1200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.8);
}

.circle-3 {
    width: 600px;
    height: 600px;
    top: 45%;
    left: 45%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(230, 235, 240, 0.2) 100%);
    opacity: 0.8;
}


/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo ion-icon {
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
}

.nav a:hover {
    color: var(--color-accent);
}

.cta-button-header {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-text-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    /* Offset for fixed header */
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.hero-badge:hover {
    transform: scale(1.05);
}

.hero-badge ion-icon {
    font-size: 1rem;
    color: var(--color-text-primary);
}

/* Title */
.hero-title {
    margin-top: 10px;
}

.logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #222 0%, #000 100%);
    border-radius: 50%;
    /* Circle for icon */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Adding ring around large logo icon */
.logo-icon-large::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    top: -4px;
    left: -4px;
    padding: 4px;
    /* Creates spacing */
    box-sizing: content-box;
}

.logo-large span {
    font-size: 5rem;
    font-weight: 300;
    /* Thin look */
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--color-text-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #fcfcfc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Neumorphic subtle border */
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-visual {
    height: 180px;
    background: #f8f9fa;
    /* Light grey area for visual */
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.card-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Visual 1: Analytics Gauge */
.visual-circle-outer {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow:
        10px 10px 20px rgba(174, 174, 192, 0.2),
        -10px -10px 20px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-circle-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.visual-dot {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.visual-hand {
    width: 40%;
    height: 4px;
    background: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: rotate(-45deg);
    /* Initial position */
    border-radius: 2px;
    animation: handMove 4s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes handMove {
    0% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(20deg);
    }
}


/* Visual 2: Chart */
.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    padding-bottom: 20px;
}

.chart-bar {
    width: 24px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow:
        4px 4px 8px rgba(174, 174, 192, 0.2),
        -2px -2px 10px #ffffff;
    position: relative;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 80%;
    background: #f0f0f0;
}

/* Highlighted */
.bar-3 {
    height: 60%;
}

.bar-4 {
    height: 50%;
}

.chart-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chart-label.right {
    left: auto;
    right: -10px;
    transform: none;
}

.chart-axis-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    letter-spacing: 2px;
}

/* Visual 3: Sync */
.sync-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-main-icon {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow:
        8px 8px 16px rgba(174, 174, 192, 0.2),
        -8px -8px 16px #ffffff;
    z-index: 2;
}

.sync-user {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: floatUser 3s infinite alternate ease-in-out;
}

.user-1 {
    bottom: 10px;
    left: 10px;
    animation-delay: 0s;
}

.user-2 {
    bottom: 30px;
    right: 0px;
    animation-delay: 1.5s;
}

@keyframes floatUser {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}


/* Scroller */
.benefits-scroller {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll on mobile */
    scrollbar-width: none;
    /* Firefox */
}

.benefits-scroller::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.scroller-track {
    display: flex;
    gap: 16px;
    min-width: max-content;
    padding: 0 20px;
    /* Side padding so items aren't cut off */
    justify-content: center;
}

.scroller-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    color: var(--color-text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.scroller-item:hover {
    background: #f8f9fa;
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.scroller-item.active {
    background: #ffffff;
    color: var(--color-text-primary);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    /* Default vertical stack */
    gap: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 320px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card.wide {
    display: flex;
    flex-direction: row;
    /* Horizontal for wide cards */
    align-items: center;
    gap: 40px;
}

/* Specific grid placement for bento effect */
.features-grid> :nth-child(1) {
    grid-column: span 7;
}

.features-grid> :nth-child(2) {
    grid-column: span 5;
}

.features-grid> :nth-child(3) {
    grid-column: span 5;
}

.features-grid> :nth-child(4) {
    grid-column: span 7;
}


.feature-image-wrapper {
    flex: 1;
    height: 100%;
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.feature-image-wrapper.flip {
    order: 2;
    /* Put image on right for 4th card */
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #333 0%, #000 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Adjusting layout for Narrow cards */
.feature-card.narrow .feature-content {
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {

    .features-grid> :nth-child(1),
    .features-grid> :nth-child(2),
    .features-grid> :nth-child(3),
    .features-grid> :nth-child(4) {
        grid-column: span 12;
        /* Full width on smaller screens */
    }

    .feature-card.wide {
        flex-direction: column;
    }

    .feature-image-wrapper {
        width: 100%;
        max-height: 240px;
    }

    .feature-image-wrapper.flip {
        order: -1;
        /* Reset order on mobile */
    }

    .scroller-track {
        justify-content: flex-start;
    }
}

/* Services Section */
.services-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    position: relative;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-content {
    z-index: 2;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

.service-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Grid Layout */
/* Row 1: Narrow (4 cols) | Wide (8 cols) */
.services-grid> :nth-child(1) {
    grid-column: span 5;
}

.services-grid> :nth-child(2) {
    grid-column: span 7;
}

/* Row 2: Wide (8 cols) | Narrow (4 cols) */
.services-grid> :nth-child(3) {
    grid-column: span 7;
}

.services-grid> :nth-child(4) {
    grid-column: span 5;
}


/* Visuals Common */
.card-visual {
    flex: 1;
    min-height: 180px;
    background: #fcfcfc;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Consulting Visual */
.consulting-visual {
    background: #f8f9fa;
}

.connect-node {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow:
        5px 5px 10px rgba(0, 0, 0, 0.05),
        -5px -5px 10px #ffffff;
    position: absolute;
    z-index: 2;
}

.node-1 {
    top: 30px;
    left: 30px;
}

.node-2 {
    bottom: 40px;
    right: 40px;
    font-size: 2rem;
    color: #111;
}

.connect-line {
    position: absolute;
    top: 60px;
    left: 60px;
    width: 140px;
    height: 2px;
    background: #e0e0e0;
    transform-origin: top left;
    transform: rotate(35deg);
}

.connect-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    position: absolute;
    top: 50%;
    left: 40%;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
}

/* 2. Content Gen Visual */
.content-visual {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f8f9fa;
}

.ui-input-container {
    width: 80%;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ui-input-bar {
    flex: 1;
    height: 20px;
    margin-left: 12px;
    display: flex;
    align-items: center;
}

.ui-cursor {
    width: 2px;
    height: 18px;
    background: #333;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.ui-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.ui-dropdown {
    width: 80%;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-item {
    font-size: 0.8rem;
    color: #888;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.ui-item:first-child {
    background: #f8f9fa;
    color: #333;
    font-weight: 500;
}

/* 3. Chat Visual */
.chat-visual {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: #f8f9fa;
    justify-content: center;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 90%;
    align-items: flex-end;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row;
}

.chat-message.bot {
    align-self: flex-start;
}

.message-avatar,
.message-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.message-text {
    background: white;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    line-height: 1.4;
}

.chat-message.user .message-text {
    background: #333;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-text {
    border-bottom-left-radius: 4px;
}

.message-text .link {
    display: inline-block;
    border-bottom: 1px solid #333;
    font-weight: 600;
    margin-left: 4px;
}

/* 4. Integrations Visual */
.integrations-visual {
    background: #f8f9fa;
}

.center-app {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.floating-app {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: floatApp 4s infinite ease-in-out;
}

.app-1 {
    top: 30px;
    left: 40px;
    animation-delay: 0s;
}

.app-2 {
    top: 40px;
    right: 30px;
    animation-delay: 1.3s;
}

.app-3 {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.5s;
}

@keyframes floatApp {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-8px) translateX(2px);
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .services-grid> :nth-child(1),
    .services-grid> :nth-child(2),
    .services-grid> :nth-child(3),
    .services-grid> :nth-child(4) {
        grid-column: span 12;
    }

    .service-card {
        min-height: auto;
    }
}

/* Process Section */
.process-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.process-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
}

.process-column-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-card.tall {
    height: 100%;
}

.process-card.wide {
    flex: 1;
}

.process-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    font-family: monospace;
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 700;
}

.process-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.process-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-height: 200px;
}

.process-image-wrapper.small-height {
    max-height: 200px;
}

.process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.process-card:hover .process-image {
    transform: scale(1.05);
}

.process-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.process-footer p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    max-width: 80%;
}

.process-footer ion-icon {
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

/* Results Section */
.results-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.results-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.result-card-large {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    min-height: 400px;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-overlay p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.result-stats-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: #fafafa;
}

.stat-icon {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #111 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {

    .process-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .process-card.tall {
        min-height: 400px;
    }

    .result-card-large {
        min-height: 300px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #FFB800;
    /* Gold */
}

.review-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.author-info span {
    font-size: 0.85rem;
    color: #888;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pricing-toggle span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.pricing-toggle span.active {
    color: var(--color-text-primary);
    font-weight: 600;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.discount {
    background: #FFE5E5;
    color: #FF4444;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 4px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
    /* Align top so cards don't stretch weirdly */
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: transform 0.3s box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Featured Card Style (Black) */
.pricing-card.featured {
    background: #111111;
    color: #ffffff;
    border: none;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-header .price,
.pricing-card.featured .pricing-header p {
    color: #ffffff;
}

.pricing-card.featured .pricing-header p {
    opacity: 0.7;
}

.pricing-card.featured .pricing-features li {
    color: #e0e0e0;
}

.pricing-card.featured .pricing-features ion-icon {
    color: #ffffff;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #111;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.pricing-header p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-features ion-icon {
    font-size: 1.2rem;
    color: var(--color-text-primary);
}

.full-width {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0 120px;
    background-color: #f8f9fa;
    /* Slightly darker/lighter bg to separate */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    box-shadow: var(--shadow-soft);
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximation */
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}


/* Footer */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 100px 0 40px;
}

.footer-cta {
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #222 0%, #333 100%);
    padding: 60px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

/* Shine effect on CTA */
.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-cta h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-cta p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 32px;
}

.btn-primary-white {
    background: #ffffff;
    color: #111;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    color: #ffffff;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #888;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}
/* ========== PAGE MAIN (padding for fixed header) ========== */
.page-main {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* ========== SERVICES FULL GRID (3x3) ========== */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-full-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-full-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-full-card .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.service-full-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}

.service-full-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-full-card .service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-full-card .service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.service-full-card .service-features ion-icon {
    color: #22c55e;
    font-size: 18px;
}

.service-full-card.highlight {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    border: none;
}

.service-full-card.highlight h3,
.service-full-card.highlight p,
.service-full-card.highlight .service-features li {
    color: #fff;
}

.service-full-card.highlight .service-features ion-icon {
    color: #4ade80;
}

/* ========== CASES GRID ========== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.case-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.case-card .case-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-card .case-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.case-card .case-content {
    padding: 24px;
}

.case-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.case-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.case-card .case-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.case-card .stat {
    display: flex;
    flex-direction: column;
}

.case-card .stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.case-card .stat .label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.case-card.highlight {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    border: none;
}

.case-card.highlight h3,
.case-card.highlight p,
.case-card.highlight .stat .value,
.case-card.highlight .stat .label {
    color: #fff;
}

/* ========== BLOG GRID ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card .blog-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card .blog-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card .blog-content {
    padding: 24px;
}

.blog-card .blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #888;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .services-full-grid,
    .cases-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-full-grid,
    .cases-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .page-main {
        padding-top: 100px;
    }
}

/* ========== CONTACTS PAGE ========== */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.contact-cards {
    display: block;
}

.contact-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-card-wide {
    width: 100%;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.contact-card .contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.contact-card .contact-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0dc 100%);
    color: white;
}

.contact-card .contact-icon.phone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-card .contact-icon.email {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
}

.contact-card .contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.contact-card .contact-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.contact-card .contact-info p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 4px;
}

.contact-card .contact-hint {
    font-size: 0.8rem;
    color: #888;
}

/* Contact Form */
.contact-form-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.95rem;
    color: #666;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
    
    .contact-form-section {
        padding: 24px;
    }
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.95rem;
    color: #666;
}

#requestForm .form-group {
    margin-bottom: 20px;
}

#requestForm label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

#requestForm input,
#requestForm textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

#requestForm input:focus,
#requestForm textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

#requestForm textarea {
    resize: vertical;
    min-height: 80px;
}

.full-width {
    width: 100%;
}

/* Header phone button */
.cta-button-header ion-icon {
    margin-right: 6px;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 28px;
    }
    
    .cta-button-header {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ========== REQUEST MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    margin: 20px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    margin-bottom: 28px;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.9rem;
    color: #666;
}

#requestForm .form-group {
    margin-bottom: 16px;
}

#requestForm label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

#requestForm input,
#requestForm textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

#requestForm input:focus,
#requestForm textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

#requestForm textarea {
    resize: vertical;
    min-height: 80px;
}

#requestForm .full-width {
    width: 100%;
}

/* Responsive Modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 24px;
        margin: 10px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
}

/* ========== CONTACTS PAGE FIX ========== */
.contact-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-row .contact-card {
    flex: 1;
}

.contact-card-wide {
    width: 100%;
}

.contact-card .contact-info p {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .contact-row {
        flex-direction: column;
    }
}

/* ========== CONSENT CHECKBOX ========== */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.consent-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #000;
    cursor: pointer;
}

.consent-checkbox label {
    cursor: pointer;
}

.consent-checkbox a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-checkbox a:hover {
    color: #333;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section li {
    color: #444;
    line-height: 1.7;
    padding: 6px 0 6px 24px;
    position: relative;
}

.legal-section li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #666;
}

.legal-section a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #333;
}
