﻿:root {
  --color-primary: #2457a6;
  --color-primary-dark: #163e7a;
  --color-primary-light: #4b78be;
  --color-surface: #ffffff;
  --color-surface-alt: #eaf1fb;
  --color-surface-strong: #dce8fa;
  --color-text: #142033;
  --color-muted: #5f6f88;
  --color-border: rgba(36, 87, 166, 0.12);
  --shadow-soft: 0 18px 45px rgba(17, 34, 68, 0.08);
  --shadow-card: 0 20px 50px rgba(17, 34, 68, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --site-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(75, 120, 190, 0.16), transparent 32%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 26%, #f6f9ff 100%);
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(20, 32, 51, 0.05);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--site-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}


.brand img {
  display: block;
  width: auto;
  height: 84px !important;
  max-width: 417px !important;
  object-fit: contain;
}


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

.menu-toggle {
  display: none;
  border: 0;
  background: var(--color-surface-alt);
  color: var(--color-primary-dark);
  padding: 0.78rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

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

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(234, 241, 251, 0.8);
  border-radius: 999px;
}

.site-nav__links a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--color-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.site-nav__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(20, 32, 51, 0.06);
  border-radius: 999px;
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 18px rgba(20, 32, 51, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 1.35rem 0;
}

.hero {
  padding-top: 3.4rem;
}

.hero__grid,
.content-grid,
.contact-grid,
.two-column {
  display: grid;
  gap: 1.35rem;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.92rem;
  border-radius: 999px;
  background: rgba(36, 87, 166, 0.08);
  color: var(--color-primary-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1,
.page-hero h1 {
  margin: 0.7rem 0 0.9rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.hero__actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.28rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: var(--shadow-soft);
}

.button--ghost {
  color: var(--color-primary-dark);
  background: rgba(36, 87, 166, 0.08);
}

.button--outline {
  color: var(--color-primary-dark);
  border: 1px solid rgba(36, 87, 166, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card,
.card,
.stat-card,
.contact-card,
.service-card,
.timeline-card,
.app-card,
.problem-card,
.service-row,
.audience-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  background: linear-gradient(145deg, #163e7a 0%, #2457a6 100%);
  color: #fff;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 68%);
}

.hero-card__logo {
  width: min(100%, 360px);
  margin-bottom: 1rem;
}

.hero-card .lead {
  color: rgba(255, 255, 255, 0.88);
}

.hero-card__list,
.bullet-list,
.feature-list,
.tool-steps {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.hero-card__list li,
.bullet-list li,
.feature-list li,
.tool-steps li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.hero-card__list li::before,
.bullet-list li::before,
.feature-list li::before,
.tool-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.hero-card__list li,
.band .feature-list li,
.tool-teaser--blue .tool-steps li {
  color: rgba(255, 255, 255, 0.8);
}

.hero-card__list li::before,
.band .feature-list li::before,
.tool-teaser--blue .tool-steps li::before {
  background: #fff;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 760px;
  margin-bottom: 1.45rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

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

.service-card,
.card,
.app-card,
.timeline-card,
.contact-card,
.stat-card,
.problem-card,
.audience-card {
  padding: 1.35rem;
}

.service-card h3,
.card h3,
.app-card h3,
.timeline-card h3,
.contact-card h3,
.stat-card h3,
.problem-card h3,
.audience-card h3,
.service-row h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
}

.service-card p,
.card p,
.app-card p,
.timeline-card p,
.contact-card p,
.stat-card p,
.problem-card p,
.audience-card p,
.service-row p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.72;
}

.service-card__icon,
.card__badge,
.service-row__index {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, rgba(36, 87, 166, 0.14), rgba(22, 62, 122, 0.24));
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.band,
.tool-teaser,
.page-hero__surface--product {
  background: linear-gradient(135deg, rgba(22, 62, 122, 0.95), rgba(36, 87, 166, 0.88));
  color: #fff;
  border-radius: 36px;
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}

.band p,
.band li,
.band .muted-on-dark,
.tool-teaser p,
.tool-teaser li,
.page-hero__surface--product p {
  color: rgba(255, 255, 255, 0.8);
}

.band .eyebrow,
.tool-teaser .eyebrow,
.page-hero__surface--product .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.stat-card__value {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.stat-card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(234, 241, 251, 0.95));
}

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

.page-hero__surface {
  padding: 2rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(234, 241, 251, 0.92)),
    radial-gradient(circle at top right, rgba(75, 120, 190, 0.16), transparent 32%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.page-hero__surface--product {
  border: 0;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-card small,
.app-card small,
.contact-card small,
.problem-card strong {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.problem-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.problem-card {
  min-height: 100%;
}

.service-stack {
  display: grid;
  gap: 0.9rem;
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
}

.service-row__index {
  margin-bottom: 0;
}

.tool-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.35rem;
  align-items: center;
}

.tool-teaser__panel {
  padding: 1.1rem;
  border-radius: 28px;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tool-teaser__panel img {
  width: min(100%, 320px);
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.tool-teaser--blue .tool-teaser__panel {
  background: transparent;
}

.tool-teaser__panel--steps {
  display: flex;
  align-items: center;
}

.firstquote-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1.4rem;
  align-items: center;
}

.firstquote-hero__visual {
  display: flex;
  justify-content: center;
}

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

.firstquote-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.firstquote-brand img {
  width: min(100%, 338px);
  height: auto;
}

.firstquote-brand--compact img {
  width: min(100%, 280px);
}

.firstquote-card-logo {
  width: min(100%, 260px);
  margin-bottom: 0.65rem;
  display: block;
  margin-inline: auto;
}

.firstquote-heading {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.apps-grid .app-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.apps-grid .stack-actions,
.apps-grid .coming-soon {
  margin-top: auto;
}

.app-card--product {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 255, 0.94));
}

.feature-list--dark li {
  color: var(--color-muted);
}

.feature-list--dark li::before {
  background: var(--color-primary);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

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

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

.field label {
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: #fff;
  color: var(--color-text);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(36, 87, 166, 0.44);
  box-shadow: 0 0 0 4px rgba(36, 87, 166, 0.08);
}

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

.form-note,
.muted {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-channels {
  display: grid;
  gap: 0.8rem;
}

.contact-channel {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(234, 241, 251, 0.78);
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.55rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(36, 87, 166, 0.08);
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.founder-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 0.9rem;
  align-items: start;
}

.founder-photo {
  width: 134px;
  height: 164px;
  border-radius: 22px;
  object-fit: cover;
}

.founder-photo--mateo {
  object-position: center 22%;
  background: #ffffff;
}

.founder-photo--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(229, 238, 252, 0.96));
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  border: 1px solid rgba(36, 87, 166, 0.14);
  box-shadow: var(--shadow-soft);
}

.founder-photo--placeholder span {
  font-size: 0.94rem;
  line-height: 1.35;
}

.page-hero--about-compact .page-hero__surface {
  padding: 1.45rem;
}

.page-hero--software-compact .page-hero__surface {
  padding: 1.1rem;
}

.page-hero__surface--software-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 246, 255, 0.95));
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.page-hero__surface--software-white .eyebrow {
  background: rgba(21, 61, 121, 0.08);
  color: var(--color-primary);
}

.page-hero__surface--software-white p {
  color: var(--color-muted);
}

.firstquote-hero--compact {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.firstquote-hero--centered,
.firstquote-hero__content,
.stack-actions--centered {
  text-align: center;
  justify-content: center;
}

.firstquote-brand--hero {
  justify-content: center;
  margin: 0.2rem 0 0.5rem;
}

.firstquote-brand--hero img {
  width: min(100%, 360px);
  display: block;
  margin: 0 auto;
}

.apps-grid--equal {
  align-items: stretch;
}

.app-card--equal {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.app-card--equal .coming-soon,
.app-card--equal .stack-actions {
  margin-top: auto;
}

.stack-actions--compact {
  margin-top: 1rem;
}

.firstquote-card-logo {
  width: min(100%, 240px);
  margin-bottom: 0.45rem;
}

@media (max-width: 980px) {
  .hero__grid--balanced,
  .founder-card--team,
  .two-column--compact {
    grid-template-columns: 1fr;
  }

  .founder-photo,
  .founder-photo--placeholder {
    width: 152px;
    height: 152px;
  }
}

@media (max-width: 860px) {
  .hero-text-block--compact h1 {
  color: #ffffff;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
}

.founder-photo--sofia {
  object-position: center 22%;
  background: #ffffff;
}











.logo-grid--compact {
  align-items: stretch;
}

.collaborator-card {
  display: grid;
  grid-template-rows: 112px auto auto;
  align-items: start;
  justify-items: center;
  text-align: center;
  height: 100%;
}

.collaborator-card h3,
.collaborator-card p {
  width: 100%;
  text-align: center;
}

.collaborator-card h3 {
  min-height: 1.5em;
}

.collaborator-card p {
  min-height: 1.72em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-mark {
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-mark img {
  margin: 0 auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.collaborator-mark--hermon img {
  max-height: 58px;
}


.hero-card--nexo-copy,
.hero-card--nexo-copy p,
.hero-card--nexo-copy .lead,
.hero-card--nexo-copy .hero-service-list p,
.hero-card--nexo-copy .hero-service-list strong {
  color: #ffffff !important;
}

.hero-card--nexo-copy {
  padding-top: 1.1rem !important;
  padding-bottom: 1.3rem !important;
}

.hero-card--nexo-copy .hero-card__logo {
  display: block;
  width: min(100%, 280px) !important;
  margin: 0 auto 0.35rem !important;
}



.site-header__inner {
  justify-content: space-between;
  gap: 2.4rem;
}


.brand img {
  display: block;
  width: auto;
  height: 84px !important;
  max-width: 417px !important;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}











@media (max-width: 980px) {
  .problem-grid,
  .audience-grid,
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-teaser,
  .contact-grid,
  .hero__grid,
  .content-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .tool-teaser {
    gap: 1rem;
  }

  .tool-teaser__panel {
    width: 100%;
    padding: 0.75rem 0 0;
  }

  .tool-teaser__panel img {
    width: min(100%, 240px);
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .section,
  .site-footer__inner {
    width: min(calc(100% - 1.25rem), var(--site-width));
  }

  .section {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .section-heading h2,
  .hero-text-block--compact h1 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
    line-height: 0.98;
  }

  .section-heading p,
  .tool-teaser p,
  .problem-card p,
  .audience-card p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .problem-grid,
  .audience-grid,
  .logo-grid,
  .apps-grid,
  .stats-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .audience-card,
  .collaborator-card,
  .app-card,
  .contact-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .tool-teaser {
    gap: 0.9rem;
  }

  .tool-teaser__panel {
    text-align: center;
    align-items: center;
  }

  .tool-teaser__panel img {
    width: min(100%, 220px);
  }

  .tool-steps {
    width: 100%;
    margin-top: 0.4rem;
    gap: 0.85rem;
  }

  .tool-steps li {
    padding-left: 1.1rem;
    line-height: 1.5;
    font-size: 1rem;
  }

  .stack-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .eyebrow {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }

  .hero-card--nexo-copy .hero-card__logo,
  .firstquote-brand--hero img,
  .firstquote-card-logo {
    width: min(100%, 220px) !important;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
  }

  .site-header__inner {
    min-height: 68px;
    gap: 0.75rem;
  }

  .brand img {
    height: 38px !important;
    max-width: 190px !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 0.95rem;
    font-size: 0.95rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0.625rem;
    left: 0.625rem;
    z-index: 40;
    padding: 0.85rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(20, 32, 51, 0.08);
    box-shadow: 0 18px 42px rgba(20, 32, 51, 0.16);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links,
  .site-nav__meta,
  .language-switcher {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.45rem;
    padding: 0;
    background: transparent;
  }

  .site-nav__links a,
  .language-switcher button,
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .site-nav__links a,
  .language-switcher button {
    background: rgba(234, 241, 251, 0.72);
  }

  .header-cta {
    margin-top: 0.15rem;
  }

  .founder-card,
  .founder-card--team {
    justify-items: center;
    text-align: left;
  }

  .founder-card > div,
  .founder-card--team > div {
    width: 100%;
  }

  .founder-photo,
  .founder-photo--placeholder {
    display: block;
    margin: 0.35rem auto 0;
    justify-self: center;
    align-self: center;
  }
}

.page-home-v3 {
  background: linear-gradient(180deg, #eef3fb 0%, #ffffff 20%, #f4f7fc 100%);
}

.page-home-v3 .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}

.onzaga-hero {
  padding-top: 1.5rem;
}

.onzaga-hero__surface {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  padding: 1.4rem;
  border-radius: 34px;
  background: linear-gradient(145deg, #17345f 0%, #204f91 42%, #2e67b4 100%);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(17, 34, 68, 0.18);
}

.onzaga-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.onzaga-hero__copy h1 {
  margin: 0;
  max-width: 10.5ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.onzaga-hero__copy p {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.onzaga-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.onzaga-hero__media {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
}

.media-panel {
  min-height: 240px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 34%);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
}

.media-panel span,
.project-placeholder span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.media-panel--secondary {
  min-height: 140px;
}

.onzaga-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.onzaga-strip__grid article,
.onzaga-quote-card,
.onzaga-service-card,
.onzaga-project-card,
.onzaga-firstquote-band__panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(17, 34, 68, 0.08);
}

.onzaga-strip__grid article {
  padding: 1.1rem 1.15rem;
}

.onzaga-strip__grid small,
.onzaga-service-card small,
.onzaga-project-card small {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.onzaga-strip__grid strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.onzaga-section-heading {
  max-width: 780px;
  margin-bottom: 1rem;
}

.onzaga-section-heading h2 {
  margin: 0.25rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.onzaga-intro__grid,
.onzaga-firstquote-band__inner,
.onzaga-cta-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.lead-strong {
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--color-text);
}

.onzaga-quote-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(233,240,250,0.94));
}

.onzaga-quote-card p {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.onzaga-services__grid,
.onzaga-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.onzaga-service-card,
.onzaga-project-card {
  padding: 1.35rem;
}

.onzaga-service-card h3,
.onzaga-project-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.onzaga-service-card p,
.onzaga-project-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.onzaga-service-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.onzaga-service-card li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--color-text);
  line-height: 1.6;
}

.onzaga-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.onzaga-project-card--visual {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.project-placeholder {
  min-height: 100%;
  border-radius: 22px;
  background: linear-gradient(145deg, #1b3e75, #2a61ab);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
}

.onzaga-firstquote-band__inner,
.onzaga-cta-block__inner {
  padding: 1.2rem 0;
}

.onzaga-firstquote-band__panel {
  padding: 1.35rem;
  display: grid;
  place-items: center;
  gap: 1rem;
}

.onzaga-firstquote-band__panel img {
  width: min(100%, 300px);
}

.onzaga-cta-block__inner {
  border-top: 1px solid rgba(20, 32, 51, 0.08);
}

.onzaga-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 980px) {
  .onzaga-hero__surface,
  .onzaga-intro__grid,
  .onzaga-firstquote-band__inner,
  .onzaga-cta-block__inner,
  .onzaga-project-card--visual {
    grid-template-columns: 1fr;
  }

  .onzaga-services__grid,
  .onzaga-projects__grid,
  .onzaga-strip__grid {
    grid-template-columns: 1fr;
  }

  .onzaga-project-card--visual {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .onzaga-hero__surface {
    padding: 1rem;
  }

  .onzaga-hero__copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .onzaga-section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .onzaga-hero__actions,
  .onzaga-cta-block__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .onzaga-hero__actions .button,
  .onzaga-cta-block__actions .button {
    width: 100%;
    justify-content: center;
  }

  .media-panel,
  .media-panel--secondary,
  .project-placeholder {
    min-height: 160px;
  }
}

.page-home-v3 .section {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.onzaga-hero--minimal .onzaga-hero__surface {
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  min-height: 68vh;
  align-items: stretch;
}

.onzaga-hero__surface--minimal {
  padding: 1rem;
}

.onzaga-hero__copy--minimal {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 0.5rem 1rem 0.4rem;
}

.onzaga-hero__copy--minimal h1 {
  max-width: 9ch;
}

.onzaga-hero__copy--minimal p {
  max-width: 34ch;
  font-size: 1rem;
}

.onzaga-hero__media--single {
  grid-template-rows: 1fr;
}

.media-panel--hero-landscape {
  min-height: 100%;
  background:
    linear-gradient(155deg, rgba(22, 62, 122, 0.28), rgba(22, 62, 122, 0.1)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #7f9b69 0%, #5a7a55 26%, #294b5d 62%, #18335f 100%);
}

.onzaga-strip--minimal .onzaga-strip__grid article,
.onzaga-services--minimal .onzaga-service-card,
.onzaga-projects--minimal .onzaga-project-card,
.onzaga-firstquote-band__panel--minimal,
.onzaga-quote-card--minimal {
  border-radius: 22px;
}

.onzaga-visual-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  gap: 0.9rem;
  align-items: end;
}

.onzaga-section-heading--minimal h2 {
  max-width: 14ch;
}

.onzaga-quote-card--minimal {
  padding: 1.2rem 1.25rem;
}

.onzaga-quote-card--minimal p {
  font-size: 1.05rem;
  line-height: 1.45;
}

.onzaga-services--minimal .onzaga-service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.onzaga-services--minimal .onzaga-service-card p {
  max-width: 26ch;
}

.onzaga-projects__grid--minimal {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
}

.onzaga-project-card--wide {
  min-height: 360px;
}

.project-placeholder--sustainability {
  background:
    linear-gradient(145deg, rgba(22, 62, 122, 0.18), rgba(22, 62, 122, 0.04)),
    linear-gradient(135deg, #7f8d56 0%, #6fa07d 30%, #45727c 58%, #24456f 100%);
}

.onzaga-firstquote-band--minimal .onzaga-firstquote-band__inner,
.onzaga-cta-block--minimal .onzaga-cta-block__inner {
  align-items: center;
}

.onzaga-firstquote-band--minimal p,
.onzaga-cta-block--minimal h2,
.onzaga-projects--minimal p,
.onzaga-services--minimal p {
  max-width: 34ch;
}

.onzaga-firstquote-band__panel--minimal {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,243,252,0.98));
}

@media (max-width: 980px) {
  .onzaga-hero--minimal .onzaga-hero__surface,
  .onzaga-visual-statement__grid,
  .onzaga-projects__grid--minimal {
    grid-template-columns: 1fr;
  }

  .onzaga-hero--minimal .onzaga-hero__surface {
    min-height: auto;
  }

  .onzaga-hero__copy--minimal {
    justify-content: flex-start;
    padding: 0.4rem;
  }
}

@media (max-width: 680px) {
  .onzaga-hero__copy--minimal h1,
  .onzaga-section-heading--minimal h2 {
    max-width: none;
  }

  .onzaga-services--minimal .onzaga-service-card,
  .onzaga-project-card--wide,
  .onzaga-firstquote-band__panel--minimal {
    min-height: 0;
  }
}

.page-home-v4,
.page-about-v4,
.page-firstquote-v4,
.page-contact-v4 {
  background:
    radial-gradient(circle at top left, rgba(36, 87, 166, 0.12), transparent 28%),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 22%, #f3f8ff 100%);
}

.page-home-v4 .brand img,
.page-about-v4 .brand img,
.page-firstquote-v4 .brand img,
.page-contact-v4 .brand img {
  height: 52px !important;
  max-width: 258px !important;
}

.button--hero {
  padding: 0.95rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(17, 34, 68, 0.18);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.nexo3-hero__frame {
  position: relative;
  min-height: 76vh;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 28, 56, 0.74), rgba(24, 58, 111, 0.38)),
    linear-gradient(135deg, #3a5e4b 0%, #5f7b57 22%, #8ea171 44%, #3e6772 70%, #1b3b66 100%);
  box-shadow: 0 30px 70px rgba(17, 34, 68, 0.18);
}

.nexo3-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.1), rgba(8, 18, 36, 0.42));
}

.nexo3-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  height: 100%;
  padding: 2rem;
  max-width: 640px;
  color: #fff;
}

.nexo3-hero__overlay h1 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.nexo3-hero__overlay p {
  margin: 0;
  max-width: 32ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.nexo3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.nexo3-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 1rem;
  align-items: start;
}

.nexo3-statement__copy h2 {
  margin: 0;
  max-width: 12ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.nexo3-pillars {
  display: grid;
  gap: 0.9rem;
}

.nexo3-pillar {
  padding: 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(17, 34, 68, 0.08);
}

.nexo3-pillar h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.nexo3-pillar p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.about-v4-intro__surface {
  padding: 1.8rem 0 1rem;
}

.about-v4-intro__surface h1,
.about-v4-collaborators h2,
.firstquote-v4-products h2,
.contact-v4__info-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about-v4-intro__surface p {
  max-width: 38ch;
  margin: 0.9rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-v4-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-hover-card {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 18px 46px rgba(17, 34, 68, 0.08);
}

.team-hover-card__role {
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.team-hover-card__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #eef4ff;
}

.team-hover-card__image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.team-hover-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(24, 62, 122, 0.02), rgba(24, 62, 122, 0.92));
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-hover-card__overlay p {
  margin: 0;
  line-height: 1.55;
}

.team-hover-card:hover .team-hover-card__overlay {
  opacity: 1;
}

.team-hover-card:hover .team-hover-card__image-wrap img {
  transform: scale(1.03);
  filter: saturate(0.92);
}

.team-hover-card h2 {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
}

.about-v4-collaborators .logo-grid {
  margin-top: 1rem;
}

.firstquote-v4-hero__surface {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 34px;
  background: linear-gradient(145deg, #102446 0%, #1f4b89 42%, #2d6dc2 100%);
  color: #fff;
  box-shadow: 0 30px 70px rgba(17, 34, 68, 0.18);
}

.firstquote-v4-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 0.6rem;
}

.firstquote-v4-brand {
  width: min(100%, 320px);
  margin-bottom: 0.9rem;
}

.firstquote-v4-hero__copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.firstquote-v4-hero__copy p {
  max-width: 32ch;
  margin: 0.8rem 0 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

.firstquote-v4-hero__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 0.9rem;
}

.firstquote-visual-panel,
.firstquote-product-card__media {
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #0f203d 0%, #1d4d86 42%, #3480df 100%);
  border: 1px solid rgba(255,255,255,0.14);
}

.firstquote-visual-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.firstquote-visual-panel--secondary {
  min-height: 360px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #102446 0%, #14406d 42%, #2461a5 100%);
}

.firstquote-visual-panel span {
  color: rgba(255,255,255,0.74);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.firstquote-v4-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.firstquote-product-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 18px 46px rgba(17, 34, 68, 0.08);
}

.firstquote-product-card__media {
  min-height: 240px;
}

.firstquote-product-card__media--matcher {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #18325f 0%, #2456a6 55%, #7caef1 100%);
}

.firstquote-product-card__media--app {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #304f3b 0%, #567f5c 42%, #8cad86 100%);
}

.firstquote-product-card__body {
  padding: 1.2rem;
}

.firstquote-product-card__body h2 {
  margin-bottom: 0.55rem;
}

.firstquote-product-card__body p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.68;
}

.contact-v4__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 1rem;
  align-items: start;
}

.contact-v4__form-card,
.contact-v4__info-card {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 18px 46px rgba(17, 34, 68, 0.08);
}

.contact-v4__links {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-v4__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(239, 245, 255, 0.95);
  font-weight: 700;
}

.contact-v4__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
}

.contact-v4__icon--wa {
  background: #18b46b;
}

.contact-v4__icon--mail {
  background: var(--color-primary);
}

.contact-v4__flag {
  font-size: 1.2rem;
}

.contact-v4__link--email {
  margin-top: 0.2rem;
}

@media (max-width: 980px) {
  .nexo3-statement__grid,
  .about-v4-team__grid,
  .firstquote-v4-hero__surface,
  .firstquote-v4-hero__visual,
  .firstquote-v4-products__grid,
  .contact-v4__grid {
    grid-template-columns: 1fr;
  }

  .nexo3-statement__copy h2,
  .firstquote-v4-hero__copy h1 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .page-home-v4 .brand img,
  .page-about-v4 .brand img,
  .page-firstquote-v4 .brand img,
  .page-contact-v4 .brand img {
    height: 42px !important;
    max-width: 210px !important;
  }

  .nexo3-hero__frame {
    min-height: 66vh;
  }

  .nexo3-hero__overlay,
  .firstquote-v4-hero__copy {
    padding: 1rem;
  }

  .nexo3-hero__overlay h1,
  .nexo3-statement__copy h2,
  .about-v4-intro__surface h1,
  .firstquote-v4-hero__copy h1,
  .contact-v4__info-card h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .team-hover-card__image-wrap img {
    height: 320px;
  }

  .firstquote-visual-panel,
  .firstquote-visual-panel--secondary,
  .firstquote-product-card__media {
    min-height: 180px;
  }
}

.nexo3-hero__frame {
  background:
    linear-gradient(120deg, rgba(11, 28, 56, 0.62), rgba(24, 58, 111, 0.26)),
    url("../images/bg-malaga-hero.png") center/cover no-repeat !important;
}

.project-placeholder--sustainability {
  background:
    linear-gradient(145deg, rgba(22, 62, 122, 0.22), rgba(22, 62, 122, 0.06)),
    url("../images/bg-sanrafael-landscape.png") center/cover no-repeat !important;
}

.firstquote-visual-panel--main {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.28), rgba(8,18,36,0.08)),
    url("../images/bg-office-engineers.png") center/cover no-repeat !important;
}

.firstquote-visual-panel--secondary {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.44), rgba(8,18,36,0.12)),
    url("../images/bg-firstquote-ui.png") center/cover no-repeat !important;
}

.firstquote-product-card__media--matcher {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.34), rgba(8,18,36,0.08)),
    url("../images/bg-firstquote-ui.png") center/cover no-repeat !important;
}

.firstquote-product-card__media--app {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.26), rgba(8,18,36,0.08)),
    url("../images/bg-office-engineers.png") center/cover no-repeat !important;
}

