:root {
  --primary: #183153;
  --secondary: #2e5b88;
  --mist: #eaf2fa;
  --frost: #f8fbff;
  --surface: #ffffff;
  --cta: #1f6b52;
  --cta-hover: #185441;
  --cta-soft: #e9f7f0;
  --text: #334155;
  --muted: #64748b;
  --border: #d9e6f2;
  --shadow-sm: 0 8px 30px rgba(24, 49, 83, 0.06);
  --shadow-md: 0 18px 48px rgba(24, 49, 83, 0.08);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --max-width: 1180px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --header-height: 5.9rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--frost);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.15rem;
}

::selection {
  background: var(--primary);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid rgba(31, 107, 82, 0.24);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: var(--space-4);
  top: 1rem;
  z-index: 1000;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section,
.page-section {
  padding: var(--space-8) 0;
}

.section-sm {
  padding: var(--space-7) 0;
}

.section-lg {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.stack,
.grid,
.trust-grid,
.service-grid,
.pain-grid,
.faq-preview,
.value-grid,
.contact-grid,
.page-grid,
.step-grid,
.page-card-grid,
.two-col-list,
.contact-list,
.footer-links ul,
.form-stack,
.form-grid,
.faq-list {
  display: grid;
  gap: var(--space-5);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-4);
  color: var(--primary);
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.lede,
.section-intro,
.page-intro {
  max-width: 56rem;
  color: var(--text);
  font-size: 1.08rem;
}

.small-print,
.form-help {
  color: var(--muted);
  font-size: 0.94rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before,
.micro-strip span::before,
.pill::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(217, 230, 242, 0.92);
  background: rgba(248, 251, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-height);
}

.nav-brand {
  flex-shrink: 0;
}

.nav-brand img {
  width: clamp(210px, 30vw, 360px);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 49, 83, 0.05);
}

.nav-toggle img {
  width: 1.1rem;
  height: 1.1rem;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  position: relative;
  color: var(--primary);
  font-size: 0.97rem;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent 82%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button,
.button-secondary,
.button-ghost,
.button-whatsapp,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.92rem 1.3rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button-whatsapp:hover,
.whatsapp-float:hover {
  transform: translateY(-2px);
}

.button {
  background: var(--cta);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(31, 107, 82, 0.18);
}

.button:hover {
  background: var(--cta-hover);
}

.button-secondary,
.button-ghost {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: 0 6px 18px rgba(24, 49, 83, 0.04);
}

.button-secondary:hover,
.button-ghost:hover {
  background: var(--mist);
  border-color: #bdd2e8;
}

.button-whatsapp {
  background: #ffffff;
  color: var(--cta);
  border-color: rgba(31, 107, 82, 0.22);
  box-shadow: 0 8px 24px rgba(24, 49, 83, 0.05);
}

.button-whatsapp:hover,
.whatsapp-float:hover {
  background: var(--cta-soft);
  border-color: rgba(31, 107, 82, 0.34);
  color: var(--cta-hover);
}

.button.full {
  width: 100%;
}

.button-row,
.page-actions,
.micro-strip,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.micro-strip,
.pill-row {
  margin-top: var(--space-5);
}

.micro-strip span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.4rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(234, 242, 250, 0.65);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4.8vw, 3.1rem) 0 var(--space-8);
  background:
    radial-gradient(circle at top right, rgba(46, 91, 136, 0.08), transparent 28%),
    radial-gradient(circle at left center, rgba(31, 107, 82, 0.05), transparent 32%),
    linear-gradient(180deg, var(--frost) 0%, var(--mist) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.hero::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -4rem;
  background: rgba(46, 91, 136, 0.08);
}

.hero::after {
  width: 14rem;
  height: 14rem;
  left: -4rem;
  bottom: 3rem;
  background: rgba(31, 107, 82, 0.08);
}

.hero-grid,
.split-grid,
.page-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero-stack {
  position: relative;
  display: grid;
  gap: clamp(1rem, 3vw, 1.85rem);
}

.hero-intro {
  position: relative;
  z-index: 2;
  max-width: 50rem;
}

.hero-intro h1 {
  max-width: 14ch;
}

.hero-intro .lede {
  max-width: 48rem;
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
}

.hero-grid-editorial {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.hero-support {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 34rem;
}

.hero-kicker {
  margin: 0;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-support .button-row,
.hero-support .micro-strip {
  margin-top: 0;
}

.hero-support .micro-strip {
  gap: 0.45rem;
}

.hero-support .micro-strip span {
  min-height: 2.2rem;
  padding: 0.55rem 0.88rem;
}

.hero-visual-main {
  width: 100%;
  max-width: min(100%, 38rem);
  justify-self: end;
  align-self: start;
  position: relative;
  z-index: 1;
}

.hero-note-side {
  display: block;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  line-height: 1.62;
}

.hero-note-side strong {
  display: inline;
  margin: 0;
}

.problem-overview {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.problem-copy {
  margin-bottom: 0;
}

.problem-copy .section-intro,
.problem-note {
  max-width: 42rem;
}

.problem-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.problem-visual,
.what-we-do-visual {
  width: 100%;
}

.what-we-do-overview {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.what-we-do-copy {
  margin-bottom: 0;
}

.what-we-do-copy .section-intro,
.what-we-do-copy .problem-note {
  max-width: 42rem;
}

.how-works-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.how-works-copy .section-intro,
.how-works-copy .problem-note {
  max-width: 44rem;
}

.process-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(24, 49, 83, 0.05);
}

.process-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  background: var(--mist);
  color: var(--primary);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(46, 91, 136, 0.1);
}

.how-works-micro {
  margin: 1rem 0 0;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.collaboration-card img {
  object-position: center top;
}

.amc-home-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.amc-home-copy .section-intro,
.amc-home-copy .problem-note {
  max-width: 44rem;
}

.amc-home-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.amc-home-points .value-panel {
  padding: 1.15rem 1.2rem;
}

.dashboard-card img {
  object-position: center;
}

.problem-image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 230, 242, 0.95);
  border-radius: 28px;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 242, 250, 0.82));
  box-shadow: var(--shadow-md);
}

