/* ============================================
   Terra Mia Estates HOA — Stylesheet
   Charcoal + Coral | Geometric Modern
   ============================================ */

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

:root {
    --charcoal-900: #1a1d23;
    --charcoal-800: #2d3139;
    --charcoal-700: #374151;
    --charcoal-600: #4b5563;
    --charcoal-500: #6b7280;
    --charcoal-100: #f3f4f6;
    --charcoal-50: #f9fafb;

    --coral-500: #FF6B4A;
    --coral-400: #FF8566;
    --coral-300: #FFA088;
    --coral-600: #E5553A;

    --white: #ffffff;
    --off-white: #fafafa;

    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-coral: 0 8px 30px rgba(255,107,74,0.30);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal-800);
    background: var(--off-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ---------- Background Geometric Shapes ---------- */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.04;
}

.shape.circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--coral-500);
    top: -200px;
    right: -150px;
}

.shape.circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--charcoal-700);
    bottom: 20%;
    left: -100px;
}

.shape.rect-1 {
    width: 200px;
    height: 200px;
    background: var(--coral-500);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.shape.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--charcoal-700);
    top: 60%;
    left: 8%;
    opacity: 0.03;
}

.shape.dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--charcoal-600) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 75%;
    right: 15%;
    opacity: 0.06;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
}

.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-coral);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-700);
}

.btn-secondary:hover {
    background: var(--charcoal-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal-800);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

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

/* ---------- Section Shared ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--charcoal-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--charcoal-600);
    max-width: 600px;
    line-height: 1.7;
}

.accent-text {
    color: var(--coral-500);
}

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

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--charcoal-900);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--coral-500);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-accent {
    color: var(--coral-500);
}

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

.nav-links a:not(.nav-cta) {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-700);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-500);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--coral-500);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--charcoal-800);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

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

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--charcoal-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 40px 24px;
}

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

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal-800);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--coral-500);
}

.mobile-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--coral-500);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-top: 8px;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,107,74,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,107,74,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(55,65,81,0.5) 0%, transparent 70%);
}

.hero-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
}

.geo-square {
    width: 180px;
    height: 180px;
    border: 3px solid rgba(255,107,74,0.25);
    top: 15%;
    right: 8%;
    transform: rotate(30deg);
}

.geo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,107,74,0.12);
    bottom: 25%;
    right: 15%;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,107,74,0.4) 2px, transparent 2px);
    background-size: 16px 16px;
    top: 30%;
    right: 25%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,107,74,0.12);
    border: 1px solid rgba(255,107,74,0.25);
    color: var(--coral-300);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-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.5; transform: scale(1.4); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-actions .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.hero-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--charcoal-900);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--coral-400);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: var(--off-white);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---------- Services ---------- */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--coral-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255,107,74,0.12) 0%, rgba(255,107,74,0.04) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--charcoal-600);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--charcoal-900);
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(255,107,74,0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(255,107,74,0.06) 0%, transparent 40%);
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-500);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-floating-card {
    position: absolute;
    bottom: 24px;
    left: -16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-shadow: var(--shadow-lg);
}

.floating-card-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-500);
}

.floating-card-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal-900);
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--white);
}

.about-highlights {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(255,107,74,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-400);
}

.highlight-item span {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

/* ---------- Community ---------- */
.community {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--off-white);
}

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

.community-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.community-card-img {
    overflow: hidden;
    height: 200px;
}

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

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

.community-card-content {
    padding: 24px;
}

.community-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 8px;
}

.community-card-desc {
    font-size: 0.92rem;
    color: var(--charcoal-600);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--coral-500);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.15);
    top: -80px;
    left: -80px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    bottom: -60px;
    right: 10%;
}

.cta-rect {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.06);
    top: 20%;
    right: 5%;
    transform: rotate(45deg);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn-outline-light {
    border-color: rgba(255,255,255,0.6);
}

.cta-actions .btn-outline-light:hover {
    background: var(--white);
    color: var(--coral-500);
    border-color: var(--white);
}

/* ---------- Contact ---------- */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--off-white);
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--charcoal-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

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

.detail-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(255,107,74,0.12) 0%, rgba(255,107,74,0.04) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-500);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.detail-link {
    color: var(--coral-500);
    font-weight: 600;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: var(--coral-600);
    text-decoration: underline;
}

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

/* Form */
.contact-form-wrapper {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
}

.form-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--coral-500), var(--coral-300));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--charcoal-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255,107,74,0.10);
}

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

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

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

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

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,107,74,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--coral-500);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--charcoal-600);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--charcoal-900);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 300px;
}

.footer-nav-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--coral-400);
}

.footer-address {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-phone {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--coral-400);
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: var(--coral-300);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}

.copyright,
.footer-legal {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid,
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-img-wrapper img {
        height: 360px;
    }

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

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

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

    .mobile-toggle {
        display: flex;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

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

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

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

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

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

    .geo-square {
        width: 100px;
        height: 100px;
    }

    .geo-circle {
        width: 70px;
        height: 70px;
    }
}

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

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

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

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

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