:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #000000;
  --muted: rgba(0, 0, 0, 0.64);
  --line: rgba(0, 0, 0, 0.1);
  --brand: #db3b47;
  --brand-deep: #d82240;
  --accent: #000000;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 28px 70px rgba(216, 34, 64, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 34, 64, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(219, 59, 71, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(216, 34, 64, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 82%);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 48px;
  position: relative;
}

.section {
  margin-top: 24px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.cta-band h2,
.footer h2,
.hero-panel strong,
.milestone-card strong,
.blog-card h3,
.service-card h3,
.why-grid h3 {
  font-family: "Outfit", sans-serif;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1;
}

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

.nav-item {
  position: relative;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: grid;
  min-width: 320px;
  padding: 12px;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 14px;
}

.dropdown a:hover {
  background: rgba(216, 34, 64, 0.06);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: white;
  box-shadow: 0 16px 32px rgba(216, 34, 64, 0.24);
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(216, 34, 64, 0.04);
}

.button-light {
  background: white;
  color: var(--brand-deep);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero,
.about,
.services,
.milestones,
.why-us,
.blogs,
.footer {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  min-height: 76vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(219, 59, 71, 0.16), transparent 26%),
    linear-gradient(180deg, #020202, #0d0d0d 72%, #131313 100%);
  isolation: isolate;
  color: white;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 55%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 34, 64, 0.16), transparent 68%);
  pointer-events: none;
  z-index: -1;
  filter: blur(4px);
}

.text-accent {
  color: var(--brand-deep);
}

.page-hero {
  padding: 42px 34px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 34, 64, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(135deg, #000000, #7d0f22 42%, #d82240 78%);
  box-shadow: 0 26px 52px rgba(216, 34, 64, 0.16);
  color: white;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -10%;
  width: 38%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 55%);
  transform: skewX(-18deg);
  animation: shimmerSweep 8s linear infinite;
  pointer-events: none;
}

.page-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  color: white;
}

.page-hero p {
  max-width: 64ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-copy,
.hero-visual,
.about-copy,
.about-card,
.service-card,
.milestone-card,
.why-grid article,
.blog-card,
.content-card {
  position: relative;
  overflow: hidden;
}

.section,
.service-card,
.blog-card,
.content-card,
.milestone-card,
.why-grid article,
.hero-stats article {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.section.is-visible,
.service-card.is-visible,
.blog-card.is-visible,
.content-card.is-visible,
.milestone-card.is-visible,
.why-grid article.is-visible,
.hero-stats article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.results-page .section,
.results-page .content-card {
  opacity: 1;
  transform: none;
}

.results-page .content-card:hover,
.results-page .results-summary-card:hover,
.results-page .results-table-card:hover {
  transform: none !important;
  background: white !important;
  color: inherit !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.results-page .content-card:hover h2,
.results-page .content-card:hover p,
.results-page .content-card:hover span,
.results-page .content-card:hover li,
.results-page .content-card:hover a,
.results-page .results-summary-card:hover strong,
.results-page .results-summary-card:hover span {
  color: inherit !important;
}

.hero-copy::after,
.about-card::after,
.service-card::after,
.milestone-card::after,
.blog-card::after,
.content-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 34, 64, 0.16), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(216, 34, 64, 0.08);
  color: var(--brand-deep);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

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

.election-data-card {
  display: grid;
  gap: 20px;
  transform: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
  justify-items: center;
}

.election-data-card h2 {
  margin: 0;
  justify-self: start;
}

.election-filter-grid {
  display: grid;
  gap: 16px;
  width: 100%;
}

.election-filter {
  display: grid;
  gap: 10px;
}

.election-filter span {
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.election-filter select {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(216, 34, 64, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 244, 0.98));
  color: var(--text);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.06);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 18px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.election-filter input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(216, 34, 64, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 244, 0.98));
  color: var(--text);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.06);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.election-filter select:focus {
  border-color: rgba(216, 34, 64, 0.58);
  box-shadow: 0 20px 44px rgba(216, 34, 64, 0.14);
  transform: translateY(-1px);
}

