﻿:root {
  --bg: #eef4f8;
  --bg-soft: #f8fbfd;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #08192b;
  --line: rgba(8, 25, 43, 0.1);
  --line-strong: rgba(8, 25, 43, 0.18);
  --text: #081b31;
  --muted: #607186;
  --primary: #0f416f;
  --primary-2: #1d5f99;
  --primary-3: #0b2f54;
  --gold: #dfb54a;
  --gold-soft: #f4dd9f;
  --shadow-lg: 0 30px 80px rgba(8, 25, 43, 0.14);
  --shadow-md: 0 18px 44px rgba(8, 25, 43, 0.1);
  --radius-2xl: 32px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 95, 153, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(223, 181, 74, 0.1), transparent 18%),
    linear-gradient(180deg, #edf3f7 0%, #f8fbfd 42%, #eef4f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 25, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 25, 43, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(8, 25, 43, 0.12);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.page {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 252, 0.84);
  border-bottom: 1px solid rgba(8, 25, 43, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.brand {
  flex: 0 0 auto;
  width: clamp(176px, 18vw, 230px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a[data-page]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
}

.site-nav a[data-page]:hover::after,
.site-nav a[data-page].is-active::after {
  transform: scaleX(1);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 65, 111, 0.06);
  border: 1px solid rgba(15, 65, 111, 0.12);
  color: var(--primary);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 38px rgba(12, 59, 104, 0.24);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(8, 25, 43, 0.12);
  color: var(--primary);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
}

.button--nav {
  min-height: 44px;
  padding-inline: 18px;
}

.hero,
.page-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(42px, 6vw, 84px);
}

.hero-layout,
.page-hero-layout,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.page-hero-layout {
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 65, 111, 0.12);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 0 5px rgba(223, 181, 74, 0.16);
}

.hero-copy h1,
.page-hero-copy h1,
.section-head h2,
.cta-panel h2,
.band-copy h2 {
  margin: 18px 0 16px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.hero-copy p,
.page-hero-copy p,
.section-head p,
.band-copy p,
.card p,
.card li,
.info-panel p,
.footer-panel p,
.footer-panel a,
.contact-note,
.form-note,
.list-note {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions,
.cta-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-tags,
.pill-list,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags {
  margin-top: 28px;
}

.pill,
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-tag::before,
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.74fr);
  gap: 18px;
}

.stack-column {
  display: grid;
  gap: 18px;
}

.photo-card,
.card,
.panel-dark,
.contact-panel,
.section-band,
.cta-panel,
.project-callout {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.card,
.contact-panel,
.info-panel,
.detail-card,
.project-card,
.sector-card,
.service-card,
.process-card,
.contact-card,
.contact-form-card,
.faq-item,
.stat-card,
.feature-card,
.list-card,
.project-callout {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.panel-dark,
.section-band,
.cta-panel {
  background:
    radial-gradient(circle at top right, rgba(223, 181, 74, 0.15), transparent 26%),
    linear-gradient(145deg, rgba(15, 65, 111, 0.98), rgba(8, 25, 43, 0.98));
  box-shadow: 0 28px 64px rgba(8, 25, 43, 0.28);
  color: #fff;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.24);
  min-height: 100%;
}

.media-frame img,
.card-media img,
.gallery-card img,
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease;
}

.media-frame:hover img,
.card:hover .card-media img,
.gallery-card:hover img,
.wide-media:hover img {
  transform: scale(1.04);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-body,
.feature-card,
.info-panel,
.contact-card,
.contact-form-card,
.project-callout,
.detail-card,
.process-card,
.stat-card {
  padding: 24px;
}

.hero-info {
  padding: 24px;
}

.panel-dark .hero-info,
.section-band .hero-info,
.cta-panel {
  color: #fff;
}

.panel-dark .muted,
.section-band .muted,
.cta-panel p,
.cta-panel .list-note {
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.contact-chip {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-chip span,
.kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-chip strong,
.value-strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.section {
  padding: 0 0 clamp(58px, 7vw, 100px);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
}

.kicker {
  color: var(--primary);
}

.auto-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min, 260px), 100%), 1fr));
}

.feature-card strong,
.service-card h3,
.sector-card h3,
.project-card h3,
.detail-card h3,
.process-card h3,
.contact-card h3,
.contact-form-card h3,
.faq-item h3,
.stat-card strong,
.info-panel strong,
.project-callout h3 {
  display: block;
  margin: 0 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.24rem;
  line-height: 1.1;
}

.service-summary-grid .service-card--simple .card-media {
  aspect-ratio: 16 / 11;
}

.service-summary-grid .service-card--simple .card-body {
  padding: 26px;
  min-height: 190px;
}

.service-summary-grid .service-card--simple h3 {
  margin-bottom: 14px;
}

.service-summary-grid .service-card--simple p {
  margin: 0;
  line-height: 1.65;
}

.feature-card ul,
.service-card ul,
.sector-card ul,
.project-card ul,
.detail-card ul,
.contact-card ul,
.contact-form-card ul,
.faq-item ul,
.list-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card ul li + li,
.service-card ul li + li,
.sector-card ul li + li,
.project-card ul li + li,
.detail-card ul li + li,
.list-card ul li + li {
  margin-top: 8px;
}

.card-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 800;
  color: var(--primary);
}

.card-link::after,
.inline-link::after {
  content: ">";
  transition: transform 160ms ease;
}

.card-link:hover::after,
.inline-link:hover::after {
  transform: translateX(3px);
}

.info-band {
  padding: 26px;
}

.section-band {
  padding: clamp(24px, 4vw, 34px);
}

.band-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.band-copy h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.band-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.band-points span {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 65, 111, 0.08), rgba(223, 181, 74, 0.16));
  color: var(--primary);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.wide-media,
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #dfe6ec;
}

.wide-media {
  min-height: 100%;
}

.gallery-stack {
  display: grid;
  gap: 20px;
}

.gallery-card {
  aspect-ratio: 4 / 3;
}

.project-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
}

.project-card {
  overflow: hidden;
}

