@import url("./colors_and_type.css");

:root {
  --gold: #b89437;
  --slate: #274056;
  --navy: #041e3a;
  --mist: #b5b5b7;
  --ivory: #d6d3ce;
  --sand: #f7f7f5;
  --white: #ffffff;
  --text: #274056;
  --border: rgba(4, 30, 58, 0.12);
  --shadow-soft: 0 22px 60px rgba(4, 30, 58, 0.08);
  --shadow-panel: 0 28px 80px rgba(4, 30, 58, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(184, 148, 55, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(39, 64, 86, 0.08), transparent 26%),
    linear-gradient(180deg, #faf9f6 0%, var(--sand) 100%);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(181, 184, 190, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 184, 190, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 82%);
  opacity: 0.28;
}

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

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

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

button {
  cursor: pointer;
}

::selection {
  background: rgba(203, 162, 74, 0.28);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(203, 162, 74, 0.8);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid rgba(230, 227, 222, 0.12);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(14, 22, 34, 0.06);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 40px rgba(14, 22, 34, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  line-height: 1;
}

.brand-mark {
  display: none;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.brand-name {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-tagline {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-left: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: var(--gold);
  transition: transform 180ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(14, 22, 34, 0.08);
  background: rgba(250, 249, 246, 0.97);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu .container {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 0 1.1rem;
}

.mobile-menu a {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: var(--navy);
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: rgba(203, 162, 74, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(14, 22, 34, 0.16);
}

.btn-primary:hover {
  background: #162233;
}

/* ── CTA buttons — navy on light, white on dark. No gold fill. ───────────── */
.btn-accent {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(14, 22, 34, 0.16);
}

.btn-accent:hover {
  background: #0a2545;
  box-shadow: 0 22px 48px rgba(14, 22, 34, 0.22);
}

/* On dark surfaces, invert: white pill, navy text */
.section-dark .btn-accent,
.cta-panel .btn-accent,
.footer .btn-accent {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.section-dark .btn-accent:hover,
.cta-panel .btn-accent:hover,
.footer .btn-accent:hover {
  background: #f3efe7;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* Featured pricing card sits on navy — CTA becomes a white pill */
.pricing-card.is-featured .pricing-cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.pricing-card.is-featured .pricing-cta .btn-primary:hover {
  background: #f3efe7;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  border-color: rgba(14, 22, 34, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: rgba(203, 162, 74, 0.55);
  background: rgba(255, 255, 255, 0.96);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(203, 162, 74, 0.14);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pill-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 5.8rem 0;
}

.section-tight {
  padding: 4.4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.7);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(203, 162, 74, 0.2), transparent 24%),
    linear-gradient(180deg, #0f1826 0%, #0c131d 100%);
  color: var(--white);
}

.section-panel {
  border: 1px solid rgba(14, 22, 34, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-flex;
  margin: 0;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 1rem 0 0;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.display-light {
  color: var(--white);
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 42rem;
  color: rgba(32, 48, 61, 0.84);
  font-size: 1.08rem;
  line-height: 1.9;
}

.lead-light {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  margin: 0.95rem 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading-light {
  color: var(--white);
}

.section-copy {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: rgba(32, 48, 61, 0.76);
  font-size: 1rem;
  line-height: 1.85;
}

.section-copy-light {
  color: rgba(255, 255, 255, 0.78);
}

.stack {
  display: grid;
  gap: 1rem;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-grid,
.split-grid,
.contact-grid,
.cta-grid,
.detail-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.proof-grid,
.card-grid,
.stats-grid,
.process-grid,
.faq-grid,
.audience-grid,
.contact-cards {
  display: grid;
  gap: 1.2rem;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

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

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

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

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

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

.card,
.proof-card,
.stat-card,
.process-card,
.contact-card,
.faq-card,
.quote-card,
.note-card,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.card,
.proof-card,
.process-card,
.contact-card,
.faq-card,
.quote-card,
.note-card,
.detail-card {
  padding: 1.55rem;
}

.card-dark,
.process-card,
.quote-card-dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.card-dark h3,
.process-card h3,
.quote-card-dark h3,
.card-dark p,
.process-card p,
.quote-card-dark p {
  color: var(--white);
}

.card-label,
.card h3,
.proof-card h3,
.process-card h3,
.quote-card h3,
.detail-card h3,
.faq-card summary {
  margin: 0;
}

.card-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3,
.proof-card h3,
.process-card h3,
.quote-card h3,
.detail-card h3 {
  margin-top: 0.9rem;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.2;
}

.card p,
.proof-card p,
.process-card p,
.quote-card p,
.detail-card p,
.faq-card p,
.note-card p {
  margin: 0.85rem 0 0;
  color: rgba(32, 48, 61, 0.74);
}

.card-dark p,
.process-card p,
.quote-card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.card ul,
.detail-card ul,
.contact-card ul,
.note-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(32, 48, 61, 0.74);
}

.card-dark ul,
.process-card ul,
.quote-card-dark ul {
  color: rgba(255, 255, 255, 0.76);
}

.hero-frame,
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 4px);
  border: 1px solid rgba(184, 148, 55, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 235, 0.9));
  box-shadow: var(--shadow-panel);
}

.hero-frame img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  min-height: 640px;
}

.hero-frame img {
  min-height: 640px;
}

.hero-overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(4, 30, 58, 0.9);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-overlay strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
}

.brand-board {
  display: grid;
  grid-template-rows: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 100%;
}

.brand-board-top {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  background:
    radial-gradient(circle at top left, rgba(184, 148, 55, 0.14), transparent 28%),
    linear-gradient(180deg, #041e3a 0%, #0a2545 100%);
}

.brand-board-panel {
  padding: 2rem;
}

.brand-board-panel + .brand-board-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-board-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-mark.brand-mark-board {
  display: none;
}

.brand-board-name {
  margin: 0;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-board-subtitle {
  margin: 0.25rem 0 0;
  color: rgba(184, 148, 55, 0.96);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-left: 0.12em;
}

.brand-board-heading {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.7rem;
  line-height: 1.05;
}

.brand-board-copy {
  margin: 0.9rem 0 0;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.8;
}

.brand-board-label {
  display: inline-flex;
  margin: 0;
  color: rgba(184, 148, 55, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-board-label-dark {
  color: rgba(46, 62, 76, 0.82);
}

.brand-board-process {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.brand-board-process-item {
  display: flex;
  align-items: start;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.brand-board-process-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(184, 148, 55, 0.16);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.brand-board-process-item strong,
.brand-board-process-item span {
  display: block;
}

.brand-board-process-item strong {
  color: var(--white);
  font-size: 0.96rem;
}

.brand-board-process-item span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.5;
}

.brand-board-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
}

.brand-board-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  padding: 1.5rem 2rem 2rem;
  background:
    radial-gradient(circle at bottom right, rgba(184, 148, 55, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.92);
}

.brand-board-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.brand-board-swatch {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.brand-board-swatch span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(14, 22, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-board-swatch small {
  color: rgba(46, 62, 76, 0.76);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand-board-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.brand-board-capability {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(4, 30, 58, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.brand-board-capability strong,
.brand-board-capability span {
  display: block;
}

.brand-board-capability strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.brand-board-capability span {
  margin-top: 0.25rem;
  color: rgba(46, 62, 76, 0.7);
  font-size: 0.8rem;
  line-height: 1.45;
}

.brand-board-compact .brand-board-panel,
.brand-board-compact .brand-board-bottom {
  padding: 1.5rem;
}

.brand-board-compact .brand-board-heading {
  font-size: 1.35rem;
}

.brand-board-compact .brand-board-copy {
  font-size: 0.88rem;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.mini-chip {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 22, 34, 0.08);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 500;
}

.proof-card h3,
.stat-card strong {
  font-size: 1rem;
}

.proof-card p {
  font-size: 0.95rem;
}

.stat-card {
  padding: 1.35rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

.stat-card span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(32, 48, 61, 0.7);
  font-size: 0.92rem;
}

.process-card {
  position: relative;
  padding-top: 4.25rem;
}

.process-number {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(203, 162, 74, 0.16);
  color: var(--gold);
  font-weight: 700;
}

.process-card h3 {
  font-size: 1.18rem;
}

.page-hero {
  padding-top: 4.5rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 5rem);
}

.about-hero .display {
  max-width: 11ch;
  font-size: clamp(3.1rem, 5vw, 5.7rem);
}

.about-hero .lead {
  max-width: 46rem;
}

.lead-compact {
  margin-top: 0.7rem;
}

.about-mission-panel {
  border: 1px solid rgba(184, 148, 55, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(184, 148, 55, 0.18), transparent 34%),
    linear-gradient(160deg, #041e3a 0%, #07172c 100%);
  box-shadow: 0 32px 84px rgba(4, 30, 58, 0.22);
  color: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.about-mission-panel .eyebrow {
  color: var(--gold);
}

.about-mission-panel h2 {
  margin: 1rem 0 0;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.about-mission-panel p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.about-capability-list {
  display: grid;
  gap: 0;
  margin-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-capability-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-capability-row > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-capability-row strong,
.about-capability-row small {
  display: block;
}

.about-capability-row strong {
  color: var(--white);
  font-size: 1rem;
}

.about-capability-row small {
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.highlight-panel {
  padding: 2rem;
}

.quote-card blockquote {
  margin: 0;
  color: rgba(32, 48, 61, 0.78);
  font-size: 1rem;
  line-height: 1.85;
}

.quote-card cite {
  display: block;
  margin-top: 1.15rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
}

.review-flag {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(203, 162, 74, 0.16);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}

.faq-card {
  padding: 0;
  overflow: hidden;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.45rem;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 600;
}

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

.faq-card p {
  padding: 0 1.45rem 1.35rem;
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(14, 22, 34, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(32, 48, 61, 0.72);
  font-size: 0.9rem;
}

.status-message {
  display: none;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(203, 162, 74, 0.14);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.status-message.is-visible {
  display: block;
}

.list-clean {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
}

.list-clean li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.note-band {
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(184, 148, 55, 0.34);
  background: rgba(184, 148, 55, 0.12);
  color: var(--navy);
}

.cta-panel {
  padding: 2.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(184, 148, 55, 0.18), transparent 26%),
    rgba(255, 255, 255, 0.05);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  padding: 3rem 0;
}

.footer p,
.footer li {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav,
.legal-links {
  display: grid;
  gap: 0.75rem;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.4rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.muted {
  color: rgba(32, 48, 61, 0.7);
}

.muted-light {
  color: rgba(255, 255, 255, 0.74);
}

.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;
}

html.is-chat-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-chat-open {
  position: fixed;
  top: var(--chat-lock-offset, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* n8n live chat */
:root {
  --chat--color--primary: var(--navy);
  --chat--color--primary-shade-50: #0a2545;
  --chat--color--primary--shade-100: #081a30;
  --chat--color--secondary: var(--navy);
  --chat--color-secondary-shade-50: #0a2545;
  --chat--color-dark: var(--navy);
  --chat--color-light: #f7f7f5;
  --chat--font-family: "Poppins", "Segoe UI", sans-serif;
  --chat--border-radius: 18px;
  --chat--window--width: 390px;
  --chat--window--height: 500px;
  --chat--window--bottom: 1.35rem;
  --chat--window--right: 1.4rem;
  --chat--window--border: 1px solid rgba(4, 30, 58, 0.14);
  --chat--window--border-radius: 24px;
  --chat--window--margin-bottom: 1rem;
  --chat--header--background: var(--navy);
  --chat--header--color: var(--white);
  --chat--heading--font-size: 1.08rem;
  --chat--subtitle--font-size: 0.74rem;
  --chat--message--bot--background: rgba(4, 30, 58, 0.06);
  --chat--message--bot--color: rgba(32, 48, 61, 0.86);
  --chat--message--user--background: var(--navy);
  --chat--message--user--color: var(--white);
  --chat--body--background: var(--white);
  --chat--footer--background: var(--white);
  --chat--input--background: var(--white);
  --chat--input--container--background: var(--white);
  --chat--toggle--height: 58px;
  --chat--toggle--width: auto;
  --chat--toggle--border-radius: 999px;
  --chat--toggle--background: var(--navy);
  --chat--toggle--hover--background: #0a2545;
  --chat--toggle--active--background: #081a30;
  --chat--textarea--height: 48px;
}

.chat-window-wrapper .chat-window {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(4, 30, 58, 0.26);
  overflow: hidden;
  overscroll-behavior: contain;
}

.chat-window-wrapper .chat-layout,
.chat-window-wrapper .chat-body,
.chat-window-wrapper .chat-footer {
  background: var(--white);
}

.chat-window-wrapper .chat-layout {
  display: flex;
  flex-direction: column;
  border-radius: inherit;
  min-height: 0;
  overflow: hidden;
}

.chat-window-wrapper .chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.chat-window-wrapper .chat-window-toggle {
  position: relative;
  gap: 0.65rem;
  min-width: 58px;
  min-height: 58px;
  padding: 0.68rem 1rem 0.68rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 20px 46px rgba(4, 30, 58, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.chat-window-wrapper .chat-window-toggle:hover {
  transform: translateY(-1px);
  background: #0a2545;
  box-shadow: 0 24px 58px rgba(4, 30, 58, 0.34);
}

.chat-window-wrapper .chat-window-toggle::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(184, 148, 55, 0.34);
  border-radius: inherit;
  opacity: 0.72;
  animation: chat-pulse 2.4s ease-out infinite;
}

.chat-window-wrapper .chat-window-toggle svg {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  padding: 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  box-sizing: border-box;
}

.chat-window-wrapper .chat-window-toggle::after {
  content: "Chat with us";
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

html[lang="es"] .chat-window-wrapper .chat-window-toggle::after {
  content: "Chatea con nosotros";
}

.n8n-chat .chat-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: start;
  gap: 0.8rem;
  min-height: auto;
  padding: 1rem;
  text-align: left;
  background:
    radial-gradient(circle at top right, rgba(184, 148, 55, 0.22), transparent 34%),
    var(--navy);
}

.n8n-chat .chat-header::before {
  content: "K";
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.n8n-chat .chat-heading {
  grid-column: 2;
  grid-row: 1;
  display: block;
  justify-self: start;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.n8n-chat .chat-heading h1,
.n8n-chat .chat-header > p {
  letter-spacing: 0;
  text-align: left;
}

.n8n-chat .chat-heading h1 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.n8n-chat .chat-header > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.n8n-chat .chat-header > p::before {
  content: "";
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: #4ee28a;
  box-shadow: 0 0 0 4px rgba(78, 226, 138, 0.12);
  vertical-align: 0.03rem;
}

.chat-body {
  min-height: 250px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.94), rgba(255, 255, 255, 0.96));
}

.chat-messages-list {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 250px;
  margin-top: 0;
  padding: 1rem;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.n8n-chat .chat-message {
  max-width: min(90%, 34rem);
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
  scroll-margin: 1rem;
}

.n8n-chat .chat-message + .chat-message {
  margin-top: 0;
}

.n8n-chat .chat-message-from-bot {
  justify-self: start;
}

.n8n-chat .chat-message-from-user {
  justify-self: end;
  margin-left: auto;
}

.n8n-chat .chat-message-from-bot:not(.chat-message-transparent),
.n8n-chat .chat-message-from-user:not(.chat-message-transparent) {
  background: transparent;
  border: 0;
}

.n8n-chat .chat-message-from-bot .chat-message-markdown {
  border-bottom-left-radius: 7px;
  background: rgba(4, 30, 58, 0.06);
  color: rgba(32, 48, 61, 0.82);
}

.n8n-chat .chat-message-from-user .chat-message-markdown {
  border-bottom-right-radius: 7px;
  background: var(--navy);
  color: var(--white);
}

.n8n-chat .chat-message-markdown {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
  word-wrap: break-word;
}

.n8n-chat .chat-message-markdown * {
  max-width: 100%;
}

.n8n-chat .chat-message-markdown p {
  margin: 0;
  overflow: visible;
  white-space: normal;
}

.chat-footer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(4, 30, 58, 0.08);
}

.chat-input {
  min-height: 44px;
  border: 1px solid rgba(4, 30, 58, 0.12);
  border-radius: 999px;
  background: rgba(247, 247, 245, 0.84);
  overflow: hidden;
}

.chat-input textarea {
  min-height: 44px;
  padding: 0.78rem 0 0.68rem 0.95rem;
  color: var(--navy);
  font-size: 0.88rem;
}

.chat-input textarea::placeholder {
  color: rgba(32, 48, 61, 0.58);
}

.chat-input-send-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin-right: 0.18rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.chat-input-send-button:hover {
  background: #0a2545;
}

@keyframes chat-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.72;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --chat--window--bottom: 0.85rem;
    --chat--window--right: 0.85rem;
    --chat--window--width: 100%;
    --chat--window--height: min(500px, calc(100vh - 6rem));
    --chat--window--height: min(500px, calc(100dvh - 6rem));
    --chat--window--margin-bottom: 0.65rem;
  }

  .chat-window-wrapper {
    left: var(--chat--window--right);
    right: var(--chat--window--right);
    max-width: none;
    max-height: calc(100vh - 1.7rem);
    max-height: calc(100dvh - 1.7rem);
  }

  .chat-window-wrapper .chat-window {
    min-height: 0;
    width: 100%;
  }

  .chat-window-wrapper .chat-layout {
    min-height: 0;
  }

  .chat-window-wrapper .chat-body {
    min-height: 0;
    overflow-y: auto;
  }

  .chat-messages-list {
    min-height: 0;
    padding: 0.85rem;
  }

  .n8n-chat .chat-message {
    max-width: 100%;
  }

  .n8n-chat .chat-message-markdown {
    font-size: 0.84rem;
  }

  .chat-window-wrapper .chat-window-toggle {
    width: 58px;
    padding: 0;
  }

  .chat-window-wrapper .chat-window-toggle::after {
    content: "";
    display: none;
  }
}

@media (max-height: 520px) {
  :root {
    --chat--window--height: min(500px, calc(100vh - 6rem));
    --chat--window--height: min(500px, calc(100dvh - 6rem));
    --chat--window--margin-bottom: 0.65rem;
  }

  .chat-window-wrapper .chat-window,
  .chat-window-wrapper .chat-layout {
    min-height: 0;
  }

  .chat-window-wrapper .chat-body {
    min-height: 0;
    overflow-y: auto;
  }

  .chat-messages-list {
    min-height: 0;
    padding: 0.85rem;
  }

  .n8n-chat .chat-message {
    max-width: 100%;
  }

  .n8n-chat .chat-message-markdown {
    font-size: 0.84rem;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .header-actions .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .about-hero-grid,
  .card-grid.card-grid-3,
  .card-grid.card-grid-2,
  .contact-grid,
  .proof-grid,
  .stats-grid,
  .process-grid,
  .audience-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame,
  .hero-frame img {
    min-height: 460px;
  }

  .brand-board-top,
  .brand-board-bottom,
  .brand-board-capabilities {
    grid-template-columns: 1fr;
  }

  .about-hero .display {
    max-width: 12ch;
  }

  .split-heading,
  .footer-bottom,
  .topbar .container {
    flex-direction: column;
    align-items: start;
  }
}

/* ─── Pricing ──────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-panel);
}

.pricing-card.is-featured {
  border-color: var(--gold);
  border-width: 2px;
  transform: scale(1.02);
  box-shadow: 0 28px 72px rgba(184, 148, 55, 0.2);
}

.pricing-card.is-featured:hover {
  transform: scale(1.02) translateY(-2px);
}

.pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(184, 148, 55, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-name {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-price {
  margin: 0.6rem 0 0;
  color: var(--navy);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-from {
  display: block;
  margin-top: 0.3rem;
  color: rgba(32, 48, 61, 0.65);
  font-size: 0.82rem;
  font-weight: 500;
}

.pricing-best-for {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(4, 30, 58, 0.04);
  color: rgba(32, 48, 61, 0.8);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: rgba(32, 48, 61, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.44rem;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.pricing-cta {
  margin-top: 1.6rem;
  width: 100%;
  text-align: center;
}

.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  color: rgba(32, 48, 61, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.is-featured {
    transform: scale(1);
  }

  .pricing-card.is-featured:hover {
    transform: translateY(-2px);
  }
}

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

/* ─── Premium polish ─────────────────────────────────────── */

/* Typography , more commanding display scale */
.display {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

/* Eyebrow , gold tick marks precision */
.eyebrow {
  padding-left: 0.85rem;
  position: relative;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
}

/* Section alt , more visually distinct */
.section-alt {
  background: #ffffff;
  border-top: 1px solid rgba(184, 148, 55, 0.1);
  border-bottom: 1px solid rgba(184, 148, 55, 0.1);
}

/* Section dark , richer depth */
.section-dark {
  background:
    radial-gradient(ellipse at 15% 60%, rgba(184, 148, 55, 0.11), transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(39, 64, 86, 0.55), transparent 45%),
    linear-gradient(158deg, #041e3a 0%, #06152a 55%, #020c19 100%);
}

/* Stats , numbers deserve visual weight */
.stat-card {
  background: rgba(255, 255, 255, 0.92);
}

.stat-card strong {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-card span {
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Pricing featured card , navy drench */
.pricing-card.is-featured {
  background: var(--navy);
  border-color: rgba(184, 148, 55, 0.65);
  border-width: 2px;
  box-shadow: 0 36px 88px rgba(4, 30, 58, 0.32);
}

.pricing-card.is-featured .pricing-name,
.pricing-card.is-featured .pricing-price {
  color: var(--white);
}

.pricing-card.is-featured .pricing-from {
  color: rgba(255, 255, 255, 0.58);
}

.pricing-card.is-featured .pricing-best-for {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
}

.pricing-card.is-featured .pricing-list li {
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card.is-featured .pricing-badge {
  background: rgba(184, 148, 55, 0.22);
  color: var(--gold);
}

/* CTA panel , more layered in dark sections */
.cta-panel {
  border-color: rgba(184, 148, 55, 0.2);
  background:
    radial-gradient(ellipse at top right, rgba(184, 148, 55, 0.12), transparent 45%),
    radial-gradient(ellipse at bottom left, rgba(39, 64, 86, 0.35), transparent 45%),
    rgba(255, 255, 255, 0.04);
}

.section-dark .card-dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-dark .card-dark .card-label {
  color: rgba(255, 255, 255, 0.62);
}

.section-dark .card-dark h3 {
  color: var(--white);
}

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

/* Process numbers , more presence */
.process-number {
  width: 48px;
  height: 48px;
  font-size: 0.98rem;
  border-radius: 16px;
  background: rgba(184, 148, 55, 0.13);
}

/* Hero , more vertical breathing room */
.hero-grid {
  padding: 2.5rem 0;
}

/* Scroll reveal system */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-tight {
    padding: 3.5rem 0;
  }

  .nav-row {
    padding: 0.9rem 0;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .display {
    font-size: 2.45rem;
  }

  .section-heading {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero-frame,
  .hero-frame img {
    min-height: 360px;
  }

  .brand-board-panel,
  .brand-board-bottom {
    padding: 1.2rem;
  }

  .brand-board-logo {
    align-items: start;
  }

  .brand-board-name {
    font-size: 1.7rem;
  }

  .cta-panel,
  .contact-form,
  .highlight-panel {
    padding: 1.4rem;
  }
}

/* Corporate imagery pass, added to move the site from plain to established. */
:root {
  --gold: oklch(0.66 0.11 83);
  --slate: oklch(0.36 0.044 240);
  --navy: oklch(0.22 0.055 250);
  --mist: oklch(0.77 0.007 250);
  --ivory: oklch(0.88 0.018 85);
  --sand: oklch(0.97 0.011 88);
  --white: oklch(0.985 0.004 88);
}

.corporate-hero-frame {
  isolation: isolate;
  min-height: 680px;
  background: var(--navy);
}

.corporate-hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 30, 58, 0.04), rgba(4, 30, 58, 0.52)),
    radial-gradient(circle at 25% 18%, rgba(184, 148, 55, 0.3), transparent 28%);
  pointer-events: none;
}

.corporate-hero-photo-main {
  width: 100%;
  min-height: 680px;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.corporate-hero-stack {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  z-index: 2;
  display: grid;
  gap: 0.85rem;
  width: min(42%, 220px);
}

.corporate-hero-stack img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(4, 30, 58, 0.26);
}

.corporate-hero-card {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  z-index: 3;
  width: min(72%, 330px);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(4, 30, 58, 0.86);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(4, 30, 58, 0.26);
}

.corporate-hero-card span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.corporate-hero-card strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.corporate-hero-card p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.image-story-section {
  padding-top: 4.8rem;
  background:
    linear-gradient(90deg, rgba(4, 30, 58, 0.055), transparent 38%),
    rgba(255, 255, 255, 0.62);
}

.image-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.image-story-copy .section-heading {
  max-width: 12ch;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.trust-strip span {
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(4, 30, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.image-story-photos {
  display: grid;
  grid-template-columns: 1.1fr 0.78fr;
  gap: 1rem;
  align-items: end;
}

.image-story-photos img {
  width: 100%;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(4, 30, 58, 0.1);
  box-shadow: 0 28px 80px rgba(4, 30, 58, 0.14);
}

.image-story-photos img:first-child {
  min-height: 500px;
}

.image-story-photos img:last-child {
  min-height: 340px;
  transform: translateY(2rem);
}

.pricing-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 245, 0.88));
}

.card,
.detail-card,
.faq-card,
.quote-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  .corporate-hero-frame,
  .corporate-hero-photo-main {
    min-height: 560px;
  }

  .corporate-hero-stack {
    width: min(36%, 180px);
  }

  .image-story-grid,
  .image-story-photos {
    grid-template-columns: 1fr;
  }

  .image-story-copy .section-heading {
    max-width: none;
  }

  .image-story-photos img:first-child,
  .image-story-photos img:last-child {
    min-height: 320px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .corporate-hero-frame,
  .corporate-hero-photo-main {
    min-height: 620px;
  }

  .corporate-hero-stack {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 8.8rem;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corporate-hero-card {
    width: auto;
    right: 1rem;
  }
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(4, 30, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.language-toggle button {
  min-width: 2.35rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  background: transparent;
  color: rgba(39, 64, 86, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.language-toggle-mobile {
  width: fit-content;
  margin-top: 0.6rem;
}

@media (max-width: 980px) {
  .header-actions > .language-toggle {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Video hero (homepage) — brand tokens for this block only                    */
/* -------------------------------------------------------------------------- */
.adwen-hero {
  --navy: #0a1f3d;
  --cream: #f5efe6;
  --amber: #e08a3c;
  position: relative;
  width: 100%;
  min-height: 88vh;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.adwen-hero__ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 82% 35%, rgba(224, 138, 60, 0.2), transparent 58%),
    radial-gradient(circle at 70% 60%, rgba(10, 31, 61, 0.08), transparent 45%);
}

.adwen-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  background: transparent;
}

.adwen-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(245, 239, 230, 0.95) 0%,
    rgba(245, 239, 230, 0.85) 35%,
    rgba(245, 239, 230, 0.35) 60%,
    rgba(245, 239, 230, 0) 85%
  );
}

.adwen-hero__content {
  position: relative;
  z-index: 4;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88vh;
  color: var(--navy);
}

.adwen-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.adwen-hero__title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.adwen-hero__title-accent {
  color: var(--amber);
  white-space: nowrap;
}

.adwen-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: rgba(10, 31, 61, 0.78);
  margin: 0 0 2.25rem;
  max-width: 40ch;
}

.adwen-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-adwen-primary,
.btn-adwen-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  border: 1px solid transparent;
}

.btn-adwen-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-adwen-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(10, 31, 61, 0.55);
}

.btn-adwen-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(10, 31, 61, 0.25);
}

.btn-adwen-ghost:hover {
  background: rgba(10, 31, 61, 0.06);
}

.hero-copy {
  display: block;
}

html[lang="es"] .adwen-hero .hero-lang-en,
html[lang="en"] .adwen-hero .hero-lang-es {
  display: none !important;
}

html[lang="es"] .adwen-hero .hero-copy--en,
html[lang="en"] .adwen-hero .hero-copy--es {
  display: none;
}

@media (max-width: 900px) {
  .adwen-hero__mask {
    background: linear-gradient(
      180deg,
      rgba(245, 239, 230, 0.95) 0%,
      rgba(245, 239, 230, 0.85) 45%,
      rgba(245, 239, 230, 0.55) 70%,
      rgba(245, 239, 230, 0.35) 100%
    );
  }

  .adwen-hero__video {
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adwen-hero__video {
    display: none;
  }

  .adwen-hero {
    background-image:
      linear-gradient(
        160deg,
        var(--cream) 0%,
        rgba(224, 138, 60, 0.12) 48%,
        var(--cream) 100%
      ),
      var(--cream);
  }
}
