:root {
  --primary: #315b4c;
  --primary-rgb: 49, 91, 76;
  --secondary: #f4efe6;
  --accent: #d7a86e;
  --ink: #173128;
  --muted: #65736e;
  --white: #ffffff;
  --surface: #ffffff;
  --border: rgba(22, 50, 40, 0.12);
  --shadow: 0 22px 60px rgba(24, 49, 40, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfaf7;
  line-height: 1.6;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--secondary); }
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(var(--primary-rgb), .16);
  border-radius: 999px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.65);
}
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head h2 {
  margin: 16px 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.demo-strip {
  background: #101814;
  color: #f7f3ea;
  font-size: .82rem;
  padding: 9px 20px;
  text-align: center;
  letter-spacing: .03em;
}
.demo-strip a { color: var(--accent); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(251,250,247,.88);
  border-bottom: 1px solid rgba(var(--primary-rgb), .09);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  color: white; background: var(--primary);
  font-family: Georgia, serif; font-size: 1.25rem; font-weight: 800;
  box-shadow: 0 12px 26px rgba(var(--primary-rgb), .22);
}
.brand-copy strong { display: block; font-size: .96rem; letter-spacing: .12em; }
.brand-copy span { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 650; font-size: .92rem; }
.nav-links a:hover { color: var(--primary); }
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 999px; padding: 14px 22px;
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta, .btn-primary { color: white; background: var(--primary); box-shadow: 0 14px 30px rgba(var(--primary-rgb), .2); }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }
.btn-secondary { background: white; border: 1px solid var(--border); color: var(--ink); }
.menu-btn { display: none; background: transparent; border: 0; font-size: 1.5rem; color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 62px 0 86px; }
.hero::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -180px; top: -210px; background: rgba(var(--primary-rgb), .08); filter: blur(4px);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.hero-copy h1 {
  margin: 22px 0 24px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.15rem, 6vw, 6.7rem);
  letter-spacing: -.065em;
  line-height: .94;
  font-weight: 500;
}
.hero-copy h1 em { color: var(--primary); font-style: italic; }
.hero-copy > p { color: var(--muted); font-size: 1.14rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font-size: .91rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hero-visual { position: relative; min-height: 580px; }
.hero-photo {
  position: absolute; inset: 0 0 0 60px; border-radius: 180px 180px 34px 34px;
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,35,27,.42), transparent 55%); }
.floating-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 18px;
  box-shadow: 0 20px 50px rgba(23,49,40,.16);
}
.floating-card strong { display: block; font-size: 1.05rem; }
.floating-card span { display: block; color: var(--muted); font-size: .84rem; }
.fc-one { left: 0; bottom: 90px; width: 230px; }
.fc-two { right: -24px; top: 72px; width: 210px; }
.mini-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); display:grid; place-items:center; color: var(--primary); font-size:1.3rem; margin-bottom: 10px; }

