/* Global */
:root {
    color-scheme: light;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: #f7f4f0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-header span { display: block; margin-bottom: 12px; color: #9b8d79; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }
.section-header h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); color: #1a202c; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 16px 28px; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; border: 1px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #b89c6f; color: #fff; }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(184,156,111,.17); }
.btn-outline { background: transparent; border-color: #222; color: #222; }
.btn-outline:hover { background: rgba(34,34,34,.06); }
.btn-sm { padding: 8px 14px; font-size: .95rem; border-radius: 999px; }
.alert { padding: 18px 22px; border-radius: 18px; margin-bottom: 24px; }
.alert.success { background: #ecf7ed; color: #1f7b31; }
.alert.danger { background: #fdecea; color: #9f2b2b; }
.site-header { position: sticky; top: 0; z-index: 999; width: 100%; transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease; }
.site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 18px 48px rgba(24,24,24,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.brand { font-family: 'DM Serif Display', serif; font-size: 1.8rem; letter-spacing: .02em; color: #111; display: flex; align-items: center; gap: 12px; }
.brand img.brand-logo { max-height: 60px; width: auto; display: block; }
.brand span { color: #b89c6f; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { position: relative; color: #222; font-weight: 500; transition: color .25s ease; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: #b89c6f; transition: width .3s ease; }
.site-nav a:hover::after { width: 100%; }
.mobile-menu-toggle { display: none; border: none; background: transparent; cursor: pointer; width: 44px; height: 44px; position: relative; }
.mobile-menu-toggle span { position: absolute; left: 8px; right: 8px; height: 3px; background: #222; border-radius: 999px; transition: transform .3s ease, opacity .3s ease; }
.mobile-menu-toggle span:nth-child(1) { top: 12px; }
.mobile-menu-toggle span:nth-child(2) { top: 20px; }
.mobile-menu-toggle span:nth-child(3) { top: 28px; }
.mobile-nav { display: none; flex-direction: column; gap: 14px; padding: 18px 24px 30px; background: #fff; border-bottom: 1px solid rgba(34,34,34,.08); }
.mobile-nav a { color: #222; padding: 14px 0; border-bottom: 1px solid rgba(34,34,34,.08); }
.hero-section { position: relative; min-height: 720px; }
.hero-slide { position: relative; display: grid; place-items: end start; min-height: 720px; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.52) 100%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 100%); text-align: left; padding: 0 24px 48px; color: #fff; }
.hero-content { position: relative; z-index: 2; width: min(720px, 100%); text-align: left; padding: 0 24px 48px; color: #fff; }
.hero-content .eyebrow { display: inline-block; letter-spacing: .24em; text-transform: uppercase; color: #fff; opacity: .9; font-size: .9rem; margin-bottom: 18px; }
.hero-content h1 { margin: 0 0 20px; font-size: clamp(2.75rem, 6vw, 4.8rem); line-height: 1.02; }
.hero-content p { max-width: 600px; color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 26px; }
.hero-content.left-bottom { position: absolute; inset: auto auto 40px 40px; width: min(560px, calc(100% - 80px)); padding: 24px; background: rgba(0,0,0,.24); border-radius: 30px; }
.services-preview .cards-grid, .blog-preview .cards-grid, .services-list .cards-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card, .blog-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(35,35,35,.08); transition: transform .3s ease, box-shadow .3s ease; }
.blog-card { max-width: 320px; margin: 0 auto; }
.blog-card .card-body { padding: 20px; }
.service-card:hover, .blog-card:hover { transform: translateY(-6px); }
.service-card img, .blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin: 0 0 14px; font-size: 1.25rem; }
.card-body p { color: #555; margin: 0 0 18px; }
.card-link { color: #b89c6f; font-weight: 600; }
.about-preview .about-grid, .contact-block .contact-grid, .appointment-form-section .appointment-grid, .about-detail-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.about-preview .about-image img, .about-detail-grid img { width: 100%; border-radius: 32px; object-fit: cover; aspect-ratio: 4 / 3; }
.about-content h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
.about-content p { color: #49515f; margin-bottom: 24px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 12px; color: #555; }
.feature-list i { color: #b89c6f; }
.appointment-card { background: linear-gradient(135deg, #f7f4f0 0%, #fff 100%); border-radius: 32px; padding: 44px; box-shadow: 0 40px 90px rgba(16,16,16,.08); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.appointment-card h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 2.8rem); }
.blog-hero, .services-hero, .contact-hero, .appointment-hero, .page-hero { padding: 120px 0 80px; background: #f6f1ea; }
.page-hero h1 { margin: 18px 0 16px; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { max-width: 680px; color: #555; font-size: 1.05rem; }
.contact-grid, .appointment-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.contact-info, .contact-form, .appointment-copy, .appointment-form { background: #fff; border-radius: 30px; padding: 32px; box-shadow: 0 22px 55px rgba(29,31,34,.08); }
.contact-info h2, .appointment-copy h2 { margin-top: 0; }
.contact-info p, .appointment-copy p { color: #555; }
.contact-form form, .appointment-form form { display: grid; gap: 18px; }
.input-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.input-group { display: grid; gap: 8px; }
.input-group label { font-weight: 600; color: #333; }
.input-group input, .input-group textarea, .input-group select { width: 100%; padding: 16px 18px; border: 1px solid #ddd; border-radius: 18px; background: #fff; transition: border-color .25s ease, box-shadow .25s ease; }
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { outline: none; border-color: rgba(184,156,111,.7); box-shadow: 0 0 0 4px rgba(184,156,111,.08); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 60px 0 40px; }
.footer-grid h3, .footer-grid h4 { margin: 0 0 18px; }
.footer-grid p, .footer-grid a { color: #5c5f66; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(34,34,34,.08); padding: 20px 0; text-align: center; color: #6b6e78; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: #222; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(34,34,34,.1); transition: background .25s ease; }
.social-links a:hover { background: rgba(184,156,111,.1); }
.detail-hero { position: relative; min-height: 380px; display: grid; place-items: center; background-size: cover; background-position: center; }
.detail-hero .hero-overlay { background: rgba(0,0,0,.37); }
.detail-hero h1 { color: #fff; margin: 0; max-width: 720px; }
.detail-content { background: #fff; border-radius: 28px; padding: 40px; box-shadow: 0 28px 70px rgba(27,31,38,.08); }
.detail-content p { color: #4b515a; }
.admin-login-page { background: linear-gradient(180deg, #f7f4f0 0%, #fff 100%); min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.admin-login-panel { width: min(420px, 100%); background: #fff; border-radius: 32px; padding: 40px; box-shadow: 0 35px 90px rgba(27,31,38,.12); }
.admin-login-panel h1 { margin: 0 0 24px; font-size: 2rem; }
.admin-login-panel label { display: block; margin-bottom: 8px; font-weight: 600; }
.admin-login-panel input { width: 100%; margin-bottom: 20px; padding: 16px 18px; border-radius: 18px; border: 1px solid #ddd; }
.admin-layout { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #f5f2ed; }
.admin-sidebar { background: #111; color: #fff; padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; }
.admin-sidebar a { display: block; color: #d9d9d9; padding: 14px 16px; border-radius: 18px; transition: background .2s ease; }
.admin-sidebar a.active, .admin-sidebar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar .logout-link { margin-top: auto; background: rgba(184,156,111,.14); color: #fff; }
.admin-main { padding: 32px 36px 50px; }
.admin-header { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-header h1 { margin: 0; font-size: 2rem; }
.admin-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.admin-card { background: #fff; border-radius: 28px; padding: 30px; box-shadow: 0 24px 60px rgba(28,31,37,.08); }
.admin-table { overflow-x: auto; background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(28,31,37,.08); }
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid rgba(34,34,34,.08); }
.admin-table th { color: #6b6e78; font-weight: 700; }
.admin-table img { width: 100px; border-radius: 18px; object-fit: cover; }
.admin-form-card { background: #fff; border-radius: 30px; padding: 34px; box-shadow: 0 24px 60px rgba(28,31,37,.08); }
.admin-form-card label { display: block; margin-bottom: 10px; font-weight: 600; }
.admin-form-card input, .admin-form-card textarea, .admin-form-card select { width: 100%; margin-bottom: 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid #ddd; }
.admin-preview { width: 100%; border-radius: 20px; margin-bottom: 18px; }
@media (max-width: 1024px) {
    .about-preview .about-grid, .about-detail-grid, .contact-grid, .appointment-grid, .admin-layout { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .service-card img, .blog-card img { aspect-ratio: 16 / 10; }
}
@media (max-width: 820px) {
    .site-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .mobile-nav { display: none; }
    .mobile-nav.open { display: flex; }
    .hero-section { min-height: 620px; }
    .hero-content { text-align: left; }
    .header-inner { padding: 20px 0; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px; }
    .admin-main { padding: 24px 20px 40px; }
    .admin-table th, .admin-table td { padding: 14px 16px; }
}
@media (max-width: 520px) {
    .hero-content h1 { font-size: 2.4rem; }
    .input-row { grid-template-columns: 1fr; }
    .appointment-card { flex-direction: column; padding: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
}
