/* ============================================================
   CampusWalkin × Golden Gate University — Landing Page Theme
   Premium executive-education design system (navy / ivory / gold)
   Bootstrap 5 is loaded first; this file layers brand tokens on top.
   ============================================================ */

:root {
  /* Brand palette */
  --cw-navy: #0a1b33;
  --cw-navy-800: #10263f;
  --cw-navy-600: #1c3a5c;
  --cw-navy-400: #35587c;
  --cw-gold: #c6a15b;
  --cw-gold-deep: #a8823c;
  --cw-gold-soft: #f0e4cc;
  --cw-ivory: #fbf8f3;
  --cw-paper: #ffffff;
  --cw-ink: #12202f;
  --cw-muted: #5a6b7c;
  --cw-line: rgba(10, 27, 51, 0.1);
  --cw-line-strong: rgba(10, 27, 51, 0.18);
  --cw-success: #157347;
  --cw-danger: #b02a37;

  /* Elevation */
  --cw-shadow-sm:
    0 1px 2px rgba(10, 27, 51, 0.05), 0 2px 8px rgba(10, 27, 51, 0.04);
  --cw-shadow-md:
    0 2px 6px rgba(10, 27, 51, 0.06), 0 12px 32px rgba(10, 27, 51, 0.08);
  --cw-shadow-lg:
    0 4px 12px rgba(10, 27, 51, 0.08), 0 24px 60px rgba(10, 27, 51, 0.14);

  /* Radii + spacing rhythm */
  --cw-radius: 14px;
  --cw-radius-lg: 20px;
  --cw-section-y: clamp(3.5rem, 7vw, 6.5rem);

  /* Type */
  --cw-font-display:
    "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --cw-font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  /* Bootstrap variable overrides */
  --bs-body-font-family: var(--cw-font-sans);
  --bs-body-color: var(--cw-ink);
  --bs-body-bg: var(--cw-ivory);
  --bs-primary: var(--cw-navy);
  --bs-border-color: var(--cw-line);
  --bs-focus-ring-color: rgba(198, 161, 91, 0.45);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--cw-font-sans);
  background: var(--cw-ivory);
  color: var(--cw-ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 992px) {
  body {
    font-size: 1.0625rem;
  }
}

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

/* ---------- Typography scale ---------- */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  font-family: var(--cw-font-display);
  color: var(--cw-navy);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

h1,
.cw-h1 {
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.08;
}
h2,
.cw-h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.14;
}
h3,
.cw-h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.25;
}
h4,
.cw-h4 {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.35;
}

.cw-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--cw-muted);
}

.cw-eyebrow {
  font-family: var(--cw-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cw-gold-deep);
}

.cw-eyebrow--light {
  color: var(--cw-gold);
}

.cw-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--cw-gold), rgba(198, 161, 91, 0));
  border: 0;
  opacity: 1;
  margin: 0 0 1.25rem;
}

.cw-rule--center {
  margin-left: auto;
  margin-right: auto;
  background: var(--cw-gold);
  width: 44px;
}

.maintoplogo {
  width: auto;
  height: 40px;
}

/* ---------- Layout ---------- */
.cw-section {
  padding-block: var(--cw-section-y);
  position: relative;
}
.cw-section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cw-section--ivory {
  background: var(--cw-ivory);
}
.cw-section--paper {
  background: var(--cw-paper);
}

.cw-section--navy {
  background:
    radial-gradient(
      900px 420px at 12% -10%,
      rgba(198, 161, 91, 0.16),
      transparent 62%
    ),
    linear-gradient(160deg, var(--cw-navy) 0%, #071426 100%);
  color: rgba(255, 255, 255, 0.86);
}
.cw-section--navy h2,
.cw-section--navy h3,
.cw-section--navy h4 {
  color: #fff;
}
.cw-section--navy .cw-lead {
  color: rgba(255, 255, 255, 0.74);
}

.cw-container-narrow {
  max-width: 820px;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--cw-font-sans);
}

