/*
Theme Name: SD Host
Theme URI: https://hosting.solveddoc.com
Author: SD Host
Author URI: https://hosting.solveddoc.com
Description: Lightweight, fast and professional custom theme for hosting.solveddoc.com. Premium hosting + managed infrastructure + development + technical support provider. No page builders, minimal JavaScript.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sd-host
Tags: hosting, business, professional
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/fonts/inter-latin-var.woff2) format('woff2');
}

:root {
  --c-navy: #0b1220;
  --c-navy-2: #101a2e;
  --c-navy-3: #16233c;
  --c-ink: #0b1220;
  --c-accent: #2563eb;
  --c-accent-2: #3b82f6;
  --c-accent-hover: #1d4ed8;
  --c-accent-soft: #eaf0fe;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fb;
  --c-border: #e4e9f1;
  --c-border-dark: #223150;
  --c-text: #26324b;
  --c-muted: #5b6b85;
  --c-muted-light: #9aa7bd;
  --c-light: #ffffff;
  --c-success: #16a34a;
  --c-warning: #d97706;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.15);
  --shadow-lg: 0 24px 60px -24px rgba(11, 18, 32, 0.28);
  --container: 1200px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--c-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

:where(ul, ol) li {
  margin-bottom: 0.35em;
}

::selection {
  background: var(--c-accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--c-bg-soft);
}

.section-navy {
  background: var(--c-navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

.on-dark .eyebrow,
.section-navy .eyebrow {
  color: var(--c-accent-2);
}

.sec-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 640px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.on-dark .sec-sub,
.section-navy .sec-sub {
  color: var(--c-muted-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
  background: var(--c-accent-hover);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--c-navy);
}

.btn-light:hover {
  background: #eef2fb;
  color: var(--c-navy);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-border-dark);
}

.btn-outline:hover {
  border-color: var(--c-navy);
  color: var(--c-navy);
}

.on-dark .btn-outline,
.section-navy .btn-outline,
.btn-outline-white {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.on-dark .btn-outline:hover,
.section-navy .btn-outline:hover,
.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--c-ink);
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.site-brand .brand-accent {
  color: var(--c-accent);
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav li {
  white-space: nowrap;
}

.main-nav li a {
  display: block;
  padding: 7px 11px;
  color: var(--c-text);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.3;
  border-radius: 7px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav li a:hover {
  color: var(--c-accent);
  background: var(--c-bg-soft);
}

.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
  color: var(--c-accent);
  font-weight: 600;
  background: var(--c-bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero (front page) ===== */
.hero {
  position: relative;
  background: var(--c-navy);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 82% 8%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(500px 320px at 8% 90%, rgba(59, 130, 246, 0.16), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 420px at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  mask-image: radial-gradient(700px 420px at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.hero__content {
  padding-bottom: 120px;
}

.hero__content .eyebrow {
  color: var(--c-accent-2);
}

.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title .hero-accent {
  color: transparent;
  background: linear-gradient(120deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  color: #aeb9ce;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}

.hero__stat b {
  display: block;
  font-size: 1.02rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero__stat span {
  font-size: 0.82rem;
  color: var(--c-muted-light);
}

/* Hero visual */
.hero__visual {
  position: relative;
  padding-bottom: 96px;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #dbe3f1;
}

.hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #86efac;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero-card__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-card__rows {
  display: grid;
  gap: 14px;
}

.hero-row {
  display: grid;
  gap: 6px;
}

.hero-row__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--c-muted-light);
}

.hero-row__label b {
  color: #dbe3f1;
  font-weight: 600;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-accent), #60a5fa);
}

.hero-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--c-muted-light);
}

.hero-card__foot .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  font-size: 0.7rem;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--c-ink);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.hero-float b {
  font-size: 1.05rem;
  display: block;
}

.hero-float span {
  font-size: 0.72rem;
  color: var(--c-muted);
  font-weight: 500;
}

.hero-float--1 {
  top: -18px;
  right: -12px;
}

.hero-float--2 {
  bottom: 44px;
  left: -22px;
}

.hero-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  flex: 0 0 auto;
}

.hero-float__icon svg {
  width: 20px;
  height: 20px;
}

/* ===== Trust strip ===== */
.trust {
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}

.trust__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 34px 0;
}

.trust__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-right: auto;
  max-width: 260px;
}

.trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust__items li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}

.trust__items li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-success);
  flex: 0 0 auto;
}

/* ===== Cards / grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d5ddea;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  margin-bottom: 18px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* 360 solutions */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.solution-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border-dark);
  border-radius: 10px;
  padding: 16px 18px;
  color: #dbe3f1;
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.solution-chip:hover {
  border-color: var(--c-accent);
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
  color: #fff;
}

.solution-chip svg {
  width: 20px;
  height: 20px;
  color: var(--c-accent-2);
  flex: 0 0 auto;
}