.election-filter input:focus {
  border-color: rgba(216, 34, 64, 0.58);
  box-shadow: 0 20px 44px rgba(216, 34, 64, 0.14);
  transform: translateY(-1px);
}

.election-data-card:hover {
  transform: none !important;
  background: white !important;
  color: inherit !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.election-data-card:hover h2,
.election-data-card:hover p,
.election-data-card:hover span,
.election-data-card:hover li,
.election-data-card:hover a {
  color: inherit !important;
}

.election-search-button {
  width: fit-content;
  min-width: 160px;
  justify-self: center;
}

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

.state-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 34, 64, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 243, 0.98));
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(15, 15, 15, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.state-card:hover {
  border-color: rgba(216, 34, 64, 0.4);
  box-shadow: 0 22px 42px rgba(216, 34, 64, 0.1);
  color: var(--brand);
}

.hidden {
  display: none !important;
}

.election-results-shell {
  display: grid;
  gap: 24px;
}

.election-results-message {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.results-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.results-summary-card {
  padding: 20px 18px;
  border: 1px solid rgba(216, 34, 64, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 243, 0.98));
  box-shadow: 0 18px 38px rgba(15, 15, 15, 0.05);
}

.results-summary-card strong {
  display: block;
  color: var(--brand-deep);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.results-summary-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

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

.results-analysis-list {
  display: grid;
  gap: 14px;
}

.results-analysis-item {
  padding-left: 18px;
  border-left: 3px solid rgba(216, 34, 64, 0.6);
  color: var(--text);
  line-height: 1.7;
}

.results-table-card {
  padding: 24px;
  border: 1px solid rgba(216, 34, 64, 0.12);
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 44px rgba(15, 15, 15, 0.06);
}

.results-table-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.results-table-topbar h2,
.results-table-topbar p {
  margin: 0;
}

.results-table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(216, 34, 64, 0.1);
}

.results-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: white;
}

.results-table th,
.results-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  text-align: left;
  vertical-align: top;
}

.results-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111111;
  color: white;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
}

.results-table tbody tr:nth-child(even) {
  background: rgba(248, 244, 245, 0.85);
}

.results-muted {
  color: var(--muted);
  font-size: 0.85em;
}

@media (max-width: 900px) {
  .election-data-grid {
    grid-template-columns: 1fr;
  }

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

  .results-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .state-grid {
    grid-template-columns: 1fr;
  }

  .results-summary-grid {
    grid-template-columns: 1fr;
  }

  .results-table-card {
    padding: 18px;
    border-radius: 22px;
  }
}

.hero p,
.about p,
.service-card li,
.why-grid p,
.blog-card p,
.footer p,
.contact-list span {
  color: var(--muted);
  line-height: 1.75;
}

.hero p,
.hero .brand-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  color: white;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero p {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

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

.hero-stats article,
.hero-panel,
.about-copy,
.about-card,
.service-card,
.milestone-card,
.why-grid article,
.blog-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
}

.hero-stats article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(216, 34, 64, 0.1), transparent);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-stats strong,
.milestone-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--brand-deep);
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: transparent;
  border: 0;
  position: relative;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 24px);
  transform: rotate(8deg);
}

.hero-panel {
  color: white;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  backdrop-filter: blur(10px);
}

.about-copy {
  color: white;
  border-color: rgba(216, 34, 64, 0.18);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(135deg, #000000, #71101f 42%, #d82240 100%);
  box-shadow: 0 24px 48px rgba(216, 34, 64, 0.14);
}

.about-copy::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.about-copy h2 {
  color: white;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 2.2rem;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin: 14px 0 0;
}

.hero-panel-accent {
  margin-left: 12%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 18px 36px rgba(216, 34, 64, 0.28);
}

.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.services .section-heading {
  max-width: 100%;
}

.section-heading h2,
.cta-band h2,
.footer h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  max-width: 16ch;
}