.cw-btn {
  --cw-btn-bg: var(--cw-navy);
  --cw-btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cw-btn-bg);
  color: var(--cw-btn-fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.cw-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--cw-shadow-md);
  color: var(--cw-btn-fg);
}
.cw-btn:active {
  transform: translateY(0);
}
.cw-btn:focus-visible {
  outline: 3px solid var(--cw-gold);
  outline-offset: 3px;
  box-shadow: none;
}
.cw-btn[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

/* Primary conversion CTA — gold, used for "Check My Eligibility" everywhere */
.cw-btn--primary {
  --cw-btn-bg: linear-gradient(
    135deg,
    var(--cw-gold) 0%,
    var(--cw-gold-deep) 100%
  );
  --cw-btn-fg: #16202c;
  box-shadow: 0 6px 18px rgba(168, 130, 60, 0.28);
  font-weight: 700;
}
.cw-btn--primary:hover {
  box-shadow: 0 10px 26px rgba(168, 130, 60, 0.36);
}

.cw-btn--navy {
  --cw-btn-bg: var(--cw-navy);
  --cw-btn-fg: #fff;
}

.cw-btn--ghost {
  --cw-btn-bg: transparent;
  --cw-btn-fg: var(--cw-navy);
  border-color: var(--cw-line-strong);
}
.cw-btn--ghost:hover {
  background: rgba(10, 27, 51, 0.04);
}

.cw-btn--ghost-light {
  --cw-btn-bg: transparent;
  --cw-btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cw-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cw-btn--block {
  width: 100%;
}
.cw-btn--sm {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.9375rem;
}

.cw-btn__arrow {
  transition: transform 0.18s ease;
}
.cw-btn:hover .cw-btn__arrow {
  transform: translateX(3px);
}

/* ---------- Cards ---------- */
.cw-card {
  background: var(--cw-paper);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-lg);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--cw-shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.cw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cw-shadow-md);
  border-color: rgba(198, 161, 91, 0.5);
}

.cw-card--flat:hover {
  transform: none;
  box-shadow: var(--cw-shadow-sm);
}

.cw-card--glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.86);
}
.cw-card--glass:hover {
  border-color: rgba(198, 161, 91, 0.55);
}

.cw-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(198, 161, 91, 0.18),
    rgba(198, 161, 91, 0.06)
  );
  color: var(--cw-gold-deep);
  margin-bottom: 1.1rem;
}
.cw-card--glass .cw-card__icon {
  background: rgba(198, 161, 91, 0.16);
  color: var(--cw-gold);
}

.cw-card__num {
  font-family: var(--cw-font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--cw-gold);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.cw-hero {
  position: relative;
  /* background:
    radial-gradient(1100px 520px at 78% -8%, rgba(198, 161, 91, 0.18), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(28, 58, 92, 0.9), transparent 65%),
    linear-gradient(155deg, #0a1b33 0%, #06111f 100%); */
  color: #fff;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background-image: url("image/banner.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1100px 520px at 78% -8%,
      rgba(198, 161, 91, 0.18),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 0% 100%,
      rgba(28, 58, 92, 0.242),
      transparent 65%
    ),
    linear-gradient(155deg, #0a1b338a 0%, #06111f 100%);
}

/* .cw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent 78%);
} */

.cw-hero > * {
  position: relative;
  z-index: 1;
}

.cw-hero h1 {
  color: #fff;
}
.cw-hero__sub {
  color: rgba(255, 255, 255, 0.78);
}

.cw-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 999px;
  background: rgba(198, 161, 91, 0.1);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cw-gold);
}

.cw-hero__program {
  font-family: var(--cw-font-display);
  font-size: clamp(1.0625rem, 1.9vw, 1.375rem);
  color: var(--cw-gold);
  font-weight: 600;
  line-height: 1.35;
}

.cw-hero__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cw-hero__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}
.cw-hero__check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 161, 91, 0.2);
  color: var(--cw-gold);
}

