/* ===== Divine Look – based on the approved mockup ===== */

/* Self-hosted fonts (GDPR: no Google Fonts calls). Files: see README "Lettertypes". */
@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/roboto-600.woff2") format("woff2"); }
@font-face { font-family: "Quickpen"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/quickpen-bold.woff2") format("woff2"); }

:root {
    --c-accent: #A3504A;        /* buttons, accents – 5.7:1 on white */
    --c-accent-dark: #7E3B36;
    --c-ink: #3B2C21;           /* headings */
    --c-text: #5E5550;          /* body text */
    --c-muted: #6E625B;
    --c-tint: #F9F0E8;          /* soft band */
    --c-sand: #E8D0C0;          /* voucher band */
    --c-soft: #FBF6F1;
    --c-line: #EFE3DA;
    --c-field: #D9C6B8;
    --c-white: #FFFFFF;
    --c-ok: #2F6B45;
    --c-error: #A12C2C;

    --f-body: "Lato", "Segoe UI", system-ui, sans-serif;
    --f-head: "Roboto", "Segoe UI", system-ui, sans-serif;
    --f-logo: "Quickpen", "Brush Script MT", cursive;

    --radius: 14px;
    --shadow: 0 12px 40px rgba(59, 44, 33, 0.12);
    --shadow-soft: 0 8px 24px rgba(59, 44, 33, 0.08);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-white);
}

img, video { max-width: 100%; display: block; }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-dark); }

h1, h2, h3 { font-family: var(--f-head); font-weight: 600; color: var(--c-ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--c-accent); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; margin-top: 48px; }

.band { padding: 80px 0; }
.band--tint { background: var(--c-tint); }
.band--sand { background: var(--c-sand); }
.band--flush-top { padding-top: 0; }

/* ----- header ----- */
.site-header {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    padding: 20px 24px 6px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand__name { font-family: var(--f-logo); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--c-accent); }
.brand__logo { height: 72px; width: auto; }
.brand__tagline { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-muted); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
.site-nav a {
    color: var(--c-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem;
    padding: 12px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--c-accent); }
.site-nav a.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* ----- buttons ----- */
.btn {
    display: inline-block; background: var(--c-accent); color: var(--c-white); text-decoration: none;
    padding: 12px 26px; border-radius: 6px; font: inherit; font-size: 1.05rem; border: 1px solid var(--c-accent); cursor: pointer;
    min-height: 44px;
}
.btn:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: var(--c-white); }
.btn--outline { background: transparent; color: var(--c-accent); }
.btn--outline:hover { background: var(--c-accent); color: var(--c-white); }
.btn--small { padding: 8px 18px; font-size: .875rem; }
.btn--dark { background: var(--c-ink); border-color: var(--c-ink); }
.btn--dark:hover { background: #22180f; border-color: #22180f; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.link-underline { color: var(--c-accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ----- cards & placeholders ----- */
.card { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 32px; }
.card__title { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; }

.photo-placeholder {
    display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center;
    padding: 20px; color: #5E4E44; font-size: .875rem;
    background: repeating-linear-gradient(45deg, #F3E7DD, #F3E7DD 12px, #EFE0D4 12px, #EFE0D4 24px);
    border: 2px dashed #C9AE9C; border-radius: 12px;
}

/* ----- hero ----- */
.hero { padding: 64px 0; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero__card { flex: 1 1 380px; min-width: 0; box-shadow: var(--shadow); padding: 40px; }
.hero__card h1 { font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: .4em; }
.hero__eyebrow { font-size: 1.25rem; color: var(--c-ink); margin: 0; }
.lead { font-weight: 700; color: var(--c-ink); }
.signature { font-family: var(--f-head); font-weight: 600; font-style: italic; color: var(--c-accent); }
.hero__media { flex: 1.3 1 420px; min-width: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-ink); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { height: 100%; border-radius: var(--radius); }

/* ----- split sections ----- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split--reverse { flex-wrap: wrap-reverse; }
.split__text { flex: 1.3 1 420px; min-width: 0; }
.split__photo { flex: 1 1 340px; min-width: 0; border-radius: 12px; object-fit: cover; width: 100%; }
.split__photo--portrait { aspect-ratio: 4 / 5; object-position: 90% center; }
.split__photo--wide { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.eyebrow { font-size: 1.35rem; color: var(--c-ink); margin-bottom: .25em; }
.brand-note { font-style: italic; color: var(--c-ink); }
.brand-photo { display: block; width: 100%; max-width: 280px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-top: 14px; }

/* ----- treatments ----- */
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 48px; }
.treatments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px 32px; }
.treatment { display: flex; flex-direction: column; align-items: center; text-align: center; }
.treatment__photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(59, 44, 33, .15); margin-bottom: 18px; }
.treatment__photo.photo-placeholder { padding: 16px; font-size: .75rem; background: repeating-linear-gradient(45deg, #FFF, #FFF 10px, #F3E7DD 10px, #F3E7DD 20px); }
.treatment h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
.treatment p { max-width: 300px; font-size: .95rem; }
.treatment .btn { margin-top: auto; }

/* ----- contact strip on home ----- */
.contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; align-items: start; }
.contact-strip__photo { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; min-height: 260px; }
.contact-details { font-style: normal; color: var(--c-ink); margin: 0 0 1em; }
.contact-details__phone { color: var(--c-ink); font-weight: 700; }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-white); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--c-accent-dark); color: var(--c-white); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid #F1E6DD; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { text-align: left; font-weight: 400; color: var(--c-ink); }
.hours td { text-align: right; }
.hours .is-closed td { color: var(--c-muted); }
.hours__note { margin: 12px 0 0; font-size: .875rem; }