.services .section-heading h2 {
  max-width: none;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.milestones .section-heading h2 {
  max-width: none;
  white-space: nowrap;
}

.why-us .section-heading h2 {
  max-width: none;
  text-align: right;
}

.why-grid article {
  min-height: 220px;
  padding: 0;
  perspective: 1200px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.why-grid article::before,
.why-grid article::after {
  display: none;
}

.why-grid .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-grid article:hover {
  transform: none;
  box-shadow: none;
}

.why-grid article:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.why-grid .flip-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 251, 0.96)),
    radial-gradient(circle at top right, rgba(216, 34, 64, 0.08), transparent 30%);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.why-grid .flip-card-front {
  align-items: flex-start;
  transform: rotateY(0deg);
}

.why-grid .flip-card-front::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(216, 34, 64, 0.92), rgba(139, 16, 39, 0.98));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-top-right-radius: calc(var(--radius-lg) - 1px);
}

.why-grid .flip-card-front::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.24);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-top-right-radius: calc(var(--radius-lg) - 1px);
}

.why-grid .flip-card-front h3 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.why-grid .flip-card-back {
  transform: rotateY(180deg);
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #8d1027 0%, #d82240 58%, #db3b47 100%);
  border-color: rgba(216, 34, 64, 0.65);
  box-shadow: 0 26px 50px rgba(216, 34, 64, 0.28);
}

.why-grid .flip-card-back h3,
.why-grid .flip-card-back p {
  color: #ffffff;
}

.why-grid .flip-card-back h3 {
  font-size: 1.45rem;
}

.journey {
  position: relative;
  overflow: visible;
  margin-block: 40px;
}

.journey-heading {
  max-width: 100%;
}

.journey-heading h2 {
  max-width: none;
}

.journey-intro {
  max-width: 760px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.journey-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.journey-track {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 0;
  --journey-mover-start: calc(100% - 60px);
  --journey-mover-end: 0px;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 170px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(216, 34, 64, 0.04), rgba(216, 34, 64, 0.2), rgba(216, 34, 64, 0.04)),
    linear-gradient(180deg, transparent 0%, rgba(216, 34, 64, 0.7) 45%, transparent 100%);
  background-size: 100% 100%, 100% 180px;
  background-repeat: no-repeat;
  animation: journeyRailFlow 5.8s linear infinite;
}

.journey-track::after {
  content: "";
  position: absolute;
  left: 165px;
  top: var(--journey-mover-start);
  width: 14px;
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 22%, rgba(216, 34, 64, 0.95) 60%, rgba(125, 15, 34, 0.95));
  box-shadow:
    0 0 0 6px rgba(216, 34, 64, 0.05),
    0 14px 24px rgba(216, 34, 64, 0.22);
  animation: journeyMoverRise 5.2s linear infinite;
  pointer-events: none;
}

.journey-row {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding-bottom: 6px;
}

.journey-year-block {
  position: relative;
  z-index: 1;
  padding-top: 6px;
}

.journey-year-block p {
  max-width: 14ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.journey-year {
  display: inline-grid;
  place-items: center;
  width: 108px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #000000, #5f0d1b 48%, #d82240 100%);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
  animation: journeyYearGlow 4.2s ease-in-out infinite;
}

.journey-events {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.journey-event {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 24px 22px 22px;
  border: 1px solid rgba(216, 34, 64, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 250, 0.96)),
    radial-gradient(circle at top right, rgba(216, 34, 64, 0.08), transparent 30%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 220ms ease;
}

.journey-event::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
}

.journey-event:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 34, 64, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #8d1027 0%, #d82240 58%, #db3b47 100%);
  box-shadow: 0 26px 50px rgba(216, 34, 64, 0.22);
}

.journey-event:hover::before {
  background: #ffffff;
}

.journey-month {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #12304e, #315982);
  box-shadow: 0 12px 18px rgba(49, 89, 130, 0.18);
}