.project-card .card-body,
.service-card .card-body,
.sector-card .card-body {
  display: grid;
  gap: 10px;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 65, 111, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-note {
  margin-top: 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-row strong,
.contact-row a {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  line-height: 1.35;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label {
  font-weight: 700;
}

.field input,
.field select,
.field-full textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(8, 25, 43, 0.12);
  background: rgba(246, 250, 252, 0.98);
  color: var(--text);
}

.field-full textarea {
  min-height: 168px;
  resize: vertical;
}

.mail-result {
  margin-top: 14px;
  font-weight: 700;
  color: #166d59;
}

.cta-panel {
  padding: clamp(28px, 4vw, 38px);
}

.cta-panel h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.site-footer {
  padding: 20px 0 40px;
}

.footer-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  padding: 30px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(8, 25, 43, 0.98), rgba(6, 18, 31, 0.98));
  box-shadow: 0 28px 64px rgba(8, 25, 43, 0.28);
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand img {
  width: min(220px, 100%);
  margin-bottom: 16px;
}

.brand--footer {
  margin-bottom: 18px;
}

.brand--footer .brand-word strong {
  color: #fff;
}

.brand--footer .brand-word small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-panel h3 {
  margin: 0 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.06rem;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translate3d(-46px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(46px, 0, 0);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1100px) {
  .hero-layout,
  .page-hero-layout,
  .split-layout,
  .band-layout,
  .media-split,
  .contact-layout,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a[data-page]::after {
    display: none;
  }

  .header-contact,
  .button--nav {
    width: 100%;
  }

  .form-grid,
  .contact-grid-mini {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .card-body,
  .feature-card,
  .info-panel,
  .contact-card,
  .contact-form-card,
  .project-callout,
  .detail-card,
  .process-card,
  .stat-card,
  .hero-info,
  .section-band,
  .cta-panel,
  .footer-panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.feature-card p,
.detail-card p,
.detail-card li,
.process-card p,
.contact-card p,
.contact-form-card p,
.faq-item p,
.stat-card p,
.project-callout p,
.project-callout li {
  color: var(--muted);
  line-height: 1.72;
}

.project-callout ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.project-callout ul li + li {
  margin-top: 8px;
}

details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
}

details[open] summary {
  margin-bottom: 12px;
}

/* Premium round: header, hero, iconography, branding */

:root {
  --shell: 1320px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(22, 86, 141, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(221, 179, 74, 0.08), transparent 16%),
    linear-gradient(180deg, #f2f6f9 0%, #fbfdff 36%, #eef3f7 100%);
}

body::before {
  background-size: 96px 96px;
  opacity: 0.82;
}

.site-header {
  background: rgba(249, 251, 253, 0.9);
  box-shadow: 0 14px 34px rgba(8, 25, 43, 0.08);
}

.utility-strip {
  border-bottom: 1px solid rgba(8, 25, 43, 0.08);
  background:
    linear-gradient(90deg, rgba(9, 31, 55, 0.98), rgba(11, 47, 84, 0.94)),
    linear-gradient(90deg, rgba(221, 179, 74, 0.3), transparent 18%);
}

.utility-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
}

.utility-copy,
.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.utility-copy span,
.utility-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utility-links a:last-child {
  color: #fff;
}

.nav-shell {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
}

.brand-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.brand-word {
  display: grid;
  gap: 2px;
}

.brand-word strong {
  display: block;
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.92rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.brand-word small {
  display: block;
  color: #62758a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.site-nav {
  gap: 20px;
}

.site-nav a {
  font-size: 1rem;
  font-weight: 700;
}

.header-contact {
  padding: 12px 18px;
  background: rgba(15, 65, 111, 0.05);
  border-color: rgba(15, 65, 111, 0.1);
}

.button--primary {
  background: linear-gradient(135deg, #0d4e86, #0b2f54);
}

.hero {
  padding: 10px 0 8px;
}

.hero-layout {
  display: block;
}

.hero-stage {
  position: relative;
  min-height: clamp(360px, 46svh, 450px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(8, 25, 43, 0.12);
  box-shadow: 0 38px 90px rgba(8, 25, 43, 0.22);
  background: #09172a;
}

.hero-stage__media,
.hero-stage__veil {
  position: absolute;
  inset: 0;
}

.hero-stage__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.92) 0%, rgba(8, 17, 31, 0.82) 32%, rgba(8, 17, 31, 0.26) 60%, rgba(8, 17, 31, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, 0) 0%, rgba(8, 17, 31, 0.42) 100%);
}

.hero-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.06) brightness(0.86);
}

.hero-stage__veil {
  background:
    radial-gradient(circle at 14% 24%, rgba(34, 117, 185, 0.24), transparent 22%),
    linear-gradient(135deg, rgba(221, 179, 74, 0.09), transparent 18%);
}

.hero-stage__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.58fr);
  gap: 22px;
  align-items: center;
  min-height: inherit;
  padding: clamp(22px, 2.4vw, 30px);
}

.hero-copy--hero {
  max-width: 720px;
}

.hero-copy--hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-copy--hero .eyebrow::before {
  box-shadow: 0 0 0 7px rgba(221, 179, 74, 0.12);
}

.hero-copy--hero h1 {
  margin-top: 22px;
  margin-bottom: 16px;
  max-width: 8.7ch;
  color: #fff;
  font-size: clamp(2.55rem, 4vw, 4.2rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-copy--hero p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-copy--hero .hero-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-copy--hero .hero-tag::before {
  background: var(--gold);
}

.hero-sidecard {
  align-self: end;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 65, 111, 0.88), rgba(8, 25, 43, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(8, 25, 43, 0.28);
}

.hero-sidecard h3 {
  margin: 10px 0 12px;
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.24rem, 1.6vw, 1.72rem);
  line-height: 1;
}

.hero-sidecard p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.42;
}

.hero-sidecard__meta {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.hero-sidecard__meta a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-rail {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: -8px auto 0;
  width: min(calc(100% - 48px), calc(var(--shell) - 110px));
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(8, 25, 43, 0.1);
  box-shadow: 0 24px 54px rgba(8, 25, 43, 0.18);
  background: linear-gradient(90deg, rgba(12, 82, 139, 0.98), rgba(8, 52, 93, 0.98));
}

.hero-rail__item {
  display: grid;
  gap: 12px;
  min-height: 92px;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-rail__item:last-child {
  border-right: 0;
}

.hero-rail__icon,
.card-icon {
  width: 46px;
  height: 46px;
}

.hero-rail__label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-rail__item strong {
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.16;
}

.page-hero {
  padding: 14px 0 40px;
}

.page-hero-layout {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 26px 62px rgba(8, 25, 43, 0.1);
}

.page-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.55rem, 3.5vw, 3.8rem);
  line-height: 0.94;
}

.page-hero .media-frame,
.page-hero .photo-card {
  min-height: 320px;
}

.page-hero .media-frame img {
  object-position: center;
}

.card-body,
.feature-card,
.info-panel,
.contact-card,
.contact-form-card,
.project-callout,
.detail-card,
.process-card,
.stat-card {
  padding: 26px;
}

.card-tag {
  background: rgba(15, 65, 111, 0.07);
  border: 1px solid rgba(15, 65, 111, 0.1);
}

.service-card .card-body,
.project-card .card-body,
.sector-card .card-body {
  gap: 12px;
}

.service-card .card-body > .card-icon,
.project-card .card-body > .card-icon,
.sector-card .card-body > .card-icon {
  margin-bottom: 2px;
}

.feature-card strong,
.service-card h3,
.sector-card h3,
.project-card h3,
.detail-card h3,
.process-card h3,
.contact-card h3,
.contact-form-card h3,
.faq-item h3,
.stat-card strong,
.info-panel strong,
.project-callout h3 {
  font-size: 1.3rem;
}

.section-head h2 {
  max-width: 12ch;
  line-height: 0.96;
}

.project-grid {
  gap: 22px;
}