/* ----- page intro ----- */
.page-intro { background: var(--c-tint); padding: 56px 24px 40px; text-align: center; }
.page-intro h1 { margin-bottom: .3em; }
.page-intro p { max-width: 640px; margin: 0 auto; }

/* ----- prices ----- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px; align-items: start; }
.price-card { scroll-margin-top: 24px; }
.price-card__sub { font-size: 1.25rem; margin: 18px 0 2px; }
.price-card__note { font-size: .875rem; font-style: italic; margin: 0 0 6px; }
.price-list { margin: 0; }
.price-list__row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dotted #DCC8BA; }
.price-list__row dt { flex: 1 1 auto; color: var(--c-ink); }
.price-list__row dd { margin: 0; font-weight: 700; color: var(--c-ink); white-space: nowrap; }

/* ----- contact page ----- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact-layout__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form-card { flex: 1.4 1 420px; min-width: 0; }
.form-card h2 { color: var(--c-accent); font-size: 1.75rem; }
.form-card--soft { background: var(--c-soft); box-shadow: none; }

.map-strip__embed { display: block; width: 100%; height: 360px; border: 0; }
.map-strip__note { margin: 10px 24px; font-size: .8125rem; color: var(--c-muted); text-align: center; }

/* ----- forms ----- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; color: var(--c-ink); }
.field--full, .form-grid > .validation-summary, .form-hint { grid-column: 1 / -1; }
.field input:not([type="checkbox"]), .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--c-field); border-radius: 6px; font: inherit; font-size: 1rem;
    color: var(--c-ink); background: var(--c-white);
}
.field textarea { resize: vertical; }
.field .invalid { border-color: var(--c-error); }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field--check input { margin-top: 5px; width: 18px; height: 18px; }
.field--check label { flex: 1 1 0; }
.field--check .validation-message { flex-basis: 100%; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.validation-message { color: var(--c-error); font-size: .85rem; }
.validation-summary { color: var(--c-error); margin: 0; padding-left: 1.2em; font-size: .9rem; }
.validation-summary:empty { display: none; }
.form-hint { font-size: .875rem; margin: 0; }
.notice { padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; }
.notice p:last-child { margin: 0; }
.notice--ok { background: #E8F3EC; color: var(--c-ok); }
.notice--error { background: #F8E6E6; color: var(--c-error); }

.steps { margin: 0; padding-left: 1.2em; display: grid; gap: 18px; }
.steps li::marker { color: var(--c-accent); font-weight: 700; }
.steps strong { color: var(--c-ink); }

.prose h2 { font-size: 1.3rem; margin-top: 1.5em; }

/* ----- footer & WhatsApp ----- */
.site-footer {
    background: var(--c-ink); color: var(--c-sand); padding: 40px 24px 48px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .875rem;
}
.site-footer a { color: var(--c-sand); }
.site-footer__name { font-family: var(--f-logo); font-weight: 700; font-size: 2.25rem; line-height: 1.1; color: var(--c-tint); }
.site-footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); }
.site-footer__small { opacity: .85; font-size: .8rem; }

.whatsapp-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
    background: #1F7A4D; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.whatsapp-fab:hover { background: #17603c; color: #fff; }

@media (max-width: 700px) {
    .band { padding: 56px 0; }
    .hero { padding: 32px 0; }
    .hero__card { padding: 28px 24px; }
    .card { padding: 24px; }
    .split { gap: 32px; }
    .site-nav { gap: 0 18px; }
}
