/* ==========================================================================
   Nice Website Design — Section components
   ========================================================================== */

/* ---- HERO ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(232,160,32,.10), transparent 60%),
    radial-gradient(760px 620px at -6% 18%, rgba(61,90,110,.10), transparent 58%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .amber-text { color: var(--amber); }
.hero-sub { font-size: clamp(1.08rem, 1.7vw, 1.32rem); max-width: 36ch; margin-bottom: 2rem; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust .stars svg { width: 17px; height: 17px; }
.hero-trust .ht-text { font-size: .92rem; color: var(--body); }
.hero-trust .ht-text strong { color: var(--ink); }
.hero-divider { width: 1px; height: 30px; background: var(--border); }

/* hero visual stack */
.hero-visual { position: relative; }
.hero-shot {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; overflow: hidden;
  background-color: var(--slate-tint); position: relative;
}
.hero-shot .ph { position: absolute; inset: 0; }
.hero-float {
  position: absolute; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-float .hf-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-float .hf-ic svg { width: 22px; height: 22px; }
.hero-float .hf-num { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero-float .hf-lab { font-size: .78rem; color: var(--icon-grey); }
.hero-float.f1 { left: -26px; top: 22%; }
.hero-float.f2 { right: -22px; bottom: 16%; }
.hero-float.f1 .hf-ic { background: var(--amber-tint); color: #9a6a10; }
.hero-float.f2 .hf-ic { background: var(--slate-tint); color: var(--slate-blue); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: clamp(40px, 7vw, 72px); }
  .hero-sub { max-width: 52ch; }
  .hero-visual { max-width: 480px; }
  .hero-float.f1 { left: 8px; }
  .hero-float.f2 { right: 8px; }
}
@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-float { padding: 10px 13px; }
  .hero-float .hf-num { font-size: 1.2rem; }
  .hero-float.f1 { left: -4px; top: 12%; }
  .hero-float.f2 { right: -4px; bottom: 10%; }
  .hero-trust { gap: 12px; }
  .hero-divider { display: none; }
}

/* simpler page hero (interior pages) */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 380px at 92% -20%, rgba(232,160,32,.09), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(52px, 7vw, 92px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; line-height: 1.08; margin-bottom: .4em; }
.page-hero p { max-width: 56ch; margin-top: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--icon-grey); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { opacity: .5; }

/* ---- STATS BAR ----------------------------------------------------------- */
.statbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.statbar-inner { display: grid; grid-template-columns: auto repeat(4, 1fr); align-items: center; gap: 28px; padding-block: 30px; }
.statbar-label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--icon-grey); max-width: 16ch; line-height: 1.4; }
.stat { text-align: left; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 3.4vw, 2.9rem); color: var(--slate-blue); line-height: 1; }
.stat .num span { color: var(--amber); }
.stat .lab { font-size: .86rem; color: var(--body); margin-top: 6px; }
@media (max-width: 860px) { .statbar-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; } .statbar-label { grid-column: 1 / -1; } }
.metrics-3 { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 600px) { .metrics-3 { grid-template-columns: 1fr !important; gap: 18px; text-align: center; } }

/* ---- SERVICE CARDS ------------------------------------------------------- */
.svc-card { padding: 32px 28px; display: flex; flex-direction: column; height: 100%; }
.svc-ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--slate-tint); color: var(--slate-blue); margin-bottom: 22px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.svc-ic svg { width: 28px; height: 28px; }
.card-hover:hover .svc-ic { background: var(--slate-blue); color: #fff; transform: rotate(-4deg) scale(1.04); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: .98rem; margin-bottom: 20px; flex: 1; }
.svc-num { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--border); }
.svc-card { position: relative; }