.footer-panel {
  background:
    linear-gradient(180deg, rgba(8, 25, 43, 0.99), rgba(5, 15, 28, 0.99)),
    linear-gradient(90deg, rgba(221, 179, 74, 0.06), transparent 26%);
}

@media (max-width: 1180px) {
  .hero-stage__grid {
    grid-template-columns: 1fr;
  }

  .hero-copy--hero h1,
  .page-hero-copy h1,
  .section-head h2 {
    max-width: none;
  }

  .hero-rail {
    width: min(calc(100% - 32px), calc(var(--shell) - 40px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .utility-strip {
    display: none;
  }

  .nav-shell {
    position: relative;
    justify-content: space-between;
    gap: 12px;
    padding-right: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-word strong {
    font-size: 1.6rem;
  }

  .brand-word small {
    letter-spacing: 0.34em;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 65;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage__grid {
    padding: 26px;
  }

  .hero-copy--hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
    max-width: 11ch;
  }

  .hero-rail {
    margin-top: 18px;
    width: 100%;
    transform: none;
    border-radius: 24px;
  }

  .page-hero-layout {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .brand-word strong {
    font-size: 1.24rem;
  }

  .brand-word small {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
  }

  .hero-stage__grid {
    padding: 22px;
  }

  .hero-copy--hero h1 {
    font-size: clamp(2.05rem, 10.6vw, 3rem);
    max-width: 8.2ch;
  }

  .hero-copy--hero p {
    font-size: 0.9rem;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tag {
    font-size: 0.82rem;
    padding: 8px 11px;
  }

  .hero-sidecard {
    padding: 14px;
  }

  .hero-sidecard h3 {
    font-size: 1.1rem;
  }

  .hero-stage__media img {
    object-position: 62% center;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-rail__item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-rail__item:last-child {
    border-bottom: 0;
  }

  .page-hero .media-frame,
  .page-hero .photo-card {
    min-height: 280px;
  }
}

/* Round 3 additions */
body.menu-open { overflow: hidden; }
.brand--text { display: grid; gap: 2px; align-items: start; }
.brand--text .brand-crest { color: var(--primary-3); font-family: "Sora", "Segoe UI", sans-serif; font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 800; letter-spacing: -0.08em; line-height: 0.92; }
.brand--text .brand-sub { color: #617487; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase; }
.nav-shell--expanded { min-height: 78px; }
.footer-brand--symbol { display: grid; gap: 18px; }
.footer-mark { width: 78px; height: 78px; }
.hero--dense { padding-bottom: 4px; }
.hero-stage--premium { min-height: clamp(360px, 44svh, 430px); }
.hero-sidecard--compact { max-width: 390px; justify-self: end; }
.hero-rail--metrics { margin-top: -2px; }
.section--tight { padding-top: 54px; }
.section--tint { position: relative; }
.section--tint::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,58,101,0.04), rgba(12,58,101,0.01)); pointer-events: none; }
.section--dark { background: linear-gradient(180deg, #0a2748, #081b31); color: #fff; }
.section-head--light h2, .section-head--light p, .section-head--light .kicker { color: #fff; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.chip-grid--light .chip { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.18); }

/* Final polish */
.site-header {
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 40px rgba(8, 25, 43, 0.1);
}

.site-nav a[data-page] {
  padding: 8px 2px;
}

.site-nav a[data-page]:hover {
  color: var(--primary-3);
}

.button {
  box-shadow: 0 10px 24px rgba(8, 25, 43, 0.08);
}

.button--secondary:hover {
  border-color: rgba(15, 65, 111, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

.hero-stage {
  border-color: rgba(8, 25, 43, 0.14);
  box-shadow: 0 40px 90px rgba(8, 25, 43, 0.24);
}

.hero-copy--hero .eyebrow,
.hero-copy--hero .hero-tag,
.hero-sidecard {
  backdrop-filter: blur(10px);
}

.hero-sidecard {
  box-shadow: 0 24px 54px rgba(8, 25, 43, 0.32);
}

.card,
.detail-card,
.contact-card,
.contact-form-card,
.project-callout {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover,
.detail-card:hover,
.contact-card:hover,
.contact-form-card:hover,
.project-callout:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 65, 111, 0.14);
  box-shadow: 0 24px 56px rgba(8, 25, 43, 0.14);
}

.section-head p,
.detail-card p,
.contact-card p,
.contact-form-card p {
  max-width: 68ch;
}

.logo-card,
.chip,
.hero-tag {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.logo-card:hover,
.chip:hover,
.hero-tag:hover {
  transform: translateY(-2px);
}

.logo-card:hover {
  box-shadow: 0 18px 42px rgba(8, 25, 43, 0.12);
}

.photo-card.media-frame img[data-random-group] {
  animation: imageFadeIn 420ms ease;
}

@keyframes imageFadeIn {
  from {
    opacity: 0.72;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .site-header {
    box-shadow: 0 12px 28px rgba(8, 25, 43, 0.12);
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a[data-page] {
    padding: 10px 0;
  }
}

@media (max-width: 640px) {
  .hero-stage {
    border-radius: 26px;
  }

  .page-hero-layout,
  .cta-panel,
  .footer-panel {
    border-radius: 24px;
  }
}
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 88px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,0.92); border: 1px solid rgba(8,25,43,0.08); box-shadow: 0 18px 44px rgba(8,25,43,0.08); font-family: "Sora", "Segoe UI", sans-serif; font-weight: 700; color: var(--primary-3); text-align: center; }
.detail-card--eco, .project-callout--eco { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,244,0.98)); }
.two-up, .page-index-grid { display: grid; gap: 24px; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.media-frame--shadow { box-shadow: 0 28px 70px rgba(8,25,43,0.16); }
.page-index-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-tile { display: grid; gap: 8px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,0.92); border: 1px solid rgba(8,25,43,0.08); box-shadow: 0 18px 44px rgba(8,25,43,0.08); }
.link-tile strong { font-family: "Sora", "Segoe UI", sans-serif; font-size: 1.15rem; color: var(--primary-3); }
.link-tile span { color: var(--muted); line-height: 1.62; }
.cta-panel--wide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.quote-panel { padding: 42px; border-radius: 28px; background: linear-gradient(135deg, rgba(8,27,49,0.98), rgba(15,65,111,0.96)); color: #fff; box-shadow: 0 30px 72px rgba(8,25,43,0.2); }
.quote-panel p { margin: 0; font-family: "Sora", "Segoe UI", sans-serif; font-size: clamp(1.7rem, 2.3vw, 2.5rem); line-height: 1.08; }
.quote-sign { display: inline-block; margin-top: 18px; color: rgba(255,255,255,0.78); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; font-size: 0.78rem; }
.footer-panel--rich { grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(140px, 1fr)); }
@media (max-width: 1180px) { .footer-panel--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .site-nav { gap: 14px; } .site-nav a { font-size: 0.92rem; } }
@media (max-width: 860px) { .brand--text .brand-crest { font-size: 1.4rem; } .brand--text .brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; } .two-up, .cta-panel--wide { grid-template-columns: 1fr; } .hero-sidecard--compact { justify-self: stretch; max-width: none; } }
@media (max-width: 640px) { .hero-stage--premium { min-height: auto; } .hero-copy--hero h1 { max-width: 8.8ch; } .chip-grid, .page-index-grid { grid-template-columns: 1fr; } .quote-panel { padding: 28px; } .footer-panel--rich { grid-template-columns: 1fr; } }

/* Round 4 final publish refinement */
.hero--publish { padding-bottom: 10px; }
.hero-stage--publish { min-height: clamp(420px, 52svh, 540px); }
.hero-stage__media--portada img { object-position: center 54%; }
.hero-stage__veil--publish {
  background:
    linear-gradient(90deg, rgba(6, 20, 37, 0.82) 0%, rgba(6, 20, 37, 0.48) 38%, rgba(6, 20, 37, 0.16) 64%, rgba(6, 20, 37, 0.48) 100%),
    linear-gradient(180deg, rgba(13, 48, 84, 0.18), rgba(8, 27, 49, 0.5));
}
.hero-stage__grid--publish { align-items: end; }
.hero-sidecard--publish {
  background: linear-gradient(180deg, rgba(11, 48, 86, 0.94), rgba(7, 26, 47, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(3, 10, 20, 0.22);
}
.hero-rail--publish {
  background: linear-gradient(180deg, rgba(7, 31, 56, 0.98), rgba(10, 44, 78, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.section--publish-sector .card-media img { object-position: center; }
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.logo-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px 20px 18px;
  min-height: 170px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 18px 44px rgba(8, 25, 43, 0.08);
}
.logo-card__media {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 6px;
}
.logo-card__media img {
  max-width: min(150px, 100%);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-card__caption {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  color: var(--primary-3);
  text-align: center;
}
.logo-card__note {
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}
.standard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.standard-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 208px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.standard-card strong {
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}
.standard-card span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
  font-size: 0.92rem;
}
.standard-card__media {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}
.standard-card__media img {
  max-width: 136px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.standard-card__media--text {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--primary-3);
}
.page-hero--publish .page-hero-layout--publish {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}
.sector-atlas {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.sector-atlas__panel,
.sector-atlas__list {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 18px 44px rgba(8, 25, 43, 0.08);
}
.sector-atlas__list {
  display: grid;
  gap: 16px;
}
.sector-atlas__list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8, 25, 43, 0.08);
}
.sector-atlas__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.sector-atlas__list strong {
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
}
.sector-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sector-gallery__item {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 18px 44px rgba(8, 25, 43, 0.08);
}
.sector-gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}
.sector-gallery__item strong {
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
}
.sector-gallery__item span {
  color: var(--muted);
  line-height: 1.58;
}
@media (max-width: 1180px) {
  .page-hero--publish .page-hero-layout--publish,
  .sector-atlas,
  .sector-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .hero-stage--publish { min-height: auto; }
  .logo-wall,
  .standard-grid,
  .sector-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .logo-wall,
  .standard-grid,
  .sector-gallery {
    grid-template-columns: 1fr;
  }
  .logo-card,
  .standard-card,
  .sector-atlas__panel,
  .sector-atlas__list {
    padding: 18px;
  }
  .hero-stage__media--portada img { object-position: center 50%; }
}


/* Round 5 section refinement */
.page-hero-copy h1 { text-wrap: balance; }
.service-card .card-body p, .detail-card p, .project-callout p, .contact-card p, .contact-form-card p { color: var(--muted); }
.section--tint { background: linear-gradient(180deg, rgba(13, 48, 84, 0.03), rgba(13, 48, 84, 0.015)); }
.eco-section { position: relative; }
.eco-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(53, 160, 92, 0.16), transparent 22%), radial-gradient(circle at 88% 18%, rgba(104, 193, 111, 0.14), transparent 20%), linear-gradient(180deg, rgba(233, 248, 236, 0.7), rgba(244, 251, 244, 0.42)); pointer-events: none; }
.eco-kicker { color: #1d7a4f; }
.detail-card--eco { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,250,243,0.98)); border-color: rgba(34,120,76,0.14); box-shadow: 0 24px 58px rgba(34,120,76,0.12); }
.detail-card--eco h2 { margin: 12px 0 16px; font-family: "Sora", "Segoe UI", sans-serif; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 0.96; letter-spacing: -0.04em; color: #0f2d1d; }
.eco-metric-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eco-metric { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 999px; background: rgba(34,120,76,0.08); border: 1px solid rgba(34,120,76,0.16); color: #1b5e3c; font-weight: 700; }
.eco-media { border-color: rgba(34,120,76,0.18); }
.eco-media img { filter: saturate(1.02) contrast(1.02) brightness(0.94); }
@media (max-width: 860px) { .detail-card--eco h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); } }

/* Round 6 aesthetic refinement */
:root {
  --scroll-progress: 0;
  --hero-shift: 0px;
  --hero-tilt-x: 0px;
  --hero-tilt-y: 0px;
}

html {
  scrollbar-gutter: stable both-edges;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    0 0 0 6px rgba(15, 65, 111, 0.26);
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(22, 86, 141, 0.15), transparent 18%),
    radial-gradient(circle at 92% 8%, rgba(223, 181, 74, 0.11), transparent 14%),
    radial-gradient(circle at 50% 100%, rgba(15, 65, 111, 0.06), transparent 30%),
    linear-gradient(180deg, #f3f7fa 0%, #fbfdff 38%, #eef3f7 100%);
}

body::before {
  background-size: 104px 104px;
  opacity: 0.7;
}

.site-header {
  position: sticky;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress));
  background: linear-gradient(90deg, var(--gold) 0%, var(--primary-2) 38%, #62a4de 100%);
  opacity: 0.92;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 253, 0.76);
  border-bottom-color: rgba(8, 25, 43, 0.1);
  box-shadow: 0 18px 42px rgba(8, 25, 43, 0.11);
  backdrop-filter: blur(24px);
}

.nav-shell {
  transition: min-height 220ms ease, gap 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  min-height: 80px;
}

.utility-strip {
  position: relative;
  overflow: hidden;
}

.utility-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-100%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.site-header:hover .utility-strip::after {
  transform: translateX(100%);
}

.site-nav a[data-page] {
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.site-nav a[data-page]:hover,
.site-nav a[data-page].is-active {
  transform: translateY(-1px);
  text-shadow: 0 10px 24px rgba(15, 65, 111, 0.16);
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(10px);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, 0.16) 34%, transparent 64%);
  transform: translateX(-140%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.button:hover::after {
  transform: translateX(135%);
}

.button--primary {
  background-size: 160% 160%;
  background-position: 0 0;
}

.button--primary:hover {
  background-position: 100% 100%;
  box-shadow: 0 24px 52px rgba(12, 59, 104, 0.28);
}

.button--secondary:hover,
.button--ghost:hover {
  box-shadow: 0 16px 32px rgba(8, 25, 43, 0.12);
}

.hero-stage--publish {
  isolation: isolate;
}

.hero-stage--publish::before,
.hero-stage--publish::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(36px);
}

.hero-stage--publish::before {
  left: -6%;
  bottom: -18%;
  width: 42%;
  height: 44%;
  background: radial-gradient(circle, rgba(68, 134, 198, 0.22), transparent 64%);
}

.hero-stage--publish::after {
  right: -8%;
  top: -16%;
  width: 34%;
  height: 40%;
  background: radial-gradient(circle, rgba(223, 181, 74, 0.16), transparent 62%);
}

.hero-stage__media--portada img {
  transform: translate3d(var(--hero-tilt-x), calc(var(--hero-shift) + var(--hero-tilt-y)), 0) scale(1.035);
  transform-origin: center center;
  filter: saturate(1.04) contrast(1.02) brightness(0.88);
  transition:
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 260ms ease;
}

.hero-copy h1,
.page-hero-copy h1,
.section-head h2,
.cta-panel h2,
.band-copy h2 {
  text-wrap: pretty;
}

.hero-copy p,
.page-hero-copy p,
.section-head p,
.card p,
.card li,
.detail-card p,
.project-callout p,
.contact-card p,
.contact-form-card p {
  text-wrap: pretty;
}

.hero-sidecard--publish {
  backdrop-filter: blur(18px);
}

.photo-card,
.card,
.detail-card,
.project-callout,
.contact-card,
.contact-form-card,
.process-card,
.logo-card,
.link-tile {
  backdrop-filter: blur(14px);
}

.card::before,
.detail-card::before,
.project-callout::before,
.contact-card::before,
.contact-form-card::before,
.process-card::before,
.logo-card::before,
.link-tile::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.16));
  opacity: 0.8;
}

.card-media,
.wide-media,
.gallery-card,
.photo-card.media-frame {
  position: relative;
}

.card-media::after,
.wide-media::after,
.gallery-card::after,
.photo-card.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 25, 43, 0.14) 100%);
  opacity: 0.7;
  pointer-events: none;
}

