/* ============================================
   Raymond Bonilla — Comparion Insurance Agency
   Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    line-height: 1.6;
    color: #133913;
    background-color: #fefdf8;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e5c1e;
    background: #dce8dc;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(254, 253, 248, 0.2);
    color: #fefdf8;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: #133913;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.0625rem;
    color: #184a18;
    opacity: 0.75;
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-sub {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e5c1e;
    color: #fefdf8;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid #1e5c1e;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: pointer;
}

.btn-primary:hover {
    background: #184a18;
    border-color: #184a18;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 92, 30, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fefdf8;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid rgba(254, 253, 248, 0.5);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(254, 253, 248, 0.15);
    border-color: #fefdf8;
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fefdf8;
    color: #1e5c1e;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid #fefdf8;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: pointer;
}

.btn-white:hover {
    background: #dce8dc;
    border-color: #dce8dc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white-lg {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fefdf8;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid rgba(254, 253, 248, 0.5);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(254, 253, 248, 0.12);
    border-color: #fefdf8;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
header.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(30, 92, 30, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}

header:not(.nav-scrolled) {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.125rem;
    color: #1e5c1e;
}

.nav-logo-text {
    font-weight: 400;
}

header:not(.nav-scrolled) .nav-logo {
    color: #fefdf8;
}

header:not(.nav-scrolled) .nav-logo-icon rect {
    fill: #fefdf8;
}

header:not(.nav-scrolled) .nav-logo-icon path {
    fill: #1e5c1e;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #184a18;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e5c1e;
    border-radius: 2px;
    transition: width 0.25s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #1e5c1e;
}

header:not(.nav-scrolled) .nav-links a {
    color: rgba(254, 253, 248, 0.85);
}

header:not(.nav-scrolled) .nav-links a:hover {
    color: #fefdf8;
}

header:not(.nav-scrolled) .nav-links a::after {
    background: #fefdf8;
}

.nav-cta {
    background: #1e5c1e !important;
    color: #fefdf8 !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #184a18 !important;
    transform: translateY(-1px);
}

header:not(.nav-scrolled) .nav-cta {
    background: rgba(254, 253, 248, 0.2) !important;
    border: 1px solid rgba(254, 253, 248, 0.4);
}

header:not(.nav-scrolled) .nav-cta:hover {
    background: rgba(254, 253, 248, 0.3) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e5c1e;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

header:not(.nav-scrolled) .nav-hamburger {
    background: #fefdf8;
}

.nav-toggle[aria-expanded="true"] .nav-hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f2c0f 0%, #1e5c1e 50%, #2d7a2d 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(220, 232, 220, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(254, 253, 248, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(254, 253, 248, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 253, 248, 0.12);
    border: 1px solid rgba(254, 253, 248, 0.2);
    color: #dce8dc;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fefdf8;
    margin-bottom: 24px;
}

.hero-em {
    font-style: italic;
    color: #bdd6bd;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(254, 253, 248, 0.8);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero visual & floating cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.hero-card-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
}

.hero-card-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hero-card-floating {
    position: absolute;
    background: #fefdf8;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.hero-card-1 {
    bottom: 40px;
    left: -20px;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 40px;
    right: -20px;
    animation-delay: 1.3s;
}

.hero-card-3 {
    bottom: 160px;
    right: -40px;
    animation-delay: 2.6s;
    background: #1e5c1e;
    color: #fefdf8;
}

.hero-card-3 span {
    color: #fefdf8;
    font-weight: 600;
    font-size: 0.9375rem;
}

.stat-number {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #1e5c1e;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: #184a18;
    opacity: 0.7;
    margin-top: 2px;
}

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

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: #fefdf8;
}

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

.service-card {
    background: #fefdf8;
    border: 1px solid #dce8dc;
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(30, 92, 30, 0.1);
    border-color: #bdd6bd;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: #dce8dc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: #1e5c1e;
}

.service-card:hover .service-icon svg {
    stroke: #fefdf8;
}

.service-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.3125rem;
    color: #133913;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9375rem;
    color: #184a18;
    opacity: 0.75;
    line-height: 1.7;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: #f0f5f0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(30, 92, 30, 0.12);
}

.about-img-wrap img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: #dce8dc;
    border-radius: 20px;
    z-index: -1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #184a18;
    opacity: 0.8;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid #dce8dc;
    border-bottom: 1px solid #dce8dc;
    margin: 8px 0;
}

.about-stat-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    color: #1e5c1e;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8125rem;
    color: #184a18;
    opacity: 0.65;
    margin-top: 4px;
}

.about-stat-divider {
    width: 1px;
    height: 48px;
    background: #bdd6bd;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background: #fefdf8;
}

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

.why-card {
    background: #f0f5f0;
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 92, 30, 0.1);
}

.why-card-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 3.5rem;
    color: #dce8dc;
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.why-card:hover .why-card-num {
    color: #bdd6bd;
}

.why-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.375rem;
    color: #133913;
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 0.9375rem;
    color: #184a18;
    opacity: 0.75;
    line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: #f0f5f0;
}

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

.testimonial-card {
    background: #fefdf8;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid #dce8dc;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 92, 30, 0.08);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #184a18;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #133913;
}

.testimonial-location {
    font-size: 0.8125rem;
    color: #184a18;
    opacity: 0.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2c0f 0%, #1e5c1e 60%, #2d7a2d 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(220, 232, 220, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(254, 253, 248, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(254, 253, 248, 0.08);
    border: 1px solid rgba(254, 253, 248, 0.15);
    border-radius: 28px;
    padding: 64px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #fefdf8;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(254, 253, 248, 0.75);
    line-height: 1.75;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: #fefdf8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-desc {
    font-size: 1.0625rem;
    color: #184a18;
    opacity: 0.75;
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #dce8dc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1e5c1e;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    color: #133913;
}

.contact-link {
    transition: color 0.2s;
}

.contact-link:hover {
    color: #1e5c1e;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 92, 30, 0.1);
}

/* Contact Form */
.contact-form-wrap {
    width: 100%;
}

