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

:root {
    --primary-color: #25B9D0;
    --primary-rgb: 37, 185, 208;
    --secondary-color: #A52F1D;
    --secondary-rgb: 165, 47, 29;
    --accent-color: #508BF1;
    --accent-rgb: 80, 139, 241;
    --bg-color: #FAF8F5;
    --bg-alt: #F0ECE6;
    --text-color: #2C2520;
    --text-muted: #6B6055;
    --section-dark: #2C2520;
    --section-accent: #EDE6DD;
    --border-color: #D8D2C8;
    --white: #ffffff;
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --max-width: 1200px;
    --gutter: 30px;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --transition: 0.3s ease;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.35);
    }
    50% {
        box-shadow: 0 0 22px rgba(var(--primary-rgb), 0.55);
    }
}

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

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

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

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

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

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

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.75em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

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

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

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

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.grid-2 > * {
    flex: 1 1 calc(50% - var(--gutter));
    min-width: 280px;
}

.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.grid-3 > * {
    flex: 1 1 calc(33.333% - var(--gutter));
    min-width: 260px;
}

.grid-4 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.grid-4 > * {
    flex: 1 1 calc(25% - var(--gutter));
    min-width: 220px;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 72px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo img {
    height: 38px;
    width: auto;
}

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

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

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

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

.nav-link.active::after {
    transform: scaleX(1);
}

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

main {
    padding-top: 72px;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--section-dark);
    overflow: hidden;
}

.hero video,
.hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 16px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 37, 32, 0.78) 0%, rgba(44, 37, 32, 0.45) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
    bottom: -80px;
    right: -60px;
    z-index: 1;
    animation: float 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px var(--gutter);
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out both;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-content .btn {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
}

.header-hero {
    position: relative;
    padding: 60px 0 50px;
    background: linear-gradient(135deg, var(--section-dark) 0%, #3a322c 100%);
    text-align: center;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    top: -80px;
    right: -50px;
    z-index: 0;
}

.header-hero h1 {
    color: var(--white);
    font-size: 2.25rem;
    position: relative;
    z-index: 1;
}

.header-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.header-hero .breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: 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.85);
}

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

.section-dark .text-muted {
    color: rgba(255, 255, 255, 0.6);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 12px auto 0;
}

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

.section-dark .section-header h2::after {
    background: var(--primary-color);
}

.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    overflow: hidden;
}

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

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.card .btn {
    margin-top: 20px;
    align-self: flex-start;
}

.feature {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color);
    font-size: 1.625rem;
}

.feature h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

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

.section-dark .feature {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.section-dark .feature-icon {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.15));
    border-color: rgba(var(--primary-rgb), 0.3);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    position: relative;
}

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

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

.testimonial-card .testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

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

.testimonial-card .testimonial-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

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

.section-dark .testimonial-card .testimonial-author {
    color: var(--white);
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-family: var(--font-primary);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pricing-card .price-period {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

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

.pricing-card .btn {
    margin-top: auto;
}

.two-col-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.two-col-layout > * {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.two-col-layout img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.two-col-layout h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.two-col-layout p {
    color: var(--text-muted);
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.35s ease;
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

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

.btn-primary:hover::before {
    transform: scaleX(1);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    padding: 12px 28px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.btn-secondary:hover {
    background: #8a2718;
    border-color: #8a2718;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

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

.section-dark .btn-primary::before {
    background: var(--white);
}

.section-dark .btn-primary:hover {
    color: var(--section-dark);
}

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

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

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--white);
    border: 1px solid var(--border-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-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.section-dark .form-group label {
    color: var(--white);
}

.section-dark .form-group input,
.section-dark .form-group textarea,
.section-dark .form-group select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-dark .form-group input::placeholder,
.section-dark .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.section-dark .form-group input:focus,
.section-dark .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

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

.faq-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    transition: border-color var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: color var(--transition);
}

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

.faq-question .faq-icon {
    font-size: 1.25rem;
    transition: transform var(--transition);
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonials-track .testimonial-card {
    min-width: 100%;
    flex-shrink: 0;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonials-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition), color var(--transition);
}

.testimonials-controls button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots span {
    width: 10px;
    height: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.testimonials-dots span.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.section-dark .testimonials-controls button {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-dark .testimonials-controls button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section-dark .testimonials-dots span {
    border-color: rgba(255, 255, 255, 0.3);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.portfolio-item {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 280px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 37, 32, 0.85) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    min-width: 140px;
}

.stat-item .stat-number {
    font-family: var(--font-primary);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.section-dark .stat-item .stat-number {
    color: var(--primary-color);
}

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

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid;
}

.badge-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.08);
}

.badge-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: rgba(var(--secondary-rgb), 0.08);
}

.badge-accent {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(var(--accent-rgb), 0.08);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-badge i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.cta-block {
    text-align: center;
    padding: 60px var(--gutter);
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e9aad 100%);
    color: var(--white);
}

.cta-block h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 25px;
}

.cta-block .btn-primary {
    border-color: var(--white);
    color: var(--white);
}

.cta-block .btn-primary::before {
    background: var(--white);
}

.cta-block .btn-primary:hover {
    color: var(--primary-color);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    background: var(--bg-color);
}

.timeline-item h3 {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.timeline-item .timeline-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

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

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.event-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    overflow: hidden;
    transition: border-color 0.35s ease;
}

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

.event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 18px;
    min-width: 80px;
}

.event-date-block .event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.event-date-block .event-day {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.event-details p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.event-details .event-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.insights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.insight-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.35s ease;
}

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

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

.insight-card:hover img {
    transform: scale(1.04);
}

.insight-card-body {
    padding: 20px;
}

.insight-card-body .insight-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 8px;
}

.insight-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

.insight-card-body .read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
}