.media-frame img,
.card-media img,
.gallery-card img,
.wide-media img {
  transition:
    transform 900ms ease,
    filter 260ms ease;
}

.media-frame:hover img,
.card:hover .card-media img,
.gallery-card:hover img,
.wide-media:hover img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.02);
}

.section-head {
  position: relative;
}

.section-head::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(15, 65, 111, 0.24));
}

.hero-tag,
.chip,
.eyebrow {
  backdrop-filter: blur(14px);
}

.hero-tag,
.chip {
  box-shadow: 0 14px 28px rgba(8, 25, 43, 0.08);
}

.card,
.detail-card,
.project-callout,
.contact-card,
.contact-form-card,
.process-card,
.logo-card,
.link-tile,
.photo-card.media-frame {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.card:hover,
.detail-card:hover,
.project-callout:hover,
.contact-card:hover,
.contact-form-card:hover,
.process-card:hover,
.logo-card:hover,
.link-tile:hover,
.photo-card.media-frame:hover {
  transform: translateY(-4px);
}

.hero-tags {
  row-gap: 10px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-tag:hover {
  border-color: rgba(223, 181, 74, 0.34);
  box-shadow: 0 18px 32px rgba(8, 25, 43, 0.18);
}

.logo-card__media img,
.standard-card__media img {
  transition: transform 220ms ease, filter 220ms ease;
}

.logo-card:hover .logo-card__media img,
.standard-card:hover .standard-card__media img {
  transform: scale(1.04);
  filter: saturate(1.03);
}

.utility-links a,
.footer-links a,
.card-link {
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.utility-links a:hover,
.footer-links a:hover,
.card-link:hover {
  color: var(--primary-2);
}

.card-link:hover {
  transform: translateX(2px);
}

.service-card .card-body,
.detail-card,
.project-callout,
.contact-card,
.contact-form-card,
.process-card {
  position: relative;
}

.service-card .card-body::after,
.detail-card::after,
.project-callout::after,
.contact-card::after,
.contact-form-card::after,
.process-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 65, 111, 0.18), transparent);
}