.journey-state {
  display: block;
  margin-bottom: 8px;
  color: #c7932a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-event h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.journey-event p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.journey-event:hover .journey-state,
.journey-event:hover h3,
.journey-event:hover p {
  color: #ffffff;
}

.journey-event:hover .journey-month {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.journey-row:nth-child(2) .journey-year {
  animation-delay: 0.5s;
}

.journey-row:nth-child(3) .journey-year {
  animation-delay: 1s;
}

@keyframes journeyRailFlow {
  0% {
    background-position: 0 0, 0 -180px;
  }

  100% {
    background-position: 0 0, 0 calc(100% + 180px);
  }
}

@keyframes journeyMoverRise {
  0% {
    top: var(--journey-mover-start);
    transform: scale(0.92);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  85% {
    top: var(--journey-mover-end);
    transform: scale(1);
    opacity: 1;
  }

  100% {
    top: var(--journey-mover-end);
    transform: scale(0.96);
    opacity: 0;
  }
}

@keyframes journeyYearGlow {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(216, 34, 64, 0.2);
  }
}

.typing-text {
  display: inline-block;
  min-height: 1.1em;
}

.typing-highlight {
  color: var(--brand);
}

.typing-text.is-typing,
.typing-text.is-complete {
  position: relative;
}

.typing-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: typingCaretBlink 0.8s steps(1) infinite;
}

@keyframes typingCaretBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.82);
  text-align: justify;
}

.about-grid .about-card {
  padding: 0;
}

.about-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 1px);
  margin-top: 0;
}

.content-grid,
.contact-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.content-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin: 0 0 14px;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-card p + p {
  margin-top: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border: 1px solid rgba(216, 34, 64, 0.12);
  border-radius: 999px;
  background: rgba(216, 34, 64, 0.05);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.pill-list li:hover {
  transform: translateY(-2px);
  background: rgba(216, 34, 64, 0.12);
  border-color: rgba(216, 34, 64, 0.24);
}

.about-card ul,
.service-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.service-grid,
.milestone-grid,
.why-grid,
.blog-grid {
  display: grid;
  gap: 18px;
}

.blog-card--media {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.blog-card--media::before,
.blog-card--media::after {
  display: none;
}

.blog-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(216, 34, 64, 0.08);
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at top right, rgba(216, 34, 64, 0.22), transparent 28%);
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.blog-card--media .blog-tag {
  margin-bottom: 10px;
}

.blog-grid .blog-card--media:nth-child(2) .blog-card-image,
.blog-list .blog-card--media:nth-child(2) .blog-card-image {
  object-position: center 38%;
}

.blog-grid .blog-card--media:nth-child(3) .blog-card-image,
.blog-list .blog-card--media:nth-child(3) .blog-card-image {
  object-position: center 62%;
}

.blog-list .blog-card--media:nth-child(4) .blog-card-image,
.blog-list .blog-card--media:nth-child(5) .blog-card-image,
.blog-list .blog-card--media:nth-child(6) .blog-card-image {
  object-position: center 46%;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-card h3,
.why-grid h3,
.blog-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 250, 251, 0.98)),
    radial-gradient(circle at top right, rgba(216, 34, 64, 0.08), transparent 28%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 34, 64, 0.08);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.48rem;
  line-height: 1.08;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 0 0 4px rgba(216, 34, 64, 0.08);
}

.service-card,
.milestone-card,
.blog-card,
.why-grid article,
.about-card,
.content-card,
.hero-stats article {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 220ms ease,
    color 220ms ease;
}

.service-card:hover,
.milestone-card:hover,
.blog-card:hover,
.why-grid article:hover,
.about-card:hover,
.content-card:hover,
.hero-stats article:hover {
  transform: translateY(-6px);
  color: #ffffff;
  border-color: rgba(216, 34, 64, 0.65);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #8d1027 0%, #d82240 58%, #db3b47 100%);
  box-shadow: 0 26px 50px rgba(216, 34, 64, 0.28);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.service-card:hover h3,
.milestone-card:hover strong,
.blog-card:hover h3,
.why-grid article:hover h3,
.content-card:hover h3,
.content-card:hover h4,
.hero-stats article:hover strong {
  color: #ffffff;
}

.service-card:hover p,
.service-card:hover li,
.milestone-card:hover span,
.blog-card:hover p,
.why-grid article:hover p,
.content-card:hover p,
.content-card:hover li,
.hero-stats article:hover span,
.hero-stats article:hover p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card:hover h3 a,
.blog-card:hover h3 a,
.content-card:hover a,
.why-grid article:hover a {
  color: #ffffff;
}

.service-card:hover .service-kicker,
.blog-card:hover .blog-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.blog-card--media:hover .blog-card-media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%);
}

