@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #C02921;
    --primary-rgb: 192, 41, 33;
    --secondary: #229662;
    --secondary-rgb: 34, 150, 98;
    --accent: #4387DB;
    --accent-rgb: 67, 135, 219;
    --bg: #FAF8F5;
    --bg-alt: #F0ECE6;
    --text-color: #2C2520;
    --text-muted: #6B6055;
    --section-dark: #2C2520;
    --section-accent: #EDE6DD;
    --white: #ffffff;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --size-xs: 0.75rem;
    --size-sm: 0.875rem;
    --size-base: 1rem;
    --size-lg: 1.25rem;
    --size-xl: 1.625rem;
    --size-xxl: 2.25rem;
    --size-hero: 3rem;
    --space-xs: 12px;
    --space-sm: 24px;
    --space-md: 36px;
    --space-lg: 48px;
    --space-xl: 72px;
    --space-xxl: 96px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
    --max-width: 1400px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(192, 41, 33, 0.35); }
    50% { box-shadow: 0 0 22px rgba(192, 41, 33, 0.55); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

h1 { font-size: var(--size-hero); }
h2 { font-size: var(--size-xxl); }
h3 { font-size: var(--size-xl); }
h4 { font-size: var(--size-lg); }
h5 { font-size: var(--size-base); font-weight: 600; }
h6 { font-size: var(--size-sm); font-weight: 600; }

p {
    margin-bottom: 1em;
    color: var(--text-color);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-left: 1.25em;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

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

.text-muted { color: var(--text-muted); }

.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 95vw;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 0.6rem 1.5rem;
    box-shadow: 0 6px 28px rgba(0,0,0,0.13);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    font-family: var(--font-secondary);
    font-size: var(--size-sm);
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(192, 41, 33, 0.08);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.35rem;
    line-height: 1;
    z-index: 1001;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: var(--space-xxl) var(--space-sm);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(44, 37, 32, 0.82) 0%, rgba(44, 37, 32, 0.45) 60%, rgba(192, 41, 33, 0.2) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 41, 33, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.6em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: var(--size-lg);
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-content .btn-primary {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.hero-content .btn-primary:hover {
    animation: none;
    box-shadow: 0 0 26px rgba(192, 41, 33, 0.5);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    animation: float 2s ease-in-out infinite;
}

.header-hero {
    position: relative;
    padding: 10rem var(--space-sm) 4rem;
    background: linear-gradient(160deg, var(--section-dark) 0%, #3d322b 100%);
    text-align: center;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 41, 33, 0.1) 0%, transparent 70%);
    top: -60px;
    left: -60px;
    animation: float 8s ease-in-out infinite reverse;
}

.header-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    position: relative;
    z-index: 2;
}

.header-hero p {
    color: rgba(255,255,255,0.75);
    font-size: var(--size-lg);
    max-width: 600px;
    margin: 0.5rem auto 0;
    position: relative;
    z-index: 2;
}

.content-section {
    padding: var(--space-xl) var(--space-sm);
}

.content-section:nth-child(even) {
    background-color: var(--bg-alt);
}

.section-dark {
    background-color: var(--section-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.78);
}

.section-dark a {
    color: var(--accent);
}

.section-accent {
    background-color: var(--section-accent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-header h2 {
    font-size: var(--size-xxl);
    margin-bottom: 0.4em;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.6em auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--size-lg);
    line-height: 1.7;
}

.section-dark .section-header h2::after {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.06);
}

.card-body {
    padding: var(--space-sm);
}

.card-body h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.4em;
}

.card-body p {
    color: var(--text-muted);
    font-size: var(--size-sm);
    line-height: 1.6;
}

.feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(192,41,33,0.1), rgba(67,135,219,0.08));
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: var(--space-xs);
    transition: background 0.3s ease;
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
}

.feature h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.3em;
}

