/* =========================================================
   Assignment Nest - Main Stylesheet
   Fixed desktop mega menu overlap + mobile menu behavior
   ========================================================= */

:root {
  --primary: #1668d3;
  --primary-dark: #0f4fa8;
  --primary-soft: #eaf3ff;
  --accent: #f6a21b;
  --accent-2: #ffbc4d;
  --accent-soft: #fff4df;
  --text: #1f2a44;
  --muted: #64748b;
  --line: #d9e3ef;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-alt: #fffaf2;
  --success: #13b26b;
  --danger: #e5484d;
  --shadow: 0 14px 34px rgba(17, 39, 76, .08);
  --shadow-lg: 0 24px 60px rgba(17, 39, 76, .14);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1240px;
  --transition: .25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 104, 211, .07), transparent 28%),
    radial-gradient(circle at top right, rgba(246, 162, 27, .08), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 220px, #f9fbfe 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   Utility
   ========================================================= */

.section {
  padding: 72px 0;
  position: relative;
}

.section-tight {
  padding-top: 26px;
}

.section--tint-blue {
  background: linear-gradient(180deg, rgba(22, 104, 211, .06), rgba(255, 255, 255, 0));
}

.section--tint-orange {
  background: linear-gradient(180deg, rgba(246, 162, 27, .08), rgba(255, 255, 255, 0));
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -.03em;
  color: var(--accent);
}

.section-lead {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(22, 104, 211, .12);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14px;
}

.card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d8ee;
}

.mouse-glow {
  position: relative;
  overflow: hidden;
}

.mouse-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .66), transparent 26%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.mouse-glow:hover::before {
  opacity: 1;
}

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

.surface-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 249, 255, .96));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}

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

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  box-shadow: 0 14px 30px rgba(22, 104, 211, .22);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(22, 104, 211, .26);
  filter: saturate(1.04);
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.btn--secondary:hover {
  border-color: #bfd3ee;
  color: var(--primary-dark);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 14px;
}

/* =========================================================
   Topbar / Header
   ========================================================= */

.topbar {
  position: relative;
  z-index: 140;
  background: linear-gradient(90deg, #0f4fa8, #1668d3);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.topbar__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar__chip a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topbar__right {
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.header-shell {
  position: sticky;
  top: 0;
  z-index: 130;
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(247, 251, 255, .9), rgba(247, 251, 255, .55), transparent);
  backdrop-filter: blur(6px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding: 12px 22px;
  border: 1px solid rgba(206, 220, 238, .95);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  overflow: visible;
  isolation: isolate;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.nav__logo-badge {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.nav__logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__logo-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nav__logo-text strong {
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.nav__logo-text small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  max-width: 260px;
}

.nav__toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__links>a,
.nav__dropdown>button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  position: relative;
}

.nav__links>a::after,
.nav__dropdown>button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .25s ease;
}

.nav__links>a:hover::after,
.nav__dropdown>button:hover::after,
.nav__dropdown:hover>button::after {
  width: 100%;
}

.nav__dropdown {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  margin-bottom: -24px;
}

.nav__dropdown:hover {
  z-index: 50;
}

.nav__dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 200;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav__dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(22, 104, 211, .08), rgba(246, 162, 27, .10));
  color: var(--primary-dark);
  transform: translateX(2px);
}

/* Mega menu desktop fixed */
.nav__dropdown--mega {
  position: relative;
}

.nav__dropdown--mega .nav__dropdown-menu--mega,
.nav__dropdown--mega .nav__dropdown-menu--mega-large {
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  transform: translateY(12px);
  width: max-content;
  max-width: min(1100px, calc(100vw - 40px));
  min-width: 760px;
  padding: 26px;
  border-radius: 28px;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 22px;
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, .985), rgba(247, 250, 255, .975));
  backdrop-filter: blur(16px);
  border: 1px solid #dbe5f3;
  box-shadow: 0 30px 70px rgba(13, 43, 90, .18);
}

