/* ============================================================
   Almeida Engenharia | Design System
   Mobile-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0e1a2b;
  --navy-2: #16263d;
  --cream: #f7f1e7;
  --cream-2: #fbf7f0;
  --red: #d42e3f;
  --red-dark: #ac1f2d;
  --red-soft: #fbe4e6;
  --gold: #d4a417;
  --gold-dark: #a97f10;
  --ink: #191a1e;
  --muted: #6b7280;
  --line: #e7e0d3;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .16);
  --container: 1180px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: 1.15;
  font-family: 'Poppins', sans-serif;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

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

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

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

button {
  border: none;
  font-family: inherit;
  cursor: pointer;
}

input,
textarea {
  font-family: inherit;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.hidden-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    color .15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 8px 20px rgba(212, 46, 63, .35);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-dark-outline {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
}

.btn-dark-outline:hover {
  color: var(--white);
  background: var(--navy);
}

.btn-block {
  width: 100%;
}

@media (min-width: 640px) {
  .btn {
    padding: 14px 26px;
    font-size: .96rem;
    white-space: nowrap;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  font-weight: 700;
}

.brand .mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 9px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .brand {
    gap: 10px;
    font-size: 1.05rem;
  }

  .brand .mark {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .brand small {
    font-size: .68rem;
  }
}

.main-nav {
  position: fixed;
  inset: 66px 12px auto 12px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-height: calc(100vh - 90px);
  padding: 14px;
  overflow-y: auto;
  visibility: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: all .18s ease;
}

.main-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav a {
  width: 100%;
  padding: 10px 8px;
  color: var(--navy);
  font-size: .94rem;
  font-weight: 500;
  opacity: .85;
  transition: opacity .15s ease, color .15s ease;
}

.main-nav a:hover {
  color: var(--red);
  opacity: 1;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: all .2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  content: '';
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  padding: 10px 14px;
  font-size: .8rem;
}

.header-actions .btn svg {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    max-height: none;
    padding: 0;
    overflow: visible;
    visibility: visible;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    width: auto;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions {
    gap: 16px;
  }

  .header-actions .btn {
    padding: 14px 26px;
    font-size: .96rem;
  }

  .header-actions .btn svg {
    display: inline;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 52px 0;
}

.section.tight {
  padding: 44px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 88px 0;
  }

  .section.tight {
    padding: 64px 0;
  }
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 700;
}

.section-label .dot {
  width: 12px;
  height: 12px;
  flex: none;
  background: var(--red);
  border-radius: 3px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
}

.section-sub {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  color: var(--red-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--red-soft);
  border-radius: 999px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
    120% 140% at 100% 0%,
    #1b2c47 0%,
    var(--navy) 55%
  );
}

.hero-flex {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-copy {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 16px 32px;
}

.hero-tag {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--red);
  border-radius: 6px;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 9vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.hero .hero-subtitle {
  margin-bottom: 14px;
  color: #ffd9c2;
  font-size: 1.02rem;
  font-weight: 600;
}

.hero .hero-desc {
  max-width: 480px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .72);
  font-size: .96rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero-copy {
    padding: 36px 24px;
  }

  .hero-tag {
    margin-bottom: 22px;
    padding: 7px 16px;
    font-size: .78rem;
  }

  .hero .hero-subtitle {
    margin-bottom: 16px;
    font-size: 1.15rem;
  }

  .hero .hero-desc {
    margin-bottom: 26px;
    font-size: 1.02rem;
  }
}

@media (min-width: 1024px) {
  .hero-flex {
    flex-direction: row;
    min-height: 820px;
  }

  .hero-copy {
    order: 0;
    flex: 1 1 52%;
    max-width: 620px;
    padding: 60px 32px 60px max(24px, calc((100vw - var(--container)) / 2 + 24px));
    box-sizing: content-box;
    z-index: 3;
  }
}

.investor-box {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: linear-gradient(
    180deg,
    rgba(212, 164, 23, .14),
    rgba(212, 164, 23, .05)
  );
  border: 1px solid rgba(212, 164, 23, .55);
  border-radius: var(--radius-sm);
}

.investor-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--gold);
  background: rgba(212, 164, 23, .16);
  border-radius: 10px;
}

.investor-box .icon svg {
  width: 22px;
  height: 22px;
}

.investor-box .label {
  margin-bottom: 2px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.investor-box strong {
  display: block;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
}

.investor-box .badge-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #ffe9a8;
  font-size: .8rem;
  font-weight: 600;
}

.investor-box .badge-time svg {
  width: 14px;
  height: 14px;
  flex: none;
}

@media (min-width: 640px) {
  .investor-box {
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
  }

  .investor-box .icon {
    width: 46px;
    height: 46px;
  }

  .investor-box .icon svg {
    width: 24px;
    height: 24px;
  }

  .investor-box .label {
    font-size: .78rem;
  }

  .investor-box strong {
    font-size: 1.15rem;
  }

  .investor-box .badge-time {
    font-size: .82rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .hero-cta {
    margin-bottom: 34px;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  container-type: inline-size;
}

.stat-pill svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--red);
}

.stat-pill strong {
  display: block;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(.68rem, 8cqi, 1.05rem);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stat-pill span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .6);
  font-size: clamp(.62rem, 6cqi, .76rem);
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .stat-pill svg {
    width: 20px;
    height: 20px;
  }
}

.hero-visual {
  position: relative;
  order: 1;
  height: 380px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(14, 26, 43, 0) 45%,
      rgba(14, 26, 43, .85) 100%
    ),
    linear-gradient(
      200deg,
      #33507a 0%,
      #1c3050 45%,
      #0d1826 100%
    );
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: '';
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    rgba(14, 26, 43, .3) 10%,
    transparent 35%
  );
  pointer-events: none;
}

.hero-visual .building-illustration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.hero-visual .building-illustration img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 8%;
}

.hero-visual .building-illustration svg {
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: bottom;
}

.hero-visual .caption {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 3;
  color: rgba(255, 255, 255, .75);
  font-size: .64rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

@media (min-width: 480px) {
  .hero-visual {
    height: 480px;
  }
}

@media (min-width: 640px) {
  .hero-visual .caption {
    right: 18px;
    bottom: 14px;
    font-size: .68rem;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    order: 0;
    height: auto;
    flex: 1 1 48%;
  }
}

/* ---------- Feature / icon grid ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 14px;
}

@media (min-width: 640px) {
  .about-copy p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: .9fr 1.5fr;
    gap: 48px;
  }
}

.icon-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.icon-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 10px;
}

.icon-card .ic svg {
  width: 18px;
  height: 18px;
}

.icon-card h4 {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
}

.icon-card p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .icon-grid {
    gap: 14px;
  }

  .icon-row {
    gap: 14px;
  }

  .icon-card {
    gap: 10px;
    padding: 18px;
  }

  .icon-card .ic {
    width: 42px;
    height: 42px;
  }

  .icon-card .ic svg {
    width: 20px;
    height: 20px;
  }

  .icon-card h4 {
    font-size: .96rem;
  }

  .icon-card p {
    font-size: .82rem;
  }
}

@media (min-width: 1024px) {
  .icon-row.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

/* ---------- Diferenciais ---------- */

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.diff-card {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.diff-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.diff-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
}

