/* ============================================
   Johnson Bus Services LLC — Brand Styles
   Palette: Forest Green + Off-White + Gold
   ============================================ */

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

:root {
    --green-900: #0D1F17;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-100: #D8F3DC;
    --green-50: #F0FFF4;
    
    --gold-500: #D4A843;
    --gold-400: #E0BC5A;
    --gold-300: #E8C96E;
    
    --off-white: #FAFAF5;
    --cream: #F5F5EE;
    --warm-gray: #8C8C80;
    --dark-text: #1A1A16;
    --medium-text: #4A4A42;
    --light-text: #7A7A70;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.1);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.12);
    --shadow-xl: 0 16px 48px rgba(27, 67, 50, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-text);
    background-color: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.875rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.logo--light .logo-text {
    color: #fff;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--medium-text);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--transition);
}

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

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

.nav-cta {
    background: var(--green-800);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}

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

.nav-cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--green-800);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45, 106, 79, 0.5) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(212, 168, 67, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

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

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--green-900);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 520px;
}

.hero-card-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.stat-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-card-inner {
    padding: 20px 24px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--light-text);
    line-height: 1.4;
}

.stat-card-1 {
    top: -20px;
    left: -40px;
    animation: float-1 6s ease-in-out infinite;
}

.stat-card-2 {
    bottom: 60px;
    left: -30px;
    animation: float-2 7s ease-in-out infinite;
}

.stat-card-3 {
    bottom: -20px;
    right: -20px;
    animation: float-3 5.5s ease-in-out infinite;
}

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

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

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-tag--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark-text);
}

.section-title--light {
    color: #fff;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(27, 67, 50, 0.08);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 67, 50, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: var(--radius-md);
    color: var(--green-700);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--green-800);
    color: #fff;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--light-text);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--green-800);
    color: #fff;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-accent-box .accent-number {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-500);
    margin-bottom: 4px;
}

.about-accent-box .accent-year {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-content {
    max-width: 520px;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--medium-text);
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
    flex-shrink: 0;
}

.value-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-text);
}

/* ============================================
   COMMUNITIES
   ============================================ */
.communities {
    padding: 100px 0;
    background: var(--green-800);
}

.communities .section-header {
    margin-bottom: 48px;
}

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

.community-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    cursor: pointer;
}

.community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-card:hover img {
    transform: scale(1.05);
}

.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 31, 23, 0.85) 0%, rgba(13, 31, 23, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background var(--transition);
}

.community-card:hover .community-card-overlay {
    background: linear-gradient(to top, rgba(13, 31, 23, 0.9) 0%, rgba(13, 31, 23, 0.3) 60%, transparent 100%);
}

.community-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.community-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--off-white);
}

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

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(27, 67, 50, 0.08);
    transition: all var(--transition);
    position: relative;
}

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

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--green-100);
    position: absolute;
    top: 20px;
    right: 28px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--medium-text);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-text);
}

.author-context {
    font-size: 0.8125rem;
    color: var(--light-text);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--green-700);
}

.cta-card {
    background: var(--green-800);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

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

.contact-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-text);
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
    flex-shrink: 0;
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--light-text);
    font-weight: 500;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--dark-text);
    line-height: 1.5;
}

.contact-detail a {
    color: var(--green-700);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--green-600);
    text-decoration: underline;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--dark-text);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--warm-gray);
}

.form-input:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
    background: #fff;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%231B4332' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

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

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

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.9375rem;
    color: var(--medium-text);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

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

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold-500);
}

.footer-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-address a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        height: 420px;
        max-width: 520px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 480px;
        max-width: 520px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        padding: 48px;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }
    
    .nav.open {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-cta {
        padding: 14px 32px;
        font-size: 1.0625rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-layout {
        gap: 40px;
    }
    
    .hero-visual {
        height: 360px;
    }
    
    .stat-card-1 {
        left: -10px;
        top: -10px;
    }
    
    .stat-card-2 {
        left: -10px;
    }
    
    .stat-card-3 {
        right: -10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .communities-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 36px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .about-images {
        height: 400px;
    }
    
    .about-img-accent {
        width: 200px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-accent-box {
        right: -10px;
        top: 20px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .stat-card-inner {
        padding: 16px 18px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