.project-placeholder span,
.firstquote-visual-panel span {
  display: none;
}

.nexo3-home-cta {
  padding-top: 0.2rem;
}

.nexo3-home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 26px;
  background: linear-gradient(135deg, #17345f 0%, #2457a6 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(17, 34, 68, 0.16);
}

.nexo3-home-cta__inner h2 {
  margin: 0;
  max-width: 18ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.team-hover-card__image-wrap {
  max-width: 260px;
  margin: 0 auto;
}

.team-hover-card__image-wrap img {
  height: 240px;
}

.firstquote-v4-brand--negative {
  filter: brightness(0) invert(1);
}

.site-footer__inner {
  gap: 1.2rem;
}

.footer-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.firstquote-product-card__media--matcher {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.34), rgba(8,18,36,0.08)),
    url("../images/bg-matcher-dual-monitors.png") center/cover no-repeat !important;
}

@media (max-width: 680px) {
  .team-hover-card__image-wrap img {
    height: 210px;
  }

  .nexo3-home-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nexo3-home-cta__inner .button {
    width: 100%;
    justify-content: center;
  }
}

.firstquote-product-card__media--custom {
  background:
    linear-gradient(145deg, rgba(8,18,36,0.30), rgba(8,18,36,0.08)),
    url("../images/bg-custom-software.png") center/cover no-repeat !important;
}