.feature p {
    color: var(--text-muted);
    font-size: var(--size-sm);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(192,41,33,0.12);
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-card .testimonial-author {
    font-style: normal;
    font-weight: 600;
    font-size: var(--size-sm);
    color: var(--primary);
}

.testimonial-card .testimonial-role {
    font-style: normal;
    font-size: var(--size-xs);
    color: var(--text-muted);
}

.section-dark .testimonial-card {
    background: rgba(255,255,255,0.06);
    border-left-color: var(--accent);
}

.section-dark .testimonial-card p {
    color: rgba(255,255,255,0.88);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #e04038);
    color: var(--white);
    font-size: var(--size-xs);
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 var(--radius) var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: var(--size-xl);
    margin-bottom: 0.3em;
}

.pricing-card .price {
    font-size: var(--size-hero);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.2em;
    font-family: var(--font-primary);
}

.pricing-card .price-period {
    font-size: var(--size-sm);
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: var(--size-sm);
    color: var(--text-muted);
    padding-left: 1.5em;
    position: relative;
}

.pricing-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.two-col-layout.reverse {
    direction: rtl;
}

.two-col-layout.reverse > * {
    direction: ltr;
}

.two-col-layout img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-primary);
    font-size: var(--size-sm);
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--primary);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--size-sm);
    color: var(--primary);
    background: linear-gradient(to right, var(--primary) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: background-position 0.35s ease, color 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.btn-primary:hover {
    background-position: left;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 41, 33, 0.3);
}

.hero-content .btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-size: var(--size-base);
    padding: 1rem 2.5rem;
}

.hero-content .btn-primary:hover {
    background: #d43028;
    border-color: #d43028;
}

.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--size-sm);
    background: var(--secondary);
    color: var(--white);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
    background: #1b7a50;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 150, 98, 0.3);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--text-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--size-sm);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: background var(--transition), color var(--transition), transform 0.25s ease;
}

.btn-outline:hover {
    background: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
}

.section-dark .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.section-dark .btn-outline:hover {
    background: var(--white);
    color: var(--text-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--size-base);
}

form {
    max-width: 640px;
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: var(--size-sm);
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-secondary);
    font-size: var(--size-base);
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-color);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(192, 41, 33, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 37, 32, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    text-align: center;
    padding: var(--space-xl) var(--space-sm);
}

.stat-item h3 {
    font-size: var(--size-hero);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.1em;
}

.section-dark .stat-item h3 {
    color: var(--accent);
}

.stat-item p {
    font-size: var(--size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.section-dark .stat-item p {
    color: rgba(255,255,255,0.65);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: var(--size-xs);
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-primary {
    background: rgba(192,41,33,0.1);
    color: var(--primary);
}

.badge-secondary {
    background: rgba(34,150,98,0.1);
    color: var(--secondary);
}

.badge-accent {
    background: rgba(67,135,219,0.1);
    color: var(--accent);
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--size-sm);
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    margin-bottom: var(--space-xs);
    overflow: hidden;
    background: var(--white);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--size-base);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-color);
    transition: background var(--transition);
}

.accordion-header:hover {
    background: rgba(0,0,0,0.02);
}

.accordion-header .accordion-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.25rem;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
    padding: 0 1.25rem 1.25rem;
}

.accordion-body p {
    color: var(--text-muted);
    font-size: var(--size-sm);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.team-member {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-xs);
    border: 3px solid var(--bg-alt);
    transition: border-color 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary);
}

.team-member h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.15em;
}

.team-member p {
    color: var(--text-muted);
    font-size: var(--size-sm);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #d43028 50%, var(--accent) 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    padding: var(--space-xl) var(--space-sm);
    text-align: center;
    color: var(--white);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -80px;
    right: -80px;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 0.4em;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255,255,255,0.88);
    font-size: var(--size-lg);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    position: relative;
    z-index: 1;
    animation: none;
}

.cta-banner .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

footer.footer-mega {
    background: var(--section-dark);
    color: rgba(255,255,255,0.75);
    padding: var(--space-xl) var(--space-sm) var(--space-sm);
}

footer.footer-mega .footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

footer.footer-mega .footer-column h4 {
    color: var(--white);
    font-size: var(--size-base);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
}

footer.footer-mega .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.footer-mega .footer-column li {
    margin-bottom: 0.6rem;
}

footer.footer-mega .footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: var(--size-sm);
    transition: color 0.2s ease;
}

footer.footer-mega .footer-column a:hover {
    color: var(--white);
}

footer.footer-mega .footer-column p {
    color: rgba(255,255,255,0.6);
    font-size: var(--size-sm);
    line-height: 1.7;
}

footer.footer-mega .footer-copyright {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: var(--size-sm);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider.flip {
    transform: scaleY(-1);
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(30px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-up"] {
    transform: scale(0.92);
}

[data-animate="scale-up"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    counter-reset: step-counter;
}

.process-step {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    position: relative;
    counter-increment: step-counter;
}

.process-step::before {
    content: counter(step-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--size-lg);
    margin-bottom: var(--space-xs);
}

.process-step h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.3em;
}

.process-step p {
    color: var(--text-muted);
    font-size: var(--size-sm);
}

.material-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-sm);
}

