/* ============================================================
   HostingServerz — front-end stylesheet
   Light theme. Palette variables are injected by includes/header.php
   (edit them under Admin → Settings → Colours).
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(17, 12, 46, .06);
  --shadow:    0 14px 40px rgba(17, 12, 46, .09);
  --shadow-lg: 0 30px 70px rgba(17, 12, 46, .14);
  --maxw:      1200px;
  --gutter:    24px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --head:      "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:      "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fallbacks — overridden inline from the database */
  --primary:   #6D28D9;
  --primary-2: #C026D3;
  --accent:    #F59E0B;
  --dark:      #140B33;
  --dark-2:    #1D1148;
  --text:      #1F2937;
  --footer-bg: #0E0724;

  --muted:   #6B7280;
  --line:    #E8E5F2;
  --bg-soft: #F8F7FD;
  --white:   #FFFFFF;
  --grad:    linear-gradient(118deg, var(--primary), var(--primary-2));
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
svg { height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-2); }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.022em;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(56px, 7.5vw, 96px) 0; }
.section--tight  { padding-bottom: 0; }
.section--notop  { padding-top: 34px; }
.section--soft   { background: var(--bg-soft); }
.section--band {
  background:
    radial-gradient(720px 340px at 50% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%),
    var(--bg-soft);
}

.center { text-align: center; }
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- section heading ---------- */
.sec-head { max-width: 780px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; }
.sec-head__sub { color: var(--muted); font-size: 1.04rem; margin-top: 14px; }

/* little dashed rule under a centred heading */
.rule {
  display: block; width: 62px; height: 5px; border-radius: 99px;
  background: var(--grad); margin: 18px auto 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .74rem/1 var(--body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  padding: 8px 15px; border-radius: 999px; margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 .95rem/1 var(--body);
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 34%, transparent);
}
.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 42%, transparent); }

