/* ============ Variables ============ */
:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --muted: #7a7a7a;
  --bg: #fbfaf8;
  --bg-alt: #f2f0ec;
  --line: #e4e1db;
  --accent: #1d4ed8;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Playfair Display', Georgia, serif;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ============ Typography ============ */
h1, h2 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.08rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: #9db8ff; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--small { padding: 9px 18px; font-size: 0.88rem; box-shadow: none; }
.btn--full { width: 100%; }

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { font-size: 0.93rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width 0.25s;
}
.nav__links a:not(.btn):hover, .nav__links a.active { color: var(--ink); }
.nav__links a:not(.btn):hover::after, .nav__links a.active::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 0; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.25s, opacity 0.25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { padding: 56px 0 88px; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero__lead { margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 1.05rem; }
.hero__facts span { font-size: 0.85rem; color: var(--muted); }

.hero__photo { position: relative; justify-self: center; width: min(100%, 420px); }
.photo-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  transform: rotate(2deg);
  border: 6px solid #fff;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero__photo::before {
  content: ''; position: absolute; inset: 18px -16px -16px 18px; border: 2px solid var(--accent); border-radius: 28px; z-index: -1; opacity: 0.35;
}
.badge {
  position: absolute; left: -18px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow);
}
.badge__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(31,168,85,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,168,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); } }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 620px; margin-bottom: 48px; }
.section__head p { margin-top: 14px; color: var(--ink-soft); }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about__body p { color: var(--ink-soft); font-size: 1.05rem; }
.about__body p + p { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.value { padding-top: 16px; border-top: 2px solid var(--ink); }
.value h3 { margin-bottom: 6px; }
.value p { font-size: 0.92rem; }

/* Services cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; background: #eaf0ff; color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.note { margin-top: 28px; font-size: 0.85rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding: 8px 0; }
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Shop */
.shop { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.shop p { color: #c9c9c9; margin-top: 16px; max-width: 480px; }
.shop__list { margin: 26px 0 30px; }
.shop__list li { padding: 12px 0; border-bottom: 1px solid #2c2c2c; color: #ececec; display: flex; gap: 18px; }
.shop__list span { width: 90px; color: #8b8b8b; font-size: 0.88rem; flex-shrink: 0; padding-top: 2px; }
.shop__list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.shop__photo { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.45); border: 6px solid #fff; }
.shop__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shop__photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info p { margin-top: 16px; color: var(--ink-soft); max-width: 440px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 0.96rem; background: var(--bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12); }
.field textarea { resize: vertical; }
.form__error { color: #c62828; font-size: 0.88rem; margin-bottom: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__top:hover { color: var(--ink); }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(31,168,85,.4);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.08); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge__dot { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero__inner, .about, .shop, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 36px; }
  .hero__photo { order: -1; width: min(100%, 340px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 4% 22px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 16px; }
  .cards, .steps, .values { grid-template-columns: 1fr; }
  .hero__facts { gap: 24px; }
  .form { padding: 24px 20px; }
  .badge { left: 8px; }
  .hero__photo::before { display: none; }
}
