/* ============================================================
   AutoHost Design System
   ============================================================ */
:root {
  --ah-navy: #0b1f3a;
  --ah-navy-2: #10294c;
  --ah-blue: #1d4ed8;
  --ah-blue-lt: #3b82f6;
  --ah-green: #16a34a;
  --ah-green-dk: #15803d;
  --ah-gold: #f59e0b;
  --ah-ink: #1e293b;
  --ah-muted: #64748b;
  --ah-line: #e2e8f0;
  --ah-bg-soft: #f1f5f9;
  --ah-bg-soft-2: #e8eef7;
  --ah-radius: 14px;
  --ah-shadow: 0 1px 3px rgba(15,30,60,.08), 0 8px 24px rgba(15,30,60,.08);
  --ah-shadow-lg: 0 12px 40px rgba(15,30,60,.14);
  --ah-maxw: 1180px;
}

html { scroll-behavior: smooth; }
body { color: var(--ah-ink); }

.ah-wrap { max-width: var(--ah-maxw); margin: 0 auto; padding: 0 20px; }
.ah-center { text-align: center; }
.ah-muted { color: var(--ah-muted); }
.ah-small { font-size: .85rem; }

/* ---------- Hero ---------- */
.ah-hero {
  background: linear-gradient(135deg, var(--ah-navy) 0%, #123a6b 55%, #0e4d92 100%);
  color: #fff;
  padding: 72px 20px 64px;
  position: relative;
  overflow: hidden;
}
.ah-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.ah-hero .ah-wrap { position: relative; z-index: 1; }
.ah-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; margin: 0 0 14px; font-weight: 800; letter-spacing: -.02em; }
.ah-hero h1 .hl { color: #7dd3fc; }
.ah-hero .lead { font-size: 1.15rem; color: #cbd5e1; max-width: 680px; margin: 0 0 28px; }
.ah-hero .ah-kicker { color: #7dd3fc; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }

.ah-hero-sm { padding: 48px 20px 44px; }
.ah-hero-sm h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

/* ---------- Buttons ---------- */
.ah-btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  cursor: pointer; border: 0;
}
.ah-btn:hover { transform: translateY(-2px); box-shadow: var(--ah-shadow-lg); }
.ah-btn-green { background: var(--ah-green); color: #fff !important; }
.ah-btn-green:hover { background: var(--ah-green-dk); color:#fff !important; }
.ah-btn-white { background: #fff; color: var(--ah-navy) !important; }
.ah-btn-outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.45); }
.ah-btn-outline:hover { border-color: #fff; }
.ah-btn-blue { background: var(--ah-blue); color: #fff !important; }
.ah-btn-blue:hover { background: var(--ah-blue-lt); }
.ah-btn-sm { padding: 9px 18px; font-size: .85rem; }
.ah-btn-block { display: block; text-align: center; }
.ah-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust chips / stat bar ---------- */
.ah-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ah-chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.ah-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 1px; background: var(--ah-line); border-radius: var(--ah-radius);
  overflow: hidden; box-shadow: var(--ah-shadow); margin: 0;
}
.ah-stat { background: #fff; padding: 24px 18px; text-align: center; }
.ah-stat b { display: block; font-size: 1.7rem; color: var(--ah-navy); font-weight: 800; letter-spacing:-.02em; }
.ah-stat span { font-size: .82rem; color: var(--ah-muted); font-weight: 600; }

/* ---------- Sections ---------- */
.ah-section { padding: 64px 0; }
.ah-section-soft { background: var(--ah-bg-soft); }
.ah-section-dark { background: var(--ah-navy); color: #fff; }
.ah-section-dark h2, .ah-section-dark h3 { color: #fff; }
.ah-kicker { color: var(--ah-blue); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; margin-bottom: 10px; }
.ah-section-dark .ah-kicker { color: #7dd3fc; }
.ah-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; color: var(--ah-navy); }
.ah-section-dark .ah-h2 { color:#fff; }
.ah-lead { font-size: 1.08rem; color: var(--ah-muted); max-width: 720px; }
.ah-section-dark .ah-lead { color: #cbd5e1; }

/* ---------- Cards / grids ---------- */
.ah-grid { display: grid; gap: 20px; }
.ah-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ah-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ah-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.ah-card {
  background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius);
  padding: 28px 24px; box-shadow: var(--ah-shadow); position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ah-card:hover { transform: translateY(-3px); box-shadow: var(--ah-shadow-lg); }
.ah-card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--ah-navy); }
.ah-card p { margin: 0; color: var(--ah-muted); font-size: .92rem; }

.ah-icon {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 1.3rem;
  background: var(--ah-bg-soft-2); color: var(--ah-blue);
}

/* ---------- Pricing ---------- */
.ah-price-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.ah-price {
  background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius);
  padding: 30px 26px; box-shadow: var(--ah-shadow); display: flex; flex-direction: column;
  position: relative; transition: transform .15s, box-shadow .15s;
}
.ah-price:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-lg); }
.ah-price.popular { border: 2px solid var(--ah-green); }
.ah-price .badge-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ah-green); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 16px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.ah-price .plan { font-size: 1.25rem; font-weight: 800; color: var(--ah-navy); margin-bottom: 4px; }
.ah-price .tagline { font-size: .85rem; color: var(--ah-muted); margin-bottom: 18px; }
.ah-price .amount { font-size: 2rem; font-weight: 800; color: var(--ah-navy); letter-spacing: -.02em; }
.ah-price .amount small { font-size: .9rem; font-weight: 600; color: var(--ah-muted); }
.ah-price .vat { font-size: .75rem; color: var(--ah-muted); margin-bottom: 18px; }
.ah-price ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.ah-price ul li { padding: 7px 0 7px 26px; position: relative; font-size: .9rem; border-bottom: 1px dashed #edf1f7; }
.ah-price ul li:last-child { border-bottom: 0; }
.ah-price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ah-green); font-weight: 800; }
.ah-price ul li.na { color: #b6c2d1; }
.ah-price ul li.na::before { content: "—"; color: #cbd5e1; }

/* Billing toggle (CSS-only) */
.ah-bill-toggle { display: inline-flex; background: var(--ah-bg-soft-2); border-radius: 999px; padding: 4px; margin-bottom: 34px; }
.ah-bill-toggle span { padding: 9px 22px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ah-muted); cursor: pointer; }
.ah-bill-toggle span.on { background: var(--ah-navy); color: #fff; }

/* ---------- Feature list ---------- */
.ah-feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ah-feat-list li {
  background: #fff; border: 1px solid var(--ah-line); border-radius: 10px;
  padding: 12px 14px 12px 38px; font-size: .88rem; font-weight: 600; position: relative;
}
.ah-feat-list li::before { content: "✓"; position: absolute; left: 14px; color: var(--ah-green); font-weight: 800; }

/* ---------- Compare table ---------- */
.ah-table-wrap { overflow-x: auto; border-radius: var(--ah-radius); box-shadow: var(--ah-shadow); border:1px solid var(--ah-line); }
table.ah-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; min-width: 640px; }
.ah-table th, .ah-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--ah-line); }
.ah-table thead th { background: var(--ah-navy); color: #fff; font-weight: 700; white-space: nowrap; }
.ah-table tbody tr:hover { background: var(--ah-bg-soft); }
.ah-table td.y { color: var(--ah-green); font-weight: 700; }
.ah-table td.n { color: #b6c2d1; }
.ah-table .pop { background: #f0fdf4; }

/* ---------- FAQ ---------- */
.ah-faq { border: 1px solid var(--ah-line); border-radius: var(--ah-radius); overflow: hidden; background:#fff; box-shadow: var(--ah-shadow); }
.ah-faq details { border-bottom: 1px solid var(--ah-line); }
.ah-faq details:last-child { border-bottom: 0; }
.ah-faq summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  color: var(--ah-navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ah-faq summary::-webkit-details-marker { display: none; }
.ah-faq summary::after { content: "+"; font-size: 1.3rem; color: var(--ah-blue); font-weight: 400; flex-shrink: 0; }
.ah-faq details[open] summary::after { content: "−"; }
.ah-faq details[open] summary { color: var(--ah-blue); }
.ah-faq .a { padding: 0 22px 20px; color: var(--ah-muted); font-size: .94rem; line-height: 1.65; }

/* ---------- CTA band ---------- */
.ah-cta {
  background: linear-gradient(120deg, var(--ah-green-dk), var(--ah-green));
  border-radius: var(--ah-radius); color: #fff; padding: 44px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; box-shadow: var(--ah-shadow-lg);
}
.ah-cta h3 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; }
.ah-cta p { margin: 0; color: #dcfce7; }
.ah-cta-navy { background: linear-gradient(120deg, var(--ah-navy), #16407a); }
.ah-cta-navy p { color: #cbd5e1; }

/* ---------- Steps ---------- */
.ah-steps { counter-reset: step; display: grid; gap: 20px; }
.ah-step { display: flex; gap: 18px; align-items: flex-start; }
.ah-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 1.6rem; font-weight: 800; color: var(--ah-blue); opacity: .35;
  min-width: 44px;
}
.ah-step h4 { margin: 0 0 4px; color: var(--ah-navy); }
.ah-step p { margin: 0; color: var(--ah-muted); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.ah-review { background:#fff; border:1px solid var(--ah-line); border-radius: var(--ah-radius); padding: 24px; box-shadow: var(--ah-shadow); }
.ah-review .stars { color: var(--ah-gold); letter-spacing: 2px; margin-bottom: 10px; }
.ah-review p { font-size: .92rem; color: var(--ah-ink); margin: 0 0 14px; font-style: italic; }
.ah-review .who { font-size: .82rem; font-weight: 700; color: var(--ah-navy); }
.ah-review .who span { display:block; font-weight: 500; color: var(--ah-muted); }

/* ---------- WhatsApp float ---------- */
.ah-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45); transition: transform .15s;
}
.ah-wa-float:hover { transform: scale(1.08); }

/* ---------- Domain search bar ---------- */
.ah-domain-bar {
  display: flex; gap: 0; max-width: 560px; border-radius: 12px; overflow: hidden;
  box-shadow: var(--ah-shadow-lg); margin-top: 8px;
}
.ah-domain-bar input {
  flex: 1; padding: 15px 18px; border: 0; font-size: 1rem; outline: none;
}
.ah-domain-bar a, .ah-domain-bar button {
  background: var(--ah-green); color: #fff; border: 0; padding: 15px 26px;
  font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.ah-domain-bar a:hover { background: var(--ah-green-dk); color:#fff; }

/* ---------- Misc ---------- */
.ah-note { font-size: .82rem; color: var(--ah-muted); margin-top: 14px; }
.ah-pill { display:inline-block; background:var(--ah-bg-soft-2); color:var(--ah-blue); font-size:.72rem; font-weight:700; padding:3px 10px; border-radius:999px; margin-left:8px; vertical-align:middle; }
.ah-pill-green { background:#dcfce7; color:var(--ah-green-dk); }
.ah-pill-gold { background:#fef3c7; color:#92400e; }
.ah-split { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
@media (max-width: 800px){ .ah-split { grid-template-columns:1fr; } }
.ah-contact-card { text-align:center; }
.ah-contact-card b { display:block; font-size:1.05rem; color:var(--ah-navy); margin-bottom:4px; }
.ah-contact-card a { color:var(--ah-blue); font-weight:600; text-decoration:none; }

/* Astra overrides */
.ast-container { max-width: var(--ah-maxw); }
.entry-content > .ah-hero, .entry-content > .ah-section { margin-left: -20px; margin-right: -20px; }
.entry-content .ah-hero > .ah-wrap, .entry-content .ah-section > .ah-wrap { max-width: var(--ah-maxw); }
.ast-single-post .entry-content > *:first-child { margin-top: 0; }
/* full-bleed sections inside content */
.ah-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.ah-bleed > .ah-wrap { max-width: var(--ah-maxw); margin:0 auto; padding-left:20px; padding-right:20px; }

@media (max-width: 640px){
  .ah-hero { padding: 52px 20px 46px; }
  .ah-cta { padding: 32px 24px; }
  .ah-price-grid { grid-template-columns: 1fr; }
}

/* ---------- Topbar ---------- */
.ah-topbar { background: var(--ah-navy); color: #cbd5e1; font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.ah-topbar-in { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.ah-topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.ah-topbar a { color: #cbd5e1; text-decoration: none; }
.ah-topbar a:hover { color: #fff; }
.ah-topbar-right a { color: #7dd3fc; font-weight: 600; }
@media (max-width: 720px){ .ah-tb-hide { display: none; } .ah-topbar-left { gap: 12px; } }

/* ---------- Footer ---------- */
.ah-footer-main { background: #0a1a30; color: #cbd5e1; padding: 56px 0 28px; }
.ah-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.ah-footer-col h4 { color: #fff; font-size: .95rem; font-weight: 800; margin: 0 0 16px; letter-spacing: .02em; }
.ah-footer-col p { font-size: .85rem; line-height: 1.7; margin: 0; }
.ah-footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: .87rem; padding: 4px 0; }
.ah-footer-col a:hover { color: #fff; }
.ah-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ah-footer-badges span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.ah-footer-licences { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; display: flex; gap: 24px; flex-wrap: wrap; font-size: .76rem; color: #64748b; }
@media (max-width: 900px){ .ah-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .ah-footer-grid { grid-template-columns: 1fr; } }

/* Hide Astra's default small footer colophon text but keep container for our content */
.ast-footer-copyright { font-size: .8rem; }

/* Make Astra header sticky-capable look cleaner */
.ast-primary-header { box-shadow: 0 1px 3px rgba(15,30,60,.07); }
.site-title a, .site-title { font-weight: 800; letter-spacing: -.02em; color: var(--ah-navy) !important; }
.site-title a::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--ah-green); border-radius: 50%; margin-left: 4px; }

/* Menu styling */
.main-header-menu .menu-link { font-weight: 600; font-size: .9rem; }
.main-header-menu .sub-menu { border-radius: 10px; box-shadow: var(--ah-shadow-lg); }