.diff-card .ic svg {
  width: 22px;
  height: 22px;
}

.diff-card h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.diff-card p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .diff-card {
    padding: 26px 22px;
  }

  .diff-card .ic {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .diff-card .ic svg {
    width: 24px;
    height: 24px;
  }

  .diff-card h4 {
    font-size: 1.02rem;
  }

  .diff-card p {
    font-size: .88rem;
  }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   Plantas
   ============================================================ */

.plantas-scroller {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.planta-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.planta-card:hover {
  border-color: rgba(212, 46, 63, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.planta-card:active {
  transform: translateY(-1px);
}

.planta-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

/* Área da miniatura */
.planta-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  background: #f8f9fb;
}

/*
  O scale aumenta a planta caso o PNG tenha
  margens internas brancas ou transparentes.
*/
.planta-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
  transition: transform .25s ease;
}

.planta-card:hover .planta-thumb img {
  transform: scale(1.28);
}

/* Etiqueta de metragem */
.planta-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 12px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

/* Conteúdo do card */
.planta-body {
  padding: 16px 18px 20px;
}

.planta-body h4 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.planta-body p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Modal das plantas ---------- */

.planta-modal {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 24px;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}

.planta-modal::backdrop {
  background: rgba(15, 23, 42, .84);
  backdrop-filter: blur(4px);
}

.planta-modal-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(94vh - 48px);
  object-fit: contain;
  border-radius: 8px;
}

.planta-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.planta-modal-close:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

.planta-modal-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .plantas-scroller {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .planta-body {
    padding: 14px 16px 18px;
  }

  .planta-body h4 {
    font-size: 1rem;
  }

  .planta-body p {
    font-size: .84rem;
  }

  .planta-modal {
    width: calc(100vw - 24px);
    max-height: 94vh;
    padding: 12px;
    border-radius: 12px;
  }

  .planta-modal-image {
    max-height: calc(94vh - 24px);
  }

  .planta-modal-close {
    top: -12px;
    right: -8px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .plantas-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .plantas-scroller {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .planta-body {
    padding: 16px 18px 20px;
  }

  .planta-body h4 {
    font-size: 1.05rem;
  }

  .planta-body p {
    font-size: .82rem;
  }
}

/* ---------- Localização ---------- */

.location-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.location-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.map-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e3d5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.location-info address {
  font-style: normal;
}

.location-info .addr-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 600;
}

.location-info .addr-line span {
  min-width: 0;
  overflow-wrap: break-word;
}

.location-info .addr-line svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--red);
}

