:root {
    --color-gold: #c9a96e;
    --color-gold-lt: #ead7b5;
    --color-blush: #f5ede8;
    --color-white: #fdfbf9;
    --color-dark: #2c2c2c;
    --color-mid: #6b6560;
    --color-line: #e8e0d8;
    --shadow: 0 24px 80px rgba(40, 31, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--color-dark);
    background: var(--color-white);
    font-family: Nunito, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.kb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 12px clamp(18px, 5vw, 72px);
    background: rgba(15, 13, 12, .72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 213, 176, .18);
}
.kb-brand img { width: 132px; height: 58px; object-fit: contain; }
.kb-nav { display: flex; align-items: center; gap: 28px; color: #fff; font-weight: 700; }
.kb-nav a { opacity: .88; }
.kb-nav a:hover { color: var(--color-gold-lt); opacity: 1; }
.kb-nav-cta {
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--color-gold);
    color: #211b16 !important;
}
.kb-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: transparent;
    color: #fff;
}

.kb-hero {
    position: relative;
    min-height: 94vh;
    display: grid;
    align-items: center;
    padding: 120px clamp(22px, 7vw, 96px) 64px;
    background:
        linear-gradient(120deg, rgba(12,10,9,.92), rgba(32,24,20,.74)),
        radial-gradient(circle at 70% 35%, rgba(201,169,110,.28), transparent 28%),
        #12100f;
    background-size: cover;
    background-position: center;
}
.kb-hero-inner { max-width: 760px; color: #fff; }
.kb-hero-logo { width: min(380px, 72vw); margin-bottom: 10px; }
.kb-eyebrow {
    margin: 0 0 10px;
    color: var(--color-gold);
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 800;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 94px); line-height: .95; max-width: 840px; }
.kb-hero p:not(.kb-eyebrow) { max-width: 620px; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; color: rgba(255,255,255,.82); }
.kb-actions, .kb-step-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kb-button {
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kb-button-primary { background: var(--color-gold); color: #211b16; box-shadow: 0 12px 34px rgba(201,169,110,.28); }
.kb-button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.42); background: transparent; }
.kb-button-light { background: #fff; color: var(--color-dark); border: 1px solid var(--color-line); }
.kb-scroll { position: absolute; bottom: 24px; left: 50%; color: var(--color-gold-lt); animation: kb-bounce 1.5s infinite; }
@keyframes kb-bounce { 50% { transform: translateY(8px); } }

.kb-section { padding: 88px clamp(20px, 6vw, 90px); }
.kb-section-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.kb-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.kb-about { background: var(--color-blush); }
.kb-about-text { max-width: 860px; margin: 0 auto; font-size: 20px; line-height: 1.8; text-align: center; color: var(--color-mid); }
.kb-grid { display: grid; gap: 24px; }
.kb-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kb-service-card, .kb-team-card, .kb-wizard, .kb-map {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.kb-service-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.kb-service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 90px rgba(40,31,25,.18); }
.kb-service-media {
    height: 230px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #221b17, #5b4937);
    color: var(--color-gold-lt);
    font: 700 76px "Cormorant Garamond", serif;
}
.kb-service-media img { width: 100%; height: 100%; object-fit: cover; }
.kb-card-body { padding: 24px; }
.kb-card-body h3, .kb-team-card h3 { margin: 0 0 10px; font-size: 31px; }
.kb-card-body p, .kb-team-card p { color: var(--color-mid); line-height: 1.65; }
.kb-service-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-line); padding-top: 16px; color: var(--color-gold); }
.kb-service-meta span { color: var(--color-mid); }
.kb-team-section { background: #151210; color: #fff; }
.kb-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.kb-team-card { text-align: center; padding: 34px; color: var(--color-dark); }
.kb-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--color-blush);
    color: var(--color-gold);
    font: 700 64px "Cormorant Garamond", serif;
    border: 3px solid var(--color-gold-lt);
}
.kb-avatar img { width: 100%; height: 100%; object-fit: cover; }

.kb-appointment { background: var(--color-blush); }
.kb-wizard { max-width: 860px; margin: 0 auto; padding: clamp(20px, 4vw, 42px); }
.kb-steps { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.kb-steps button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-line);
    background: #fff;
    font-weight: 900;
}
.kb-steps .is-active { background: var(--color-gold); color: #211b16; }
.kb-step { display: none; }
.kb-step.is-active { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 800; }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}
.kb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kb-form-grid label:last-child { grid-column: 1 / -1; }
.kb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; min-height: 52px; }
.kb-slot {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    min-height: 42px;
    cursor: pointer;
}
.kb-slot.is-selected { background: var(--color-gold); border-color: var(--color-gold); color: #211b16; font-weight: 900; }
.kb-slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.kb-form-message { margin: 18px 0 0; min-height: 24px; font-weight: 800; }
.kb-form-message.is-success { color: #287a45; }
.kb-form-message.is-error { color: #b83232; }

.kb-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.kb-contact h2 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 60px); }
.kb-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; color: var(--color-mid); }
.kb-contact-list i { color: var(--color-gold); width: 22px; }
.kb-map { min-height: 320px; display: grid; place-items: center; color: var(--color-mid); overflow: hidden; }
.kb-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.kb-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 28px clamp(20px, 6vw, 90px);
    background: #0f0d0c;
    color: rgba(255,255,255,.72);
}
.kb-footer img { width: 120px; height: 54px; object-fit: contain; }
.kb-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    z-index: 25;
}

.kb-admin-body { background: #f7f2ee; }
.kb-admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.kb-sidebar { background: #14110f; color: #fff; padding: 24px; }
.kb-sidebar img { width: 150px; margin-bottom: 24px; }
.kb-sidebar a { display: block; padding: 12px 14px; border-radius: 8px; color: rgba(255,255,255,.8); }
.kb-sidebar a:hover, .kb-sidebar .active { background: rgba(201,169,110,.18); color: var(--color-gold-lt); }
.kb-admin-main { padding: 28px; overflow: auto; }
.kb-admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.kb-panel, .kb-stat { background: #fff; border: 1px solid var(--color-line); border-radius: 8px; padding: 20px; box-shadow: var(--shadow); }
.kb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kb-stat strong { display: block; font-size: 32px; color: var(--color-gold); }
.kb-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.badge-success { background: #dff5e7; color: #176336; }
.badge-danger { background: #fde1df; color: #9f2720; }
.badge-info { background: #dfeeff; color: #1e5b9a; }
.badge-warning { background: #fff2cf; color: #826018; }
.kb-admin-form { display: grid; gap: 14px; max-width: 900px; }
.kb-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 900px) {
    .kb-menu-button { display: inline-grid; place-items: center; }
    .kb-nav {
        position: fixed;
        top: 82px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: rgba(15,13,12,.96);
        border: 1px solid rgba(232,213,176,.22);
        border-radius: 8px;
    }
    .kb-nav.is-open { display: flex; }
    .kb-services-grid, .kb-team-grid, .kb-contact, .kb-form-grid, .kb-stats, .kb-admin-grid { grid-template-columns: 1fr; }
    .kb-admin-layout { grid-template-columns: 1fr; }
    .kb-sidebar { position: static; }
}

@media (max-width: 560px) {
    .kb-header { min-height: 72px; }
    .kb-brand img { width: 108px; }
    .kb-hero { min-height: 88vh; padding-top: 98px; }
    .kb-section { padding: 64px 18px; }
    .kb-actions .kb-button, .kb-step-actions .kb-button { width: 100%; }
}
