:root {
    --ink: #25161d;
    --muted: #75636b;
    --rose: #a84b63;
    --rose-deep: #7c3148;
    --petal: #f8e8ea;
    --cream: #fffaf7;
    --sand: #ead4cb;
    --gold: #bf8a60;
    --white: #fff;
    --shadow: 0 24px 60px rgba(63, 30, 39, .12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 250, 247, .92);
    border-bottom: 1px solid rgba(124, 49, 72, .08);
    display: flex;
    gap: 32px;
    height: 82px;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 72px);
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.wordmark strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.wordmark small {
    color: var(--muted);
    display: block;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.monogram {
    align-items: center;
    background: var(--ink);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 17px;
    height: 48px;
    justify-content: center;
    letter-spacing: .08em;
    width: 48px;
}

.nav-links {
    display: flex;
    gap: clamp(18px, 3vw, 42px);
    margin-left: auto;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
}

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

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--rose);
    box-shadow: 0 13px 25px rgba(168, 75, 99, .25);
    color: var(--white);
}

.button.primary:hover {
    background: var(--rose-deep);
}

.button.secondary,
.button.ghost {
    border-color: var(--sand);
    color: var(--ink);
}

.button.secondary {
    background: var(--white);
}

.button.ghost {
    background: transparent;
    min-height: 44px;
}

.button.light {
    background: var(--white);
    color: var(--rose-deep);
}

.hero {
    display: grid;
    gap: clamp(40px, 6vw, 86px);
    grid-template-columns: minmax(350px, 1fr) minmax(360px, 510px);
    margin: 0 auto;
    max-width: 1280px;
    min-height: calc(100vh - 82px);
    padding: clamp(56px, 9vw, 105px) clamp(22px, 5vw, 54px) 64px;
}

.hero-copy {
    align-self: center;
    max-width: 680px;
}

.eyebrow {
    color: var(--rose);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .26em;
    margin: 0 0 19px;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.055em;
    margin: 0;
}

h1 {
    font-size: clamp(48px, 6.5vw, 79px);
    line-height: .98;
    max-width: 700px;
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.72;
    margin: 28px 0 38px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-row {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 25px;
    margin-top: 54px;
}

.trust-row span {
    align-items: center;
    display: flex;
    gap: 9px;
}

.trust-row span::before {
    background: var(--rose);
    border-radius: 50%;
    content: "";
    height: 6px;
    width: 6px;
}

.hero-visual {
    align-self: center;
    min-height: 610px;
    position: relative;
}

.portrait-card {
    background:
        radial-gradient(circle at 52% 28%, #f5dfd7 0 13%, transparent 14%),
        radial-gradient(ellipse at 52% 47%, #eacbbf 0 25%, transparent 25.5%),
        linear-gradient(145deg, #f8e9e2 0%, #e8c3bb 47%, #b76d72 100%);
    border-radius: 230px 230px 30px 30px;
    bottom: 22px;
    box-shadow: var(--shadow);
    height: min(610px, 74vh);
    overflow: hidden;
    position: absolute;
    right: 0;
    width: min(100%, 445px);
}

.portrait-card::before {
    background: rgba(46, 23, 33, .88);
    border-radius: 52% 48% 42% 49%;
    content: "";
    height: 39%;
    left: 27%;
    position: absolute;
    top: 14%;
    transform: rotate(-7deg);
    width: 50%;
}

.portrait-glow {
    background: radial-gradient(circle, rgba(255, 245, 238, .72), transparent 67%);
    bottom: 0;
    height: 48%;
    position: absolute;
    right: 0;
    width: 100%;
}

.portrait-line {
    border: 1px solid rgba(255, 250, 247, .5);
    border-radius: 200px 200px 20px 20px;
    inset: 22px;
    position: absolute;
}

.portrait-copy {
    bottom: 34px;
    color: var(--white);
    left: 38px;
    position: absolute;
}

.portrait-copy strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 500;
}

.portrait-copy span {
    display: block;
    margin-top: 9px;
    opacity: .85;
}

.floating-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    left: -25px;
    padding: 18px 22px;
    position: absolute;
    top: 49%;
}

.floating-card small,
.floating-card span {
    color: var(--muted);
    display: block;
    font-size: 12px;
}

.floating-card strong {
    display: block;
    font-size: 15px;
    margin: 7px 0;
}

.section {
    margin: 0 auto;
    max-width: 1280px;
    padding: clamp(64px, 8vw, 98px) clamp(22px, 5vw, 54px);
}

.section-title {
    align-items: end;
    display: flex;
    gap: 34px;
    justify-content: space-between;
    margin-bottom: 42px;
}

.section-title h2 {
    font-size: clamp(35px, 4vw, 48px);
    line-height: 1.08;
    max-width: 660px;
}

.section-title > p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 7px;
    max-width: 360px;
}

.section-title.compact {
    display: block;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 31px;
}

.filter-pills button {
    background: transparent;
    border: 1px solid var(--sand);
    border-radius: 999px;
    color: var(--muted);
    padding: 11px 22px;
}

.filter-pills .active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.treatment-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(4, 1fr);
}