.cta-center {
  text-align: center;
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-item {
  border-left: 2px solid var(--c-border);
  padding: 4px 0 4px 22px;
}

.why-item b {
  display: block;
  font-size: 1.05rem;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.why-item p {
  color: var(--c-muted);
  font-size: 0.93rem;
  margin: 0;
}

/* Support cards */
.support-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-card h3 {
  font-size: 1.2rem;
}

.support-card p {
  color: var(--c-muted);
  font-size: 0.95rem;
}

.support-card .card__icon {
  margin-bottom: 0;
}

.support-card .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ===== Final CTA banner ===== */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0f1a30 0%, #16233c 55%, #1b2a4a 100%);
  border: 1px solid var(--c-border-dark);
  border-radius: 18px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 18% 0%, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(420px 240px at 85% 100%, rgba(59, 130, 246, 0.22), transparent 60%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 14px;
}

.cta-banner p {
  color: var(--c-muted-light);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.02rem;
}

.cta-banner .cta-banner__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative;
  background: var(--c-navy);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 82% 10%, rgba(37, 99, 235, 0.24), transparent 60%),
    radial-gradient(420px 240px at 6% 100%, rgba(59, 130, 246, 0.14), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-muted-light);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--c-muted-light);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span.sep {
  opacity: 0.5;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero p.lede {
  color: #aeb9ce;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0;
}

/* ===== Page content ===== */
.page-body {
  padding: 72px 0 96px;
}

.page-body .entry-content {
  max-width: 860px;
  margin: 0 auto;
}

.page-body--wide .entry-content {
  max-width: var(--container);
}

.entry-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
}

.entry-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.5em;
}

.entry-content > *:first-child {
  margin-top: 0;
}

/* ===== Gutenberg block alignment ===== */
.wp-block-columns {
  gap: 26px !important;
  margin-bottom: 32px;
}

.wp-block-column > *:first-child {
  margin-top: 0;
}

.wp-block-group {
  margin-bottom: 32px;
}

.is-style-feature-list,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li,
.is-style-feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.feature-list li::before,
.is-style-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-accent-soft);
}

.feature-list li::after,
.is-style-feature-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.pricing {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pricing.is-featured {
  border: 2px solid var(--c-accent);
  box-shadow: var(--shadow);
}

.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 4px;
}

.pricing__tagline {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 22px;
}

.pricing__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing__price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0;
}

.pricing__period {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-border);
}

.pricing ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.pricing ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 0.92rem;
  color: var(--c-text);
}

.pricing ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--c-accent-soft);
}

.pricing ul li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 4px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}

.pricing__note {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 12px;
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item.is-open {
  border-color: #cfd9ea;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
}

.faq-item__q:hover {
  color: var(--c-accent);
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item__icon svg {
  width: 12px;
  height: 12px;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: var(--c-accent);
  color: #fff;
}

.faq-item__a {
  display: none;
  padding: 0 22px 20px;
  color: var(--c-muted);
  font-size: 0.95rem;
}

.faq-item__a p:last-child {
  margin-bottom: 0;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
  min-width: 760px;
}

table.compare th,
table.compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

table.compare thead th {
  background: var(--c-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 0;
}

table.compare tbody tr:last-child td {
  border-bottom: 0;
}

table.compare tbody td:first-child {
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
}

/* ===== Contact form ===== */
.contact-form .form-field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.contact-form .req {
  color: var(--c-accent);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-top: 12px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.form-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ===== Contact info cards ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card b {
  display: block;
  font-size: 0.92rem;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
  word-break: break-word;
}

.contact-card p a {
  color: var(--c-text);
  font-weight: 500;
}

.contact-card p a:hover {
  color: var(--c-accent);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-navy);
  color: #aeb9ce;
  font-size: 0.9rem;
}

.footer-top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .site-brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--c-muted-light);
  margin-bottom: 22px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-contact a {
  color: var(--c-muted-light);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  color: var(--c-muted-light);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--c-border-dark);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--c-muted-light);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--c-border-dark);
  color: var(--c-muted-light);
}

.footer-social a:hover {
  border-color: var(--c-accent);
  color: #fff;
  background: rgba(37, 99, 235, 0.15);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

/* ===== Misc ===== */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.back-to-top {
  display: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--c-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.error-404 {
  text-align: center;
  padding: 120px 0;
}

.error-404 h1 {
  font-size: 4rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    max-width: 560px;
  }

  .hero__content {
    padding-bottom: 20px;
  }

  .hero__visual {
    padding-bottom: 60px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 68px 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    padding: 12px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav li a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--c-bg-soft);
    border-radius: 0;
  }

  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 72px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .hero-float--1 {
    right: 6px;
  }

  .hero-float--2 {
    left: 6px;
  }

  .grid-4,
  .solution-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-banner {
    padding: 56px 24px;
  }

  .page-hero {
    padding: 64px 0 60px;
  }

  .page-body {
    padding: 56px 0 72px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
