/* DMS Group LTD — static site */

/* Fallback-font metric overrides to prevent layout shift (FOUT) while web fonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 107%;
}
@font-face {
  font-family: "Playfair Fallback";
  src: local("Georgia");
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 112%;
}

:root {
  --primary: #0a1120;      /* deep space ink — headings */
  --dark: #0c1526;         /* deep navy — header/section bg */
  --dark-2: #070c17;       /* near-black space panel */
  --navy-panel: #0a1324;   /* FAQ / footer panel */
  --gold: #22d3ee;         /* electric cyan — primary accent */
  --gold-soft: #67e8f9;    /* light cyan */
  --sky: #67e8f9;          /* alias -> accent on dark */
  --sky-soft: #cdfbff;     /* pale cyan tint */
  --sky-mid: #a5e9f5;
  --cream: #e6f6fb;        /* cool pale accent text */
  --paper: #f5f8fb;        /* light section bg (cool off-white) */
  --paper-2: #ffffff;
  --line: #e2e8f0;
  --text: #475065;
  --text-light: #76819a;
  --muted-light: #9aa3b8;

  --sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Space Grotesk", "Inter Fallback", -apple-system, "Segoe UI", sans-serif;

  --maxw: 1300px;
  --grad: linear-gradient(90deg, #0891b2 0%, #22d3ee 100%);
  --grad-hover: linear-gradient(90deg, #22d3ee 0%, #0891b2 100%);
  --gold-grad: linear-gradient(90deg, #0891b2 0%, #22d3ee 50%, #67e8f9 100%);
  --shadow: 0 2px 10px rgba(35,26,29,0.05), 0 16px 44px rgba(35,26,29,0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper-2); }
body { font-family: var(--sans); color: var(--text); background: var(--paper-2); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2 { font-family: var(--serif); color: var(--primary); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h3, h4 { font-family: var(--sans); color: var(--primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark-2); color: var(--sky-soft); font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px; }
.topbar a { color: var(--sky-soft); }
.topbar .tb-left { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.topbar .tb-left span, .topbar .tb-left a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-social { display: flex; gap: 10px; }
.topbar .tb-social a { width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,0.1); display: grid; place-items: center; font-size: 0; }
.topbar .tb-social a svg { width: 15px; height: 15px; }
.topbar .tb-social a:hover { background: var(--dark); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 98px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.02em; }
.brand .logo-img { height: 72px; width: 72px; border-radius: 50%; background: transparent; }
.brand .brand-name { display: inline; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: #fff; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; transition: color .16s; position: relative; }
.nav a:hover, .nav a.active { color: var(--sky); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--sky); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Buttons (with arrow) ---------- */
.btn { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.13em; padding: 16px 34px; border-radius: 2px; border: 0; cursor: pointer; color: #fff; background: var(--dark); transition: background .25s, transform .12s, box-shadow .2s; }
.btn::after { content: "→"; font-weight: 400; font-size: 1.05rem; transition: transform .2s; }
.btn:hover { background: var(--dark-2); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(8,145,178,0.3); }
.btn:hover::after { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--primary); }
.btn-gold:hover { background: #c9742a; box-shadow: 0 10px 26px rgba(224,138,60,0.32); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--cream); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--primary); }

/* ---------- Hero (full-bleed photo + glass panel) ---------- */
.hero { position: relative; color: #fff; min-height: 560px; display: flex; align-items: center; background: var(--dark-2); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,12,23,0.9) 0%, rgba(7,12,23,0.65) 50%, rgba(10,19,36,0.35) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding: 90px 28px; }
.hero-panel { max-width: 580px; margin-left: 0; padding: 0; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.76rem; margin-bottom: 22px; }
.hero .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hero p { color: #e8dfe0; font-size: 1rem; margin-bottom: 14px; line-height: 1.7; max-width: 520px; }
.hero p strong { color: var(--gold-soft); font-weight: 600; }
.hero .hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section.paper { background: var(--paper); }
.section-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; margin-bottom: 16px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.6; }
.section-head p { color: var(--text-light); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Feature cards (why choose) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 44px 28px 36px; text-align: center; transition: transform .2s, box-shadow .2s; box-shadow: 0 1px 3px rgba(35,26,29,0.03); overflow: hidden; }
.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleX(1); }
.feature .ic { width: 60px; height: 60px; margin: 0 auto 20px; display: grid; place-items: center; color: var(--dark); border: 1px solid var(--line); border-radius: 50%; }
.feature .ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.feature p { color: var(--text-light); font-size: 0.94rem; }

/* ---------- About split (framed image) ---------- */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.split.split-rev { grid-template-columns: 1.08fr 0.92fr; }
.split .figure { position: relative; }
.split .figure img { border-radius: 4px; width: 100%; height: 440px; object-fit: cover; position: relative; z-index: 1; box-shadow: var(--shadow); }
.split .figure::after { content: ""; position: absolute; inset: auto -16px -16px auto; width: 70%; height: 70%; border: 1.5px solid var(--gold); border-radius: 4px; z-index: -1; pointer-events: none; }
.split .figure { z-index: 0; }
.split .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; margin-bottom: 16px; }
.split .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--text-light); margin-bottom: 16px; }

/* ---------- CTA band (photo bg + overlay) ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--dark-2); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,19,36,0.9), rgba(7,12,23,0.94)); }
.cta-band .wrap { position: relative; z-index: 2; padding: 92px 28px; text-align: center; }
.cta-band .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--gold); opacity: 0.6; }
.cta-band h2 { color: #fff; margin: 18px auto 20px; max-width: 760px; }
.cta-band p { color: #e0d5d6; max-width: 680px; margin: 0 auto 34px; }

/* ---------- Services cards (premium light w/ gold accent) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { position: relative; border-radius: 4px; padding: 44px 34px; text-align: left; color: var(--text); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc:hover::after { transform: scaleY(1); }
.svc.svc-photo { background: var(--dark); border-color: transparent; color: #fff; }
.svc.svc-photo::after { background: var(--gold); transform: scaleY(1); }
.svc.svc-photo .svc-bg { display: none; }
.svc > * { position: relative; z-index: 2; }
.svc .ic { width: 58px; height: 58px; display: grid; place-items: center; color: var(--dark); border: 1px solid var(--line); border-radius: 50%; margin-bottom: 22px; }
.svc.svc-photo .ic { color: var(--gold); border-color: rgba(233,208,138,0.4); }
.svc .ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.svc.svc-photo h3 { color: #fff; }
.svc p { color: var(--text-light); font-size: 0.96rem; }
.svc.svc-photo p { color: rgba(255,255,255,0.86); }

/* ---------- FAQ + CTA combined block ---------- */
.faq-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq-panel { background: var(--navy-panel); border-radius: 18px; padding: 30px; }
.faq-panel details { background: #f4f6f8; border-radius: 10px; margin-bottom: 16px; padding: 2px 24px; }
.faq-panel details:last-child { margin-bottom: 0; }
.faq-panel summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1rem; color: var(--primary); display: flex; justify-content: space-between; gap: 18px; text-decoration: underline; text-underline-offset: 3px; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after { content: "⌄"; color: var(--dark); font-size: 1.2rem; line-height: 1; text-decoration: none; }
.faq-panel details[open] summary::after { content: "↑"; }
.faq-panel details p { color: var(--text-light); padding-bottom: 22px; font-size: 0.96rem; }

.faq-cta-side .eyebrow { display: inline-block; color: var(--dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; margin-bottom: 14px; }
.faq-cta-side h2 { margin-bottom: 20px; }
.faq-cta-side > p { color: var(--text-light); margin-bottom: 26px; }
.faq-cta-side .btn { margin-bottom: 36px; }
.trust-list { display: flex; flex-direction: column; gap: 0; }
.trust { display: flex; gap: 18px; padding: 24px 0; }
.trust + .trust { border-top: 1px solid var(--line); }
.trust .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--dark); color: #fff; }
.trust .ic svg { width: 24px; height: 24px; }
.trust h3 { font-size: 1.02rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.trust p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Standalone FAQ (services/about pages) ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; padding: 4px 26px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.08rem; color: var(--primary); display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; color: var(--dark); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "↑"; }
.faq details p { color: var(--text-light); padding-bottom: 22px; }

/* ---------- Standalone services grid (services page) ---------- */
.svc-grid-plain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-plain { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 36px 30px; transition: transform .2s, box-shadow .2s; }
.svc-plain:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.svc-plain .ic { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 20px; }
.svc-plain .ic svg { width: 26px; height: 26px; }
.svc-plain h3 { font-size: 1.22rem; margin-bottom: 12px; }
.svc-plain p { color: var(--text-light); }

/* ---------- Tier / pricing plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 40px 34px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(170deg, #1b2440 0%, #0f1424 100%); border-color: transparent; color: #fff; }
.plan.featured .tier-label { color: var(--sky); }
.plan.featured .quote { color: var(--sky-soft); }
.plan.featured ul li { color: #cfdbe6; }
.plan.featured ul li svg { color: var(--sky); }
.plan .badge { position: absolute; top: 20px; right: 20px; background: var(--sky); color: var(--primary); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 20px; }
.plan .pname { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dark); }
.plan.featured .pname { color: var(--sky); }
.plan .tier-label { font-size: 1.55rem; font-weight: 800; color: var(--primary); margin: 6px 0 4px; }
.plan.featured .tier-label { color: #fff; }
.plan .quote { font-size: 0.95rem; font-style: italic; color: var(--text-light); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan.featured .quote { border-color: rgba(255,255,255,0.15); }
.plan ul { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.plan ul li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: 0.97rem; color: var(--text); }
.plan ul li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--dark); }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,0.18), transparent 65%); }
.page-hero.has-photo { background: var(--dark-2); }
.page-hero.has-photo::after { display: none; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,26,46,0.9) 0%, rgba(3,26,46,0.72) 55%, rgba(3,26,46,0.5) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--sky); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; }
.page-hero h1 { color: #fff; margin: 14px 0 12px; max-width: 900px; }
.page-hero p { color: var(--sky-soft); font-size: 1.15rem; max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-info dl { margin-top: 10px; }
.contact-info dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); font-weight: 700; margin-top: 22px; }
.contact-info dd { font-size: 1.06rem; color: var(--text); margin-top: 5px; }
.contact-info dd a { color: var(--dark); font-weight: 600; }
form.contact-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 7px; }
.field .opt { color: var(--muted-light); font-weight: 400; }
.field input, .field textarea { width: 100%; font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(200,16,46,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.brand-of { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.brand-of .bo-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); font-weight: 700; margin-bottom: 10px; }
.brand-of p { font-size: 0.98rem; color: var(--text); line-height: 1.7; }
.brand-of strong { color: var(--primary); }
.form-success { display: none; margin-bottom: 20px; padding: 14px 18px; background: #eafaf0; border: 1px solid #bfe6cd; border-radius: 10px; color: #1b6b3a; font-size: 0.95rem; font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Sign-up tier selector ---------- */
.signup-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.tier-pick { display: flex; flex-direction: column; gap: 14px; }
.tier-opt { position: relative; }
.tier-opt input { position: absolute; opacity: 0; }
.tier-opt label { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 20px 22px; cursor: pointer; transition: border-color .18s, background .18s; }
.tier-opt label:hover { border-color: var(--sky); }
.tier-opt input:checked + label { border-color: var(--dark); background: #fdf0f2; box-shadow: 0 0 0 3px rgba(200,16,46,0.12); }
.tier-opt .to-name { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.tier-opt .to-sub { font-size: 0.88rem; color: var(--text-light); margin-top: 3px; }
.tier-opt .to-feat { font-size: 0.85rem; color: var(--dark); margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select { width: 100%; font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); }
.field select:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(200,16,46,0.14); }

/* ---------- Legal / Terms page ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal .callout { background: #eef6fa; border-left: 4px solid var(--dark); border-radius: 0 10px 10px 0; padding: 20px 24px; margin-bottom: 36px; }
.legal .callout h4 { font-size: 1rem; margin-bottom: 8px; }
.legal .callout p { color: var(--text); font-size: 0.96rem; margin: 0; }
.legal .meta { color: var(--text-light); font-size: 0.95rem; margin-bottom: 8px; }
.legal .meta strong { color: var(--primary); }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p { color: var(--text); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal ul li { color: var(--text); margin-bottom: 8px; }
.legal a { color: var(--dark); font-weight: 600; }
.legal .contact-block { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; margin-top: 10px; }
.legal .contact-block p { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: #b8c3cf; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand .logo-img { background: transparent; }
.footer-brand p { font-size: 0.95rem; color: #8b97a4; max-width: 330px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(139,213,255,0.12); display: grid; place-items: center; color: var(--sky-soft); transition: background .18s; }
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--dark); color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; font-style: italic; }
.footer-col a, .footer-col p { font-size: 0.95rem; color: #b8c3cf; padding: 6px 0; }
.footer-col a { display: block; }
.footer-col a:hover { color: var(--sky); }
.footer-col .fc-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.footer-col .fc-row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--sky-soft); }
.footer-bottom { padding: 24px 0; font-size: 0.86rem; color: #7c8794; text-align: center; }

/* ---------- Responsive ---------- */

/* Tablet landscape / small desktop */
@media (max-width: 1100px) {
  :root { --maxw: 1000px; }
  .wrap { padding: 0 24px; }
}

/* Tablet */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .svc-grid-plain, .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .faq-cta, .signup-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { min-height: 0; padding: 0; }
  .hero .wrap { padding: 56px 24px; }
  .hero-panel { max-width: 640px; margin: 0 auto; }
  .split, .split.split-rev { grid-template-columns: 1fr; gap: 32px; }
  .split .figure { order: -1; }
  .split .figure img { height: 340px; }
}

/* Nav collapses to hamburger */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 18px 24px; gap: 16px; z-index: 60; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
  .nav.open .btn { width: 100%; justify-content: center; }
  .menu-toggle { display: block; }
}

/* Mobile */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Topbar: hide long address, keep email + social */
  .topbar { font-size: 0.82rem; }
  .topbar .wrap { justify-content: center; gap: 10px; padding: 8px 18px; }
  .topbar .tb-left span { display: none; }

  /* Header / brand */
  .site-header .wrap { height: 72px; }
  .brand .logo-img { height: 52px; width: 52px; }
  .brand .brand-name { font-size: 1rem; }
  .menu-toggle { padding: 4px; }

  /* Hero */
  .hero .wrap { padding: 40px 18px; }
  .hero-panel { padding: 28px 22px; }
  .hero h1 { font-size: 1.7rem; }

  /* Grids collapse to single column */
  .feature-grid, .svc-grid, .svc-grid-plain, .plans { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0; }
  .split .figure img { height: 260px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { font-size: 0.78rem; padding: 20px 0; }

  /* Buttons a touch smaller */
  .btn { padding: 13px 24px; font-size: 0.85rem; }
}