.problem-image-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(217, 230, 242, 0.78);
}

.hero-card,
.card,
.trust-box,
.cta-band,
.table-wrap,
.faq-card,
.form-card,
.contact-panel,
.value-panel,
.timeline-card,
.legal-card,
.page-hero-card,
.service-detail,
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.hero-card,
.page-hero-card,
.trust-box,
.form-card,
.contact-panel,
.value-panel,
.timeline-card,
.legal-card,
.service-detail,
.faq-card,
.cta-band {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.card {
  padding: 1.35rem;
}

.hero-card::before,
.page-hero-card::before,
.trust-box::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), rgba(31, 107, 82, 0.78));
}

.hero-note,
.note,
.subtle-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 242, 250, 0.72));
}

.hero-note,
.note {
  display: inline-flex;
  gap: 0.55rem;
  margin-top: var(--space-5);
  padding: 0.95rem 1rem;
  color: var(--text);
}

.hero-note strong,
.note strong {
  color: var(--primary);
}

.hero-visual {
  display: grid;
  gap: var(--space-4);
}

.hero-image-card {
  position: relative;
  overflow: visible;
  border-radius: 34px;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: -2% -2% -2% -24%;
  border-radius: 38px;
  background:
    linear-gradient(to right, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, 0.98) 16%, rgba(248, 251, 255, 0.92) 28%, rgba(248, 251, 255, 0.62) 42%, rgba(248, 251, 255, 0.18) 58%, rgba(248, 251, 255, 0) 72%),
    linear-gradient(to bottom, rgba(248, 251, 255, 0.18) 0%, rgba(248, 251, 255, 0) 14%, rgba(234, 242, 250, 0.34) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, var(--mist));
  box-shadow: 0 28px 70px rgba(24, 49, 83, 0.14);
}
.hero-float {
  position: absolute;
  max-width: 15rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(217, 230, 242, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(24, 49, 83, 0.1);
}

.hero-float strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary);
  font-size: 0.96rem;
}

.hero-float span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-float-top {
  top: 1.5rem;
  left: -0.7rem;
}

.hero-float-bottom {
  right: 1rem;
  bottom: 1rem;
  left: auto;
  max-width: 18rem;
}

.surface-band {
  background: linear-gradient(180deg, rgba(234, 242, 250, 0.58), rgba(248, 251, 255, 0.28));
}