@media (max-width: 1180px) {
  .firstquote-v4-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.about-v4-team__grid {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: start;
  gap: 0.85rem;
}

.team-hover-card {
  width: 100%;
  max-width: 340px;
  padding: 0.85rem;
}

.team-hover-card__role,
.team-hover-card h2 {
  text-align: left;
}

.team-hover-card__image-wrap {
  max-width: 220px;
  margin: 0;
}

.team-hover-card__image-wrap img {
  height: 220px;
  object-position: center top;
}

.team-hover-card__overlay {
  align-items: flex-end;
  text-align: left;
}

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

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

  .team-hover-card {
    max-width: 320px;
  }

  .team-hover-card__image-wrap {
    max-width: 200px;
  }

  .team-hover-card__image-wrap img {
    height: 200px;
  }
}

.firstquote-v4-brand {
  width: min(100%, 420px) !important;
  margin-bottom: 1rem;
}

.firstquote-card-logo {
  width: min(100%, 280px) !important;
}

@media (max-width: 680px) {
  .firstquote-v4-brand {
    width: min(100%, 300px) !important;
  }
}

a.button,
a.button--primary,
a.button--outline,
a.button--ghost {
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 16px 36px rgba(17, 34, 68, 0.18) !important;
}

a.button:hover,
a.button--primary:hover,
a.button--outline:hover,
a.button--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(17, 34, 68, 0.24) !important;
}