/* ---------- Trust bar ---------- */
.cw-trustbar {
  background: var(--cw-paper);
  border-block: 1px solid var(--cw-line);
}
.cw-trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cw-navy-600);
  letter-spacing: 0.01em;
}
.cw-trustbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cw-gold);
  flex: none;
}

/* ---------- Lead form ---------- */
.cw-form-card {
  background: var(--cw-paper);
  border-radius: var(--cw-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--cw-shadow-lg);
  overflow: hidden;
  width: 550px;
}

.cw-form-card__head {
  padding: 1.35rem 1.5rem 1.15rem;
  background: linear-gradient(180deg, #fdfbf7 0%, #fff 100%);
  border-bottom: 1px solid var(--cw-line);
}
.cw-form-card__head h2,
.cw-form-card__head .cw-form-title {
  font-family: var(--cw-font-display);
  font-size: 1.5rem;
  color: var(--cw-navy);
  margin: 0;
  font-weight: 600;
}
.cw-form-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.cw-field {
  margin-bottom: 0.85rem;
}

.cw-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cw-navy-600);
  margin-bottom: 0.3rem;
}
.cw-label .cw-req {
  color: var(--cw-danger);
  margin-left: 2px;
}

.cw-input,
.cw-select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--cw-ink);
  background: #fff;
  border: 1px solid var(--cw-line-strong);
  border-radius: 10px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  appearance: none;
}
.cw-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6b7c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}
.cw-input:focus,
.cw-select:focus {
  outline: none;
  border-color: var(--cw-gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.22);
}
.cw-input::placeholder {
  color: #9aa7b4;
}

.cw-input--error,
.cw-select--error {
  border-color: var(--cw-danger);
}
.cw-input--error:focus,
.cw-select--error:focus {
  box-shadow: 0 0 0 3px rgba(176, 42, 55, 0.18);
}

.cw-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--cw-danger);
  margin-top: 0.25rem;
  font-weight: 500;
}

.cw-phone-group {
  display: flex;
}
.cw-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--cw-line-strong);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f6f3ee;
  color: var(--cw-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.cw-phone-group .cw-input {
  border-radius: 0 10px 10px 0;
}

.cw-consent {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--cw-muted);
  margin: 0.75rem 0 0;
}

.cw-form-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.cw-form-success__mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(21, 115, 71, 0.1);
  color: var(--cw-success);
}

.cw-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: cw-spin 0.7s linear infinite;
}
@keyframes cw-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Program selector ---------- */
.cw-toggle {
  display: inline-flex;
  padding: 5px;
  background: rgba(10, 27, 51, 0.05);
  border-radius: 999px;
  border: 1px solid var(--cw-line);
  gap: 4px;
}
.cw-toggle__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cw-navy-600);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.cw-toggle__btn[aria-selected="true"] {
  background: var(--cw-navy);
  color: #fff;
  box-shadow: var(--cw-shadow-sm);
}
.cw-toggle__btn:focus-visible {
  outline: 3px solid var(--cw-gold);
  outline-offset: 2px;
}

.cw-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cw-paper);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius-lg);
  padding: 1.9rem;
  box-shadow: var(--cw-shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.cw-program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cw-shadow-md);
}
.cw-program-card--active {
  border-color: var(--cw-gold);
  box-shadow:
    0 0 0 3px rgba(198, 161, 91, 0.16),
    var(--cw-shadow-md);
}
.cw-program-card__flag {
  position: absolute;
  top: -12px;
  left: 1.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--cw-navy);
  color: var(--cw-gold);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  margin: 0 0.35rem 0.4rem 0;
  border-radius: 999px;
  background: rgba(10, 27, 51, 0.05);
  border: 1px solid var(--cw-line);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cw-navy-600);
}
.cw-chip--gold {
  background: rgba(198, 161, 91, 0.12);
  border-color: rgba(198, 161, 91, 0.35);
  color: var(--cw-gold-deep);
}
.cw-section--navy .cw-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.cw-ideal {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cw-ideal li {
  position: relative;
  padding-left: 1.4rem;
  padding-block: 0.22rem;
  font-size: 0.9375rem;
  color: var(--cw-muted);
}
.cw-ideal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cw-gold);
}

