:root {
  --bg: #ffffff;
  --text: #1f2430;
  --muted: #5e6778;
  --line: #e9edf3;
  --primary: #6f5df6;
  --primary-2: #25b9c7;
  --soft: #f7f9fc;
  --shadow: 0 14px 35px rgba(31, 36, 48, 0.10);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
}
.brand strong { display: block; font-size: .98rem; line-height: 1.1; }
.brand span { display:block; font-size:.78rem; color:var(--muted); }
nav { display: flex; align-items: center; gap: 14px; }
nav a { font-size: .9rem; color: var(--muted); font-weight: 600; }
nav a:hover { color: var(--primary); }
.menu-btn { display:none; border:1px solid var(--line); background:#fff; border-radius:10px; padding:8px 10px; }

.hero {
  padding: 36px 0 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(111,93,246,.12), transparent 40%),
    radial-gradient(circle at 87% 25%, rgba(37,185,199,.10), transparent 38%),
    #fff;
}
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: center; }
.hero-copy h1 {
  margin: 4px 0 6px; font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05;
}
.eyebrow { margin:0; color:var(--primary); font-weight:700; letter-spacing:.05em; text-transform: uppercase; font-size: .8rem; }
.subtitle { margin: 0 0 8px; font-weight: 700; color: #2d3444; }
.hero-copy > p:nth-of-type(3) { color: var(--muted); margin-top: 0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid var(--line); background:#fff; color:var(--text);
  padding: 12px 16px; border-radius: 12px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.03);
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff; border: none;
}
.hero-cards { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.hero-cards article {
  border:1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 4px 12px rgba(0,0,0,.03);
}
.hero-cards h3 { margin: 0; font-size: .85rem; }
.hero-cards p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

.hero-visual { position: relative; min-height: 420px; }
.hero-logo-card {
  position: absolute; inset: 0 18px 48px 0; background: #fff; border:1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow); padding: 14px; overflow:hidden;
}
.hero-logo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.float-card {
  position:absolute; bottom: 14px; right: 0;
  background:#fff; border:1px solid var(--line); border-radius: 14px;
  padding: 10px 12px; font-weight: 700; max-width: 240px; box-shadow: var(--shadow); font-size: .88rem;
}
.float-card.second { top: 12px; right: 10px; bottom: auto; background: linear-gradient(135deg,#fff,#f5fbff); }

.section { padding: 54px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  margin: 0 0 8px; font-size: clamp(1.35rem, 3vw, 2rem);
  font-family: 'Playfair Display', serif; line-height: 1.1;
}
.section-intro { margin: 0 0 18px; color: var(--muted); }
.cards { display:grid; gap: 14px; }
.cards.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 8px 20px rgba(0,0,0,.04);
}
.card h3 { margin: 0 0 8px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }

.price-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.price-card {
  background:#fff; border:1px solid var(--line); border-radius: 18px;
  padding: 18px; text-align:center; box-shadow: var(--shadow);
}
.price-card h3 { margin:0 0 8px; font-size: 1rem; }
.price { margin:0; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.price-card.featured {
  border-color: rgba(111,93,246,.3);
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  transform: translateY(-4px);
}
.schedule-note { margin: 16px 0 0; color: var(--muted); }

.link-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.link-grid a {
  border:1px solid var(--line); background:#fff; border-radius: 14px;
  padding: 12px 14px; font-weight: 700; color: var(--primary);
}
.link-grid a:hover { border-color: var(--primary); }

.gallery {
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
}
.gallery figure {
  margin:0; background:#fff; border:1px solid var(--line); border-radius: 16px; overflow:hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}
.gallery img { width:100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }

.map-card {
  border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 18px;
  display:flex; flex-wrap:wrap; justify-content: space-between; align-items:center; gap:12px;
  box-shadow: var(--shadow);
}
.map-card p { margin:0; color: var(--muted); }
.closing { background: linear-gradient(180deg,#fff,#fcfcff); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0 34px;
}
.footer-wrap { display:flex; justify-content: space-between; gap: 18px; align-items:flex-start; }
.footer-wrap p { margin:.2rem 0; color: var(--muted); }
.footer-links { display:flex; flex-direction:column; gap:8px; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .cards.three, .price-grid, .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .menu-btn { display:block; }
  nav {
    position: absolute; top: 78px; left: 0; right: 0; background:#fff; border-bottom:1px solid var(--line);
    display:none; flex-direction: column; align-items:flex-start; gap: 0; padding: 8px 16px;
  }
  nav a { width:100%; padding: 10px 0; border-bottom:1px solid var(--line); }
  nav a:last-child{ border-bottom:none; }
  nav.open { display:flex; }
  .cards.two, .cards.three, .price-grid, .link-grid, .gallery, .hero-cards { grid-template-columns: 1fr; }
  .hero-logo-card { inset: 0 0 52px 0; }
  .float-card { right: 8px; left: 8px; max-width: none; }
  .float-card.second { top: auto; bottom: 76px; }
  .footer-wrap { flex-direction: column; }
}