.cta-panel--wide {
  position: relative;
}

.cta-panel--wide::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(223, 181, 74, 0.16), rgba(255, 255, 255, 0.08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.footer-panel--rich {
  backdrop-filter: blur(14px);
}

@media (max-width: 860px) {
  .site-header.is-scrolled .nav-shell {
    min-height: 76px;
  }

  .section-head::after {
    width: 72px;
  }
}

@media (max-width: 640px) {
  .button {
    width: 100%;
  }

  .hero-stage__media--portada img {
    transform: translate3d(0, var(--hero-shift), 0) scale(1.03);
  }

  .hero-actions,
  .cta-actions,
  .inline-actions {
    width: 100%;
  }
}

/* Round 8 about page refinement */
.section--direction {
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 65, 111, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(13, 48, 84, 0.03));
}

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

.mission-card {
  position: relative;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.9));
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 24px 58px rgba(8, 25, 43, 0.1);
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-2), var(--gold));
  opacity: 0.88;
}

.mission-card__head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.mission-card__icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(8, 25, 43, 0.12);
}

.mission-card h3 {
  margin: 10px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--primary-3);
}

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

.mission-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mission-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.64;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--primary-2));
}

.principles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.principle-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 25, 43, 0.09);
  box-shadow: 0 16px 32px rgba(8, 25, 43, 0.08);
  color: var(--primary-3);
  font-weight: 700;
}

.eco-section--premium::before {
  background:
    radial-gradient(circle at 10% 18%, rgba(53, 160, 92, 0.18), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(77, 184, 232, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(236, 250, 240, 0.84), rgba(245, 251, 246, 0.54));
}

.eco-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 26px;
  align-items: stretch;
}

.eco-story {
  z-index: 1;
}

.eco-story h2 {
  max-width: 13ch;
}

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

.eco-benefit {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(34, 120, 76, 0.12);
  box-shadow: 0 14px 30px rgba(34, 120, 76, 0.09);
}

.eco-benefit img {
  width: 56px;
  height: 56px;
}

.eco-benefit span {
  color: #184b31;
  font-weight: 700;
  line-height: 1.4;
}

.eco-visual-panel {
  position: relative;
  display: grid;
  gap: 18px;
}

.eco-visual-panel__backdrop {
  min-height: 320px;
  border-color: rgba(34, 120, 76, 0.16);
}

.eco-visual-panel__backdrop img {
  height: 100%;
  filter: saturate(1.04) contrast(1.03) brightness(0.9);
}

.eco-visual-panel__scene {
  position: relative;
  margin-top: -180px;
  margin-left: 24px;
  margin-right: 24px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 64px rgba(17, 76, 45, 0.16);
}

.eco-visual-panel__scene img {
  width: 100%;
  border-radius: 22px;
}

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

.eco-icon-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 120, 76, 0.12);
  box-shadow: 0 18px 38px rgba(17, 76, 45, 0.1);
}