.service-card:hover li::before {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.service-card:hover::before,
.milestone-card:hover::before,
.blog-card:hover::before,
.about-card:hover::before,
.content-card:hover::before {
  background: #ffffff;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  color: white;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(135deg, #000000, #7d0f22 40%, #d82240 72%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -12%;
  width: 42%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 55%);
  transform: skewX(-18deg);
  animation: shimmerSweep 8s linear infinite;
}

.section-dark {
  color: white;
  border-color: rgba(216, 34, 64, 0.16);
  background:
    radial-gradient(circle at top right, rgba(219, 59, 71, 0.16), transparent 24%),
    linear-gradient(180deg, #050505, #111111 78%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}


.section-dark .section-heading h2,
.section-dark h2,
.section-dark h3,
.section-dark strong,
.section-dark .contact-list a,
.section-dark .contact-list span,
.section-dark .footer-bottom p {
  color: white;
}

.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.section-dark .milestone-card,
.section-dark .blog-card,
.section-dark .service-card,
.section-dark .about-card,
.section-dark .why-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .milestone-card span,
.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .milestone-card strong {
  color: #ffffff;
}

.section-dark .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.milestone-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.milestone-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.blog-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card::before,
.milestone-card::before,
.blog-card::before,
.about-card::before,
.content-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
}

.service-card::before {
  width: 74px;
  height: 5px;
}

.service-card h3 a,
.blog-card h3 a {
  background-image: linear-gradient(90deg, var(--brand-deep), var(--brand));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 180ms ease;
}

.service-card:hover h3 a,
.blog-card:hover h3 a {
  background-size: 100% 2px;
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-card a,
.blog-card a,
.content-card a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.contact-list a,
.whatsapp-float {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 15;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: white;
  box-shadow: 0 14px 28px rgba(216, 34, 64, 0.26);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-36%) skewX(-18deg);
  }
  100% {
    transform: translateX(220%) skewX(-18deg);
  }
}

.hero-copy,
.hero-visual,
.service-card,
.blog-card,
.content-card,
.milestone-card,
.why-grid article {
  animation: fadeUp 540ms ease both;
}

.service-card:nth-child(2),
.blog-card:nth-child(2),
.content-card:nth-child(2),
.milestone-card:nth-child(2),
.why-grid article:nth-child(2) {
  animation-delay: 60ms;
}