.trust-bar { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.trust-item { display:flex; gap: 12px; align-items:center; padding: 8px 12px; }
.trust-icon { width: 42px; height:42px; border-radius:13px; background: var(--secondary); display:grid; place-items:center; color:var(--primary); font-size:1.15rem; }
.trust-item strong { display:block; font-size:.92rem; }
.trust-item span { display:block; color:var(--muted); font-size:.78rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width:100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-badge { position:absolute; right:-24px; bottom:38px; background:var(--primary); color:white; border-radius:22px; padding:22px; width:190px; box-shadow:0 24px 40px rgba(var(--primary-rgb),.23); }
.about-badge strong { display:block; font-family:Georgia,serif; font-size:2rem; }
.about-copy h2 { font-family:Georgia,serif; font-size:clamp(2.4rem,5vw,4.6rem); line-height:1; letter-spacing:-.045em; margin:16px 0 24px; }
.about-copy p { color:var(--muted); font-size:1.08rem; }
.check-list { display:grid; gap:13px; padding:0; margin:26px 0 0; list-style:none; }
.check-list li { display:flex; gap:12px; align-items:flex-start; }
.check-list li span { width:26px; height:26px; flex:0 0 26px; border-radius:50%; background:rgba(var(--primary-rgb),.12); color:var(--primary); display:grid; place-items:center; font-weight:900; }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card { background:white; border:1px solid var(--border); border-radius:26px; padding:30px; position:relative; overflow:hidden; transition:.25s ease; }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.service-icon { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:var(--secondary); color:var(--primary); font-size:1.35rem; margin-bottom:28px; }
.service-card h3 { font-family:Georgia,serif; font-size:1.65rem; margin:0 0 10px; }
.service-card p { color:var(--muted); min-height:78px; }
.service-meta { display:grid; gap:8px; margin:22px 0 0; padding-top:20px; border-top:1px solid var(--border); font-size:.9rem; }
.service-meta span { display:flex; justify-content:space-between; gap:12px; }
.service-meta b { color:var(--primary); }

.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step-card { padding:30px; border-left:1px solid var(--border); }
.step-number { font-family:Georgia,serif; font-size:4rem; color:rgba(var(--primary-rgb),.16); line-height:1; }
.step-card h3 { font-size:1.18rem; margin:12px 0 8px; }
.step-card p { color:var(--muted); margin:0; }

.appointment-section { background:var(--primary); color:white; position:relative; overflow:hidden; }
.appointment-section::before { content:''; position:absolute; width:460px;height:460px;border-radius:50%; right:-140px; top:-160px; border:1px solid rgba(255,255,255,.14); box-shadow:0 0 0 60px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.02); }
.appointment-grid { position:relative; display:grid; grid-template-columns:.82fr 1.18fr; gap:70px; align-items:start; }
.appointment-copy h2 { font-family:Georgia,serif; font-size:clamp(2.6rem,5vw,4.7rem); line-height:1; margin:16px 0 22px; letter-spacing:-.04em; }
.appointment-copy p { color:rgba(255,255,255,.72); }
.contact-stack { display:grid; gap:14px; margin-top:30px; }
.contact-row { display:flex; gap:14px; align-items:center; }
.contact-row i { width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.11);display:grid;place-items:center;font-style:normal; }
.contact-row small { color:rgba(255,255,255,.58); display:block; }
.form-card { background:#fff; color:var(--ink); border-radius:30px; padding:32px; box-shadow:0 28px 70px rgba(0,0,0,.18); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:.8rem; font-weight:800; color:var(--ink); }
.field input,.field textarea,.field select { width:100%; border:1px solid var(--border); border-radius:13px; padding:13px 14px; background:#fbfaf7; color:var(--ink); outline:none; }
.field input:focus,.field textarea:focus,.field select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(var(--primary-rgb),.09); }
.field textarea { min-height:100px; resize:vertical; }
.form-note { font-size:.78rem; color:var(--muted); margin:12px 0 0; }
.form-message { display:none; padding:13px 15px; border-radius:13px; margin-bottom:15px; background:#e9f6ef; color:#205b3b; font-weight:700; }
.form-message.show { display:block; }

.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.post-card { background:white; border-radius:24px; overflow:hidden; border:1px solid var(--border); }
.post-card img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.post-body { padding:24px; }
.post-meta { display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; font-weight:800; }
.post-card h3 { font-family:Georgia,serif; font-size:1.48rem; line-height:1.16; margin:13px 0 10px; }
.post-card p { color:var(--muted); margin:0; }
.read-more { display:inline-flex; margin-top:18px; color:var(--primary); font-weight:800; }

.gallery-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr; grid-auto-rows:220px; gap:14px; }
.gallery-item { border-radius:22px; overflow:hidden; position:relative; }
.gallery-item:first-child { grid-row:span 2; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img { transform:scale(1.04); }

.videos-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.video-card { background:white; border:1px solid var(--border); border-radius:24px; overflow:hidden; }
.video-frame { aspect-ratio:16/9; width:100%; border:0; }
.video-body { padding:22px; }
.video-body h3 { margin:0 0 7px; }
.video-body p { margin:0; color:var(--muted); }

.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-card { background:white; border:1px solid var(--border); border-radius:24px; padding:28px; }
.stars { color:var(--accent); letter-spacing:.1em; }
.testimonial-card blockquote { margin:18px 0; font-family:Georgia,serif; font-size:1.18rem; line-height:1.45; }
.testimonial-card strong { color:var(--primary); }

.cta-band { padding:54px 0; background:#111915; color:white; }
.cta-wrap { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta-wrap h2 { font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.4rem); margin:0 0 8px; }
.cta-wrap p { margin:0; color:rgba(255,255,255,.62); }

.site-footer { padding:54px 0 26px; background:#0b110e; color:white; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(2,.7fr); gap:40px; }
.footer-brand p { color:rgba(255,255,255,.56); max-width:420px; }
.footer-col h4 { margin:0 0 13px; }
.footer-col a { display:block; color:rgba(255,255,255,.58); margin:8px 0; }
.footer-bottom { margin-top:38px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; color:rgba(255,255,255,.42); font-size:.8rem; }
.mktgo-signature { color:var(--accent); font-weight:800; letter-spacing:.06em; }

.modal { position:fixed; inset:0; z-index:100; display:none; background:rgba(7,15,11,.72); padding:24px; place-items:center; }
.modal.show { display:grid; }
.modal-card { max-width:760px; max-height:90vh; overflow:auto; width:100%; background:white; border-radius:26px; padding:32px; position:relative; }
.modal-card img { width:100%; max-height:330px; object-fit:cover; border-radius:18px; margin-bottom:22px; }
.modal-card h2 { font-family:Georgia,serif; font-size:2.3rem; line-height:1.1; margin:8px 0 15px; }
.modal-card p { color:var(--muted); }
.modal-close { position:absolute; top:16px; right:16px; width:42px; height:42px; border-radius:50%; border:0; background:#f4f2ed; cursor:pointer; font-size:1.2rem; }

@media (max-width: 1000px) {
  .nav-links { position:fixed; inset:112px 20px auto; display:none; flex-direction:column; align-items:stretch; padding:22px; border-radius:20px; background:white; box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .nav-cta { display:none; }
  .menu-btn { display:block; }
  .hero-grid,.about-grid,.appointment-grid { grid-template-columns:1fr; }
  .hero-copy { padding-top:16px; }
  .hero-visual { min-height:520px; }
  .hero-photo { inset:0 40px 0 70px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .services-grid,.posts-grid,.testimonial-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width:min(100% - 28px,1180px); }
  .section { padding:76px 0; }
  .nav-wrap { height:72px; }
  .brand-copy span { display:none; }
  .hero { padding-top:42px; }
  .hero-copy h1 { font-size:clamp(3.05rem,15vw,4.6rem); }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-visual { min-height:430px; }
  .hero-photo { inset:0 0 0 30px; border-radius:110px 110px 28px 28px; }
  .fc-one { bottom:22px; left:0; width:190px; }
  .fc-two { top:30px; right:-6px; width:170px; }
  .trust-grid,.services-grid,.posts-grid,.testimonial-grid,.steps-grid,.videos-grid { grid-template-columns:1fr; }
  .about-badge { right:-8px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .gallery-grid { grid-template-columns:1fr 1fr; grid-auto-rows:170px; }
  .gallery-item:first-child { grid-row:span 1; grid-column:1/-1; }
  .cta-wrap,.footer-bottom { flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; }
}
