:root {
  --color-dark: #07111c;
  --color-dark-soft: rgba(7, 17, 28, 0.88);
  --color-white: #ffffff;
  --color-text-light: #e7edf5;
  --color-muted: #b9c3cf;
  --color-accent: #d6007f;
  --color-accent-dark: #9b005d;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-white);
  background-color: var(--color-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(7, 17, 28, 0.82);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 92px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  width: 145px;
  height: auto;
}

.navbar-nav {
  gap: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--color-white);
}

.navbar-dark .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 2px;
  background-color: var(--color-accent);
}

.btn-header {
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.btn-header:hover {
  color: var(--color-white);
  background-color: var(--color-accent);
}

/* Hero */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("../img/hero-veani.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 130px;
  padding-bottom: 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 28, 0.94) 0%,
      rgba(7, 17, 28, 0.78) 32%,
      rgba(7, 17, 28, 0.32) 68%,
      rgba(7, 17, 28, 0.44) 100%
    );
  z-index: 1;
}

.hero-section .container-fluid {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  padding-top: 3rem;
}

.hero-content h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-content h1 span {
  color: var(--color-accent);
}

.hero-line {
  width: 90px;
  height: 3px;
  margin: 2rem 0;
  background-color: var(--color-accent);
}

.hero-content p {
  max-width: 620px;
  margin: 0;
  color: var(--color-text-light);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.btn-primary-custom,
.btn-outline-custom {
  width: 100%;
  max-width: 280px;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

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

.btn-primary-custom:hover {
  color: var(--color-white);
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-outline-custom {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background-color: rgba(7, 17, 28, 0.35);
}

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

/* Tablet */

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: auto;
    min-width: 230px;
  }
}

/* Desktop */

@media (min-width: 992px) {
  .site-logo {
    width: 165px;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-content {
    padding-top: 6rem;
    padding-left: 2.5rem;
  }
}

/* Mobile menu */

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding-left: 0;
  }

  .navbar-dark .navbar-nav .nav-link.active::after {
    left: 0;
    right: auto;
    width: 60px;
  }

  .btn-header {
    display: inline-block;
    margin-top: 0.75rem;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(7, 17, 28, 0.96) 0%,
        rgba(7, 17, 28, 0.86) 55%,
        rgba(7, 17, 28, 0.62) 100%
      );
  }
}

/* About / Somos VEANI */