.eco-icon-card img {
  width: 58px;
  height: 58px;
}

.eco-icon-card strong {
  color: #104028;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.eco-icon-card span {
  color: #3c6652;
  line-height: 1.58;
}

@media (max-width: 1100px) {
  .mission-grid,
  .eco-showcase {
    grid-template-columns: 1fr;
  }

  .eco-visual-panel__scene {
    margin-top: -120px;
  }
}

@media (max-width: 860px) {
  .mission-card {
    padding: 22px;
  }

  .mission-card__head {
    grid-template-columns: 1fr;
  }

  .mission-card__icon {
    width: 74px;
    height: 74px;
  }

  .eco-benefit-grid,
  .eco-icon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eco-visual-panel__scene {
    margin: -84px 0 0;
    padding: 12px;
    border-radius: 22px;
  }

  .eco-benefit {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .eco-benefit img,
  .eco-icon-card img {
    width: 48px;
    height: 48px;
  }
}

/* Round 9 contact and services refinement */
.page-hero-layout--contact,
.page-hero-layout--services {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
}

.contact-command,
.services-command,
.service-band {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.9));
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 24px 58px rgba(8, 25, 43, 0.1);
  overflow: hidden;
}

.contact-command::before,
.services-command::before,
.service-band::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-2), var(--gold));
  opacity: 0.88;
}

.contact-command__head,
.services-command__head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.contact-command__icon,
.services-command__icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(8, 25, 43, 0.12);
}

.contact-command h3,
.services-command h3 {
  margin: 8px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--primary-3);
}

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

.contact-command__item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 16px 32px rgba(8, 25, 43, 0.08);
}

.contact-command__item strong {
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.98rem;
}

.contact-command__item span {
  color: var(--muted);
  line-height: 1.56;
}

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

.channel-card,
.service-pillar {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 20px 48px rgba(8, 25, 43, 0.09);
}

.channel-card h3,
.service-pillar h3,
.contact-card--premium h3,
.service-stage-copy h2 {
  margin: 10px 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--primary-3);
}

.channel-card p,
.service-pillar p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-stage-grid,
.service-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card--premium,
.contact-form-card--premium,
.service-stage-copy {
  padding: 28px;
}

.contact-card__header,
.service-pillar__head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.contact-card__icon,
.service-pillar__head img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.contact-checklist {
  display: grid;
  gap: 14px;
}

.contact-checklist div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(8, 25, 43, 0.08);
}

.contact-checklist div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-checklist strong,
.service-deliverable-grid strong {
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
}

.contact-checklist span,
.service-deliverable-grid span {
  color: var(--muted);
  line-height: 1.62;
}

.contact-route-panel {
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(223, 181, 74, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(15, 65, 111, 0.98), rgba(8, 25, 43, 0.98));
  box-shadow: 0 28px 64px rgba(8, 25, 43, 0.28);
}

.contact-route-panel__copy h2,
.service-band h2 {
  color: #fff;
  margin: 12px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-route-steps,
.service-band__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.contact-route-panel .process-card,
.service-band .process-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.contact-route-panel .process-card h3,
.contact-route-panel .process-card p,
.service-band .process-card h3,
.service-band .process-card p,
.service-band .process-number {
  color: #fff;
}

.services-command__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-pillar__head {
  margin-bottom: 14px;
}

.service-stage-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.service-deliverable-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 14px 30px rgba(8, 25, 43, 0.08);
}

@media (max-width: 1100px) {
  .page-hero-layout--contact,
  .page-hero-layout--services,
  .contact-stage-grid,
  .service-stage-grid,
  .service-pillar-grid,
  .channel-grid,
  .contact-route-steps,
  .service-band__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .contact-command,
  .services-command,
  .channel-card,
  .service-pillar,
  .contact-card--premium,
  .contact-form-card--premium,
  .service-stage-copy,
  .contact-route-panel,
  .service-band {
    padding: 22px;
  }

  .contact-command__head,
  .services-command__head,
  .contact-card__header,
  .service-pillar__head {
    grid-template-columns: 1fr;
  }

  .contact-command__grid,
  .service-deliverable-grid {
    grid-template-columns: 1fr;
  }
}

/* Round 10 projects and experiences refinement */
.page-hero-layout--projects,
.page-hero-layout--experiences {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
}

.project-command,
.experience-command,
.project-band,
.experience-band {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.9));
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 24px 58px rgba(8, 25, 43, 0.1);
  overflow: hidden;
}

.project-command::before,
.experience-command::before,
.project-band::before,
.experience-band::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-2), var(--gold));
  opacity: 0.88;
}

.project-command__head,
.experience-command__head,
.project-logic-card__head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.project-command__icon,
.experience-command__icon,
.project-logic-card__head img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(8, 25, 43, 0.12);
}

.project-command h3,
.experience-command h3,
.project-logic-card h3,
.project-callout--dark h3 {
  margin: 8px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--primary-3);
}

.project-command__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.project-command__metrics div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 16px 32px rgba(8, 25, 43, 0.08);
}

.project-command__metrics strong {
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
}

.project-command__metrics span {
  color: var(--muted);
  line-height: 1.56;
}

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

.project-atlas-card,
.experience-atlas-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 22px 54px rgba(8, 25, 43, 0.1);
}

.project-atlas-card__media,
.experience-atlas-card__media {
  min-height: 100%;
  position: relative;
}

.project-atlas-card__media img,
.experience-atlas-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-atlas-card__body,
.experience-atlas-card__body {
  padding: 24px;
}

.project-atlas-card__body h3,
.experience-atlas-card__body h3 {
  margin: 10px 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--primary-3);
}

.project-atlas-card__body p,
.experience-atlas-card__body p {
  color: var(--muted);
  line-height: 1.68;
}

.project-logic-grid,
.experience-logic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.project-logic-card {
  padding: 28px;
}

.project-deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.project-deliverable-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 25, 43, 0.08);
  box-shadow: 0 14px 30px rgba(8, 25, 43, 0.08);
}

.project-callout--dark {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(223, 181, 74, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(15, 65, 111, 0.98), rgba(8, 25, 43, 0.98));
  color: #fff;
  box-shadow: 0 28px 64px rgba(8, 25, 43, 0.28);
}

.project-callout--dark p,
.project-callout--dark li,
.project-callout--dark h3,
.project-callout--dark .kicker {
  color: #fff;
}

