/* ============================================
   Your Home Sold Guaranteed — Tarra Pembroke
   Classic & Elegant Real Estate Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-teal-900: #134f4a;
    --color-teal-800: #115e59;
    --color-teal-700: #0d9488;
    --color-teal-600: #0f766e;
    --color-teal-500: #14b8a6;
    --color-teal-100: #ccfbf1;
    --color-teal-50: #f0fdfa;
    
    --color-slate-950: #0f172a;
    --color-slate-900: #1e293b;
    --color-slate-800: #334155;
    --color-slate-700: #475569;
    --color-slate-600: #64748b;
    --color-slate-500: #94a3b8;
    --color-slate-400: #cbd5e1;
    --color-slate-300: #e2e8f0;
    --color-slate-200: #f1f5f9;
    --color-slate-100: #f8fafc;
    --color-slate-50: #fafbfc;
    
    --color-cream: #faf9f7;
    --color-warm-white: #fefdfb;
    --color-gold: #b8956a;
    --color-gold-light: #d4b896;
    
    --color-text-primary: #1e293b;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-text-inverse: #f8fafc;
    
    --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;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-slower: 600ms ease;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-teal-700);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-teal-600);
}

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

ul, ol {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-teal-800);
    color: var(--color-text-inverse);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-md);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-slate-900);
}

/* --- Section Eyebrow --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-700);
    margin-bottom: var(--space-md);
}

/* --- Section Title --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--color-slate-900);
}

.section-title--light {
    color: var(--color-text-inverse);
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle--light {
    color: var(--color-slate-400);
}

/* --- Text Center --- */
.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-teal-700);
    color: var(--color-text-inverse);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background: var(--color-teal-600);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-slate-700);
    border: 1.5px solid var(--color-slate-300);
}

.btn-ghost:hover {
    border-color: var(--color-teal-700);
    color: var(--color-teal-700);
    background: var(--color-teal-50);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-slate-200);
    transition: box-shadow var(--transition-base);
}

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

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

/* --- Logo --- */
.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-slate-900);
    text-decoration: none;
}

.logo-link:hover {
    color: var(--color-slate-900);
}

.logo-mark {
    color: var(--color-teal-700);
    flex-shrink: 0;
}

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

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.logo-agent {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* --- Navigation --- */
.nav-list {
    display: none;
    align-items: center;
    gap: var(--space-xs);
}

@media (min-width: 900px) {
    .nav-list {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-slate-700);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-teal-700);
    background: var(--color-teal-50);
}

.nav-cta {
    background: var(--color-teal-700);
    color: var(--color-text-inverse) !important;
    margin-left: var(--space-sm);
}

.nav-cta:hover {
    background: var(--color-teal-600);
    color: var(--color-text-inverse) !important;
}

/* --- Nav Toggle --- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

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

.nav-toggle:hover {
    background: var(--color-slate-100);
}

.hamburger {
    position: relative;
    width: 18px;
    height: 12px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--color-slate-700);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.hamburger::before { top: 0; }
.hamburger span { top: 5px; }
.hamburger::after { top: 10px; }

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

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

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

/* --- Mobile Nav --- */
.main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-warm-white);
    padding: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 99;
    overflow-y: auto;
}

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

.nav-list {
    flex-direction: column;
    gap: var(--space-xs);
}

.nav-link {
    display: block;
    font-size: 1.125rem;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-slate-200);
}

.nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    text-align: center;
    border-bottom: none;
    border-radius: var(--radius-md);
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 149, 106, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-4xl);
        padding: var(--space-4xl) 0;
    }
}

/* --- Hero Content --- */
.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-700);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-slate-900);
    margin-bottom: var(--space-lg);
}

.hero-headline em {
    font-style: italic;
    color: var(--color-teal-700);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-slate-200);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal-700);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-slate-300);
    flex-shrink: 0;
}

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

.hero-image-stack {
    position: relative;
    height: 500px;
}

@media (min-width: 900px) {
    .hero-image-stack {
        height: 620px;
    }
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-img-primary {
    width: 75%;
    top: 0;
    right: 0;
    height: 78%;
    z-index: 2;
}

.hero-img-secondary {
    width: 55%;
    bottom: 0;
    left: 0;
    height: 55%;
    z-index: 3;
    border: 4px solid var(--color-warm-white);
}

.hero-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--color-teal-700);
    border-radius: var(--radius-lg);
    top: 45%;
    left: 38%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.12;
}

/* --- About --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

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

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: var(--space-4xl);
    }
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 40%;
    border: 2px solid var(--color-teal-700);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

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

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-slate-800);
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.about-signature {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-slate-200);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.signature-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-slate-900);
}

.signature-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* --- Services --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-slate-900);
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(184, 149, 106, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(13, 148, 136, 0.15);
    color: var(--color-teal-500);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text-inverse);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.7;
}

/* --- Process --- */
.process {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

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

@media (min-width: 900px) {
    .process-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-4xl);
    }
}

.process-intro {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.75;
}

.process-steps {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: start;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.process-step:hover {
    background: var(--color-warm-white);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-teal-700);
    opacity: 0.3;
    line-height: 1;
    padding-top: 4px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: var(--space-xs);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.process-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-warm-white);
}

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

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-teal-700);
    opacity: 0.2;
    position: absolute;
    top: var(--space-md);
    right: var(--space-xl);
}

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

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

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

.author-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-900);
}

.author-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: var(--space-4xl) 0;
    background: var(--color-teal-800);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .cta-inner {
        grid-template-columns: 1fr auto;
        gap: var(--space-3xl);
    }
}

.cta-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--color-text-inverse);
    margin-bottom: var(--space-md);
}

.cta-subheadline {
    font-size: 1.0625rem;
    color: var(--color-teal-100);
    max-width: 480px;
    line-height: 1.7;
}

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

.btn-ghost-light {
    background: transparent;
    color: var(--color-text-inverse);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-inverse);
}

/* --- Contact --- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: var(--space-4xl);
    }
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.75;
}

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

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

.contact-item-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-icon {
    color: var(--color-teal-700);
}

.contact-link {
    font-size: 1rem;
    color: var(--color-slate-800);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--color-teal-700);
}

.contact-text {
    font-size: 1rem;
    color: var(--color-slate-800);
    line-height: 1.6;
}

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

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--color-warm-white);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: var(--space-xl);
}

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-slate-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-900);
    background: var(--color-slate-50);
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-teal-700);
    background: var(--color-warm-white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

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

/* --- Form Success --- */
.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--color-teal-700);
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-slate-950);
    color: var(--color-slate-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-mark {
    color: var(--color-teal-500);
}

.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-inverse);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-slate-500);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-slate-300);
    margin-bottom: var(--space-lg);
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-teal-500);
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact a {
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

.footer-contact a:hover {
    color: var(--color-teal-500);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-slate-800);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-slate-600);
}

.footer-disclaimer {
    font-size: 0.6875rem !important;
    color: var(--color-slate-700) !important;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