.contrast-band {
  background: linear-gradient(180deg, rgba(248, 251, 255, 1), rgba(234, 242, 250, 0.62));
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.list-check,
.list-tight,
.list-neutral {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li,
.list-tight li,
.list-neutral li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.82rem;
  color: var(--text);
}

.list-check li:last-child,
.list-tight li:last-child,
.list-neutral li:last-child {
  margin-bottom: 0;
}

.list-check li::before,
.list-tight li::before,
.list-neutral li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.list-check li::before {
  background: var(--cta);
}

.list-tight li::before {
  background: var(--secondary);
}

.list-neutral li::before {
  background: var(--primary);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(234, 242, 250, 0.96), rgba(226, 237, 249, 0.9));
  color: var(--secondary);
  box-shadow: inset 0 0 0 1px rgba(217, 230, 242, 0.78);
}

.icon-badge img {
  width: 1.45rem;
  height: 1.45rem;
}

.architecture-card .icon-badge,
.quarter-card .icon-badge,
.boundary-card .icon-badge {
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(234, 242, 250, 1), rgba(217, 230, 242, 0.96));
  box-shadow: inset 0 0 0 1px rgba(189, 210, 232, 0.85), 0 10px 24px rgba(24, 49, 83, 0.08);
}

.architecture-card .icon-badge img,
.quarter-card .icon-badge img,
.boundary-card .icon-badge img {
  width: 1.75rem;
  height: 1.75rem;
}

.card p:last-child,
.service-detail p:last-child,
.faq-card p:last-child,
.legal-card p:last-child,
.value-panel p:last-child {
  margin-bottom: 0;
}

.card,
.service-detail,
.faq-card,
.timeline-card,
.value-panel,
.trust-box,
.form-card,
.contact-panel,
.legal-card,
.faq-item,
.cta-band,
.page-hero-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.service-detail:hover,
.faq-card:hover,
.timeline-card:hover,
.value-panel:hover,
.trust-box:hover,
.form-card:hover,
.contact-panel:hover,
.legal-card:hover,
.faq-item:hover,
.page-hero-card:hover {
  transform: translateY(-3px);
  border-color: #bdd2e8;
  box-shadow: 0 14px 40px rgba(24, 49, 83, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

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

.comparison-table thead th {
  background: rgba(234, 242, 250, 0.72);
  color: var(--primary);
  font-size: 0.94rem;
}

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

.badge-neutral,
.badge-accent {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-neutral {
  background: rgba(234, 242, 250, 0.8);
  color: var(--primary);
}

.badge-accent {
  background: var(--cta-soft);
  color: var(--cta);
}

.cta-band {
  background:
    radial-gradient(circle at top right, rgba(46, 91, 136, 0.16), transparent 28%),
    linear-gradient(140deg, rgba(24, 49, 83, 0.98), rgba(46, 91, 136, 0.92));
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(24, 49, 83, 0.18);
}

.cta-band h2,
.cta-band h3,
.cta-band p,
.cta-band .inline-link {
  color: #ffffff;
}

.page-hero {
  padding: clamp(2.75rem, 7vw, 5rem) 0 var(--space-7);
  background: linear-gradient(180deg, rgba(248, 251, 255, 1), rgba(234, 242, 250, 0.62));
}

.page-hero-split {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
}

.page-hero-card h1 {
  max-width: 18ch;
}

.page-hero-media {
  position: relative;
  overflow: hidden;
  padding: clamp(0.7rem, 1.8vw, 0.95rem);
  border: 1px solid rgba(217, 230, 242, 0.95);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 242, 250, 0.84));
  box-shadow: 0 18px 42px rgba(24, 49, 83, 0.1);
}

.page-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(217, 230, 242, 0.78);
  background: linear-gradient(180deg, #ffffff, var(--mist));
}

.architecture-flow,
.quarter-timeline,
.boundary-grid {
  display: grid;
  gap: var(--space-4);
}

.architecture-card,
.quarter-card,
.boundary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 242, 250, 0.76));
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.architecture-card:hover,
.quarter-card:hover,
.boundary-card:hover {
  transform: translateY(-3px);
  border-color: #bdd2e8;
  box-shadow: 0 14px 40px rgba(24, 49, 83, 0.1);
}

.architecture-card::before,
.quarter-card::before,
.boundary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), rgba(31, 107, 82, 0.72));
}

.architecture-card h3,
.quarter-card h3,
.boundary-card h3 {
  margin-bottom: 0;
}

.architecture-step,
.quarter-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  width: fit-content;
  padding: 0.26rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.architecture-note,
.timeline-note {
  margin: 0;
  max-width: 56rem;
}