.project-band h2,
.experience-band h2 {
  color: #fff;
  margin: 12px 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

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

.project-band .process-card,
.experience-band .process-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.project-band .process-card h3,
.project-band .process-card p,
.project-band .process-number,
.experience-band .process-card h3,
.experience-band .process-card p,
.experience-band .process-number {
  color: #fff;
}

@media (max-width: 1100px) {
  .page-hero-layout--projects,
  .page-hero-layout--experiences,
  .project-logic-grid,
  .experience-logic-grid,
  .project-atlas-grid,
  .experience-atlas-grid,
  .project-band__steps,
  .project-command__metrics {
    grid-template-columns: 1fr;
  }

  .project-atlas-card,
  .experience-atlas-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .project-command,
  .experience-command,
  .project-band,
  .experience-band,
  .project-logic-card,
  .project-callout--dark {
    padding: 22px;
  }

  .project-command__head,
  .experience-command__head,
  .project-logic-card__head {
    grid-template-columns: 1fr;
  }

  .project-deliverable-grid {
    grid-template-columns: 1fr;
  }
}

/* Final review fixes */
html,
body {
  overflow-x: hidden;
}

.site-nav .button--nav,
.site-nav .button--nav:visited,
.site-nav .button--nav:hover,
.site-nav .button--nav:focus-visible {
  color: #fff;
}

.site-nav.is-open .button--nav {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.contact-form-card form {
  display: grid;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--primary-3);
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(8, 25, 43, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 13px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.form-grid textarea {
  min-height: 168px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(36, 112, 178, 0.14);
  outline: none;
}

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

.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand--image {
  display: inline-flex;
  width: clamp(156px, 14vw, 210px);
  max-width: 34vw;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand--symbol {
  align-content: start;
}

.footer-mark {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
}

.service-band,
.project-band,
.experience-band {
  background:
    radial-gradient(circle at top right, rgba(223, 181, 74, 0.14), transparent 26%),
    linear-gradient(145deg, rgba(15, 65, 111, 0.98), rgba(8, 25, 43, 0.98));
  color: #fff;
  box-shadow: 0 28px 64px rgba(8, 25, 43, 0.28);
}

.service-band .kicker,
.project-band .kicker,
.experience-band .kicker,
.contact-route-panel .kicker {
  color: rgba(255, 255, 255, 0.82);
}

.service-band h2,
.project-band h2,
.experience-band h2,
.contact-route-panel h2,
.service-band .process-card h3,
.project-band .process-card h3,
.experience-band .process-card h3,
.contact-route-panel .process-card h3,
.service-band .process-card p,
.project-band .process-card p,
.experience-band .process-card p,
.contact-route-panel .process-card p,
.service-band .process-number,
.project-band .process-number,
.experience-band .process-number,
.contact-route-panel .process-number {
  color: #fff;
}

@media (max-width: 680px) {
  .brand--image {
    width: 136px;
    max-width: 44vw;
  }

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

  .form-span-2 {
    grid-column: auto;
  }

  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(18px);
  }
}

/* Hostinger production refresh: WhatsApp, trust areas and mobile polish */
.button--whatsapp,
.button--whatsapp:visited {
  color: #083118;
  background: linear-gradient(135deg, #d9fbe4, #65d889);
  border-color: rgba(32, 136, 76, 0.32);
  box-shadow: 0 16px 30px rgba(20, 118, 61, 0.22);
}

.button--whatsapp:hover,
.button--whatsapp:focus-visible {
  color: #072b16;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 118, 61, 0.28);
}

.utility-whatsapp {
  color: #e6fff0 !important;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  color: #083118;
  background: linear-gradient(135deg, #e7fff0, #44d36e);
  border: 1px solid rgba(13, 105, 50, 0.22);
  box-shadow: 0 18px 44px rgba(7, 61, 33, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-float::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-right: 9px;
  border-radius: 999px;
  background: #0c7b3a;
  box-shadow: 0 0 0 6px rgba(12, 123, 58, 0.14);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #062812;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(7, 61, 33, 0.34);
}

.section--areas {
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.9), rgba(255, 255, 255, 0.96));
}

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

.area-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(8, 25, 43, 0.1);
  box-shadow: 0 18px 44px rgba(8, 25, 43, 0.08);
}

.area-card span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary-3);
  background: rgba(223, 181, 74, 0.18);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 900;
}

.area-card h3 {
  margin: 0;
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

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

.section--trust {
  padding-top: 28px;
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 65, 111, 0.98), rgba(8, 25, 43, 0.98));
  box-shadow: 0 26px 58px rgba(8, 25, 43, 0.22);
}

.trust-strip .kicker,
.trust-strip h2 {
  color: #fff;
}

