:root {
  --bg: #f9f9f9;
  --surface: #fff;
  --muted: #eeeeee;
  --line: #cfc4c5;
  --text: #1a1c1c;
  --soft: #4c4546;
  --gold: #735c00;
  --black: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.container { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(207, 196, 197, .55);
  background: rgba(249, 249, 249, .86);
  backdrop-filter: blur(14px);
}
.nav-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a, .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--soft);
}
.nav-links a.active { color: var(--black); border-bottom: 1px solid var(--black); padding-bottom: 4px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--black);
  background: var(--black);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn.secondary { background: transparent; color: var(--black); }
.btn.secondary:hover { background: var(--black); color: #fff; }
.mobile-menu { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; }
.page { padding-top: 80px; }
.hero {
  min-height: 700px;
  height: 92vh;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.12)); z-index: 1; }
.hero img { position: absolute; inset: 0; filter: saturate(.9); }
.hero-content { position: relative; z-index: 2; max-width: 690px; padding-bottom: 96px; }
.kicker { color: rgba(255,255,255,.82); margin: 0 0 16px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0; font-weight: 600; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: 1.05; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; }
h3 { font-size: 28px; line-height: 1.2; }
p { line-height: 1.7; }
.lead { font-size: 18px; color: var(--soft); }
.hero .lead { color: rgba(255,255,255,.9); max-width: 560px; }
.section { padding: 112px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 3 / 4; background: var(--muted); }
.rule { width: 54px; height: 1px; background: var(--black); margin: 26px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid rgba(207,196,197,.65); background: var(--surface); }
.service-image { aspect-ratio: 4 / 3; background: var(--muted); overflow: hidden; }
.card-body { padding: 28px; }
.muted-band { background: #fff; border-top: 1px solid rgba(207,196,197,.45); border-bottom: 1px solid rgba(207,196,197,.45); }
.page-head { padding: 92px 0 56px; text-align: center; }
.page-head .lead { max-width: 720px; margin: 18px auto 0; }
.service-list { display: grid; gap: 24px; }
.category { margin-top: 64px; }
.service-row { display: grid; grid-template-columns: 240px 1fr; min-height: 210px; border: 1px solid rgba(207,196,197,.65); background: #fff; }
.service-row .copy { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.price { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.gallery-item { min-height: 360px; position: relative; overflow: hidden; border: 1px solid rgba(207,196,197,.65); background: #fff; }
.gallery-item.large { grid-row: span 2; min-height: 744px; }
.gallery-item.wide { min-height: 360px; }
.gallery-item.full { grid-column: 1 / -1; min-height: 460px; }
.caption { position: absolute; inset: auto 0 0; padding: 24px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.contact-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.panel { border: 1px solid rgba(207,196,197,.65); background: #fff; padding: 36px; }
.soft-panel { background: #f2e8cf33; padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--soft); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 13px 14px;
  font: inherit;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(115, 92, 0, .28); border-color: var(--gold); }
.stack { display: grid; gap: 18px; }
.hours { display: grid; gap: 8px; margin-top: 12px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(207,196,197,.45); padding-bottom: 8px; }
.map { width: 100%; height: 450px; border: 0; filter: grayscale(1); }
.footer { margin-top: 96px; border-top: 1px solid rgba(207,196,197,.55); background: #fff; padding: 58px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.admin-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.admin-nav { position: sticky; top: 104px; display: grid; gap: 8px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-list { display: grid; gap: 14px; }
.admin-item { border: 1px solid var(--line); padding: 18px; background: #fff; display: grid; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.notice { display: none; padding: 12px 14px; border: 1px solid #9f8a2d; background: #fff8d8; margin-bottom: 18px; }
.notice.show { display: block; }
.login-panel { max-width: 460px; margin: 0 auto 42px; }
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 70;
  display: grid;
  gap: 16px;
}
.float-btn {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #111;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.float-btn svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}
.float-btn.phone { background: #e6e8ee; }
.float-btn.whatsapp { background: #25d366; color: #fff; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.float-btn.phone:hover { background: #d9dce4; }
.float-btn.whatsapp:hover { background: #20bf5b; }

@media (max-width: 860px) {
  .container { width: min(100% - 32px, 1440px); }
  .nav-links, .topbar .btn { display: none; }
  .mobile-menu { display: block; }
  .nav-open .nav-links {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .hero { min-height: 640px; }
  .section { padding: 76px 0; }
  .split, .grid-3, .contact-layout, .admin-layout, .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .service-image { min-height: 230px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.large, .gallery-item.wide, .gallery-item.full { grid-column: auto; grid-row: auto; min-height: 330px; }
  .footer-inner { flex-direction: column; }
  .floating-contact { right: 16px; bottom: 18px; gap: 12px; }
  .float-btn { width: 54px; height: 54px; }
  .float-btn svg { width: 26px; height: 26px; }
}