.about-section {
  background-color: #f8f8f6;
  color: #263244;
  overflow: hidden;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.about-content {
  max-width: 620px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.section-line {
  width: 64px;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: 1.75rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  color: #263244;
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.about-content p {
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: #536071;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* Imagen derecha */

.about-image {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Iconos */

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-top: 0rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #4a5568;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature h3 {
  margin: 0;
  color: #536071;
  font-size: 0.82rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Tablet */

@media (min-width: 576px) {
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */

@media (min-width: 992px) {
  .about-content {
    padding-left: 2.5rem;
  }

  .about-image {
    height: 560px;
    margin-right: -3rem;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 20% 100%);
  }

  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
    padding-left: 2.5rem;
  }

  .about-feature:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 2px;
    height: 42px;
    background-color: var(--color-accent);
    transform: translateY(-50%);
  }
}

/* Pantallas grandes */

@media (min-width: 1400px) {
  .about-image {
    height: 610px;
  }

  .about-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 850px;
  }

  .about-feature:nth-child(odd)::after {
    display: none;
  }

  .about-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 2px;
    height: 42px;
    background-color: var(--color-accent);
    transform: translateY(-50%);
    display: block;
  }
}

/* Mobile */

@media (max-width: 991.98px) {
  .about-image {
    height: 360px;
    border-radius: 18px;
  }
}

/* Solutions */

.solutions-section {
  background-color: #061936;
  color: #ffffff;
  overflow: hidden;
}

.solutions-content {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.solutions-content h2 {
  max-width: 620px;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.solutions-content > p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.solution-item {
  position: relative;
  color: #ffffff;
}

.solution-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-item h3 {
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.solution-item p {
  max-width: 140px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.45;
}

.solutions-btn {
  min-width: 160px;
}

.solutions-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.solutions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Projects */

.featured-projects-section {
  background-color: #f8f8f6;
  color: #263244;
}

.featured-projects-intro h2 {
  margin-bottom: 1.4rem;
  color: #263244;
  font-size: clamp(1.9rem, 2.5vw, 3.1rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.featured-projects-intro h2 span {
  color: var(--color-accent);
}

.featured-projects-intro p {
  max-width: 340px;
  margin-bottom: 3rem;
  color: #536071;
  font-size: 0.95rem;
  line-height: 1.65;
}

.btn-outline-pink {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  padding: 0.9rem 1.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-outline-pink:hover {
  color: #ffffff;
  background-color: var(--color-accent);
}

.project-card {
  background-color: #ffffff;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  display: block;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem;
  color: #7a7f89;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-location span {
  color: #9ca3af;
  font-size: 1.2rem;
  line-height: 1;
}

.project-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.project-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: #c7c7c7;
}

.project-dots span.active {
  width: 24px;
  background-color: var(--color-accent);
}

/* Tablet */

@media (min-width: 576px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */

@media (min-width: 992px) {
  .solutions-content {
    padding: 6rem 2.5rem 1rem 2.5rem;
  }

  .solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem 1.8rem;
  }

  .solution-item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 0;
    right: -0.9rem;
    width: 1px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.85;
  }

  .solutions-image {
    height: 100%;
    margin-right: -3rem;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
  }
}

/* Large desktop */

@media (min-width: 1400px) {
  .solutions-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .solution-item:not(:nth-child(3n))::after {
    display: none;
  }

  .solution-item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -0.75rem;
    width: 1px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.85;
  }

  .solutions-image {
    height: 600px;
  }
}

/* Mobile */

@media (max-width: 991.98px) {
  .solutions-image {
    border-radius: 18px;
    margin-bottom: 4rem;
  }

  .solution-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .featured-projects-intro {
    margin-bottom: 1rem;
  }
}

/* Projects page */

.projects-hero {
  background-color: #061936;
  color: #ffffff;
  overflow: hidden;
  padding-top: 95px;
}

.projects-hero-content {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.projects-hero-content h1 {
  max-width: 620px;
  margin-bottom: 1.4rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 4.3vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.projects-hero-content p {
  max-width: 540px;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}

.projects-stats {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.project-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-stat strong {
  color: var(--color-accent);
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.project-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.projects-hero-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.projects-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gallery */

.projects-gallery-section {
  background-color: #f8f8f6;
  color: #263244;
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: center;
}

.project-tabs a {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  color: #8a8f98;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
}

.project-tabs a:hover,
.project-tabs a.active {
  color: #263244;
}

.project-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 3px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
}

/* Cards */

.gallery-card {
  height: 100%;
  background-color: #061936;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  display: block;
}

.gallery-card-content {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background-color: #061936;
  color: #ffffff;
}

.gallery-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--color-accent);
}

.gallery-icon svg,
.industrial-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-card h2 {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Industrial row */

.industrial-image-card {
  height: 100%;
  min-height: 260px;
  overflow: hidden;
}

.industrial-image-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.industrial-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  min-height: 260px;
  padding: 2rem;
  background-color: #061936;
  color: #ffffff;
}

.industrial-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: var(--color-accent);
}

.industrial-cta-card h2 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.industrial-cta-card p {
  max-width: 360px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Desktop */

@media (min-width: 576px) {
  .projects-stats {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .project-stat + .project-stat {
    padding-left: 2.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.45);
  }
}

@media (min-width: 992px) {
  .projects-hero-content {
    padding: 6rem 2.5rem;
  }

  .projects-hero-image {
    height: 520px;
    margin-right: -3rem;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
  }
}

@media (min-width: 1400px) {
  .projects-hero-image {
    height: 560px;
  }
}

/* Mobile */

@media (max-width: 991.98px) {
  .projects-hero-image {
    border-radius: 18px;
    margin-bottom: 4rem;
  }

  .project-tabs {
    gap: 1.5rem;
  }

  .industrial-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Services page */

.services-hero {
  background-color: #061936;
  color: #ffffff;
  overflow: hidden;
  padding-top: 95px;
}

.services-hero-content {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.services-hero-content h1 {
  max-width: 620px;
  margin-bottom: 1.4rem;
  color: #ffffff;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.services-hero-content > p {
  max-width: 560px;
  margin-bottom: 3.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}

.services-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-benefit {
  position: relative;
}

.service-benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.service-benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-benefit h2 {
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-benefit p {
  max-width: 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.services-hero-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.services-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Services list */

.services-list-section {
  background-color: #f8f8f6;
  color: #263244;
}

.services-section-heading {
  max-width: 920px;
}

.services-section-heading h2 {
  margin-bottom: 0.8rem;
  color: #263244;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.services-section-heading p {
  margin: 0 auto;
  max-width: 760px;
  color: #536071;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card {
  height: 100%;
  background-color: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  display: block;
}

.service-card-body {
  position: relative;
  padding: 1.8rem 1.35rem 1.6rem;
  border-top: 3px solid var(--color-accent);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  color: var(--color-accent);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  color: #263244;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: #536071;
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Tablet */

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

  .service-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -1rem;
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.35);
  }
}

/* Desktop */

@media (min-width: 992px) {
  .services-hero-content {
    padding: 6rem 2.5rem;
  }

  .services-hero-image {
    height: 560px;
    margin-right: -3rem;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
  }
}

/* Large desktop */

@media (min-width: 1400px) {
  .services-hero-image {
    height: 590px;
  }
}

/* Mobile */

@media (max-width: 991.98px) {
  .services-hero-image {
    border-radius: 18px;
    margin-bottom: 4rem;
  }

  .services-benefits {
    margin-bottom: 1rem;
  }

  .service-benefit {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* Contact page */

.contact-section {
  background-color: #061936;
  color: #ffffff;
  overflow: hidden;
  padding-top: 95px;
}

.contact-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-content {
  padding: 4rem 1.5rem;
}

.contact-info h1 {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 3.8vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.contact-intro {
  max-width: 520px;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}

.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.35rem 0;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--color-accent);
}

.contact-link-icon svg,
.contact-benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link span:last-child {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Form */

.contact-form-wrapper {
  max-width: 560px;
  margin-left: auto;
}

.contact-form-wrapper h2 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 400;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 56px;
  color: #ffffff;
  background-color: rgba(6, 25, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  font-size: 0.95rem;
}

.contact-form textarea.form-control {
  min-height: 115px;
  resize: vertical;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-form .form-select {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  color: #ffffff;
  background-color: rgba(6, 25, 54, 0.9);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.15rem rgba(214, 0, 127, 0.18);
}

.contact-submit {
  width: 100%;
  padding: 1rem 2rem;
  color: #ffffff;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
}

.contact-submit:hover {
  color: #ffffff;
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* Bottom benefits */

.contact-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-benefit {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  position: relative;
}

.contact-benefit-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--color-accent);
}

.contact-benefit h3 {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

/* Tablet */

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

  .contact-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%);
  }
}

/* Desktop */

@media (min-width: 992px) {
  .contact-section {
    min-height: 100vh;
  }

  .contact-section > .container-fluid > .row {
    min-height: calc(100vh - 95px);
  }

  .contact-image {
    height: 100%;
    min-height: calc(100vh - 95px);
  }

  .contact-content {
    padding: 5rem 4rem 3rem;
  }
}

/* Large desktop */

@media (min-width: 1400px) {
  .contact-content {
    padding: 5.5rem 5rem 3rem;
  }
}

/* Mobile */

@media (max-width: 991.98px) {
  .contact-image {
    height: 360px;
  }

  .contact-form-wrapper {
    max-width: 100%;
    margin-left: 0;
  }

  .contact-link span:last-child {
    font-size: 1.05rem;
  }

  .contact-benefit:not(:last-child) {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}