.trust-strip h2 {
  margin: 10px 0 0;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-points div {
  min-height: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points strong {
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  margin-bottom: 8px;
}

.trust-points span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.hero-copy--hero[data-reveal],
.hero-sidecard[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .area-grid,
  .trust-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    max-height: min(76vh, 620px);
    overflow-y: auto;
  }

  .hero-stage__grid--publish {
    align-items: start;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  .page,
  .site-header,
  .hero-layout,
  .hero-stage,
  .hero-stage__grid,
  .hero-copy,
  .hero-copy--hero,
  .hero-sidecard,
  .page-hero-layout,
  .page-hero-copy,
  .section-head,
  .card-body,
  .area-card,
  .trust-strip,
  .contact-command,
  .contact-card,
  .contact-form-card {
    min-width: 0;
    max-width: 100%;
  }

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

  .hero-stage,
  .page-hero-layout {
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .hero-copy--hero,
  .hero-sidecard,
  .page-hero-copy,
  .hero-actions,
  .contact-command,
  .contact-card,
  .contact-form-card {
    width: calc(100vw - 62px) !important;
    max-width: calc(100vw - 62px) !important;
    box-sizing: border-box;
  }

  .nav-shell {
    min-height: 68px;
  }

  .site-nav {
    left: 11px;
    right: 11px;
    width: auto;
    border-radius: 18px;
  }

  .brand--image {
    width: 128px;
    max-width: 48vw;
  }

  .hero--publish {
    padding-top: 10px;
  }

  .hero-stage--premium {
    min-height: auto;
    border-radius: 20px;
  }

  .hero-stage__grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .hero-copy--hero h1 {
    width: calc(100vw - 110px) !important;
    max-width: calc(100vw - 110px) !important;
    font-size: 1.96rem;
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy--hero p,
  .page-hero-copy p {
    width: calc(100vw - 110px) !important;
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .hero-tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-sidecard {
    padding: 16px;
    border-radius: 18px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-head h2,
  .page-hero-copy h1 {
    width: calc(100vw - 110px) !important;
    max-width: calc(100vw - 110px) !important;
    font-size: 1.84rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page-hero-layout,
  .page-hero-layout--contact,
  .page-hero-layout--services,
  .page-hero-layout--projects,
  .page-hero-layout--experiences {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .page-hero .media-frame,
  .page-hero .photo-card {
    min-height: 220px;
  }

  .section-head p {
    font-size: 0.98rem;
  }

  .service-card,
  .detail-card,
  .area-card,
  .contact-card,
  .contact-form-card {
    border-radius: 16px;
  }

  .service-card h3,
  .detail-card h3,
  .area-card h3,
  .contact-card h3,
  .contact-form-card h3 {
    width: calc(100vw - 116px) !important;
    max-width: calc(100vw - 116px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-sidecard h3,
  .hero-sidecard p,
  .contact-card p,
  .contact-form-card p {
    width: calc(100vw - 116px) !important;
    max-width: calc(100vw - 116px) !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-card h3,
  .contact-form-card h3 {
    width: min(242px, calc(100vw - 132px)) !important;
    max-width: min(242px, calc(100vw - 132px)) !important;
    font-size: 1.18rem;
    line-height: 1.08;
  }

  .contact-card__header,
  .contact-card__header > div,
  .contact-form-card > div {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 132px) !important;
  }

  .area-grid,
  .trust-points {
    grid-template-columns: 1fr;
  }

  .area-card,
  .trust-strip {
    padding: 20px;
  }

  .whatsapp-float {
    right: 14px;
    left: auto;
    bottom: 12px;
    min-height: 52px;
    padding-inline: 18px;
  }
}

@media (max-width: 390px) {
  .hero-copy--hero h1 {
    font-size: 1.82rem;
  }

  .section-head h2,
  .page-hero-copy h1 {
    font-size: 1.68rem;
  }
}

/* Catalog alignment, LinkedIn and assistant refresh */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.utility-linkedin,
.footer-linkedin {
  font-weight: 900;
}

.utility-linkedin {
  color: #fff;
  background: #0a66c2;
  border-radius: 999px;
  padding: 7px 12px;
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.22);
}

.utility-linkedin:hover,
.utility-linkedin:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

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

.section--catalog-route {
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.82), rgba(255, 255, 255, 0.95));
}

.catalog-route-grid,
.catalog-matrix {
  display: grid;
  gap: 18px;
}

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

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

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

.catalog-route-card,
.catalog-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(15, 65, 111, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(8, 25, 43, 0.07);
}

.catalog-card--wide {
  grid-column: span 2;
}

.catalog-route-card span,
.catalog-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  color: var(--primary-3);
  background: rgba(223, 181, 74, 0.18);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.catalog-route-card h3,
.catalog-card h3 {
  margin: 0 0 10px;
  color: var(--primary-3);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.14rem;
  line-height: 1.18;
}

.catalog-route-card p,
.catalog-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.58;
}

.catalog-card .mission-list {
  margin-top: 12px;
}

.scope-list,
.values-grid {
  display: grid;
  gap: 12px;
}

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

.scope-list div,
.values-grid span {
  min-height: 54px;
  display: grid;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(15, 65, 111, 0.12);
  border-radius: 14px;
  color: var(--primary-3);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(8, 25, 43, 0.05);
}

.values-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 20px;
}

.ai-assistant {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.ai-assistant__toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  box-shadow: 0 18px 36px rgba(8, 25, 43, 0.28);
  cursor: pointer;
}

.ai-assistant__toggle span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.ai-assistant__panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(376px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(15, 65, 111, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(8, 25, 43, 0.25);
}

.ai-assistant__panel[hidden] {
  display: none !important;
}

.ai-assistant__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-3), #08192b);
}

.ai-assistant__head .kicker,
.ai-assistant__head strong {
  display: block;
  color: #fff;
}

.ai-assistant__head strong {
  margin-top: 4px;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.ai-assistant__close {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.ai-assistant__messages {
  max-height: 232px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f7fafc;
}

.ai-message {
  max-width: 94%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ai-message--bot {
  justify-self: start;
  color: var(--primary-3);
  background: #fff;
  border: 1px solid rgba(15, 65, 111, 0.1);
}

.ai-message--user {
  justify-self: end;
  color: #fff;
  background: var(--primary-2);
}

.ai-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f7fafc;
}

.ai-assistant__chips button {
  border: 1px solid rgba(15, 65, 111, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--primary-3);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.ai-assistant__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(15, 65, 111, 0.1);
  background: #fff;
}

.ai-assistant__form input {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(15, 65, 111, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
}

.ai-assistant__form button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  color: #fff;
  background: var(--primary-3);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .catalog-route-grid,
  .scope-list,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 90px;
  }

  .utility-linkedin {
    padding: 6px 10px;
  }

  .catalog-route-grid,
  .catalog-matrix,
  .catalog-matrix--two,
  .scope-list,
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-card--wide {
    grid-column: auto;
  }

  .catalog-route-card,
  .catalog-card {
    padding: 18px;
    border-radius: 16px;
  }

  .ai-assistant {
    left: 12px;
    bottom: 12px;
  }

  .ai-assistant__toggle {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .ai-assistant__panel {
    width: calc(100vw - 24px);
    max-height: min(76vh, 620px);
    bottom: 66px;
  }

  .ai-assistant__messages {
    max-height: 220px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell,
  .hero-stage,
  .page-hero-layout,
  .page-hero-layout--contact,
  .page-hero-layout--services,
  .page-hero-layout--projects,
  .page-hero-layout--experiences,
  .hero-copy--hero,
  .hero-sidecard,
  .page-hero-copy,
  .hero-actions,
  .contact-command,
  .contact-card,
  .contact-form-card,
  .catalog-route-card,
  .catalog-card,
  .service-card,
  .detail-card,
  .services-command,
  .service-stage-grid,
  .contact-stage-grid,
  .split-layout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy--hero h1,
  .hero-copy--hero p,
  .hero-sidecard h3,
  .hero-sidecard p,
  .section-head h2,
  .section-head p,
  .page-hero-copy h1,
  .page-hero-copy p,
  .service-card h3,
  .detail-card h3,
  .area-card h3,
  .contact-card h3,
  .contact-form-card h3,
  .contact-card p,
  .contact-form-card p {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .page-hero-copy h1,
  .section-head h2 {
    color: var(--primary-3);
  }

  .page-hero-copy p,
  .section-head p {
    color: var(--muted);
  }

  .hero-stage__grid,
  .page-hero-layout,
  .page-hero-layout--contact,
  .page-hero-layout--services,
  .page-hero-layout--projects,
  .page-hero-layout--experiences {
    padding: 20px;
  }

  .hero-actions .button,
  .button {
    max-width: 100%;
    white-space: normal;
  }

  .hero-tags,
  .services-command__chips,
  .ai-assistant__chips {
    max-width: 100%;
  }

  .page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-stage,
  .page-hero-layout,
  .page-hero-layout--services,
  .page-hero-layout--contact,
  .page-hero-layout--projects,
  .page-hero-layout--experiences {
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
  }

  .hero-copy--hero,
  .hero-sidecard,
  .page-hero-copy,
  .services-command,
  .contact-command,
  .contact-card,
  .contact-form-card {
    width: calc(100vw - 70px) !important;
    max-width: calc(100vw - 70px) !important;
  }

  .hero-copy--hero h1,
  .hero-copy--hero p,
  .hero-sidecard h3,
  .hero-sidecard p,
  .page-hero-copy h1,
  .page-hero-copy p,
  .services-command h3,
  .services-command p,
  .section-head h2,
  .section-head p,
  .catalog-route-card h3,
  .catalog-route-card p,
  .catalog-card h3,
  .catalog-card p {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .section > .shell > .section-head {
    width: 100% !important;
    max-width: 100% !important;
  }

  .shell {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    margin-left: auto;
    margin-right: auto;
  }
}