.nav__dropdown--mega .nav__dropdown-menu--mega-large {
  min-width: 980px;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.nav__dropdown--align-right .nav__dropdown-menu--mega,
.nav__dropdown--align-right .nav__dropdown-menu--mega-large {
  left: auto;
  right: 0;
}

.nav__dropdown--mega:hover .nav__dropdown-menu--mega,
.nav__dropdown--mega:hover .nav__dropdown-menu--mega-large {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-col {
  min-width: 0;
  border-right: 1px solid rgba(219, 229, 243, .9);
  padding-right: 14px;
}

.nav__dropdown-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.nav__dropdown-col h4 {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(246, 162, 27, .24);
}

.nav__dropdown-col a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: #20304d;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  white-space: normal;
}

.nav__dropdown-col a:hover {
  background: linear-gradient(90deg, rgba(22, 104, 211, .08), rgba(246, 162, 27, .12));
  color: var(--primary-dark);
  transform: translateX(2px);
}

/* =========================================================
   Hero / Shared
   ========================================================= */

.hero {
  padding: 54px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 28px;
  align-items: start;
}

.hero-copy h1,
.service-hero-copy h1,
.about-hero-copy h1,
.contact-copy h1,
.pricing-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--accent);
}

.hero-copy p,
.service-hero-copy p,
.about-hero-copy p,
.contact-copy p,
.pricing-intro p {
  color: #42506b;
}

.lead-strong {
  font-size: 17px;
  color: #42506b;
  max-width: 780px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stat strong {
  display: block;
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   Pricing Widget / Forms
   ========================================================= */

.pricing-widget {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(241, 247, 255, .98));
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.pricing-widget::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22, 104, 211, .15), transparent 66%);
  pointer-events: none;
}

.pricing-widget h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--accent);
}

.pricing-widget p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}

.pricing-tabs button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.pricing-tabs button.active,
.pricing-tabs button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.pricing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
  font-size: 15px;
}

.pricing-form label.full {
  grid-column: 1 / -1;
}

.pricing-form input,
.pricing-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #cfdced;
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-form input:focus,
.pricing-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #93baf0;
  box-shadow: 0 0 0 4px rgba(22, 104, 211, .12);
}

.pricing-result {
  margin-top: 20px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 24px 44px rgba(22, 104, 211, .25);
}

.pricing-result span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pricing-result strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.04em;
}

.pricing-result small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pricing-actions .btn {
  box-shadow: none;
}

.pricing-actions .btn--secondary {
  border-color: rgba(255, 255, 255, .3);
  background: #fff;
}

.pricing-note {
  margin-top: 14px;
  color: #61718f;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   Metrics / Cards
   ========================================================= */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  color: var(--primary-dark);
  font-size: 20px;
  margin-bottom: 6px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.15;
}

.service-card p {
  margin: 0 0 14px;
  color: #44526e;
  font-size: 15px;
}

.service-card__icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-soft), #fff);
  border: 1px solid rgba(22, 104, 211, .18);
  box-shadow: var(--shadow);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__icon--writing {
  background: linear-gradient(135deg, #fff0d2, #fff);
  border-color: rgba(246, 162, 27, .24);
}

.service-card__icon--writing svg {
  stroke: var(--accent);
}

.service-card__icon--class {
  background: linear-gradient(135deg, #edf8ff, #fff);
}

.service-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.service-meta span,
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
  color: #36435d;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pill-link:hover {
  color: var(--primary-dark);
  border-color: #bfd3ee;
  transform: translateY(-1px);
}

.feature-grid,
.review-grid,
.faq-grid,
.points-grid,
.benefit-grid,
.topic-grid,
.value-grid,
.guide-grid,
.contact-grid,
.tips-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #36435d;
}

.testimonial-card footer {
  font-weight: 900;
  color: var(--primary-dark);
}

.mini-reviews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mini-review {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mini-review strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  margin-bottom: 6px;
}

.section-copy p {
  margin: 0 0 18px;
}

.content-section,
.pricing-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.stack,
.contact-list,
.price-box-list,
.timeline,
.comparison-list {
  display: grid;
  gap: 18px;
}

.step-card {
  padding-top: 18px;
}