.material-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: var(--space-sm);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.material-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.material-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.material-item h4 {
    font-size: var(--size-base);
    margin-bottom: 0.2em;
}

.material-item p {
    font-size: var(--size-sm);
    color: var(--text-muted);
    margin: 0;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.65rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
}

.timeline-item h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.2em;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: var(--size-sm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--space-sm);
}

.contact-info-block i {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-info-block h4 {
    font-size: var(--size-base);
    margin-bottom: 0.15em;
}

.contact-info-block p {
    color: var(--text-muted);
    font-size: var(--size-sm);
    margin: 0;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: var(--size-sm);
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
    opacity: 0.5;
}

.service-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg) 0;
}

.service-highlight.alt {
    grid-template-columns: 1fr 2fr;
}

.service-highlight img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 140px 1fr;
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-card .event-date {
    background: linear-gradient(135deg, var(--primary), #d43028);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.event-card .event-date .month {
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.event-card .event-date .day {
    font-size: var(--size-xxl);
    font-weight: 900;
    line-height: 1;
}

.event-card .event-body {
    padding: var(--space-sm);
}

.event-card .event-body h3 {
    font-size: var(--size-lg);
    margin-bottom: 0.3em;
}

.event-card .event-body p {
    font-size: var(--size-sm);
    color: var(--text-muted);
    margin-bottom: 0.5em;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table-wrapper th {
    background: var(--section-dark);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: var(--size-sm);
}

.table-wrapper td {
    padding: 0.75rem 1rem;
    font-size: var(--size-sm);
    color: var(--text-color);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.table-wrapper tr:hover td {
    background: rgba(0,0,0,0.015);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
    font-size: var(--size-sm);
}

.alert-info {
    background: rgba(67,135,219,0.1);
    color: var(--accent);
    border-left: 4px solid var(--accent);
}

.alert-success {
    background: rgba(34,150,98,0.1);
    color: var(--secondary);
    border-left: 4px solid var(--secondary);
}

.alert-warning {
    background: rgba(192,41,33,0.08);
    color: var(--primary);
    border-left: 4px solid var(--primary);
}

blockquote {
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(34,150,98,0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-color);
}

blockquote p:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media screen and (max-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-highlight {
        grid-template-columns: 1.5fr 1fr;
    }

    .service-highlight.alt {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --size-hero: 2.5rem;
        --size-xxl: 2rem;
    }

    .navbar {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 0;
        padding: 0.75rem 1.25rem;
        max-width: 100vw;
        flex-wrap: wrap;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-menu {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        width: 100%;
        gap: 0;
        transition: max-height 0.35s ease;
        order: 3;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.7rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .hero {
        min-height: 85vh;
        padding: 8rem var(--space-sm) var(--space-xl);
    }

    .header-hero {
        padding: 8rem var(--space-sm) 3rem;
    }

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .two-col-layout.reverse {
        direction: ltr;
    }

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

    .service-highlight,
    .service-highlight.alt {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 110px 1fr;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --size-hero: 2.2rem;
        --size-xxl: 1.75rem;
        --size-xl: 1.4rem;
        --space-xl: 56px;
        --space-xxl: 72px;
    }

    .container {
        padding: 0 var(--space-xs);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-content p {
        font-size: var(--size-base);
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }

    .gallery-item img {
        height: 180px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .cta-banner {
        padding: var(--space-lg) var(--space-sm);
        border-radius: var(--radius);
    }

    footer.footer-mega .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card .event-date {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .pricing-card {
        padding: var(--space-md) var(--space-sm);
    }

    .section-header h2 {
        font-size: var(--size-xl);
    }

    .material-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --size-hero: 1.9rem;
        --size-xxl: 1.55rem;
        --space-xl: 48px;
    }

    body {
        font-size: 15px;
    }

    .hero {
        min-height: 90vh;
        padding: 7rem var(--space-xs) var(--space-lg);
    }

    .header-hero {
        padding: 7rem var(--space-xs) 2.5rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero-content .btn-primary {
        width: auto;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .trust-bar {
        flex-direction: column;
        align-items: center;
    }

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

    .gallery-item img {
        height: 220px;
    }

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

    footer.footer-mega .footer-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 2rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media print {
    .navbar,
    .mobile-menu-toggle,
    .hero-scroll-indicator,
    .cta-banner {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    .hero::before,
    .hero::after {
        display: none;
    }
}
