/* ============================================
   RIGA Impulsora - S00064
   style.css - Hoja de estilos principal
   Direccion visual: editorial / tecnica / premium, compacta y legible
   Tipografia: Archivo (titulares), Inter (texto), IBM Plex Mono (labels)
============================================ */

/* --- Reset básico --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- Variables --- */
:root {
  --color-primary: #0c2551;
  --color-primary-dark: #081a3a;
  --color-blue: #044baa;
  --color-accent: #f3b802;
  --color-text: #14181f;
  --color-text-light: #5c6472;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f5f8;
  --color-border: #dfe3ea;
  --color-border-dark: rgba(255, 255, 255, 0.18);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container-width: 1280px;
  --gutter: 60px;
  --radius: 2px;
  --section-padding: 72px;
  --row-gap: 48px;
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-blue);
}

.measure {
  max-width: 56ch;
  color: var(--color-text-light);
}

/* --- Iconos SVG (sprite en el HTML). Tamaño y color se controlan aca. --- */
.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   SISTEMA COMPARTIDO DE SECCION
   Usado por: Nosotros, Servicios, Profesionales, Proyectos, Contacto.
   Misma grilla, mismo ancho maximo y mismo ritmo de espaciado en todas.
============================================ */
.section {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--color-border);
}

.section--dark {
  border-top-color: var(--color-border-dark);
  background: var(--color-primary-dark);
  color: #fff;
}

.section--dark .measure {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .label {
  color: var(--color-accent);
}

.section-head {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--color-primary);
  margin: 12px 0 14px;
}

.section--dark .section-head h2 {
  color: #fff;
}

.section-head h2 em {
  font-style: normal;
  color: var(--color-accent);
}

/* Fila de dos columnas: lista de contenido + imagen. Misma proporcion en toda la landing. */
.split-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--row-gap);
  align-items: start;
}

.split-row__list {
  display: grid;
  gap: 22px;
  align-content: start;
}

