/* ========================================
   Liberty Dental — Custom Styles
   ======================================== */

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

:root {
    --emerald: #065f46;
    --emerald-light: #059669;
    --emerald-dark: #044d38;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --amber: #d97706;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #6b7280;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
}

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

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--emerald-dark);
    border-color: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 95, 70, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}

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

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

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

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--emerald);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* --- Nav --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--emerald);
    font-weight: 500;
}

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

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--emerald);
}

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

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

.nav-cta {
    background: var(--emerald) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem !important;
}

.nav-cta:hover {
    background: var(--emerald-dark) !important;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* --- Hero --- */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

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

.geo-circle {
    border-radius: 50%;
    position: absolute;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 95, 70, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.geo-rect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(6, 95, 70, 0.04);
    border-radius: 32px;
    transform: rotate(45deg);
    top: 15%;
    left: -60px;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    right: 10%;
    bottom: 20%;
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.6;
}

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

.hero-content {
    padding-right: 20px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 95, 70, 0.08);
    color: var(--emerald);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-accent {
    color: var(--emerald);
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--emerald);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(6, 95, 70, 0.2);
}

.hero-visual {
    position: relative;
}

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

.hero-img-accent {
    position: absolute;
    inset: -12px;
    background: var(--emerald);
    border-radius: calc(var(--radius-lg) + 4px);
    z-index: -1;
    opacity: 0.15;
}

.hero-img-wrapper img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.hf-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-floating-card span {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    margin-bottom: 12px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 95, 70, 0.1);
    background: var(--white);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
}

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

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

.about-visual {
    position: relative;
}

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

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

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

.about-img-secondary img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

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

.about-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

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

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

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

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

.av-icon {
    width: 40px;
    height: 40px;
    background: rgba(6, 95, 70, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--emerald);
    position: relative;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.why-geo {
    position: absolute;
    border-radius: 50%;
}

.why-geo--1 {
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    top: -200px;
    left: -150px;
}

.why-geo--2 {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    bottom: -100px;
    right: 10%;
}

.why-geo--3 {
    width: 150px;
    height: 150px;
    background: rgba(217, 119, 6, 0.15);
    top: 20%;
    right: 5%;
    border-radius: 24px;
    transform: rotate(30deg);
}

.why-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.why-header .section-title {
    margin-bottom: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

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

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

.why-num {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.why-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

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

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

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

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

.tc-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    color: var(--emerald);
    line-height: 1;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 28px;
}

.tc-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 24px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

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

.tc-avatar {
    width: 40px;
    height: 40px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tc-author strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.tc-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: var(--emerald-light);
    position: relative;
    overflow: hidden;
}

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

.cta-circle {
    border-radius: 50%;
    position: absolute;
}

.cta-circle--1 {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    top: -200px;
    right: -100px;
}

.cta-circle--2 {
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.04);
    bottom: -100px;
    left: -50px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 16px;
}

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

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

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

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

.contact-info .section-tag {
    margin-bottom: 12px;
}

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

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

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

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

.cd-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 95, 70, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cd-item span,
.cd-item a {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

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

.form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 95, 70, 0.08);
    border: 1px solid rgba(6, 95, 70, 0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--emerald-dark);
}

.form-success strong {
    display: block;
    margin-bottom: 2px;
}

/* --- Map --- */
.map-section {
    background: var(--cream-dark);
}

.map-section iframe {
    filter: saturate(0.8) contrast(1.05);
}

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

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

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

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

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

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

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

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

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

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 0;
    }

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

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

    .about-img-secondary {
        right: 0;
    }

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

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

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

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

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-img-wrapper img {
        height: 480px;
    }

    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
    }

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

    .about-img-main img {
        height: 400px;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .about-img-secondary img {
        width: 100%;
        height: 200px;
    }

    .about-badge {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        display: inline-flex;
    }

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

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

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

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

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

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

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

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