@font-face {
  font-family: "Garet";
  src: url("../fonts/garet-book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GoBold";
  src: url("../fonts/gobold.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Garet";
  src: url("../fonts/garet-heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/sofia-pro-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/sofia-pro-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/sofia-pro-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Pro";
  src: url("../fonts/sofia-pro-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d1830;
  --bg-soft: #132a52;
  --primary: #1d3f7a;
  --primary-strong: #284d93;
  --ink: #eef3ff;
  --text: #25314a;
  --text-soft: #5c6b85;
  --line: rgba(37, 49, 74, 0.12);
  --surface: #ffffff;
  --surface-muted: #f5f8ff;
  --accent: #d6e2ff;
  --success: #0f7e46;
  --shadow: 0 28px 80px rgba(10, 21, 43, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: 1320px;
  --page-gutter: clamp(1rem, 3vw, 3.5rem);
  --anchor-offset: clamp(7rem, 12vh, 10rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Sofia Pro", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(40, 77, 147, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
  line-height: 1.6;
}

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

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

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

.shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--shell));
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: #9db3e7;
  font-weight: 700;
}

.section {
  padding: 5.5rem 0;
}

.surface-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(242, 246, 255, 0.92));
}

.section-accent {
  background: linear-gradient(135deg, rgba(13, 24, 48, 0.98), rgba(29, 63, 122, 0.94));
  color: var(--ink);
}

.section-heading {
  max-width: 1200px;
  margin-bottom: 2.2rem;
}

.section h1,
.section h2,
.section h3,
.inner-hero h1,
.hero-slide h1,
.privacy-strip h2,
.cta-panel h2,
.modal-panel h2 {
  margin: 0 0 1rem;
  font-family: "GoBold", sans-serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section h2,
.privacy-strip h2,
.cta-panel h2 {
  font-size: clamp(1.8rem, 1.8vw, 2.3rem);
}

p {
  margin: 0 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(29, 63, 122, 0.22);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--primary-strong);
  box-shadow: 0 22px 48px rgba(29, 63, 122, 0.32);
}

.button-outline,
.button-outline-light {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(29, 63, 122, 0.22);
  color: var(--primary);
}

.button-outline-light {
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.button-nav {
  min-height: 46px;
  padding: 0 1.2rem;
}

.button-large {
  min-height: 58px;
  padding-inline: 1.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.topbar {
  background: rgba(16, 21, 33, 0.95);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.topbar-inner,
.navbar-inner,
.footer-main,
.footer-bottom,
.privacy-strip-inner,
.intro-grid,
.feature-news,
.cta-panel,
.contact-grid,
.contact-cta,
.faq-grid,
.contact-map,
.service-section,
.two-column,
.process-grid,
.article-layout,
.experience-copy {
  display: grid;
  gap: 1.5rem;
}

.topbar-inner {
  padding: 0.75rem 0;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.topbar-domain {
  margin: 0;
  letter-spacing: 0.55em;
  text-transform: lowercase;
}

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

.navbar {
  background: rgba(29, 63, 122, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0.9rem 0;
  gap: 2rem;
}

.brand img,
.footer-logo {
  height: 60px;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.86);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.primary-nav a.is-active,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  color: white;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px auto;
}

.hero-carousel {
  position: relative;
  min-height: min(90vh, 900px);
  overflow: clip;
  background: var(--bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-block: 8rem 9rem;
  max-width: 1200px;
}

.hero-content h1 {
  font-size: clamp(2.35rem, 4.9vw, 4.2rem);
  max-width: 23ch;
}

.hero-content p:not(.eyebrow) {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-mark {
  position: absolute;
  inset: auto 10% 8% auto;
  z-index: 1;
  opacity: 0.22;
}

.hero-mark img {
  width: clamp(150px, 18vw, 320px);
  height: auto;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  z-index: 3;
  display: flex;
  gap: 0.8rem;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 46px;
  border-radius: 999px;
  background: white;
}

.intro-grid,
.feature-news,
.cta-panel,
.process-grid,
.two-column,
.article-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stats-grid,
.client-grid,
.service-grid,
.project-preview-grid,
.value-grid,
.detail-card,
.service-section-grid,
.timeline-list,
.contact-grid,
.article-list {
  display: grid;
  gap: 1.25rem;
}

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

.stat-card,
.client-card,
.service-card,
.project-preview-card,
.value-card,
.detail-card,
.contact-card,
.floating-panel,
.article-card,
.modal-panel,
.project-detail,
.feature-news-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 49, 74, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card,
.client-card,
.service-card,
.project-preview-card,
.value-card,
.detail-card,
.contact-card,
.floating-panel,
.feature-news-card,
.project-detail-heading,
.project-detail-list,
.article-card-copy {
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: "Garet", sans-serif;
  color: var(--primary);
}

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

.client-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(140deg, rgba(29, 63, 122, 0.16), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.92);
}

.client-card h3,
.service-card h3,
.project-preview-card h3,
.contact-card h2,
.detail-card h3,
.article-card h2 {
  margin: 0 0 0.65rem;
  font-family: "Garet", sans-serif;
  line-height: 1.1;
  color: #1d3f7a;
  font-size: 13px;
}

.client-type,
.project-preview-meta span,
.feature-news-meta span,
.project-tags span,
.service-card-index {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(29, 63, 122, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-news-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.feature-news-meta,
.project-preview-meta,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature-list {
  margin: 1.3rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

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

.service-card {
  background:
    linear-gradient(180deg, rgba(29, 63, 122, 0.06), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
}

.service-card a,
.project-preview-card a,
.contact-card a {
  color: var(--primary);
  font-weight: 700;
}

.contact-card .contact-action {
  justify-self: start;
  margin-top: auto;
}

.contact-card .contact-action:hover,
.contact-card .contact-action:focus-visible {
  color: white;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  align-items: center;
  padding: 2.2rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(130deg, rgba(13, 24, 48, 0.98), rgba(29, 63, 122, 0.92)),
    var(--bg);
  color: white;
}

.inner-hero {
  color: white;
  background-size: cover;
  background-position: center;
}

.inner-hero .shell {
  padding: 7rem 0 5rem;
}

.inner-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  max-width: 24ch;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.anchor-nav a {
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 49, 74, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.button-small {
  min-height: 44px;
  padding-inline: 1.15rem;
  font-size: 0.95rem;
}

.services-showcase {
  position: relative;
  overflow: clip;
  min-height: calc(100vh - 150px);
  padding: 4rem 0 5rem;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.services-showcase-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.services-showcase-eyebrow {
  justify-self: center;
  margin-bottom: 0.3rem;
  padding: 0.38rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.services-showcase h1 {
  margin: 0 auto;
  max-width: 23ch;
  font-family: "GoBold", sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: 0em;
  color: #142865;
}

.services-showcase-copy {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: #3f4c64;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1.2rem;
  align-items: start;
}

.service-showcase-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 28px 70px rgba(10, 21, 43, 0.22);
  text-align: left;
}

.service-showcase-card img {
  width: 100%;
  aspect-ratio: 1.06 / 1;
  object-fit: cover;
}

.service-showcase-content {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem 1.3rem 1.4rem;
}

.service-showcase-content h2 {
  margin: 0;
  font-family: "Garet", sans-serif;
  font-size: 1.55rem;
  line-height: 1.02;
  text-transform: uppercase;
  color: #142865;
}

.service-showcase-content p {
  margin: 0;
  color: #2e394f;
  line-height: 1.5;
}

.service-showcase-content .button {
  justify-self: start;
}

body.servicios .site-footer {
  margin-top: 0;
}

.news-showcase {
  min-height: calc(100vh - 150px);
  padding: 3.5rem 0 4.5rem;
}

.news-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.4rem;
  align-items: center;
}

.news-copy {
  display: grid;
  gap: 1rem;
}

.news-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: "Garet", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #1f2943;
}

.news-copy h2 {
  margin: 0;
  font-family: "Garet", sans-serif;
  font-size: clamp(1.25rem, 1.95vw, 2rem);
  line-height: 1.1;
  color: #27324c;
}

.news-copy-list {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin-top: 0.25rem;
}

.news-copy-list p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #313d59;
  font-weight: 500;
}

.news-copy .button {
  justify-self: start;
  margin-top: 0.85rem;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.news-gallery-card {
  margin: 0;
  overflow: hidden;
  border: 4px solid #cfd8f2;
  border-radius: 30px;
  background: white;
  box-shadow: 0 20px 44px rgba(26, 37, 67, 0.12);
}

.news-gallery-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.news-gallery-card-large {
  grid-column: 1 / -1;
}

.news-gallery-card-large img {
  aspect-ratio: 1.96 / 1;
}

.news-gallery-card:not(.news-gallery-card-large) img {
  aspect-ratio: 1.18 / 1;
}

body.noticias .site-footer {
  margin-top: 0;
}

.projects-showcase {
  min-height: calc(100vh - 150px);
  padding: 3.5rem 0 4.5rem;
}

.projects-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.projects-copy {
  display: grid;
  gap: 1rem;
    margin: 0px auto;
}

.projects-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: "Garet", sans-serif;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #1f2943;
}

.projects-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #303b57;
}

.projects-stats {
  display: grid;
  gap: 1rem;
}

.project-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 20px 44px rgba(26, 37, 67, 0.1);
}

.project-stat img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.project-stat strong {
  display: block;
  font-family: "Garet", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.project-stat span {
  display: block;
  margin-top: 0.25rem;
  color: #31405c;
  font-weight: 500;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 22px 50px rgba(26, 37, 67, 0.12);
  display: grid;
}

.project-card--featured {
  grid-column: span 7;
}

.project-card--medium {
  grid-column: span 5;
}

.project-card--small {
  grid-column: span 4;
}

.project-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem 1.25rem 1.4rem;
}

.project-card-body h2 {
  margin: 0;
  font-family: "Garet", sans-serif;
  font-size: 1.55rem;
  line-height: 1.03;
  color: #1f2943;
}

.project-card-meta {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

body.proyectos .site-footer {
  margin-top: 0;
}

.projects-hero {
  display: grid;
  align-items: end;
  min-height: 420px;
  padding: 5.5rem 0 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.projects-hero-inner {
  display: grid;
  gap: 1rem;
  max-width: 900px;
}

.projects-hero h1 {
    max-width: 23ch;
    margin: 0 0 1rem;
    font-family: "GoBold", sans-serif;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: clamp(3.1rem, 4vw, 4.2rem);
}

.projects-hero p {
  max-width: 980px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.projects-menu {
  padding-top: 2rem;
  padding-bottom: 3.25rem;
}

.projects-catalog-cta {
  padding-top: 0;
  padding-bottom: 1rem;
}

.projects-catalog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f2448, #29508e);
  color: #fff;
  box-shadow: 0 24px 52px rgba(15, 36, 72, 0.24);
}

.projects-catalog-card h2 {
  margin-bottom: 0.55rem;
  color: #fff;
}

.projects-catalog-card p:not(.eyebrow) {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}

.projects-menu-head {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.projects-menu-eyebrow {
  margin-bottom: 0;
}

.projects-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.projects-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 16px 34px rgba(26, 37, 67, 0.08);
  color: #24314a;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.scroll-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  box-shadow: 0 18px 40px rgba(29, 63, 122, 0.32);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: var(--primary-strong);
}

.projects-copy {
  padding-top: 60px;
  padding-bottom: 5rem;
}

.projects-copy-inner {
  display: grid;
  gap: 1.4rem;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

.projects-copy-inner p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.58;
  color: #26324d;
  font-weight: 500;
}

.projects-list {
  padding-top: 0;
}

.projects-stack {
  display: grid;
  gap: 2rem;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.8rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 22px 50px rgba(26, 37, 67, 0.11);
  scroll-margin-top: var(--anchor-offset);
}

.project-feature-copy {
  display: grid;
  gap: 0.8rem;
  padding: 0.55rem 0.85rem 0.7rem 0.9rem;
}

.project-feature-copy h2 {
  margin: 0;
  max-width: 23ch;
  font-family: "GoBold", sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: 0em;
  color: #24314a;
}

.project-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-meta-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(29, 63, 122, 0.08);
  color: #24314a;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-summary {
  margin: 0;
  max-width: 33ch;
  font-size: 0.98rem;
  line-height: 1.48;
  color: #2c3954;
  font-weight: 500;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.45rem;
}

.project-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 72px;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(37, 49, 74, 0.08);
  box-shadow: 0 16px 30px rgba(26, 37, 67, 0.08);
}

.project-metric img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.project-metric-icon-length {
  width: 42px !important;
  height: 22px !important;
}

.project-metric strong {
  font-family: "Garet", sans-serif;
  font-size: 1.38rem;
  line-height: 1;
  color: var(--primary);
}

.project-feature-media {
  padding: 0.35rem;
}

.project-feature-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.service-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-section-grid,
.timeline-list,
.faq-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-list article {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.timeline-list span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-family: "Garet", sans-serif;
  font-size: 2rem;
}

.floating-panel {
  background:
    linear-gradient(145deg, rgba(29, 63, 122, 0.98), rgba(13, 24, 48, 0.98)),
    var(--bg);
  color: white;
  position: sticky;
  top: 8rem;
}

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

.value-card {
  min-height: 190px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(150deg, rgba(29, 63, 122, 0.18), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
}

.experience-copy {
  max-width: 960px;
}

.project-detail {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.project-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.article-card-copy {
  display: grid;
  align-content: center;
}

.article-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
}

.article-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

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

.contact-card {
  min-height: 250px;
}

.contact-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.contact-map {
  grid-template-columns: minmax(0, 0.85fr);
}

.toast-success {
  margin-bottom: 2rem;
}

.toast-success p {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(15, 126, 70, 0.12);
  color: var(--success);
  border: 1px solid rgba(15, 126, 70, 0.18);
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 0.75rem;
  z-index: 40;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 48, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  padding: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(13, 24, 48, 0.08);
  font-size: 1.5rem;
  cursor: pointer;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.9rem;
}

.lead-form label {
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.lead-form label:nth-of-type(n + 5) {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(37, 49, 74, 0.14);
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.95rem;
}

.lead-form small {
  color: #be2f2f;
  font-weight: 600;
  font-size: 0.8rem;
}

.lead-form .button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 44px;
  padding-inline: 1.2rem;
}

.faq-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.accordion-list {
  display: grid;
  gap: 1rem;
}

.accordion-list details {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(37, 49, 74, 0.08);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.accordion-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.accordion-list summary::-webkit-details-marker {
  display: none;
}

.privacy-strip {
  background: linear-gradient(140deg, rgba(13, 24, 48, 0.98), rgba(29, 63, 122, 0.92));
  color: white;
}

.privacy-strip-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 3rem 0;
}

.site-footer {
  margin-top: 4rem;
  background: #0b1428;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 3rem 0 2rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-family: "Garet", sans-serif;
  color: white;
}

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

.site-footer li {
  margin-bottom: 0.65rem;
}

.footer-bottom {
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-copy {
  max-width: 920px;
}

@media (max-width: 1080px) {
  .client-grid,
  .project-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid,
  .value-grid,
  .contact-grid,
  .service-section-grid,
  .project-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .projects-intro {
    grid-template-columns: 1fr;
  }

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

  .project-card--featured {
    grid-column: span 12;
  }

  .project-card--medium,
  .project-card--small {
    grid-column: span 6;
  }

  .topbar-domain {
    letter-spacing: 0.32em;
  }

}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .navbar-inner {
    grid-template-columns: auto auto;
  }

  .primary-nav,
  .button-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-items: stretch;
    width: 100%;
    padding-top: 1rem;
  }

  .primary-nav.is-open a {
    text-align: center;
  }

  .intro-grid,
  .feature-news,
  .cta-panel,
  .contact-cta,
  .process-grid,
  .two-column,
  .service-section,
  .services-showcase-grid,
  .news-showcase-grid,
  .news-gallery,
  .article-card,
  .article-layout,
  .faq-grid,
  .projects-catalog-card,
  .privacy-strip-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 7rem;
  }

  .services-showcase {
    min-height: auto;
    padding: 3.2rem 0 4.2rem;
  }

  .projects-showcase {
    min-height: auto;
    padding: 3.2rem 0 4.2rem;
  }

  .projects-hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .projects-hero h1 {
    max-width: 11ch;
  }

  .projects-menu-head {
    justify-items: start;
  }

  .projects-pills {
    justify-content: flex-start;
  }

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

  .project-feature-media img {
    min-height: 280px;
  }

  .services-showcase-copy {
    font-size: 1rem;
  }

  .news-showcase {
    min-height: auto;
    padding: 3.2rem 0 4.2rem;
  }

  .news-copy-list {
    max-width: 100%;
  }

  .hero-mark {
    right: 6%;
    bottom: 14%;
  }

  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topbar-links {
    justify-content: flex-start;
  }
}

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

  .client-grid,
  .project-preview-grid,
  .stats-grid,
  .service-grid,
  .value-grid,
  .service-section-grid,
  .services-showcase-grid,
  .projects-grid,
  .news-gallery,
  .contact-grid,
  .project-detail-list {
    grid-template-columns: 1fr;
  }

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

  .news-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .news-copy-list p {
    font-size: 1rem;
  }

  .news-gallery-card-large {
    grid-column: auto;
  }

  .projects-copy {
    padding-bottom: 4rem;
  }

  .projects-hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }

  .services-showcase h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .project-card--featured,
  .project-card--medium,
  .project-card--small {
    grid-column: auto;
  }

  .project-feature {
    padding: 1rem;
  }

  .project-feature-copy {
    padding: 0.2rem 0.25rem 0.45rem;
  }

  .project-feature-copy h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8vw, 2.75rem);
  }

  .project-summary {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .project-metric {
    min-height: 60px;
    padding: 0.7rem 0.8rem;
  }

  .project-metric strong {
    font-size: 1.12rem;
  }

  .project-feature-media img {
    min-height: 220px;
  }

  .scroll-top-button {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 48px;
    height: 48px;
  }

  .service-showcase-content {
    padding: 1rem 1.1rem 1.2rem;
  }

  .hero-actions,
  .project-preview-meta,
  .project-tags {
    flex-direction: column;
    align-items: start;
  }

  .hero-content h1 {
    max-width: 11ch;
  }

  .brand img,
  .footer-logo {
      height: 60px;
  }

  .modal-panel {
    width: min(100%, 640px);
    padding: 1rem;
  }

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

  .lead-form label:nth-of-type(n + 1) {
    grid-column: auto;
  }
}