.treatment {
    background: var(--white);
    border: 1px solid #f0e5df;
    border-radius: 18px;
    min-height: 134px;
    padding: 22px;
    transition: box-shadow .18s ease, transform .18s ease;
}

.treatment:hover {
    box-shadow: 0 13px 27px rgba(45, 20, 29, .08);
    transform: translateY(-2px);
}

.treatment small {
    color: var(--rose);
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.treatment strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.treatment button {
    background: transparent;
    border: 0;
    color: var(--rose-deep);
    font-size: 13px;
    margin-top: 16px;
    padding: 0;
}

.consultation {
    background: var(--petal);
    border-radius: 42px;
    max-width: 1350px;
}

.consultation-layout {
    display: grid;
    gap: clamp(20px, 4vw, 50px);
    grid-template-columns: 1fr minmax(350px, .86fr);
}

.camera-promo {
    align-self: center;
}

.comparison {
    display: flex;
    gap: 16px;
    margin-bottom: 27px;
}

.comparison > div {
    flex: 1;
}

.comparison span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.face-placeholder {
    background: linear-gradient(150deg, #dfc1bb, #ba777c);
    border-radius: 22px;
    height: clamp(184px, 20vw, 230px);
    position: relative;
}

.face-placeholder::after {
    background: rgba(255, 246, 242, .42);
    border-radius: 50%;
    content: "";
    height: 55%;
    left: 28%;
    position: absolute;
    top: 20%;
    width: 44%;
}

.face-placeholder.glow {
    background: linear-gradient(150deg, #f1d8cf, #aa5366);
}

.camera-promo p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 530px;
}

.chat-card {
    background: var(--white);
    border-radius: 26px;
    box-shadow: 0 15px 42px rgba(52, 27, 36, .08);
    display: flex;
    flex-direction: column;
    min-height: 540px;
    overflow: hidden;
}

.chat-card header {
    align-items: center;
    border-bottom: 1px solid #f1e6e2;
    display: flex;
    gap: 12px;
    padding: 20px 21px;
}

.avatar {
    align-items: center;
    background: var(--petal);
    border-radius: 50%;
    color: var(--rose-deep);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.chat-card header strong,
.chat-card header span {
    display: block;
}

.chat-card header strong {
    font-size: 14px;
}

.chat-card header span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.chat-log {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    max-height: 300px;
    overflow-y: auto;
    padding: 23px 20px;
}

.message {
    border-radius: 16px 16px 16px 4px;
    font-size: 14px;
    line-height: 1.52;
    max-width: 90%;
    padding: 12px 15px;
}

.message.assistant {
    background: #f7eeee;
}

.message.customer {
    align-self: flex-end;
    background: var(--rose);
    border-radius: 16px 16px 4px 16px;
    color: var(--white);
}

.quick-prompts {
    display: flex;
    gap: 7px;
    padding: 0 20px 15px;
}

.quick-prompts button {
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: 999px;
    color: var(--rose-deep);
    font-size: 12px;
    padding: 9px 12px;
}

.chat-compose {
    border-top: 1px solid #f1e6e2;
    display: flex;
    gap: 8px;
    padding: 15px 18px;
}

.chat-compose input {
    background: #fbf6f3;
    border: 1px solid transparent;
    border-radius: 999px;
    flex: 1;
    min-width: 0;
    outline: 0;
    padding: 0 17px;
}

.chat-compose input:focus {
    border-color: var(--rose);
}

.send {
    background: var(--rose);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    padding: 13px 16px;
}

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

.reel-grid article {
    background: linear-gradient(165deg, #efe2dc, #bb6e76);
    border-radius: 25px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    height: 355px;
    justify-content: end;
    padding: 27px;
    position: relative;
}

.reel-grid strong {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 500;
}

.reel-grid span {
    font-size: 13px;
    margin-top: 9px;
    opacity: .82;
}

.reel-play {
    align-items: center;
    background: rgba(255, 255, 255, .86);
    border-radius: 50%;
    color: var(--rose);
    display: flex;
    font-size: 11px;
    font-weight: 700;
    height: 58px;
    justify-content: center;
    left: 27px;
    position: absolute;
    top: 26px;
    width: 58px;
}

.social-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 36px;
}

.closing {
    background: var(--ink);
    border-radius: 34px;
    color: var(--white);
    margin: 35px auto 70px;
    max-width: 1172px;
    padding: clamp(55px, 7vw, 83px) 22px;
    text-align: center;
}

.closing .eyebrow {
    color: #e8c2bd;
}

.closing h2 {
    font-size: clamp(37px, 5vw, 54px);
    margin: 0 auto 30px;
    max-width: 630px;
}

.site-footer {
    border-top: 1px solid #eee0db;
    color: var(--muted);
    display: flex;
    font-size: 13px;
    gap: 20px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    padding: 28px clamp(22px, 5vw, 54px) 42px;
}

.camera-dialog {
    background: transparent;
    border: 0;
    max-width: 590px;
    padding: 18px;
    width: 100%;
}

.camera-dialog::backdrop {
    backdrop-filter: blur(5px);
    background: rgba(35, 19, 26, .55);
}

.camera-shell {
    background: var(--white);
    border-radius: 27px;
    box-shadow: var(--shadow);
    padding: clamp(25px, 5vw, 35px);
    position: relative;
}

.camera-shell h2 {
    font-size: clamp(30px, 5vw, 39px);
    line-height: 1.1;
    margin-right: 48px;
}

.close {
    background: transparent;
    border: 0;
    color: var(--muted);
    position: absolute;
    right: 25px;
    top: 27px;
}

.dialog-copy {
    color: var(--muted);
    line-height: 1.55;
}

.consent {
    align-items: start;
    background: #fbf4f2;
    border-radius: 14px;
    display: flex;
    font-size: 14px;
    gap: 11px;
    line-height: 1.48;
    margin: 20px 0;
    padding: 14px;
}

.consent input {
    accent-color: var(--rose);
    margin-top: 4px;
}

.capture-zone {
    align-items: center;
    background: #f4e8e4;
    border: 1px dashed #d4aca6;
    border-radius: 18px;
    display: flex;
    height: 270px;
    justify-content: center;
    overflow: hidden;
}

.capture-zone video,
.capture-zone img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

#cameraEmpty {
    color: var(--muted);
    max-width: 275px;
    text-align: center;
}

#cameraEmpty strong {
    color: var(--ink);
    display: block;
    margin-bottom: 9px;
}

.capture-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.capture-actions .button {
    flex: 1;
    min-width: 130px;
    padding: 0 12px;
}

.capture-actions button:disabled,
.capture-actions .upload.disabled {
    cursor: not-allowed;
    opacity: .42;
}

.simulation-note {
    background: var(--petal);
    border-radius: 16px;
    margin-top: 20px;
    padding: 18px;
}

.simulation-note strong,
.simulation-note span {
    display: block;
}

.simulation-note span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 15px;
}