/* ---------- Fact grid ---------- */
.cw-facts {
  display: grid;
  gap: 1px;
  background: var(--cw-line);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  overflow: hidden;
}
@media (min-width: 576px) {
  .cw-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .cw-facts {
    grid-template-columns: repeat(4, 1fr);
  }

 
}
.cw-fact {
  background: var(--cw-paper);
  padding: 1.15rem 1.25rem;
}
.cw-fact__label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cw-muted);
  font-weight: 600;
}
.cw-fact__value {
  font-family: var(--cw-font-display);
  font-size: 1.125rem;
  color: var(--cw-navy);
  font-weight: 600;
  margin-top: 0.2rem;
}
.cw-section--navy .cw-facts {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
}
.cw-section--navy .cw-fact {
  background: rgba(255, 255, 255, 0.04);
}
.cw-section--navy .cw-fact__label {
  color: rgba(255, 255, 255, 0.6);
}
.cw-section--navy .cw-fact__value {
  color: #fff;
}

/* ---------- Journey / pathway ---------- */
.cw-journey {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cw-journey__step {
  flex: 1 1 160px;
  min-width: 148px;
  background: var(--cw-paper);
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  padding: 1rem 1.1rem;
  position: relative;
}
.cw-journey__step-n {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cw-gold-deep);
}
.cw-journey__step-t {
  font-family: var(--cw-font-display);
  font-size: 1rem;
  color: var(--cw-navy);
  font-weight: 600;
  margin-top: 0.15rem;
}
.cw-journey__step-d {
  font-size: 0.8125rem;
  color: var(--cw-muted);
  margin-top: 0.3rem;
  line-height: 1.5;
}
.cw-section--navy .cw-journey__step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.cw-section--navy .cw-journey__step-t {
  color: #fff;
}
.cw-section--navy .cw-journey__step-d {
  color: rgba(255, 255, 255, 0.66);
}
.cw-section--navy .cw-journey__step-n {
  color: var(--cw-gold);
}

/* ---------- Eligibility checklist ---------- */
.cw-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cw-check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--cw-line);
  font-size: 0.9375rem;
}
.cw-check-list li:last-child {
  border-bottom: 0;
}
.cw-check-list__mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(21, 115, 71, 0.1);
  color: var(--cw-success);
  margin-top: 1px;
}
.cw-or-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1rem 0;
  color: var(--cw-gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.cw-or-divider::before,
.cw-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cw-line-strong);
}

/* ---------- Timeline ---------- */
.cw-steps {
  display: grid;
  gap: 1rem;
  counter-reset: cwstep;
}
@media (min-width: 768px) {
  .cw-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.cw-step {
  position: relative;
  padding-top: 2.75rem;
}
.cw-step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 40px;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(198, 161, 91, 0.55),
    rgba(198, 161, 91, 0.1)
  );
}
.cw-step__n {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cw-gold);
  color: #10202f;
  font-family: var(--cw-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
}

/* ---------- FAQ accordion ---------- */
.cw-faq {
  border-top: 1px solid var(--cw-line);
}
.cw-faq__item {
  border-bottom: 1px solid var(--cw-line);
}
.cw-faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 0.25rem;
  min-height: 56px;
  font-family: var(--cw-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cw-navy);
  cursor: pointer;
}
.cw-faq__btn:hover {
  color: var(--cw-gold-deep);
}
.cw-faq__btn:focus-visible {
  outline: 3px solid var(--cw-gold);
  outline-offset: -3px;
  border-radius: 6px;
}
.cw-faq__icon {
  flex: none;
  margin-top: 4px;
  color: var(--cw-gold-deep);
  transition: transform 0.25s ease;
}
.cw-faq__btn[aria-expanded="true"] .cw-faq__icon {
  transform: rotate(45deg);
}
.cw-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.cw-faq__panel--open {
  grid-template-rows: 1fr;
}
.cw-faq__panel-inner {
  overflow: hidden;
}
.cw-faq__panel-inner > div {
  padding: 0 0.25rem 1.2rem;
  color: var(--cw-muted);
  font-size: 0.9375rem;
}

