/* ========================================
   PEMCO Realty & Mortgage — Styles
   Classic & Elegant · Burgundy + Blush
   ======================================== */

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

:root {
    --color-burgundy: #781f2d;
    --color-burgundy-dark: #5a1621;
    --color-burgundy-light: #9e2a3d;
    --color-blush: #f5e6e0;
    --color-blush-light: #faf3f0;
    --color-blush-dark: #e8d0c8;
    --color-cream: #fdf8f6;
    --color-charcoal: #2c2424;
    --color-text: #3d2b2b;
    --color-text-light: #6b5555;
    --color-text-muted: #9a8585;
    --color-white: #ffffff;
    --color-border: rgba(120, 31, 45, 0.12);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

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

    --shadow-sm: 0 1px 3px rgba(44, 36, 36, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 36, 36, 0.08);
    --shadow-lg: 0 8px 32px rgba(44, 36, 36, 0.10);
    --shadow-xl: 0 16px 48px rgba(44, 36, 36, 0.12);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -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;
}

ul {
    list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-charcoal);
}

em {
    font-style: italic;
}

/* ---------- SECTION LABEL ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
}

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

/* ---------- SECTION TITLE ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    color: var(--color-charcoal);
}

/* ---------- SECTION BODY ---------- */
.section-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 560px;
}

.section-body--wide {
    max-width: 520px;
    margin: 0 auto;
}

/* ---------- TEXT CENTER ---------- */
.text-center {
    text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-burgundy);
    border-color: var(--color-white);
}

.btn-text {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-burgundy);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: gap var(--transition-base);
}

.btn-text:hover {
    gap: var(--space-md);
}

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

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    background: rgba(253, 248, 246, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--color-border);
}

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

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.logo-mark {
    color: var(--color-white);
    transition: color var(--transition-base);
}

.header.scrolled .logo-mark {
    color: var(--color-burgundy);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-white);
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.header.scrolled .logo-name {
    color: var(--color-burgundy);
}

.header.scrolled .logo-sub {
    color: var(--color-text-muted);
}

/* ---------- NAV ---------- */
.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: background var(--transition-base), transform var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    left: 0;
    transition: transform var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.header.scrolled .hamburger {
    background: var(--color-burgundy);
}

.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: var(--color-burgundy);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.header.scrolled .nav-toggle[aria-expanded="true"] .hamburger,
.header.scrolled .nav-toggle[aria-expanded="true"] .hamburger::before,
.header.scrolled .nav-toggle[aria-expanded="true"] .hamburger::after {
    background: var(--color-burgundy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.header.scrolled .nav-link {
    color: var(--color-text-light);
}

.header.scrolled .nav-link:hover {
    color: var(--color-burgundy);
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-white);
    color: var(--color-burgundy) !important;
    border-color: var(--color-white);
}

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

.header.scrolled .nav-cta {
    border-color: var(--color-burgundy);
    color: var(--color-burgundy) !important;
}

.header.scrolled .nav-cta:hover {
    background: var(--color-burgundy);
    color: var(--color-white) !important;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 36, 0.72) 0%,
        rgba(120, 31, 45, 0.55) 50%,
        rgba(44, 36, 36, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    max-width: 700px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title em {
    font-weight: 500;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s ease infinite;
    transition: color var(--transition-fast);
}

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- SECTIONS ---------- */
.section {
    padding: var(--space-5xl) 0;
}

/* ---------- ABOUT ---------- */
.about {
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

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

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

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-md);
}

.about-badge svg {
    flex-shrink: 0;
}

.about-content {
    padding: var(--space-xl) 0;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-burgundy);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-suffix {
    font-size: 1.2rem;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ---------- SERVICES ---------- */
.services {
    background: var(--color-blush-light);
    position: relative;
    overflow: hidden;
}

.services-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--color-burgundy) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-blush);
    color: var(--color-burgundy);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
}

.service-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 100%;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-burgundy);
    flex-shrink: 0;
    opacity: 0.6;
}

/* ---------- AREAS ---------- */
.areas {
    background: var(--color-cream);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.areas-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.area-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.area-item:hover {
    padding-left: var(--space-sm);
}

.area-item:last-child {
    border-bottom: none;
}

.area-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-charcoal);
    flex-shrink: 0;
}

.area-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.areas-img-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    background: var(--color-blush);
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-burgundy);
    opacity: 0.15;
    position: absolute;
    top: var(--space-lg);
    left: var(--space-xl);
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.testimonial-author-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    display: block;
}

.testimonial-author-detail {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(90, 22, 33, 0.88) 0%,
        rgba(120, 31, 45, 0.80) 100%
    );
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-title em {
    font-weight: 500;
}

.cta-body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--color-cream);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-blush);
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-detail-text a {
    color: var(--color-text);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

.contact-detail-text a:hover {
    color: var(--color-burgundy);
}

/* ---------- CONTACT FORM ---------- */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    color: var(--color-charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-blush-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(120, 31, 45, 0.08);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(120, 31, 45, 0.06);
    border-radius: var(--radius-sm);
    color: var(--color-burgundy);
    font-size: 0.9rem;
    margin-top: var(--space-md);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.logo-light .logo-name {
    color: var(--color-white);
}

.logo-light .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: var(--space-lg);
    max-width: 280px;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-burgundy);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-burgundy-dark);
    transform: translateY(-2px);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .areas-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-images {
        max-width: 500px;
    }

    .about-img-accent {
        right: 0;
        bottom: -20px;
    }

    .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-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-5xl: 5rem;
        --space-4xl: 3rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        color: var(--color-text) !important;
        font-size: 0.85rem;
    }

    .nav-link:hover {
        color: var(--color-burgundy) !important;
    }

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

    .nav-cta {
        border-color: var(--color-burgundy) !important;
        color: var(--color-burgundy) !important;
        text-align: center;
        width: 100%;
    }

    .nav-cta:hover {
        background: var(--color-burgundy) !important;
        color: var(--color-white) !important;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

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

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

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

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

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .about-img-accent {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: var(--space-md);
    }

    .about-badge {
        position: relative;
        top: 0;
        left: 0;
        display: inline-flex;
        margin-bottom: var(--space-md);
    }

    .about-grid {
        gap: var(--space-2xl);
    }
}

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

    .section {
        padding: var(--space-3xl) 0;
    }

    .service-card {
        padding: var(--space-xl);
    }

    .contact-form-wrapper {
        padding: var(--space-xl);
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

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

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 36, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {
    .nav-overlay {
        display: none;
    }
}
