/* Global box-sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Smooth scroll for anchor links */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

:root {
    --primary-color: #2E4E3D;
    --background-color: #FBF8F5;
    --text-color: #2E4E3D;
    --accent-color: #FFFFFF;
    --secondary-bg: #F5ECE3;
    --shadow: 0 4px 24px rgba(46, 78, 61, 0.10);
    --border-radius: 1.4rem;
    --transition: 0.22s cubic-bezier(.4,0,.2,1);
    --nav-blur: blur(12px);
    --gradient: linear-gradient(90deg, #f5ece3 0%, #fbf8f5 100%);
    --highlight: #4CAF93;
}

body {
    margin: 0;
    font-family: 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
}

/* Skip link for accessibility - hidden by default, visible on focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Layout containers */
.site-header, .providers, .services, .insurance, .visit-us, .site-footer {
    width: 100%;
    max-width: 100%;
}

.nav, .hero, .services, .providers, .insurance, .visit-us {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero, .visit-grid {
    width: 100%;
}

/* Header and Navigation */
.site-header {
    background: rgba(245, 236, 227, 0.85);
    backdrop-filter: var(--nav-blur);
    box-shadow: 0 4px 24px rgba(46, 78, 61, 0.08);
    border-bottom: 1.5px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 4vw;
    min-height: 70px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 54px;
    margin-right: 2.2rem;
    filter: drop-shadow(0 2px 8px rgba(46,78,61,0.08));
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.06) rotate(-2deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 900;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
    transition: color var(--transition), text-shadow var(--transition);
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
}

.nav-links a:hover {
    color: var(--highlight);
    text-shadow: 0 2px 8px rgba(76,175,147,0.10);
    background: #f0f7f5;
}

.nav-cta .btn {
    margin-left: 0.3rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.08rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background var(--transition), color var(--transition), border var(--transition), transform var(--transition);
    display: inline-block;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    color: #fff;
    transform: scale(1.04);
}

.btn-secondary {
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-bg);
    color: var(--highlight);
    border-color: var(--highlight);
    transform: scale(1.04);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--gradient);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
}

.hero-content {
    width: 100%;
    padding: 2.5rem 2vw 2.5rem 2vw;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(46,78,61,0.08);
}

.hero-content p {
    font-size: 1.18rem;
    line-height: 1.7;
    color: #3d3d3d;
    font-weight: 500;
}

.hero-media {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vw 3.5rem 2vw;
}

.schedule-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 702px;
    border-radius: 1.4rem;
    box-shadow: 0 4px 24px rgba(46,78,61,0.10);
    background: #fff;
    overflow: hidden;
    margin: 0 auto;
}

.schedule-embed {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1.4rem;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.schedule-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 1.4rem;
    z-index: 3;
    padding: 2rem;
    text-align: center;
}

.schedule-fallback p {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.schedule-fallback .btn {
    margin-top: 1rem;
}

/* Services Section */
.services {
    padding: 1.5rem 2vw;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.7rem;
    margin-top: 2.7rem;
}

.service-card {
    background: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.7rem;
    box-shadow: var(--shadow);
    border: 1.5px solid #ececec;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow var(--transition), transform var(--transition);
    will-change: transform;
}

.service-card:hover {
    box-shadow: 0 12px 36px rgba(46, 78, 61, 0.16);
    transform: translateY(-6px) scale(1.03);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

/* Providers Section */
.providers, .visit-us {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    padding: 1.5rem 2vw;
}

.providers h2, .visit-us h2 {
    color: var(--primary-color);
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 1.35rem;
    text-align: left;
}

.providers-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.providers-list {
    text-align: left;
    padding-left: 2rem;
    margin: 0;
    flex: 1;
    line-height: 1.8;
}

.providers-list li {
    font-size: 1.08rem;
    margin-bottom: 0.3em;
}

.providers-list li strong {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-color);
}

.providers-list li.no-bullet {
    list-style: none;
    padding-left: 0;
}

.providers-list li strong.provider-name {
    display: block;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.5rem; 
}

.join-team-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 180px;
    margin-top: 0.5rem;
}

/* Insurance Section */
.insurance {
    margin-bottom: 2rem;
    padding: 1.5rem 2vw;
    text-align: center;
}

.insurance h2 {
    color: var(--text-color);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Visit Us Section */
.visit-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    width: 100%;
}

.visit-name, .visit-address, .book-visit-btn {
    flex: 1 1 33%;
    text-align: left;
}

.visit-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.08rem;
}

.visit-address {
    font-size: 1.05rem;
    color: #333;
    margin: 0 1.2rem;
}

.book-visit-btn {
    justify-self: flex-end;
    align-self: flex-end;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: background var(--transition), color var(--transition), border var(--transition);
}

.book-visit-btn:hover {
    background: var(--secondary-bg);
}

.visit-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 1.2rem;
}