.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  color: #3b3f45;
  font-size: .9rem;
  border-bottom: 1px dashed var(--line);
}

.location-list li:last-child {
  border-bottom: 0;
}

.location-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--red);
}

@media (min-width: 640px) {
  .location-col {
    gap: 28px;
  }

  .location-info .addr-line {
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.05rem;
  }

  .location-info .addr-line svg {
    width: 22px;
    height: 22px;
  }

  .location-list li {
    gap: 12px;
    font-size: .94rem;
  }
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .location-contact-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 32px;
  }
}

/* ---------- Contact / lead form ---------- */

.lead-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 22px;
  color: #fff;
  background: var(--navy);
  border-radius: 20px;
}

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

.lead-section--compact .lead-copy {
  margin-bottom: 18px;
}

.lead-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 700;
}

.lead-copy p {
  color: rgba(255, 255, 255, .7);
  font-size: .94rem;
  line-height: 1.7;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  color: #fff;
  font-size: .92rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, .12);
  border-color: var(--red);
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
  color: rgba(255, 255, 255, .5);
  font-size: .72rem;
}

.form-note svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
}

.form-feedback {
  min-height: 18px;
  font-size: .84rem;
  font-weight: 600;
}

.form-feedback.ok {
  color: #8de3a3;
}

.form-feedback.err {
  color: #ff9c9c;
}

@media (min-width: 640px) {
  .lead-section {
    padding: 34px;
    border-radius: 24px;
  }

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

  .lead-section--compact .lead-copy {
    margin-bottom: 22px;
  }

  .form-input {
    padding: 14px 16px;
    font-size: .95rem;
  }

  .form-note {
    font-size: .76rem;
  }
}

