/* Samarth Studio template demos: one shared system, a theme per trade (set on <body> through --vars) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--w-display, 600); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* the strip that says this is a template */
.demo-strip { position: sticky; top: 0; z-index: 30; background: #1b1418; color: #f3e6df; font: 500 14px/1.3 "Libre Franklin", system-ui, sans-serif; }
.demo-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.demo-strip a { color: inherit; }
.demo-strip__back { text-decoration: none; opacity: .85; }
.demo-strip__back:hover { opacity: 1; text-decoration: underline; }
.demo-strip__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #edccbe; color: #351a2b !important; text-decoration: none; font-weight: 600; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.demo-strip__cta:hover { background: #fff; transform: translateY(-1px); }

/* the site's own nav */
.site-nav { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--f-display); text-decoration: none; letter-spacing: -0.01em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 16px/1 var(--f-text); }
.site-nav nav { display: flex; gap: 28px; }
.site-nav nav a { text-decoration: none; font-weight: 500; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.site-nav nav a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--r-btn, 12px); font: 600 16px/1 var(--f-text); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn--main { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--wa { background: #1fa855; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { display: grid; gap: 22px; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__visual { position: relative; border-radius: var(--r-card, 20px); overflow: hidden; min-height: 460px; background: var(--surface); }
.hero__visual > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.hero__visual:hover > img { transform: scale(1.03); }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 46em; }
.band { background: var(--surface); }
.band-dark { background: var(--dark); color: var(--dark-ink); }
.band-dark .muted { color: var(--dark-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card, 20px); padding: 28px; display: grid; gap: 10px; align-content: start; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price { font: 700 22px/1.2 var(--f-display); color: var(--accent); }
.tag { display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 600 12px/1.4 var(--f-text); }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list li b { font-weight: 600; }
.list li span { color: var(--muted); text-align: right; }

.photo { border-radius: var(--r-card, 20px); overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.03); }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.visit address { font: 600 clamp(28px, 3vw, 40px)/1.15 var(--f-display); font-style: normal; letter-spacing: -0.02em; }
.map { min-height: 260px; border-radius: var(--r-card, 20px); background:
  linear-gradient(90deg, transparent 46%, rgba(255,255,255,.9) 46% 49%, transparent 49%),
  linear-gradient(0deg, transparent 58%, rgba(255,255,255,.9) 58% 61%, transparent 61%),
  linear-gradient(30deg, transparent 72%, rgba(160,200,235,.8) 72% 80%, transparent 80%),
  var(--map, #e4eadf); position: relative; }
.map::after { content: ""; position: absolute; left: 47.5%; top: 41%; width: 26px; height: 26px; margin: -26px 0 0 -13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.form input, .form select, .form textarea { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); }
.form textarea { min-height: 110px; resize: vertical; }

.site-foot { padding: 40px 0 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.credits { font-size: 12px; opacity: .8; }

/* floating WhatsApp of the demo business (a picture of the feature) */
.float-wa { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); z-index: 20; transition: transform .15s ease; }
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* drawn UI cards inside hero visuals */
.ui-card { background: #fff; color: #1d2330; border-radius: 16px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55); padding: 20px; font: 400 14px/1.45 var(--f-text); }
.ui-card b { font-weight: 600; }
.ui-stack { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; }

@media (max-width: 960px) {
  .hero .wrap, .grid-2, .visit { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 380px; }
  .site-nav nav { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__visual { min-height: 300px; }
  .btn-row .btn { flex: 1 1 100%; }
  .demo-strip .wrap { font-size: 13px; }
  .demo-strip__back span { display: none; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