.nexo3-home-cta__inner {
  padding: 1.8rem 2rem;
}

.nexo3-home-cta__inner h2 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.06em;
}

.nexo3-home-cta__inner .button {
  background: #ffffff !important;
  color: var(--color-primary-dark) !important;
  border: 1px solid rgba(255,255,255,0.74) !important;
  box-shadow: 0 22px 46px rgba(9, 22, 43, 0.22) !important;
}

.collaborator-mark--hermon img {
  max-height: 74px;
}

.firstquote-v4-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.7rem;
  border-radius: 26px;
  background: linear-gradient(135deg, #15335f 0%, #2457a6 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(17, 34, 68, 0.14);
}

.firstquote-v4-cta__inner h2 {
  margin: 0;
  max-width: 17ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

@media (max-width: 980px) {
  .firstquote-v4-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .nexo3-home-cta__inner,
  .firstquote-v4-cta__inner {
    padding: 1.25rem;
  }

  .nexo3-home-cta__inner h2,
  .firstquote-v4-cta__inner h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .firstquote-v4-cta__inner .button,
  .nexo3-home-cta__inner .button {
    width: 100%;
    justify-content: center;
  }
}

/* Final button consistency */
a.button,
a.button--primary,
a.button--outline,
a.button--ghost,
.header-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 16px 36px rgba(17, 34, 68, 0.18) !important;
}