.insight-card-body .read-more::after {
    content: ' \2192';
    transition: transform var(--transition);
    display: inline-block;
}

.insight-card-body .read-more:hover::after {
    transform: translateX(4px);
}

.map-container {
    width: 100%;
    height: 350px;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.contact-info-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.contact-info-item i {
    font-size: 1.625rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.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-in"] {
    transform: scale(0.92);
}

[data-animate="scale-in"].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);
}

footer.footer-minimal {
    padding: 30px var(--gutter);
    background: var(--section-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

footer.footer-minimal .footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

footer.footer-minimal .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

footer.footer-minimal .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

footer.footer-minimal .footer-links a:hover {
    color: var(--primary-color);
}

footer.footer-minimal p {
    margin: 0;
    font-size: 0.85rem;
}

footer.footer-minimal .footer-social {
    display: flex;
    gap: 12px;
}

footer.footer-minimal .footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: color var(--transition);
}

footer.footer-minimal .footer-social a:hover {
    color: var(--primary-color);
}

.mobile-nav-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 70vh;
    overflow-y: auto;
    display: none;
}

.mobile-nav-sheet.visible {
    transform: translateY(0);
}

.mobile-nav-sheet .mobile-nav-list {
    list-style: none;
    padding: 10px 0 30px;
    margin: 0;
}

.mobile-nav-sheet .mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-sheet .mobile-nav-list a {
    display: block;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}

.mobile-nav-sheet .mobile-nav-list a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.04);
}

.mobile-nav-sheet .mobile-nav-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-color);
    margin: 10px auto;
    border-radius: 2px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), background var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

table th {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-alt);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

table td {
    color: var(--text-muted);
}

table tr:hover td {
    background: rgba(var(--primary-rgb), 0.03);
}

blockquote {
    border-left: 3px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--bg-alt);
    font-style: italic;
    color: var(--text-muted);
}

blockquote p {
    margin-bottom: 0;
}

.alert {
    padding: 16px 20px;
    border: 1px solid;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-info {
    background: rgba(var(--primary-rgb), 0.06);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: #1a8a9c;
}

.alert-success {
    background: rgba(39, 174, 96, 0.06);
    border-color: rgba(39, 174, 96, 0.2);
    color: #1d7a47;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.2);
    color: #92610b;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

@media screen and (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

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

    .content-section {
        padding: 50px 0;
    }

    .stats-bar {
        gap: 30px;
    }

    .portfolio-item {
        flex: 1 1 calc(50% - 10px);
    }

    .insight-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 64px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-sheet {
        display: block;
    }

    main {
        padding-top: 64px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

    .hero {
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .header-hero {
        padding: 40px 0 35px;
    }

    .header-hero h1 {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

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

    .two-col-layout {
        flex-direction: column;
        gap: 30px;
    }

    .two-col-layout.reverse {
        flex-direction: column;
    }

    .two-col-layout > * {
        min-width: 100%;
    }

    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > * {
        min-width: 100%;
        flex-basis: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .stats-bar {
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 2.25rem;
    }

    .portfolio-item {
        flex: 1 1 100%;
    }

    .event-card {
        flex: 1 1 100%;
    }

    .insight-card {
        flex: 1 1 100%;
    }

    .contact-info-item {
        min-width: 100%;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .cta-block {
        padding: 40px var(--gutter);
    }

    .cta-block h2 {
        font-size: 1.625rem;
    }

    .timeline {
        padding-left: 30px;
    }

    footer.footer-minimal .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar {
        padding: 0 16px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        min-height: 65vh;
    }

    .hero-content {
        padding: 30px 16px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 30px 0;
    }

    .card {
        padding: 20px;
    }

    .feature {
        padding: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date-block {
        flex-direction: row;
        gap: 8px;
        padding: 12px 20px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 0.9rem;
    }
}

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

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    [data-stagger] > * {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .navbar,
    .mobile-menu-toggle,
    .mobile-nav-sheet,
    .back-to-top,
    .hero-scroll-indicator {
        display: none !important;
    }

    main {
        padding-top: 0;
    }

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

    a {
        color: #000;
        text-decoration: underline;
    }
}