/* ---------- Sticky mobile CTA ---------- */
.cw-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--cw-line);
  box-shadow: 0 -6px 24px rgba(10, 27, 51, 0.1);
  transform: translateY(110%);
  transition: transform 0.28s ease;
}
.cw-sticky-cta--visible {
  transform: translateY(0);
}
.cw-sticky-cta .cw-btn {
  min-height: 48px;
  font-size: 0.9375rem;
  padding-inline: 0.75rem;
}
@media (min-width: 992px) {
  .cw-sticky-cta {
    display: none;
  }
}
@media (max-width: 991.98px) {
  body.cw-has-sticky {
    padding-bottom: 76px;
  }
}

/* ---------- WhatsApp FAB ---------- */
.cw-wa {
  display: none!important;
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 1035;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem 0.6rem 0.65rem;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cw-line-strong);
  color: var(--cw-navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--cw-shadow-md);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.cw-wa:hover {
  transform: translateY(-2px);
  color: var(--cw-navy);
  box-shadow: var(--cw-shadow-lg);
}
.cw-wa:focus-visible {
  outline: 3px solid var(--cw-gold);
  outline-offset: 3px;
}
.cw-wa__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
@media (min-width: 992px) {
  .cw-wa {
    bottom: 24px;
  }
}
@media (max-width: 359.98px) {
  .cw-wa__label {
    display: none;
  }
  .cw-wa {
    padding: 0.5rem;
  }
}


@media (max-width: 767px) {
    .cw-form-card {
        background: var(--cw-paper);
        border-radius: var(--cw-radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: var(--cw-shadow-lg);
        overflow: hidden;
        width: 100%!important;
    }
    
    .phonennone{
        display:none!important;
    }
}


/* ---------- Header ---------- */
.cw-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(10, 27, 51, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.cw-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cw-gold), var(--cw-gold-deep));
  color: #0a1b33;
  font-family: var(--cw-font-display);
  font-weight: 700;
  font-size: 1rem;
  flex: none;
}
.cw-brand__name {
  font-family: var(--cw-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.cw-brand__sub {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cw-header__tel {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}
.cw-header__tel:hover {
  color: var(--cw-gold);
}

/* ---------- Modal ---------- */
.cw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(6, 17, 31, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  animation: cw-fade 0.2s ease;
}
@keyframes cw-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cw-modal {
  width: 100%;
  max-width: 460px;
  margin: auto;
  animation: cw-rise 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes cw-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cw-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 27, 51, 0.06);
  color: var(--cw-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cw-modal__close:hover {
  background: rgba(10, 27, 51, 0.12);
}

/* ---------- Footer ---------- */
.cw-footer {
  background: #06111f;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
}
.cw-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.cw-footer a:hover {
  color: var(--cw-gold);
  text-decoration: underline;
}
.cw-footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-family: var(--cw-font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cw-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ---------- Reveal animation ---------- */
.cw-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cw-reveal--in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cw-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Accessibility helpers ---------- */
.cw-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: var(--cw-navy);
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.cw-skip:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cw-gold);
  outline-offset: 2px;
}

.cw-note {
  font-size: 0.8125rem;
  color: var(--cw-muted);
  line-height: 1.6;
}
.cw-section--navy .cw-note {
  color: rgba(255, 255, 255, 0.6);
}

.cw-source-link {
  color: var(--cw-navy-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.cw-source-link:hover {
  color: var(--cw-gold-deep);
}
.cw-section--navy .cw-source-link {
  color: rgba(255, 255, 255, 0.8);
}
.cw-section--navy .cw-source-link:hover {
  color: var(--cw-gold);
}