.nexo3-home-cta__inner .button,
.firstquote-v4-cta__inner .button {
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 18px 38px rgba(17, 34, 68, 0.22) !important;
}

.nexo3-home-cta__inner h2,
.firstquote-v4-cta__inner h2 {
  max-width: 22ch;
}

.collaborator-mark--hermon img {
  max-height: 82px !important;
}

/* Mobile final pass */
@media (max-width: 820px) {
  .site-header__inner {
    min-height: 62px;
    gap: 0.7rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .page-home-v4 .brand img,
  .page-about-v4 .brand img,
  .page-firstquote-v4 .brand img,
  .page-contact-v4 .brand img {
    height: 34px !important;
    max-width: 168px !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.9rem;
    font-size: 0.92rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0.625rem;
    left: 0.625rem;
    z-index: 60;
    padding: 0.85rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.985);
    border: 1px solid rgba(20,32,51,0.08);
    box-shadow: 0 20px 46px rgba(15, 28, 52, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav__links,
  .site-nav__meta,
  .language-switcher {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.45rem;
    padding: 0;
    background: transparent;
  }

  .site-nav__links a,
  .language-switcher button,
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .site-nav__links a,
  .language-switcher button {
    background: rgba(234, 241, 251, 0.78);
  }

  .nexo3-hero__frame {
    min-height: 60vh;
    border-radius: 24px;
  }

  .nexo3-hero__overlay,
  .firstquote-v4-hero__copy,
  .about-v4-intro__surface,
  .contact-v4__form-card,
  .contact-v4__info-card {
    padding: 1rem !important;
  }

  .nexo3-hero__overlay h1,
  .nexo3-statement__copy h2,
  .about-v4-intro__surface h1,
  .firstquote-v4-hero__copy h1,
  .contact-v4__info-card h2,
  .nexo3-home-cta__inner h2,
  .firstquote-v4-cta__inner h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    max-width: none;
  }

  .nexo3-statement__grid,
  .about-v4-team__grid,
  .firstquote-v4-hero__surface,
  .firstquote-v4-hero__visual,
  .firstquote-v4-products__grid,
  .contact-v4__grid,
  .logo-grid {
    grid-template-columns: 1fr !important;
  }

  .team-hover-card {
    max-width: 100%;
    width: 100%;
    padding: 0.8rem;
  }

  .team-hover-card__image-wrap {
    max-width: 180px;
    margin: 0;
  }

  .team-hover-card__image-wrap img {
    height: 190px !important;
  }

  .firstquote-v4-brand {
    width: min(100%, 250px) !important;
  }

  .firstquote-visual-panel,
  .firstquote-visual-panel--secondary,
  .firstquote-product-card__media {
    min-height: 170px !important;
  }

  .nexo3-home-cta__inner,
  .firstquote-v4-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .nexo3-home-cta__inner .button,
  .firstquote-v4-cta__inner .button {
    width: 100%;
    justify-content: center;
  }
}