.btn--accent { background: var(--accent); color: #241403; }
.btn--accent:hover { color: #241403; filter: brightness(1.07); }

.btn--ghost { background: #fff; color: var(--dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--light { background: #fff; color: var(--dark); border-color: var(--line); }
.btn--light:hover { border-color: var(--primary); color: var(--primary); }

.btn--sm { padding: 11px 22px; font-size: .86rem; }
.btn--full { width: 100%; }
.btn .ico { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--dark-2); color: #C9C0E8; font-size: .82rem; padding: 9px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #C9C0E8; }
.topbar a:hover { color: #fff; }
.topbar ul { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar .ico { width: 15px; height: 15px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.site-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 94px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; font-size: 1.22rem; color: var(--dark); letter-spacing: -.03em; }
.brand:hover { color: var(--dark); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 36%, transparent);
}
.brand__mark .ico { width: 22px; height: 22px; }
/* the drawn mark supplies its own colour, so no gradient tile behind it */
.brand__mark--art { background: none; box-shadow: none; width: 44px; height: 44px; }
/* wide 3:1 logo — size it by width so the wordmark stays readable */
.brand img { width: clamp(180px, 17vw, 236px); height: auto; max-height: none; }
.brand span small { display: block; font: 400 .66rem/1.2 var(--body); color: var(--muted); letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 10px; font-weight: 500; font-size: .93rem; color: var(--text); }
.nav a:hover, .nav .is-active > a { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.nav .ico { width: 15px; height: 15px; }

.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 9px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .22s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { padding: 11px 13px; border-radius: 9px; font-size: .9rem; }
.submenu a:hover { background: var(--bg-soft); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--dark); place-items: center; cursor: pointer; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 110;
  background: #fff; padding: 22px; overflow-y: auto;
  transform: translateX(104%); transition: transform .34s var(--ease);
  box-shadow: -20px 0 60px rgba(17,12,46,.22);
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer nav a { display: block; padding: 13px 12px; border-radius: 10px; font-weight: 500; color: var(--text); }
.drawer nav a:hover { background: var(--bg-soft); color: var(--primary); }
.drawer .sub a { padding-left: 28px; font-size: .9rem; color: var(--muted); }
.drawer .btn { margin-top: 18px; }
.scrim { position: fixed; inset: 0; background: rgba(13, 7, 33, .5); z-index: 105; opacity: 0; visibility: hidden; transition: all .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   1. HERO  — text left (58%) / artwork right (42%)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 520px at 86% 12%, color-mix(in srgb, var(--primary-2) 16%, transparent), transparent 62%),
    radial-gradient(620px 460px at 4% 92%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    linear-gradient(180deg, #FCFBFF 0%, var(--bg-soft) 100%);
  padding: clamp(48px, 6vw, 76px) 0 clamp(54px, 7vw, 88px);
}
.hero__inner { display: grid; grid-template-columns: 58% 42%; align-items: center; gap: 30px; }
.hero__text { max-width: 620px; }
.hero h1 { letter-spacing: -.03em; }
.hero .lead { font-size: 1.1rem; color: var(--muted); margin-top: 20px; max-width: 48ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__art { justify-self: end; width: 100%; max-width: 520px; }
.art--hero { width: 100%; animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* inner-page banner */
.page-hero {
  text-align: center;
  padding: clamp(46px, 6vw, 76px) 0;
  background:
    radial-gradient(700px 320px at 50% 0%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 70%),
    linear-gradient(180deg, #FCFBFF, var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 68ch; margin: 14px auto 0; color: var(--muted); }
.page-hero .page-hero__kicker { font-size: 1.07rem; color: var(--text); font-weight: 500; }
.crumbs { display: flex; justify-content: center; gap: 9px; font-size: .84rem; color: var(--muted); margin-top: 20px; }

/* ---------- inner-page variants (mirroring the reference) ---------- */

/* left-aligned intro banner used on the service pages */
.page-hero--left { text-align: left; }
.page-hero--left .page-hero__inner { max-width: 860px; }
.page-hero--left p { margin-inline: 0; }
.page-hero--left .crumbs { justify-content: flex-start; }

/* service banner: text left, image/artwork right */
.service-hero { display: grid; grid-template-columns: 56% 44%; gap: 36px; align-items: center; }
.service-hero__text { max-width: 620px; }
.service-hero__text p { margin-top: 14px; }
.service-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.service-hero .crumbs { justify-content: flex-start; margin-top: 24px; }
.service-hero__art { justify-self: end; width: 100%; max-width: 480px; }
.service-hero__art img { border-radius: var(--radius-lg); width: 100%; }
.art--banner { width: 100%; }

/* picture beside a block of copy */
.split__art img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }

@media (max-width: 1024px) {
  .service-hero { grid-template-columns: 1fr; gap: 32px; }
  .service-hero__art { justify-self: center; max-width: 420px; }
}

/* centred full-width prose block */
.detail-block { max-width: 940px; margin-inline: auto; text-align: center; }
.detail-block h2 { margin-bottom: 8px; }
.detail-block .detail-block__kicker { color: var(--primary); font-weight: 600; margin-bottom: 18px; }
.detail-block p { color: var(--muted); font-size: 1.02rem; }
.detail-block .checklist {
  margin-top: 32px; text-align: left;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* about: 7/12 text + 5/12 aside */
.about-grid { display: grid; grid-template-columns: 58% 42%; gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-grid p { color: var(--muted); }
.about-aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm);
}
.about-aside .stat { border: 0; padding: 14px 0; text-align: left; background: none; }
.about-aside .stat + .stat { border-top: 1px solid var(--line); }

/* 2 x 2 card block */
.cards-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .detail-block .checklist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cards-2x2 { grid-template-columns: 1fr; }
  .detail-block .checklist { grid-template-columns: 1fr; }
}

/* ============================================================
   3. CDN CAROUSEL
   ============================================================ */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; padding: 10px 4px 4px; }
.carousel__track { display: flex; gap: 26px; transition: transform .55s var(--ease); will-change: transform; }
.carousel__slide { flex: 0 0 calc((100% - 52px) / 3); min-width: 0; }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 26%, transparent); }
.info-card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.info-card:hover .info-card__icon { background: var(--grad); color: #fff; }
.info-card h3 { margin-bottom: 8px; }
.info-card__price {
  font-family: var(--head); font-size: 1.85rem; font-weight: 800; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.info-card p { color: var(--muted); font-size: .95rem; }

.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--dark);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.carousel__nav:hover { background: var(--grad); color: #fff; border-color: transparent; }
.carousel__nav[disabled] { opacity: .35; cursor: default; }
.carousel__nav[disabled]:hover { background: #fff; color: var(--dark); border-color: var(--line); }
.carousel__nav--prev { left: -18px; }
.carousel__nav--prev .ico { transform: rotate(90deg); }
.carousel__nav--next { right: -18px; }
.carousel__nav--next .ico { transform: rotate(-90deg); }

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: color-mix(in srgb, var(--primary) 24%, transparent); transition: all .25s var(--ease);
}
.carousel__dots button.is-on { width: 28px; background: var(--grad); }

/* ============================================================
   4. DOMAIN SEARCH
   ============================================================ */
.searchbar { display: flex; gap: 10px; max-width: 620px; margin: 28px auto 0; }
.searchbar input {
  flex: 1; padding: 16px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--text); font: inherit; font-size: .95rem;
}
.searchbar input::placeholder { color: #9CA3AF; }
.searchbar input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
.searchbar__result { margin-top: 16px; min-height: 1.6em; font-size: .93rem; color: var(--muted); }

/* ============================================================
   5. PARTNER HEADING + FEATURE GRID
   ============================================================ */
.partner-head {
  display: grid; grid-template-columns: 58% 42%; gap: 30px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.partner-head h2 { max-width: 15ch; }
.partner-head p { color: var(--muted); font-size: 1.04rem; }

/* row 1 = 50/50, row 2 = 58/42, mirroring the reference */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-grid > :nth-child(3) { grid-column: 1; }
.feature-grid > :nth-child(4) { grid-column: 2; }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 26%, transparent); }
.feature__art { margin-bottom: 22px; }
.feature__art .art { width: 100%; max-width: 300px; }
.feature h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.feature .link-arrow { margin-top: auto; align-self: flex-start; }

@media (min-width: 901px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid > :nth-child(3),
  .feature-grid > :nth-child(4) { grid-column: auto; }
  .feature-grid { grid-template-areas: "a b" "c d"; }
}

/* ============================================================
   6. LEAD FORM  — text left / form right
   ============================================================ */
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.lead__text h2 { max-width: 14ch; }
.lead__text p { color: var(--muted); margin-top: 16px; font-size: 1.04rem; }
.lead__form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow);
}

/* ============================================================
   GENERIC CARDS
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 26%, transparent); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card__icon .ico { width: 26px; height: 26px; }
.card .link-arrow { margin-top: 18px; }
.card__kicker { color: var(--dark); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .88rem; color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
/* Flex wrap rather than a fixed 3-up grid, so 1, 4, 5, 7 … packages all sit
   sensibly and a short final row stays centred instead of hugging the left. */
.plans {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: center; align-items: stretch;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  flex: 1 1 258px; max-width: 380px; min-width: 0;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
/* long plan names and specs wrap instead of spilling out */
.plan__name, .plan__tagline, .plan__features li span { overflow-wrap: anywhere; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 32%, transparent); }
.plan--featured {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 2px solid transparent; box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 17px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 38%, transparent);
}
.plan__head { text-align: center; }
.plan__name { font-family: var(--head); font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 14px 0 22px; }
.plan__price b { font-family: var(--head); font-size: 2.6rem; font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -.03em; }
.plan__price span { font-size: .92rem; color: var(--muted); }
.plan__sep { height: 1px; background: var(--line); margin: 26px 0 22px; }
.plan__tagline { font-size: 1rem; font-family: var(--head); color: var(--dark); margin-bottom: 16px; }
.plan__features { display: grid; gap: 13px; }
.plan__features li { display: flex; gap: 11px; font-size: .92rem; color: #4B5563; line-height: 1.5; }
.plan__features .ico { width: 19px; height: 19px; flex: none; color: var(--primary); margin-top: 2px; }

/* ============================================================
   SPLIT SECTIONS / PANEL
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__text p { color: var(--muted); margin-top: 16px; }
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.checklist .ico { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--grad); color: #fff; }

.panel {
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  background: radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--primary-2) 44%, transparent), transparent 62%), var(--dark-2);
  color: #CFC6EA; position: relative; overflow: hidden;
}
.panel h3, .panel h2 { color: #fff; }
.panel p { color: #B6AADB; }
.panel .checklist li { color: #CFC6EA; }

/* ============================================================
   SCRIPTS GRID
   ============================================================ */
.script-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.script-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center;
  padding: 22px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.script-grid__name {
  font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: #4B5563;
}
.script-grid__icon { width: 46px; height: 46px; object-fit: contain; }
.script-grid__letter {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
  font: 800 1.25rem/1 var(--head); transition: background .25s, color .25s;
}
.script-grid li:hover .script-grid__letter { background: var(--grad); color: #fff; }
.script-grid li:hover .script-grid__name { color: var(--primary); }
.script-grid li:hover { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 32%, transparent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item.is-open { border-color: color-mix(in srgb, var(--primary) 34%, transparent); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 21px 24px; background: none; border: 0; cursor: pointer;
  font: 600 1rem/1.5 var(--head); color: var(--dark);
}
.faq__q .ico { margin-left: auto; flex: none; color: var(--primary); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q .ico { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .36s var(--ease); }
.faq__a > div { padding: 0 24px 23px; color: var(--muted); font-size: .95rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote__stars .ico { width: 18px; height: 18px; fill: currentColor; stroke-width: 1; }
.quote p { font-size: .96rem; color: #4B5563; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 1rem/1 var(--head); }
.quote__who b { display: block; font-size: .95rem; color: var(--dark); font-family: var(--head); }
.quote__who span { font-size: .82rem; color: var(--muted); }
.rating-big { margin-top: 20px; font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--dark); }
.rating-big span { display: block; font: 400 .85rem/1.5 var(--body); color: var(--muted); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 18px; position: relative; }
.field > label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.field label.sub { font-size: .8rem; font-weight: 400; color: var(--muted); margin: 6px 0 0; }
.field .req { color: #DC2626; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: .95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
.field .err { display: block; margin-top: 6px; font-size: .82rem; color: #DC2626; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #DC2626; }
.field--half { max-width: 50%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { font-size: .82rem; color: var(--muted); margin: 6px 0 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fset { border: 0; padding: 0; margin: 0 0 6px; }
.fset legend { font-size: .85rem; font-weight: 600; color: var(--dark); padding: 0; margin-bottom: 9px; }

.order-done {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--grad); color: #fff;
}

.alert { padding: 15px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; border: 1px solid; }
.alert--ok  { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert--err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.contact-list b { display: block; font-family: var(--head); font-size: .95rem; color: var(--dark); }
.contact-list span, .contact-list a { font-size: .93rem; color: var(--muted); }
.contact-list a:hover { color: var(--primary); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--grad); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  box-shadow: 0 26px 60px color-mix(in srgb, var(--primary) 30%, transparent);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); margin-top: 8px; }

/* ============================================================
   RICH TEXT
   ============================================================ */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2, .prose h3 { margin: 36px 0 12px; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin-bottom: 16px; color: #4B5563; }
.prose ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; color: #4B5563; }
.prose li { margin-bottom: 8px; }
.prose em { color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: #A8B6D1; padding: clamp(40px, 4.5vw, 56px) 0 0; }
.site-footer a { color: #A8B6D1; font-size: .9rem; }
.site-footer a:hover { color: #fff; }

/* ---- four columns: brand, links, hosting, contact ---- */
.footer-cols {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 34px;
  padding-bottom: clamp(28px, 3.5vw, 40px);
}
.footer-col h4 {
  font-family: var(--head); color: #fff; font-size: .98rem; margin-bottom: 15px;
  position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; border-radius: 99px; background: var(--grad);
}
.footer-col ul { display: grid; gap: 9px; }

/* brand column */
.footer-logo { display: inline-flex; align-items: center; gap: 9px; }
/* the artwork is dark navy, so knock it out to solid white for the dark footer */
.footer-logo img { width: clamp(180px, 16vw, 215px); height: auto; }
/* only the dark main logo needs knocking out — a light footer logo is used as-is */
.footer-logo img.is-knockout { filter: brightness(0) invert(1); }
.footer-logo__text { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-blurb { margin-top: 15px; font-size: .89rem; line-height: 1.65; color: #93A3C2; max-width: 40ch; }

.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #BCCBE4;
  transition: all .25s var(--ease);
}
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.footer-contact li { display: flex; gap: 10px; font-size: .89rem; line-height: 1.6; }
.footer-contact .ico { width: 16px; height: 16px; flex: none; color: var(--primary-2); margin-top: 4px; }

/* ---- copyright + legal links ---- */
.footer-bottom {
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .84rem; color: #8699B8;
}
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { font-size: .84rem; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 40%, transparent);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top .ico { transform: rotate(180deg); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .carousel__nav--prev { left: 4px; }
  .carousel__nav--next { right: 4px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { justify-self: center; max-width: 440px; }
  .partner-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .partner-head h2 { max-width: none; }
  .carousel__slide { flex-basis: calc((100% - 26px) / 2); }
  .g-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .plan { flex-basis: 260px; max-width: 440px; }
  .quote-grid, .g-3 { grid-template-columns: repeat(2, 1fr); }
  .script-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split, .lead { grid-template-columns: 1fr; gap: 36px; }
  .lead__text h2 { max-width: none; }
  .nav, .header-cta .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar .hide-sm { display: none; }
  .carousel__slide { flex-basis: 100%; }
  .g-2, .g-3, .g-4, .quote-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .script-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .field--half { max-width: 100%; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .site-header .wrap { min-height: 76px; }
  .brand img { width: 168px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .searchbar { flex-direction: column; }
  .searchbar .btn { width: 100%; }
}