/* ---- WHY CHOOSE / FEATURE LIST ------------------------------------------ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.why-item { display: flex; gap: 14px; }
.why-item .wi-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--amber-tint); color: #9a6a10; display: grid; place-items: center; }
.why-item .wi-ic svg { width: 20px; height: 20px; }
.why-item h4 { margin-bottom: 5px; }
.why-item p { font-size: .92rem; margin: 0; }
.why-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.why-visual .ph { position: absolute; inset: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-list { grid-template-columns: 1fr; } .why-visual { display: none; } }
.why-list-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .why-list-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .why-list-3 { grid-template-columns: 1fr; } }

/* ---- PORTFOLIO / PROJECT CARDS ------------------------------------------ */
.pc-shot { display: block; aspect-ratio: 16/10.5; position: relative; border-radius: var(--radius) var(--radius) 0 0; }
.pc-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
.pc-shot.ph { align-items: flex-end; justify-content: flex-start; padding: 16px; }
.pc-shot .ph-label { position: relative; z-index: 2; }
.pc-cat { position: absolute; top: 14px; left: 14px; z-index: 2; }
.project-card { overflow: hidden; }
.pc-body { padding: 22px 24px 24px; }
.pc-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--icon-grey); margin-bottom: 10px; font-weight: 500; }
.pc-loc svg { width: 15px; height: 15px; color: var(--amber); }
.pc-body h3 { margin-bottom: 9px; }
.pc-body p { font-size: .95rem; margin-bottom: 18px; }
.pc-links { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-ext { font-size: .85rem; font-weight: 600; color: var(--icon-grey); }
.pc-ext:hover { color: var(--amber); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-bar button {
  font-family: var(--sans); font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--body); transition: all .16s ease;
}
.filter-bar button:hover { border-color: var(--slate-blue); color: var(--slate-blue); }
.filter-bar button.active { background: var(--slate-blue); border-color: var(--slate-blue); color: #fff; }

/* ---- PROCESS ------------------------------------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 14px; }
.process-step .ps-num {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--slate-blue);
  box-shadow: var(--shadow-sm); margin-bottom: 20px; position: relative; z-index: 1;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.process-step p { font-size: .94rem; margin: 0; }
.process-grid .process-step:not(:last-child)::before {
  content: ""; position: absolute; top: 23px; left: 46px; right: -24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr 1fr; } .process-grid .process-step::before { display: none; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---- REVIEWS ------------------------------------------------------------- */
.review-card {     padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    margin: 0 1em; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.rev-google { width: 30px; height: 30px; display: grid; place-items: center; }
.rev-google svg, .rev-google .g-ico svg { width: 22px; height: 22px; }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); flex: 1; }
.review-by { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--slate-blue), var(--slate-deep)); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.rev-name { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; }
.rev-role { display: block; font-size: .82rem; color: var(--icon-grey); }