.contact-form-card {
    background: #f0f5f0;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #dce8dc;
}

.form-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #133913;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 0.9375rem;
    color: #184a18;
    opacity: 0.7;
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #184a18;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dce8dc;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #133913;
    background: #fefdf8;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8fbc8f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1e5c1e;
    box-shadow: 0 0 0 3px rgba(30, 92, 30, 0.1);
}

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

/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    background: #dce8dc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #133913;
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.9375rem;
    color: #184a18;
    opacity: 0.75;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: #0f2c0f;
    color: rgba(254, 253, 248, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.125rem;
    color: #fefdf8;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.55);
    max-width: 280px;
}

.footer-heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.0625rem;
    color: #fefdf8;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(254, 253, 248, 0.55);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #bdd6bd;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.footer-contact-list a {
    color: rgba(254, 253, 248, 0.55);
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #bdd6bd;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 253, 248, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(254, 253, 248, 0.35);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-card-floating {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-card-main img {
        height: 440px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fefdf8;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: #184a18 !important;
        font-size: 1.0625rem;
    }

    .nav-links a::after {
        background: #1e5c1e !important;
    }

    .nav-cta {
        background: #1e5c1e !important;
        color: #fefdf8 !important;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 44, 15, 0.5);
        z-index: 999;
    }

    .mobile-overlay.visible {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        min-height: 360px;
        order: -1;
    }

    .hero-card-main {
        max-width: 100%;
    }

    .hero-card-main img {
        height: 360px;
    }

    .hero-card-floating {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        justify-content: center;
        text-align: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrap img {
        height: 400px;
    }

    .about-accent {
        display: none;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions a {
        justify-content: center;
    }

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

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

    .contact-form-card {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .about-stat-divider {
        width: 48px;
        height: 1px;
    }
}