.visit-info, .visit-map {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.visit-info {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    border: none;
}

.visit-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.visit-info p {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.08rem;
    line-height: 1.6;
}

.visit-info .btn {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
    border-radius: 2rem;
    box-shadow: none;
}

.visit-map {
    min-height: 320px;
    padding: 0;
    margin: 0;
    padding-right: 2rem;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    border-radius: var(--border-radius);
    background: #fff;
    padding: 0;
}

/* Google Map iframe: 인라인 style 제거 대체 */
.map-iframe {
    border: 0;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 1.05rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -2px 12px rgba(46,78,61,0.08);
    margin-top: 2rem;
}

/* Scroll margin for anchor links */
#services {
    scroll-margin-top: 120px;
}

#providers {
    scroll-margin-top: 120px;
}

#insurance {
    scroll-margin-top: 120px;
}

#visit {
    scroll-margin-top: 120px;
}

/* Accessible focus styles */
.btn:focus-visible,
.nav-links a:focus-visible,
.logo-link:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav, .hero, .services, .providers, .visit-us {
        max-width: 100%;
        padding-left: 2vw;
        padding-right: 2vw;
    }
    .visit-grid {
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 2vw;
    }
    .logo {
        margin-bottom: 0.5rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: flex-start;
    }
    .nav-cta {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        margin-left: 0;
    }
    .nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.7rem 0;
        font-size: 0.95rem;
        font-weight: 700;
    }
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 0;
        font-size: 1.08rem;
    }
    .hero-content {
        padding: 1.5rem 2vw 1.5rem 2vw;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .services {
        padding: 1.2rem 2vw;
    }
    .providers, .visit-us {
        padding: 1.5rem 1.5rem;
    }
    .services h2, .providers h2, .visit-us h2 {
        font-size: 1.3rem;
    }
    .insurance h2 {
        font-size: 1.3rem;
    }
    .services-grid {
        gap: 1.2rem;
    }
    .service-card {
        padding: 1.2rem 0.7rem;
        min-height: 120px;
    }
    .providers-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .join-team-btn-wrap {
        align-items: flex-start;
        min-width: 0;
        margin-top: 1rem;
    }
    .visit-grid {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        padding: 1.4rem;
    }
    .visit-info, .visit-map {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
        min-height: 220px;
        box-sizing: border-box;
    }
    .visit-info {
        margin-bottom: 1.2rem;
    }
    .visit-map iframe {
        min-height: 220px;
    }
    .visit-flex {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
    .visit-name, .visit-address, .book-visit-btn {
        flex: 1 1 100%;
        text-align: left;
        margin: 0;
    }
    .book-visit-btn {
        align-self: flex-start;
        width: fit-content;
        margin-top: 0.5rem;
    }
    .schedule-container {
        width: 95%;
        height: 588px;
    }
    .schedule-embed {
        height: 100%;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.7rem 1vw;
    }
    .logo {
        height: 40px;
        margin-bottom: 0.3rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        align-items: flex-start;
    }
    .nav-cta {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
        margin-left: 0;
    }
    .nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.6rem 0;
        font-size: 0.9rem;
        font-weight: 700;
    }
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        font-size: 1rem;
    }
    .hero-content {
        padding: 1rem 1vw 0.7rem 1vw;
    }
    .hero-content h1 {
        font-size: 1.1rem;
    }
    .services {
        padding: 0.8rem 1vw;
    }
    .providers, .visit-us {
        padding: 1rem 1rem;
    }
    .services h2, .providers h2, .visit-us h2 {
        font-size: 1.1rem;
    }
    .insurance h2 {
        font-size: 1.1rem;
    }
    .services-grid {
        gap: 0.7rem;
    }
    .service-card {
        padding: 0.7rem 0.3rem;
        min-height: 80px;
    }
    .providers-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    .join-team-btn-wrap {
        align-items: flex-start;
        min-width: 0;
        margin-top: 0.7rem;
    }
    .visit-info, .visit-map {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .visit-info {
        padding-bottom: 2.5rem;
    }
    .hero-media {
        padding: 0 1vw 2rem 1vw;
    }
    .schedule-container {
        width: 98%;
        height: 504px;
    }
    .schedule-embed {
        height: 100%;
    }
    .visit-flex {
        gap: 0.5rem;
    }
}











/* === Careers / Apply minimal form styles (added) === */
.form-wrap { max-width: 760px; margin: 32px auto; }
.form-card { border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; padding: 24px; }
.form-row { display: grid; gap: 10px; margin-bottom: 14px; }
.form-row label { font-weight: 600; }
.form-row input, .form-row textarea {
  padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit;
}
.help { color: #6b7280; font-size: 0.9rem; }
.notice { color:#6b7280; }
.badge { display:inline-block; padding:2px 10px; border:1px solid #2e4e3d; border-radius:999px; font-size:.85rem; color:#2e4e3d; }