.boundary-shell .section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.boundary-shell .section-intro {
  max-width: 48rem;
}
.service-detail .meta-grid,
.legal-card .meta-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.meta-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(234, 242, 250, 0.82);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-block h3 {
  margin-bottom: 0.4rem;
}

.detail-block p {
  margin-bottom: 0;
  color: var(--text);
}

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-4);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(46, 91, 136, 0.36), rgba(46, 91, 136, 0));
}

.timeline-card {
  position: relative;
  padding-left: 3.6rem;
}

.timeline-step {
  position: absolute;
  left: 0.48rem;
  top: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(24, 49, 83, 0.12);
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 1.1rem 3rem 1.1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  color: var(--primary);
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--text);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--primary);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.82rem 0.92rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: #bdd2e8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(46, 91, 136, 0.1);
  outline: none;
}

textarea {
  min-height: 8.4rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder,
select:invalid {
  color: #708195;
}

.email-route-fields {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(217, 230, 242, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(234, 242, 250, 0.72), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.route-grid {
  gap: 1rem;
}

.route-note {
  margin: 0 0 0.9rem;
  color: var(--secondary);
  font-size: 0.94rem;
  font-weight: 600;
}

.enquiry-actions {
  margin-top: 1.15rem;
}

.enquiry-actions .button,
.enquiry-actions .button-whatsapp {
  flex: 1 1 15rem;
}

.form-help-emphasis {
  margin-top: 0.9rem;
  font-style: italic;
}

.contact-list a,
.inline-link {
  color: var(--secondary);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.callout {
  border-left: 4px solid var(--secondary);
  padding-left: 1rem;
  color: var(--text);
}

.value-note {
  color: var(--cta);
  font-weight: 700;
}

.centered {
  text-align: center;
}

.site-footer {
  margin-top: var(--space-8);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid rgba(217, 230, 242, 0.2);
  background: var(--primary);
  color: #dce7f3;
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
}

.footer-brand img {
  width: min(100%, 360px);
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 18px;
  background: #ffffff;
}

.footer-brand h3,
.footer-links h3,
.footer-cta h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.95rem;
}

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

.footer-links a,
.footer-meta a {
  color: #ffffff;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: #a9c4e3;
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin-bottom: 0.65rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  border-color: rgba(31, 107, 82, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: var(--cta);
  box-shadow: 0 14px 36px rgba(24, 49, 83, 0.12);
}

.whatsapp-float img {
  width: 1rem;
  height: 1rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll,
  .card,
  .service-detail,
  .faq-card,
  .timeline-card,
  .value-panel,
  .trust-box,
  .form-card,
  .contact-panel,
  .legal-card,
  .faq-item,
  .page-hero-card,
  .button,
  .button-secondary,
  .button-ghost,
  .button-whatsapp,
  .whatsapp-float,
  .site-nav,
  .site-header {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (min-width: 720px) {
  .pain-grid,
  .faq-preview,
  .step-grid,
  .page-card-grid,
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-flow,
  .quarter-timeline,
  .boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

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

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

  .service-grid,
  .trust-grid,
  .two-col-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .hero-grid,
  .split-grid,
  .page-grid,
  .page-hero-split {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .hero-grid-editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-stack {
    min-height: clamp(40rem, 52vw, 46rem);
    padding-right: clamp(20rem, 31vw, 31rem);
  }

  .hero-visual-main {
    position: absolute;
    top: clamp(0.9rem, 1.8vw, 1.5rem);
    right: 0;
    width: min(57%, 48rem);
    max-width: none;
  }

  .hero-visual-main .hero-image-card img {
    height: clamp(28rem, 38vw, 35rem);
    aspect-ratio: auto;
  }

  .hero-note-side {
    width: min(100%, 29rem);
    max-width: none;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: 0;
  }

  .architecture-flow,
  .quarter-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .architecture-card:not(:last-child)::after,
  .quarter-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.45rem;
    width: 1.45rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(46, 91, 136, 0.52), rgba(46, 91, 136, 0.05));
  }

  .problem-overview,
  .what-we-do-overview,
  .how-works-grid,
  .amc-home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .grid-3,
  .faq-preview,
  .page-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }
}

@media (max-width: 939px) {
  body.menu-open {
    overflow: hidden;
  }

  .hero-float {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}

@media (max-width: 719px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 3.35rem;
    height: 3.35rem;
    justify-content: center;
    padding: 0;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 12rem;
  }

  .footer-brand img {
    width: min(100%, 300px);
  }
}






