﻿/* ===== Base ===== */
:root {
  --ink: #26211b;
  --muted: #6f675e;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e8e0d6;
  --brand: #b97a3d;
  --brand-dark: #9c6230;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== Top bar ===== */
.topbar { background: var(--ink); color: #f3ece3; font-size: .82rem; padding: .5rem 0; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar__contacts { display: flex; gap: 1.2rem; }
.topbar a { color: #f3ece3; text-decoration: none; }
.topbar a:hover { color: #e9c9a0; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; font-family: var(--serif); font-size: 1.4rem; display: grid; place-items: center; }
.logo__text { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; line-height: 1.1; }
.logo__text small { display: block; font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .28em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--brand); }
.nav__cta { background: var(--brand); color: #fff !important; padding: .55rem 1.15rem; border-radius: 999px; font-weight: 600; }
.nav__cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: .4rem; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #f2e2cb 0%, var(--paper) 55%); padding: 5.5rem 0 4rem; }
.hero__eyebrow { color: var(--brand-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; max-width: 16ch; }
.hero__sub { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.hero__actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats { margin-top: 3rem; display: flex; gap: 2.6rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero__stats strong { font-family: var(--serif); font-size: 1.9rem; display: block; color: var(--brand-dark); }
.hero__stats span { color: var(--muted); font-size: .86rem; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: .8rem 1.7rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; border: 0; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section--alt { background: #f3ece3; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section__eyebrow { color: var(--brand-dark); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem; }
.section__head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; }
.section__head p:last-child { color: var(--muted); margin-top: .7rem; }

/* ===== Grid & cards ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.grid--4 { gap: 1.2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(38,33,27,.1); }
.card__media { aspect-ratio: 4/3; display: grid; place-items: center; }
.card__media svg { width: 42%; height: auto; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__body h3 { font-family: var(--serif); font-size: 1.2rem; }
.card__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.card__link { color: var(--brand-dark); font-weight: 600; font-size: .9rem; text-decoration: none; }
.card__link:hover { text-decoration: underline; }

/* ===== Features ===== */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.3rem; }
.feature__icon { font-size: 1.7rem; margin-bottom: .6rem; }
.feature h3 { font-family: var(--serif); font-size: 1.08rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .9rem; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.about__text h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; line-height: 1.2; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__list { list-style: none; margin: 0 0 1.6rem; display: grid; gap: .5rem; }
.about__list li::before { content: "✓ "; color: var(--brand-dark); font-weight: 700; }
.about__card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.7rem; }
.about__card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .9rem; }
.about__card p { font-size: .94rem; color: var(--muted); padding: .42rem 0; border-bottom: 1px dashed var(--line); }
.about__card p:last-child { border-bottom: 0; }
.about__card strong { color: var(--ink); }

/* ===== Contact ===== */
.section--contact { background: var(--ink); color: #f3ece3; }
.section--contact .section__eyebrow { color: #e9c9a0; }
.section--contact .section__head p:last-child { color: #cbb9a4; }
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; }
.form { background: var(--card); color: var(--ink); border-radius: 16px; padding: 1.8rem; display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form__note { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: #2e7d32; }
.form__note.err { color: #c62828; }
.contact__info h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1rem; }
.contact__info p { margin-bottom: .9rem; }
.contact__info a { color: #e9c9a0; }
.contact__hint { font-size: .85rem; color: #cbb9a4; border-top: 1px solid #4a4138; padding-top: 1rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 1.8rem; transform: translateX(100%); transition: transform .25s ease; z-index: 60; }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.2rem; }
  .nav-toggle { display: flex; position: relative; z-index: 70; }
  .about, .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero__stats { gap: 1.8rem; }
}