.simulation-note .button {
    min-height: 44px;
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 1020px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        min-height: 525px;
    }

    .portrait-card {
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-card {
        left: calc(50% - 235px);
    }

    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .consultation-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        height: 72px;
        padding: 0 18px;
    }

    .wordmark strong {
        font-size: 20px;
    }

    .site-header .button {
        min-height: 42px;
        padding: 0 16px;
    }

    h1 {
        font-size: clamp(44px, 15vw, 55px);
    }

    .hero {
        gap: 38px;
        padding-top: 52px;
    }

    .hero-visual {
        min-height: 470px;
    }

    .portrait-card {
        height: 470px;
        width: min(100%, 370px);
    }

    .floating-card {
        left: 0;
        top: 58%;
    }

    .section-title,
    .site-footer {
        align-items: start;
        flex-direction: column;
    }

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

    .reel-grid article {
        height: 270px;
        padding: 20px;
    }

    .social-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 470px) {
    .monogram {
        height: 42px;
        width: 42px;
    }

    .wordmark small {
        display: none;
    }

    .site-header .button {
        display: none;
    }

    .hero-actions .button {
        width: 100%;
    }

    .treatment-grid,
    .reel-grid {
        grid-template-columns: 1fr;
    }

    .comparison {
        gap: 10px;
    }

    .chat-card {
        min-height: 520px;
    }
}