/* Mini-pillar: mismo componente de label + texto corto reutilizado en Nosotros */
.mini-pillar {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.mini-pillar .label {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.mini-pillar p:last-child {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Media-block: imagen principal + miniaturas contenidas, sin salirse de la grilla */
.media-block__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-block__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.media-block__thumbs img {
  flex: 1;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Scroll reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- Botones / links --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--fill {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.btn--fill:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn--sm {
  padding: 12px 22px;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 20px 32px;
  gap: 14px;
}

.btn--lg .icon {
  width: 26px;
  height: 26px;
}

.btn--lg small {
  display: block;
  font-weight: 500;
  opacity: 0.75;
  font-size: 0.78em;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 2px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.link-arrow .icon {
  transition: transform 0.25s ease;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow--light {
  color: #fff;
}

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
  backdrop-filter: blur(6px);
}

.header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  display: flex;
  align-items: center;
}

.header__logo {
  height: 66px;
  width: auto;
}

.header__logo--light {
  display: none;
}

.site-header.is-scrolled .header__logo--dark {
  display: none;
}

.site-header.is-scrolled .header__logo--light {
  display: block;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav a {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .header__nav a {
  color: var(--color-text);
}

.header__nav a:hover {
  color: var(--color-accent);
}

.header__nav-cta a {
  color: var(--color-primary) !important;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.header__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled .header__toggle span {
  background: var(--color-primary);
}

/* ============================================
   HERO
   (concepto aprobado, no modificar: solo compactado)
============================================ */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--color-primary);
  overflow: hidden;
}

.hero__ghost {
  position: absolute;
  top: -6vw;
  left: -2vw;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero__text {
  position: relative;
  z-index: 1;
  padding: 108px var(--gutter) 56px max(80px, calc((100vw - var(--container-width)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero__text .label {
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  color: #fff;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero__lead {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.hero__media {
  position: relative;
  min-height: 280px;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 37, 81, 0.15) 0%, rgba(12, 37, 81, 0.55) 100%);
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ============================================
   NOSOTROS
============================================ */
.about {
  background: var(--color-bg);
}

.about__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-blue);
  margin-top: 4px;
}

/* Trayectoria: cifra destacada + texto de apoyo */
.about__stat {
  display: flex;
  align-items: center;
  gap: 22px;
}

.about__stat-figure {
  flex-shrink: 0;
}

.about__stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--color-primary);
  line-height: 0.9;
}

.about__stat-figure::after {
  content: "";
  display: block;
  width: 26px;
  height: 4px;
  background: var(--color-accent);
  margin: 10px 0 8px;
}

.about__stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  line-height: 1.3;
}

.about__stat-text {
  color: var(--color-text-light);
  font-size: 0.94rem;
}

/* Misión / Visión: dos modulos independientes, misma linea visual */
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.about__value {
  padding-right: 24px;
  border-right: 1px solid var(--color-border);
}

.about__value:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 24px;
}

.about__value-icon {
  width: 26px;
  height: 26px;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.about__value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.about__value p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.about__media {
  margin-top: -18px;
}

/* ============================================
   SERVICIOS
============================================ */
.services {
  background: var(--color-bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.service-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-card__body > p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-card__details {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.service-card__details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
}

.service-card__details summary::-webkit-details-marker {
  display: none;
}

.service-row__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-row__icon::before,
.service-row__icon::after {
  content: "";
  position: absolute;
  background: var(--color-blue);
  transition: transform 0.3s ease;
}

.service-row__icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.service-row__icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.service-card__details[open] .service-row__icon::after {
  transform: rotate(90deg);
}

.service-card__details-content {
  margin-top: 14px;
}

.service-card__details-content p,
.service-card__details-content ul {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.service-card__details-content ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.service-card__details-content strong {
  color: var(--color-text);
}

/* ============================================
   SOMOS PROFESIONALES
   Fondo tecnico sutil (grilla tipo plano) + acentos amarillos
============================================ */
.statement {
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.statement .container {
  position: relative;
}

.statement__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--row-gap);
  align-items: start;
}

.statement .media-block__main {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.statement__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.statement blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  border-left: 2px solid var(--color-accent);
  padding-left: 18px;
}

.statement .media-block {
  position: relative;
}

.statement .media-block::before,
.statement .media-block::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-accent);
  pointer-events: none;
}

.statement .media-block::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}

.statement .media-block::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

.stats {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border-dark);
}

.stat {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 18px;
}

.stat .label {
  color: rgba(255, 255, 255, 0.6);
}

.stat__bar {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  text-align: right;
}

.stat__fill {
  height: 100%;
  width: 0;
  background: var(--color-accent);
  border-radius: 999px;
  transition: width 1.2s ease;
}

/* ============================================
   PROYECTOS
   Cada proyecto en un bloque independiente: galeria/slider + informacion.
   Sin numeracion ni CTA repetido por proyecto.
============================================ */
.projects__list {
  display: grid;
  gap: 32px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.project-card:nth-child(even) .project-card__gallery {
  order: 2;
}

.project-card:nth-child(even) .project-card__body {
  order: 1;
}

/* --- Galeria / slider --- */
.project-card__gallery {
  position: relative;
  aspect-ratio: 4 / 3.3;
  background: var(--color-bg-alt);
}

.project-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.project-card__slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.project-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.project-card__nav:hover {
  background: #fff;
}

.project-card__nav .icon {
  width: 18px;
  height: 18px;
}

.project-card__nav--prev {
  left: 12px;
}

.project-card__nav--next {
  right: 12px;
}

.project-card__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.project-card__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.project-card__dots button.is-active {
  width: 18px;
  background: #fff;
}

/* --- Informacion del proyecto --- */
.project-card__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card__tag {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.project-card__body h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.project-card__body p,
.project-card__body li {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.project-card__body ul {
  display: grid;
  gap: 6px;
}

.project-card__body ul li::before {
  content: "— ";
  color: var(--color-blue);
}

.projects__cta {
  margin-top: 48px;
  text-align: center;
}

.projects__cta-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ============================================
   CONTACTO
============================================ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 26, 58, 0.93) 0%, rgba(8, 26, 58, 0.93) 100%),
    url('../img/S00064-014.webp') center / cover no-repeat;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.contact__intro h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #fff;
  margin: 12px 0 20px;
}

.contact__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact__lines a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.contact__lines a:hover {
  color: var(--color-accent);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
  border-top: 1px solid var(--color-border-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 24px;
}

.footer__logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
}

.footer__links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__links a {
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__contact a,
.footer__contact p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
}

.footer__social a:hover {
  color: var(--color-accent);
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
============================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float .icon {
  width: 26px;
  height: 26px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ============================================
   RESPONSIVE
   Móvil:   hasta 599px
   Tablet:  600px - 1023px
   Desktop: 1024px en adelante
============================================ */

@media (max-width: 1023px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 26px;
    width: 100%;
    padding: 0 24px;
    text-align: center;
  }

  .header__nav a {
    font-size: 1.3rem;
    color: #fff;
  }

  .header__nav-cta {
    margin-top: 10px;
  }

  .header__nav-cta a {
    color: var(--color-primary) !important;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 36vh;
  }

  .hero__text {
    padding: 120px var(--gutter) 48px;
  }

  .split-row {
    grid-template-columns: 1fr;
  }

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

  .statement__media {
    order: -1;
  }

  .statement .media-block__main {
    aspect-ratio: 4 / 3;
    height: auto;
  }

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

  .about__value {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0 0 18px;
    margin-bottom: 18px;
  }

  .about__value:last-child {
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
  }

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

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-card__gallery,
  .project-card:nth-child(even) .project-card__body {
    order: 0;
  }

  .project-card__body {
    padding: 28px;
  }

  .contact__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .about__stat {
    align-items: flex-start;
    gap: 16px;
  }

  .about__stat-number {
    font-size: 2.4rem;
  }

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

  .project-card__body {
    padding: 22px;
  }

  .project-card__nav {
    width: 30px;
    height: 30px;
  }

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

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}