.service-card:nth-child(3),
.blog-card:nth-child(3),
.content-card:nth-child(3),
.milestone-card:nth-child(3),
.why-grid article:nth-child(3) {
  animation-delay: 120ms;
}

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

  .section,
  .service-card,
  .blog-card,
  .content-card,
  .milestone-card,
  .why-grid article,
  .hero-stats article {
    opacity: 1;
    transform: none;
  }

  .why-grid article:hover .flip-card-inner {
    transform: none;
  }

  .journey-track::before,
  .journey-track::after,
  .journey-year,
  .journey-event {
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .content-grid,
  .contact-grid,
  .team-grid,
  .service-grid,
  .milestone-grid,
  .blog-grid,
  .blog-list,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .journey-track::before {
    left: 140px;
  }

  .journey-track {
    --journey-mover-start: calc(100% - 60px);
  }

  .journey-track::after {
    left: 135px;
  }

  .journey-row {
    grid-template-columns: 140px 1fr;
  }

  .journey-year-block p {
    max-width: 12ch;
  }

  .journey-events {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 16px, 1180px);
    margin: 10px auto 108px;
  }

  .topbar {
    top: 8px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    cursor: pointer;
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(216, 34, 64, 0.08);
  }

  .desktop-cta {
    display: none;
  }

  .brand-logo {
    height: 36px;
  }

  .brand {
    max-width: calc(100% - 64px);
    gap: 0;
  }

  .brand-copy {
    display: none;
  }

  .nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 6px;
    margin-top: 8px;
    padding: 8px 10px 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease,
      padding-top 220ms ease;
  }

  .nav.is-open {
    max-height: min(72vh, 540px);
    opacity: 1;
    transform: translateY(0);
  }

  .nav > a,
  .nav > .nav-item > a {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(216, 34, 64, 0.04);
    font-weight: 700;
    font-size: 0.94rem;
  }

  .nav a::after {
    display: none;
  }

  .dropdown {
    position: static;
    min-width: 100%;
    margin-top: 4px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(216, 34, 64, 0.03);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      max-height 220ms ease,
      visibility 180ms ease;
  }

  .nav-item.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 480px;
    transform: translateY(0);
  }

  .dropdown a {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .hero,
  .about-grid,
  .content-grid,
  .contact-grid,
  .team-grid,
  .service-grid,
  .milestone-grid,
  .blog-grid,
  .blog-list,
  .why-grid,
  .footer-main,
  .footer-bottom,
  .cta-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    margin-top: 18px;
  }

  .page-hero {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .page-hero h1,
  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }

  .page-hero::after {
    width: 48%;
  }

  .section-heading,
  .services .section-heading,
  .journey-heading {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .services .section-heading h2,
  .milestones .section-heading h2,
  .why-us .section-heading h2,
  .journey-heading h2,
  .cta-band h2,
  .footer h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.85rem, 8.4vw, 2.75rem);
    line-height: 1.08;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero {
    gap: 18px;
    padding: 22px 20px 20px;
    border-radius: 28px;
    min-height: auto;
  }

  .hero-copy {
    gap: 0;
  }

  .hero p,
  .page-hero p,
  .journey-intro p,
  .content-card p,
  .blog-card p,
  .about-copy p {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-panel strong,
  .milestone-card strong,
  .blog-card h3,
  .service-card h3,
  .why-grid h3,
  .content-card h2,
  .content-card h3,
  .content-card h4,
  .journey-event h3 {
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-panel strong {
    font-size: 1.7rem;
    line-height: 1.05;
  }

  .hero-panel,
  .hero-stats article,
  .about-copy,
  .about-card,
  .service-card,
  .milestone-card,
  .blog-card,
  .content-card,
  .journey-event {
    border-radius: 22px;
  }

  .hero-stats {
    gap: 12px;
  }

  .journey-track::before {
    left: 32px;
    top: 24px;
    bottom: 24px;
  }

  .journey-track {
    --journey-mover-start: calc(100% - 56px);
    --journey-mover-end: 18px;
  }

  .journey-track::after {
    left: 27px;
    width: 10px;
    height: 30px;
  }

  .journey-track {
    padding: 4px 8px 6px 0;
  }

  .journey-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 64px;
  }

  .journey-year-block {
    padding-top: 0;
  }

  .journey-year-block p {
    max-width: none;
  }

  .journey-year {
    width: 84px;
    font-size: 1.6rem;
  }

  .journey-year-block p {
    max-width: none;
  }

  .journey-event {
    border-radius: 20px;
  }

  .milestone-card strong {
    font-size: 1.6rem;
  }

  .service-card h3,
  .blog-card h3,
  .journey-event h3 {
    font-size: 1.25rem;
    line-height: 1.14;
  }

  .why-grid .flip-card-back h3,
  .why-grid .flip-card-front h3 {
    max-width: none;
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .service-card,
  .milestone-card,
  .blog-card,
  .content-card,
  .hero-stats article,
  .journey-event {
    transition:
      opacity 560ms ease,
      transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .hero-panel,
  .about-copy,
  .about-card,
  .journey-event {
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .service-card:hover,
  .milestone-card:hover,
  .blog-card:hover,
  .about-card:hover,
  .content-card:hover,
  .hero-stats article:hover,
  .journey-event:hover,
  .hero-panel:hover,
  .about-copy:hover {
    transform: none;
    box-shadow: inherit;
  }

  .why-grid article {
    min-height: auto;
    perspective: none;
  }

  .why-grid .flip-card-inner {
    min-height: auto;
    transform: none !important;
  }

  .why-grid .flip-card-front {
    display: none;
  }

  .why-grid .flip-card-back {
    position: relative;
    inset: auto;
    transform: none;
    min-height: 220px;
  }

  .blog-card-media {
    aspect-ratio: 4 / 5;
  }

  .blog-card-content {
    padding: 18px 18px 20px;
  }

  .blog-list,
  .blog-grid,
  .service-grid,
  .team-grid,
  .milestone-grid,
  .contact-grid,
  .content-grid {
    gap: 14px;
  }

  .button,
  .cta-actions .button,
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    gap: 10px;
  }

  .footer {
    padding-bottom: 10px;
  }

  .footer-main,
  .footer-bottom {
    gap: 14px;
  }

  .whatsapp-float {
    right: 14px;
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    border-radius: 18px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(216, 34, 64, 0.28);
  }

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

  .contact-list {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero,
  .about,
  .services,
  .milestones,
  .why-us,
  .journey,
  .blogs,
  .footer,
  .cta-band {
    padding: 24px 20px;
  }

  body::before {
    background-size: 34px 34px;
  }

  .topbar {
    padding: 10px 12px;
    border-radius: 22px;
  }

  .brand {
    max-width: calc(100% - 56px);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hero-panel-accent {
    margin-left: 0;
  }

  .hero,
  .page-hero {
    border-radius: 24px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  .section-heading h2,
  .services .section-heading h2,
  .milestones .section-heading h2,
  .why-us .section-heading h2,
  .journey-heading h2,
  .cta-band h2,
  .footer h2 {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
    line-height: 1.1;
  }

  .hero-panel strong {
    font-size: 1.42rem;
  }

  .service-card h3,
  .blog-card h3,
  .journey-event h3,
  .content-card h2 {
    font-size: 1.12rem;
    line-height: 1.16;
  }

  .why-grid .flip-card-back h3,
  .why-grid .flip-card-front h3 {
    font-size: 1.34rem;
  }

  .hero p,
  .page-hero p {
    font-size: 0.94rem;
  }

  .blog-card-media {
    aspect-ratio: 1 / 1;
  }

  .whatsapp-float {
    min-height: 52px;
    font-size: 0.96rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .service-card:hover,
  .milestone-card:hover,
  .blog-card:hover,
  .why-grid article:hover,
  .about-card:hover,
  .content-card:hover,
  .hero-stats article:hover,
  .journey-event:hover,
  .hero-panel:hover,
  .about-copy:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .service-card:hover,
  .milestone-card:hover,
  .blog-card:hover,
  .why-grid article:hover,
  .about-card:hover,
  .content-card:hover,
  .hero-stats article:hover,
  .journey-event:hover,
  .hero-panel:hover,
  .about-copy:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
    box-shadow: inherit;
  }

  .service-card:hover h3,
  .milestone-card:hover strong,
  .blog-card:hover h3,
  .why-grid article:hover h3,
  .content-card:hover h3,
  .content-card:hover h4,
  .hero-stats article:hover strong,
  .journey-event:hover .journey-state,
  .journey-event:hover h3,
  .journey-event:hover p {
    color: inherit;
  }

  .service-card:hover p,
  .service-card:hover li,
  .milestone-card:hover span,
  .blog-card:hover p,
  .why-grid article:hover p,
  .content-card:hover p,
  .content-card:hover li,
  .hero-stats article:hover span,
  .hero-stats article:hover p {
    color: var(--muted);
  }

  .journey-track::before,
  .journey-track::after,
  .journey-year,
  .page-hero::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
  }
}