.review-track { display: grid; grid-auto-flow: column;     grid-auto-columns: minmax(447px, 0); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-track .review-card { scroll-snap-align: start; }
.carousel-ctrls { display: flex; gap: 10px; }
.carousel-ctrls button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--slate-blue); cursor: pointer; display: grid; place-items: center;
  transition: all .16s ease;
}
.carousel-ctrls button:hover { background: var(--slate-blue); color: #fff; border-color: var(--slate-blue); }
.carousel-ctrls svg { width: 20px; height: 20px; }

/* ---- CTA BANNER ---------------------------------------------------------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 380px at 85% 120%, rgba(232,160,32,.18), transparent 60%),
              radial-gradient(560px 320px at 8% -30%, rgba(61,90,110,.4), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr auto; gap: 36px; align-items: center; }
.cta-inner h2 { color: #fff; max-width: 18ch; }
.cta-inner p { color: #B4C2CC; max-width: 48ch; margin-top: .8rem; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: 240px; }
.cta-actions .or { text-align: center; font-size: .82rem; color: #8395a1; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---- HOME LEAD FORM SECTION ---------------------------------------------- */
.lead-section { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.lead-copy h2 { color: #fff; max-width: 16ch; }
.lead-copy > p { color: #B4C2CC; max-width: 46ch; margin-top: .9rem; }
.lead-methods { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.lead-method { display: flex; gap: 14px; align-items: center; padding: 12px 0; color: #C6D2DA; }
.lead-method .lm-ic { flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--amber); display: grid; place-items: center; }
.lead-method .lm-ic svg { width: 21px; height: 21px; }
.lead-method strong { display: block; color: #fff; font-size: 1rem; }
.lead-method span span { font-size: .85rem; color: #8a9aa6; }
a.lead-method:hover .lm-ic { background: var(--amber); border-color: var(--amber); color: var(--navy); }
a.lead-method:hover strong { color: var(--amber); }
@media (max-width: 820px) { .lead-section { grid-template-columns: 1fr; } }

/* consult card (service hero) */
.consult-card h3 { font-family: var(--display); font-weight: 600; }

/* ---- FORMS --------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(26px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--amber); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .8em .9em; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--slate-blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(61,90,110,.1);
}
.field .invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; margin-top: 4px; min-height: 1.2em; }
.form-note.err { color: #d9534f; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success .fs-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--amber-tint); color: #9a6a10; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-ic svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 8px; }

/* ---- CONTACT LAYOUT ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-method { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-method:first-child { padding-top: 0; }
.contact-method .cm-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--slate-tint); color: var(--slate-blue); display: grid; place-items: center; }
.contact-method .cm-ic svg { width: 24px; height: 24px; }
.contact-method h4 { margin-bottom: 3px; }
.contact-method a { color: var(--slate-blue); font-weight: 600; }
.contact-method a:hover { color: var(--amber); }
.contact-method .cm-sub { font-size: .88rem; color: var(--icon-grey); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- ABOUT / VALUES ------------------------------------------------------ */
.value-card { padding: 28px 26px; height: 100%; }
.value-card .vc-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--slate-tint); color: var(--slate-blue); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .vc-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: .94rem; margin: 0; }

.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.founder-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; }
.founder-photo .ph { position: absolute; inset: 0; }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---- SERVICE DETAIL ------------------------------------------------------ */
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .svc-hero-grid { grid-template-columns: 1fr; } }
.incl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.incl-list li { display: flex; gap: 13px; align-items: flex-start; }
.incl-list .ic { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--amber-tint); color: #9a6a10; display: grid; place-items: center; margin-top: 1px; }
.incl-list .ic svg { width: 15px; height: 15px; }
.incl-list strong { color: var(--ink); display: block; }
.incl-list span { font-size: .94rem; }
.price-card { text-align: center; padding: 36px 30px; }
.price-card .pc-from { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--icon-grey); font-weight: 600; }
.price-card .pc-amt { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--ink); line-height: 1; margin: 8px 0; }
.price-card .pc-amt span { font-size: 1.1rem; color: var(--icon-grey); }
.price-card .pc-note { font-size: .9rem; margin-bottom: 22px; }

/* ---- BLOG ---------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.blog-card .bc-shot { aspect-ratio: 16/9; position: relative; }
.blog-card .bc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-meta { display: flex; gap: 12px; align-items: center; font-size: .8rem; color: var(--icon-grey); margin-bottom: 12px; }
.blog-card h3 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.2; }
.blog-card p { font-size: .94rem; margin-bottom: 18px; flex: 1; }
.blog-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.blog-feature .bf-shot { aspect-ratio: 16/10; border-radius: var(--radius-lg); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 800px) { .blog-feature { grid-template-columns: 1fr; } }

/* article body */
.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 1.1rem; line-height: 1.75; margin-bottom: 1.3em; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 1.6em 0 .6em; text-transform: none; }
.article h3 { font-size: 1.4rem; margin: 1.3em 0 .5em; }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article li { margin-bottom: .55em; line-height: 1.7; }
.article blockquote { border-left: 3px solid var(--amber); padding: 6px 0 6px 24px; margin: 1.6em 0; font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--ink); line-height: 1.3; }
.article img, .article .ph { border-radius: var(--radius); margin: 1.6em 0; }

/* ---- TRUST / LOGO ROW ---------------------------------------------------- */
.trust-row { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; justify-content: center; opacity: .9; }
.trust-chip { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--icon-grey); letter-spacing: .02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }
.trust-chip svg { width: 22px; height: 22px; color: var(--slate-blue); }

/* ---- generic two-col prose ----------------------------------------------- */
.prose-2 { columns: 2; column-gap: 44px; }
@media (max-width: 700px) { .prose-2 { columns: 1; } }
