/* Computer Tech World Solutions — shared stylesheet */

:root {
  --navy: #0b1f3a;
  --navy-soft: #14314f;
  --blue: #1565c0;
  --blue-dark: #0f4c95;
  --teal: #00b8a9;
  --bg: #f5f7fa;
  --white: #ffffff;
  --text: #1c2733;
  --muted: #5a6b7d;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 45px rgba(11, 31, 58, 0.14);
  --radius: 14px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", "Inter", -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}
h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-dark);
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.28);
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn--outline {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.02em;
}
.brand__logo {
  width: auto;
  height: 42px;
  object-fit: contain;
  flex: none;
}
.site-footer .brand__logo {
  height: 48px;
}
.brand__name {
  font-size: 1rem;
  line-height: 1.1;
}
.brand__name span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__phone {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #1d4f8c 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero h1 {
  color: #fff;
  max-width: 15ch;
}
.hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  font-size: 1.06rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 26px;
}
.hero__card h2 {
  color: #fff;
  font-size: 1.1rem;
}
.hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hero__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}
.hero__list .tick {
  color: var(--teal);
  font-weight: 800;
}

/* Cards & grids */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.35);
}
.card p:last-child {
  margin-bottom: 0;
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(21, 101, 192, 0.1);
  color: var(--blue);
  margin-bottom: 14px;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.list-check li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.93rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.stat__value {
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 {
  color: #fff;
  margin-bottom: 6px;
}
.cta p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page header */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 64px 0;
}
.page-header h1 {
  color: #fff;
}
.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 62ch;
  margin: 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.contact-item:last-child {
  border-bottom: 0;
}
.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}
.contact-item a,
.contact-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--text);
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field .error {
  font-size: 0.78rem;
  color: #c62828;
  min-height: 1em;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c62828;
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 184, 169, 0.12);
  border: 1px solid rgba(0, 184, 169, 0.35);
  color: #05635b;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible {
  display: block;
}

/* FAQ */
.faq {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 700;
}
.faq[open] summary::after {
  content: "–";
}
.faq p {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.site-footer a:hover {
  color: var(--teal);
}
.site-footer .brand__name,
.site-footer .brand {
  color: #fff;
}
.site-footer .brand__name span {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-link:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-3px);
}
.contact-item .social-links {
  margin-top: 6px;
}
.contact-item .social-link {
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy);
  border-color: var(--border);
}
.contact-item .social-link:hover {
  color: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }
  .nav__phone {
    display: none;
  }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
    box-shadow: 0 14px 24px rgba(11, 31, 58, 0.1);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a:hover,
  .nav__links a.is-active {
    border-bottom-color: var(--border);
  }
  .nav__links a::after {
    display: none;
  }
  .nav__submenu a {
    border-bottom: 0;
  }
  .nav__cta .btn {
    display: none;
  }
  .grid--3,
  .grid--4,
  .grid--2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
  .cta {
    padding: 28px;
  }
}

/* =========================================================
   Motion & design enhancements
   ========================================================= */

@keyframes ctw-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes ctw-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ctw-drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(30px,-28px,0) scale(1.08); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
@keyframes ctw-sheen {
  0% { transform: translateX(-120%) rotate(12deg); }
  100% { transform: translateX(320%) rotate(12deg); }
}
@keyframes ctw-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 184, 169, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(0, 184, 169, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 169, 0); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 100;
  pointer-events: none;
}

/* Hero atmosphere */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 184, 169, 0.55), transparent 68%);
  animation: ctw-drift 16s ease-in-out infinite;
}
.hero::after {
  width: 460px;
  height: 460px;
  bottom: -200px;
  left: -120px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.5), transparent 68%);
  animation: ctw-drift 21s ease-in-out infinite reverse;
}
.hero__grid > * {
  animation: ctw-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__grid > *:nth-child(2) {
  animation-delay: 0.15s;
}
.hero__card {
  position: relative;
  animation: ctw-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
    ctw-float 7s ease-in-out 1.1s infinite;
}
.hero__list li {
  animation: ctw-rise 0.6s ease both;
}
.hero__list li:nth-child(1) { animation-delay: 0.35s; }
.hero__list li:nth-child(2) { animation-delay: 0.45s; }
.hero__list li:nth-child(3) { animation-delay: 0.55s; }
.hero__list li:nth-child(4) { animation-delay: 0.65s; }
.hero__list li:nth-child(5) { animation-delay: 0.75s; }
.hero__actions .btn--primary {
  animation: ctw-pulse-ring 3.2s ease-out 1.4s infinite;
}

/* Reveal, with stagger support */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards: gradient edge, sheen, icon motion */
.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 40%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(21, 101, 192, 0.08), transparent);
  transform: translateX(-120%) rotate(12deg);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.35);
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover::after {
  animation: ctw-sheen 0.9s ease forwards;
}
.card__icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease;
}
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
}

