/* ========================================
   Tracy Padgett Mortgage — Stylesheet
   ======================================== */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream-50:   #fefdf8;
    --cream-100:  #fdf9f0;
    --cream-200:  #f5f0e1;
    --cream-300:  #e8dfc8;
    --sand:       #c9b99a;
    --warm-gray:  #6b6560;
    --dark:       #1a1714;
    --dark-soft:  #2d2824;
    --white:      #ffffff;
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --shadow-sm:  0 1px 3px rgba(26,23,20,0.06), 0 1px 2px rgba(26,23,20,0.04);
    --shadow-md:  0 4px 16px rgba(26,23,20,0.08), 0 2px 6px rgba(26,23,20,0.04);
    --shadow-lg:  0 12px 40px rgba(26,23,20,0.12), 0 4px 12px rgba(26,23,20,0.06);
    --shadow-xl:  0 24px 60px rgba(26,23,20,0.14), 0 8px 20px rgba(26,23,20,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.7;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-emerald {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
    box-shadow: 0 4px 16px rgba(4,120,87,0.3);
}

.btn-emerald:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4,120,87,0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--dark);
    border-color: var(--cream-300);
}

.btn-ghost:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
    transform: translateY(-2px);
}

.btn-cream {
    background: var(--cream-200);
    color: var(--emerald-900);
    border-color: var(--cream-200);
}

.btn-cream:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-cream:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254,253,248,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,185,154,0.2);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(254,253,248,0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--emerald-800);
}

.logo-icon {
    color: var(--emerald-700);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

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

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--emerald-700);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--warm-gray);
    margin-top: 4px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

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

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 88%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-float {
    position: absolute;
    bottom: 40px;
    left: -20px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.float-card {
    position: absolute;
    bottom: -16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

.float-card strong {
    display: block;
    font-size: 0.85rem;
    color: var(--dark);
}

.float-card span {
    font-size: 0.75rem;
    color: var(--warm-gray);
}

.hero-decor {
    position: absolute;
    top: -30px;
    right: 40%;
    width: 120px;
    height: 120px;
    background: var(--emerald-100);
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--cream-50);
}

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

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

.about-visual {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--emerald-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-stat-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--emerald-800);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.about-stat-card .stat-text {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.4;
}

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

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

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

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

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    border: 1px solid var(--emerald-100);
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--warm-gray);
}

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--cream-100);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201,185,154,0.15);
    transition: all var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--emerald-100);
    transition: all var(--transition);
}

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

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 120px 0;
    background: var(--cream-50);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201,185,154,0.12);
    transition: all var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--emerald-800);
    color: var(--white);
}

.testimonials .section-label {
    color: var(--emerald-300);
}

.testimonials .section-label::before {
    background: var(--emerald-500);
}

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

.testimonials .section-subtitle {
    color: rgba(255,255,255,0.7);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-500);
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
}

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

.author-avatar {
    color: var(--emerald-500);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-100) 100%);
}

.cta-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 480px;
}

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

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

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

.contact-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    border: 1px solid var(--emerald-100);
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9rem;
    color: var(--warm-gray);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--emerald-700);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201,185,154,0.12);
}

.form-title {
    font-size: 1.5rem;
    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(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

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

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

.form-note {
    font-size: 0.78rem;
    color: var(--warm-gray);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-top: 20px;
}

.form-success .success-icon {
    flex-shrink: 0;
    color: var(--emerald-600);
}

.form-success strong {
    display: block;
    color: var(--emerald-800);
    font-size: 0.95rem;
}

.form-success span {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

/* ---------- ANIMATIONS ---------- */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-aos].aos-delay-1 { transition-delay: 0.1s; }
[data-aos].aos-delay-2 { transition-delay: 0.2s; }
[data-aos].aos-delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 480px;
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-visual { max-width: 480px; }

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

    .process-timeline {
        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;
    }

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

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

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

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(254,253,248,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-300);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        width: 100%;
        padding: 14px 16px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-visual {
        height: 380px;
    }

    .hero-image-float {
        width: 65%;
        bottom: 20px;
        left: -10px;
    }

    .hero-trust {
        gap: 16px;
    }

    .trust-number { font-size: 1.4rem; }

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

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

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

    .cta-banner .container {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

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

    .about-stat-card {
        right: 0;
        bottom: -16px;
    }
}

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

    .hero-visual {
        height: 320px;
    }

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

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

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