/* ========================================
   Playhouse Daycare — Classic & Elegant
   Emerald Green + Cream Palette
======================================== */

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

:root {
    --emerald-900: #0d3b2e;
    --emerald-800: #1a5c4a;
    --emerald-700: #237a5e;
    --emerald-600: #2d9b74;
    --emerald-500: #3aad86;
    --cream-100: #faf8f4;
    --cream-200: #f5f0e8;
    --cream-300: #ebe4d6;
    --cream-400: #e0d5c4;
    --brown-800: #3d2e1e;
    --brown-700: #5a4230;
    --brown-600: #7a5c42;
    --text-dark: #1a1a18;
    --text-medium: #4a4a46;
    --text-light: #7a7a72;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', 'Georgia', serif;
    --font-ui: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(13, 59, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(13, 59, 46, 0.08);
    --shadow-lg: 0 12px 40px rgba(13, 59, 46, 0.12);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
.section-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

.section-lead {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    max-width: 640px;
}

.lead-paragraph {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--emerald-800);
    border-color: var(--cream-400);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 0.9375rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-300);
    transition: box-shadow var(--transition);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--emerald-800);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--emerald-900);
}

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

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--emerald-700);
    transition: width var(--transition);
}

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

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

.nav-cta {
    background-color: var(--emerald-800);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--emerald-900);
    position: relative;
    transition: all var(--transition);
}

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

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

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 92, 74, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 92, 74, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1.5px;
    background-color: var(--emerald-600);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

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

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 36px;
    max-width: 520px;
}

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

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

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

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

.trust-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

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

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

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

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

.hero-img-primary {
    width: 340px;
    height: 460px;
    top: 0;
    right: 40px;
    z-index: 2;
}

.hero-img-secondary {
    width: 260px;
    height: 340px;
    bottom: 20px;
    right: 0;
    z-index: 1;
}

.hero-accent {
    position: absolute;
    top: 40px;
    right: 280px;
    width: 80px;
    height: 80px;
    background-color: var(--emerald-800);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    animation: float 2.5s ease-in-out infinite;
}

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

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

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

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

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

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

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

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

.about-content {
    padding: 20px 0;
}

.about-content .section-headline {
    margin-bottom: 28px;
}

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

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

.value-item svg {
    flex-shrink: 0;
    color: var(--emerald-700);
    margin-top: 2px;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 6px;
}

.value-item p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-medium);
}

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

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-lead {
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 44px 36px;
    border: 1px solid var(--cream-300);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-800), var(--emerald-600));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 92, 74, 0.08);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--emerald-800);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 14px;
}

.service-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-medium);
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 120px 0;
    background-color: var(--emerald-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 157, 116, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 157, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

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

.why-us .section-eyebrow {
    color: var(--emerald-500);
}

.why-us .section-headline {
    color: var(--white);
    margin-bottom: 48px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.why-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.why-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-500);
    line-height: 1;
    padding-top: 4px;
    min-width: 36px;
}

.why-item h4 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.why-item p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
}

.why-image-col {
    position: relative;
}

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

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

.why-quote-card {
    position: absolute;
    bottom: -32px;
    left: -32px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
    max-width: 320px;
}

.why-quote-card svg {
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.why-quote-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.why-quote-card span {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-style: normal;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* ---------- VISIT ---------- */
.visit {
    padding: 120px 0;
    background-color: var(--cream-200);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.visit-text {
    padding: 20px 0;
}

.visit-text .section-headline {
    margin-bottom: 20px;
}

.visit-text .section-lead {
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    color: var(--emerald-700);
    margin-top: 3px;
}

.visit-detail strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
}

.visit-detail a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

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

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 480px;
}

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

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

.contact-left {
    padding: 20px 0;
}

.contact-left .section-headline {
    margin-bottom: 20px;
}

.contact-left .section-lead {
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-value {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--text-dark);
}

.contact-value a {
    color: var(--emerald-800);
    transition: color var(--transition);
}

.contact-value a:hover {
    color: var(--emerald-600);
    text-decoration: underline;
}

.contact-right {
    background-color: var(--cream-100);
    border-radius: 16px;
    padding: 44px;
    border: 1px solid var(--cream-300);
}

.contact-right h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-400);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(45, 157, 116, 0.1);
}

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

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

.form-note {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--emerald-600);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.form-success p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: var(--emerald-900);
    color: var(--white);
    padding: 72px 0 0;
}

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

.footer-brand .logo-mark {
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.footer-contact p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

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

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

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

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

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

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

    .hero-image-stack {
        height: 520px;
    }

    .hero-img-primary {
        width: 280px;
        height: 380px;
    }

    .hero-img-secondary {
        width: 220px;
        height: 280px;
    }

    .about-grid {
        gap: 48px;
    }

    .why-grid {
        gap: 48px;
    }

    .contact-wrapper {
        gap: 48px;
    }
}

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

    .hero-image-stack {
        display: none;
    }

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

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

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

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

    .why-quote-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        max-width: 100%;
    }

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

    .visit-map {
        min-height: 320px;
    }

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

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

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .navbar {
        height: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--cream-300);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: block;
    }

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

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

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

    .hero-trust {
        flex-wrap: wrap;
        gap: 16px;
    }

    .trust-divider {
        display: none;
    }

    .about {
        padding: 80px 0;
    }

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

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

    .about-img-accent {
        height: 240px;
    }

    .services {
        padding: 80px 0;
    }

    .service-card {
        padding: 32px 28px;
    }

    .why-us {
        padding: 80px 0;
    }

    .visit {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-right {
        padding: 28px;
    }

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

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

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

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

    .hero {
        padding: 90px 0 60px;
    }
}