.step-no,
.timeline-no {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(246, 162, 27, .18);
  margin-bottom: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.subject-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subject-cloud a,
.highlight-cloud span {
  padding: 12px 15px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 800;
  color: #2f3d58;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.subject-cloud a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: #cbdcf4;
}

.highlight-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice-panel {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ea, #fff);
  border: 1px solid #f5d8a4;
  box-shadow: var(--shadow);
}

.contact-value {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-dark);
  margin: 14px 0;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 79, 168, .18), rgba(246, 162, 27, .25), transparent);
  margin: 12px 0 0;
}

/* =========================================================
   CTA strip
   ========================================================= */

.cta-strip {
  border-radius: 30px;
  background: linear-gradient(135deg, #0f4fa8, #1668d3);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.cta-strip::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 62%);
}

.cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cta-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.cta-panel p {
  margin: 10px 0 0;
  color: #dbe9ff;
  max-width: 780px;
  font-size: 15px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  margin-top: 40px;
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #0f1d37, #0d172b);
  color: #e5eefc;
}

.footer a {
  color: #e5eefc;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .9fr;
  gap: 24px;
}

.footer__brand strong {
  display: block;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer__brand p,
.footer__col p {
  color: #b9c8df;
}

.footer__col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: #d5e2f5;
  transition: color var(--transition), transform var(--transition);
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer__bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #9eb0cb;
  font-size: 14px;
}

/* =========================================================
   Floating buttons
   ========================================================= */

.float-actions {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 140;
  display: grid;
  gap: 12px;
}

.float-action {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform var(--transition), box-shadow var(--transition);
}

.float-action:hover {
  transform: translateY(-2px) scale(1.03);
}

.float-action--whatsapp {
  background: linear-gradient(135deg, #25d366, #0fbf59);
}

.float-action--telegram {
  background: linear-gradient(135deg, #49a9e8, #1f8fd5);
}

.float-action svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width:1280px) {
  .nav__dropdown--mega .nav__dropdown-menu--mega {
    min-width: 700px;
    max-width: min(960px, calc(100vw - 40px));
  }

  .nav__dropdown--mega .nav__dropdown-menu--mega-large {
    min-width: 860px;
    max-width: min(1040px, calc(100vw - 40px));
  }
}

@media (max-width:1100px) {
  .nav {
    min-height: 88px;
  }

  .nav__logo-badge {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .nav__logo-text strong {
    font-size: 18px;
  }

  .nav__logo-text small {
    font-size: 11px;
    max-width: 220px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .service-hero-copy h1,
  .about-hero-copy h1,
  .contact-copy h1,
  .pricing-intro h1 {
    font-size: clamp(30px, 6vw, 52px);
  }

  .metrics,
  .mini-reviews,
  .feature-grid,
  .review-grid,
  .faq-grid,
  .points-grid,
  .benefit-grid,
  .topic-grid,
  .value-grid,
  .guide-grid,
  .contact-grid,
  .tips-grid,
  .stats-grid,
  .grid-2,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-section,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width:980px) {



  .nav__links>a::after,
  .nav__dropdown>button::after {
    left: auto;
    bottom: auto;
    border-radius: 0;
  }

  .nav__links>a:hover::after,
  .nav__dropdown>button:hover::after,
  .nav__dropdown:hover>button::after {
    width: 8px !important;
  }

  .nav__dropdown>button::after {
    content: '';
    width: 8px !important;
    height: 8px !important;
    min-width: 8px;
    min-height: 8px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-left: auto;
    position: static;
    background: none !important;
    flex: 0 0 auto;
  }

  .nav__dropdown.is-open>button::after {
    width: 8px !important;
    height: 8px !important;
    transform: rotate(-135deg);
  }

  .topbar__right {
    display: none;
  }

  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-shell {
    padding-top: 10px;
  }

  .nav {
    min-height: 82px;
    padding: 12px 16px;
    gap: 14px;
  }

  .nav__toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav__logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border-radius: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 300;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links>a,
  .nav__dropdown>button {
    width: 100%;
    font-size: 15px;
    font-weight: 800;
  }

  .nav__dropdown,
  .nav__dropdown--mega {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
    overflow: visible;
  }

  .nav__dropdown::after {
    display: none;
  }

  .nav__dropdown>button {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    background: none;
    border: 0;
  }

  .nav__dropdown>button::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-left: auto;
    position: static;
    background: none;
    flex: 0 0 auto;
  }

  .nav__dropdown.is-open>button::after {
    transform: rotate(-135deg);
  }

  .nav__dropdown-menu,
  .nav__dropdown--mega .nav__dropdown-menu--mega,
  .nav__dropdown-menu--mega-large {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: none;
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 10px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    translate: none !important;
    padding: 14px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
  }

  .nav__dropdown.is-open .nav__dropdown-menu,
  .nav__dropdown.is-open .nav__dropdown-menu--mega,
  .nav__dropdown.is-open .nav__dropdown-menu--mega-large {
    display: grid !important;
  }

  .nav__dropdown-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid rgba(219, 229, 243, .85);
    padding-bottom: 10px;
    margin-bottom: 6px;
    overflow: hidden;
  }

  .nav__dropdown-col:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .nav__dropdown-col h4 {
    width: 100%;
    margin: 0 0 10px;
    padding-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
  }

  .nav__dropdown-col a {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    padding: 10px 12px;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .pricing-form label.full {
    grid-column: auto;
  }

  .float-actions {
    right: 10px;
  }

  .float-action {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .float-action svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width:720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .section {
    padding: 56px 0;
  }

  .topbar {
    display: none;
  }

  .header-shell {
    top: 0;
  }

  .nav {
    min-height: 76px;
    border-radius: 22px;
  }

  .nav__logo {
    gap: 12px;
  }

  .nav__logo-badge {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 18px;
    padding: 8px;
  }

  .nav__logo-text strong {
    font-size: 16px;
  }

  .nav__logo-text small {
    font-size: 10px;
    max-width: 150px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1,
  .service-hero-copy h1,
  .about-hero-copy h1,
  .contact-copy h1,
  .pricing-intro h1,
  .section-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .lead-strong,
  .section-lead {
    font-size: 15px;
  }

  .metrics,
  .mini-reviews,
  .feature-grid,
  .review-grid,
  .faq-grid,
  .points-grid,
  .benefit-grid,
  .topic-grid,
  .value-grid,
  .guide-grid,
  .contact-grid,
  .tips-grid,
  .stats-grid,
  .grid-2,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .pricing-widget,
  .cta-strip {
    padding: 20px;
    border-radius: 22px;
  }

  .pricing-widget h3 {
    font-size: 22px;
  }

  .pricing-result strong {
    font-size: 36px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .pricing-actions {
    flex-direction: column;
  }

  .subject-cloud a,
  .highlight-cloud span,
  .service-meta span,
  .pill-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .float-actions {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .nav__links>a,
  .nav__dropdown>button {
    font-size: 15px;
  }
}


.site-footer {
  position: relative;
  margin-top: 50px;
  padding: 70px 0 24px;
  background: linear-gradient(180deg, #0f1d37, #0c172d);
  color: #e7eefb;
  overflow: hidden;
}

.footer-top-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(246, 162, 27, .18), transparent 65%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid--wide {
  grid-template-columns: 1.2fr .85fr 1fr 1fr 1fr 1fr;
  align-items: start;
}

.footer-brand h3,
.footer-col h4 {
  margin: 0 0 14px;
}

.footer-brand h3 {
  font-size: 28px;
  color: var(--accent);
  line-height: 1.1;
}

.footer-brand p,
.footer-col p {
  color: #b8c7df;
  font-size: 15px;
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e7eefb;
  font-weight: 600;
  line-height: 1.5;
  transition: color .2s ease, transform .2s ease;
}

.footer-contact-list a:hover,
.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.contact-link__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  flex: 0 0 38px;
}

.contact-link__icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #d9e4f7;
  font-size: 14px;
  line-height: 1.5;
  transition: color .2s ease, transform .2s ease;
}

.footer-links__heading {
  margin-top: 10px;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-links__heading:first-child {
  margin-top: 0;
}

.footer-links--scroll {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}

.footer-links--scroll::-webkit-scrollbar {
  width: 6px;
}

.footer-links--scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: #9cb0cf;
  font-size: 14px;
}

.footer-bottom .sep {
  display: inline-block;
  margin: 0 8px;
}

@media (max-width: 1200px) {
  .footer-grid--wide {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .footer-grid--wide {
    grid-template-columns: 1fr;
  }

  .footer-links--scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}