@media (min-width: 1024px) {
  .lead-section {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
  }

  .lead-section.lead-section--compact {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 32px;
  padding: 40px 0 22px;
  color: rgba(255, 255, 255, .7);
  background: var(--navy-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-grid h5 {
  margin-bottom: 14px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: .86rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand .brand {
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand p {
  max-width: 280px;
  font-size: .85rem;
  line-height: 1.6;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--red);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  transition: background .15s ease;
}

.social-row a:hover {
  background: var(--red);
}

.social-row svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  font-size: .76rem;
}

@media (min-width: 640px) {
  .site-footer {
    margin-top: 40px;
    padding: 56px 0 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-grid h5 {
    margin-bottom: 16px;
  }

  .footer-grid li {
    font-size: .88rem;
  }

  .social-row {
    margin-top: 16px;
  }

  .social-row a {
    width: 36px;
    height: 36px;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 22px;
    font-size: .78rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ---------- Clients ---------- */

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

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.client-card img {
  width: auto;
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(1) opacity(.75);
  transition: filter .2s ease;
}

.client-card:hover img {
  filter: none;
}

.client-card.text-badge {
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .client-card {
    height: 110px;
    padding: 18px 22px;
  }

  .client-card img {
    max-height: 44px;
  }

  .client-card.text-badge {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  content: '';
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 2px;
  left: -24px;
  width: 14px;
  height: 14px;
  content: '';
  background: var(--red);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-item .year {
  margin-bottom: 4px;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-size: .96rem;
  font-weight: 700;
}

.timeline-item p {
  max-width: 480px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .timeline {
    padding-left: 28px;
  }

  .timeline-item {
    padding-bottom: 30px;
  }

  .timeline-item::before {
    left: -28px;
  }

  .timeline-item .year {
    font-size: 1rem;
  }

  .timeline-item p {
    font-size: .92rem;
  }
}

/* ---------- Founder card ---------- */

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-photo {
  width: 140px;
  height: 140px;
  flex: none;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--red-soft);
  border-radius: 50%;
}

.founder-info h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.15rem;
}

.founder-info .role {
  margin-bottom: 12px;
  color: var(--red);
  font-size: .86rem;
  font-weight: 600;
}

.founder-info p {
  max-width: 520px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.founder-info .linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: all .15s ease;
}

.founder-info .linkedin-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.founder-info .linkedin-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

@media (min-width: 860px) {
  .founder-card {
    flex-direction: row;
    gap: 28px;
    padding: 30px;
    text-align: left;
  }

  .founder-info h3 {
    font-size: 1.3rem;
  }

  .founder-info .role {
    font-size: .9rem;
  }

  .founder-info p {
    margin-right: 0;
    margin-left: 0;
    font-size: .92rem;
  }

  .founder-info .linkedin-link {
    font-size: .9rem;
  }
}

/* ---------- Project banner ---------- */

.project-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 26px 22px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, #1c3050 100%);
  border-radius: 20px;
}

.project-banner .eyebrow {
  color: var(--gold);
  background: rgba(212, 164, 23, .18);
}

.project-banner h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 5vw, 2.1rem);
}

.project-banner p {
  max-width: 460px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.7;
}

.project-banner-visual {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(160deg, #2a3f5e, #172943 60%, #0d1826);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

.project-banner-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-banner-visual svg {
  width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .project-banner {
    border-radius: 24px;
  }

  .project-banner p {
    margin-bottom: 20px;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .project-banner {
    grid-template-columns: 1.25fr .75fr;
    gap: 32px;
    padding: 44px;
  }

  .project-banner-visual {
    order: 0;
    max-width: 340px;
    margin-left: auto;
  }
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Utility ---------- */

.text-center {
  text-align: center;
}

.mx-auto {
  margin-right: auto;
  margin-left: auto;
}

.mt-48 {
  margin-top: 32px;
}

@media (min-width: 640px) {
  .mt-48 {
    margin-top: 48px;
  }
}