/* Stats */
.stat {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat:hover {
  transform: translateY(-6px);
}
.stat__value {
  background: linear-gradient(120deg, var(--navy), var(--blue) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Panels & CTA depth */
.panel,
.cta {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 169, 0.35), transparent 70%);
  animation: ctw-drift 18s ease-in-out infinite;
  pointer-events: none;
}

/* Nav underline animation */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.3s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.brand__logo {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover .brand__logo {
  transform: rotate(-8deg) scale(1.06);
}

/* List check tick animation */
.list-check li {
  transition: transform 0.25s ease, color 0.25s ease;
}
.list-check li:hover {
  transform: translateX(4px);
  color: var(--navy);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Form focus polish */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.grid { perspective: 900px; }
.card { transform-style: preserve-3d; }

/* Service card title links */
.card h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.2s ease;
}
.card h3 a:hover {
  color: var(--primary);
  background-size: 100% 2px;
}

/* ===== Services dropdown ===== */
.nav__drop {
  position: relative;
}
.nav__drop-toggle {
  display: none;
}
.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 22px 40px rgba(11, 31, 58, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
.nav__drop:hover .nav__submenu,
.nav__drop:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.94rem;
  white-space: nowrap;
}
.nav__submenu a::after {
  display: none;
}
.nav__submenu a:hover,
.nav__submenu a.is-active {
  background: var(--surface, #f5f7fa);
  color: var(--brand, #1565c0);
}

@media (max-width: 768px) {
  .nav__drop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav__drop > a {
    flex: 1;
  }
  .nav__drop-toggle {
    display: block;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
  }
  .nav__drop-toggle::before {
    content: "";
    position: absolute;
    top: 44%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .nav__drop-toggle[aria-expanded="true"]::before {
    transform: translate(-50%, -20%) rotate(-135deg);
  }
  .nav__submenu {
    position: static;
    width: 100%;
    flex-basis: 100%;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__submenu.is-open {
    display: block;
  }
  .nav__drop:hover .nav__submenu:not(.is-open),
  .nav__drop:focus-within .nav__submenu:not(.is-open) {
    display: none;
  }
}

.post-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted, #5b6b80);
}

/* ---------- Pricing plans ---------- */
.price-grid { align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 4px solid var(--blue, #1565c0);
}
.price-card.is-featured { box-shadow: 0 24px 48px rgba(11, 31, 58, 0.16); }
.price-card--basic { border-top-color: #1e874b; }
.price-card--standard { border-top-color: #1565c0; }
.price-card--premium { border-top-color: #7b3fbf; }
.price-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
}
.price-tag--basic { background: #1e874b; }
.price-tag--standard { background: #1565c0; }
.price-tag--premium { background: #7b3fbf; }
.price-sub { margin: 0; color: var(--muted, #5b6b80); font-size: 0.95rem; }
.price-amount {
  align-self: flex-start;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  padding: 10px 22px;
  border-radius: 14px;
  margin: 6px 0 4px;
}
.price-amount small { font-size: 0.85rem; font-weight: 600; opacity: 0.9; }
.price-amount--basic { background: linear-gradient(135deg, #1e874b, #2ba86a); }
.price-amount--standard { background: linear-gradient(135deg, #0b1f3a, #1565c0); }
.price-amount--premium { background: linear-gradient(135deg, #5b2a96, #9b5de5); }
.price-includes {
  margin: 6px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #fff;
}
.price-list--basic li::before { background: #1e874b; }
.price-list--standard li::before { background: #1565c0; }
.price-list--premium li::before { background: #7b3fbf; }
.price-foot {
  margin-top: auto;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
}
.price-foot span { opacity: 0.85; font-size: 0.85rem; }
.price-foot--basic { background: #1e874b; }
.price-foot--standard { background: #1565c0; }
.price-foot--premium { background: #7b3fbf; }
.price-card .btn { margin-top: 12px; text-align: center; }
