@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a2f5c;
  --navy-dark: #061f3d;
  --blue: #0f5ea8;
  --green: #1d9b63;
  --green-dark: #137448;
  --white: #ffffff;
  --off-white: #f5f8fb;
  --gray-100: #edf2f7;
  --gray-200: #d9e2ec;
  --gray-400: #8292a6;
  --gray-600: #4b5d70;
  --gray-800: #1d2c3c;
  --text: #233447;
  --shadow-sm: 0 8px 24px rgba(10, 47, 92, .08);
  --shadow-md: 0 18px 50px rgba(10, 47, 92, .14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 82px;
  --transition: .3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--gray-800);
  line-height: 1.18;
}

h1 {
 font-size: clamp(2.0rem, 4vw, 4.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.22rem;
}

p {
  color: var(--gray-600);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--off-white);
}

.centered {
  text-align: center;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 9999;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(10, 47, 92, .08);
  transition: box-shadow var(--transition), min-height var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(6, 31, 61, .12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
    width: auto;
    height: 80px;
    max-width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav > a:not(.btn) {
  position: relative;
  color: var(--gray-800);
  font-size: .95rem;
  font-weight: 700;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(29, 155, 99, .25);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(10, 47, 92, .2);
}

.btn-secondary:hover {
  background: var(--blue);
}

.btn-whatsapp {
  color: var(--white);
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .25);
}

.btn-whatsapp:hover {
  background: #1fb958;
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  color: var(--navy);
  background: var(--white);
}

.btn-large {
  min-height: 56px;
  padding-inline: 28px;
}

.hero {
  margin-top: var(--header-height);
}

.hero-slider {
  position: relative;
  height: min(780px, calc(100vh - var(--header-height)));
  min-height: 630px;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity .75s ease, visibility .75s ease, transform 6.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 21, 42, .91) 0%, rgba(5, 21, 42, .72) 43%, rgba(5, 21, 42, .26) 70%, rgba(5, 21, 42, .12) 100%),
    linear-gradient(0deg, rgba(5, 21, 42, .35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);

  padding-top: 30px;
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  color: var(--white);
  margin-bottom: 22px;
}

.hero-content h2 {
  font-size: clamp(2.0rem, 3.8vw, 3.8rem);
    line-height: 1.18;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  margin-bottom: 32px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #66e3ad;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.slider-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5, 21, 42, .28);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background var(--transition);
}

.slider-arrow:hover {
  background: rgba(29, 155, 99, .85);
}

.slider-arrow.prev {
  left: 26px;
}

.slider-arrow.next {
  right: 26px;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: width var(--transition), border-radius var(--transition), background var(--transition);
}

.slider-dots button.is-active {
  width: 32px;
  border-radius: 99px;
  background: var(--green);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.intro-copy p {
  font-size: 1.03rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 800;
}

.text-link i {
  transition: transform var(--transition);
}

.text-link:hover i {
  transform: translateX(5px);
}

.intro-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  min-height: 170px;
  padding: 26px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat-card i {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 2rem;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--gray-800);
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--gray-600);
  font-size: .92rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-heading p {
  max-width: 670px;
  margin-inline: auto;
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 155, 99, .35);
  box-shadow: var(--shadow-md);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(29, 155, 99, .08);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 1.45rem;
}

.service-card p {
  margin-bottom: 0;
}

.centered-action {
  margin-top: 42px;
  text-align: center;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sector-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sector-card img,
.sector-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sector-card img {
  object-fit: cover;
  transition: transform .7s ease;
}

.sector-card:hover img {
  transform: scale(1.07);
}

.sector-overlay {
  background: linear-gradient(0deg, rgba(5, 21, 42, .92) 0%, rgba(5, 21, 42, .3) 60%, rgba(5, 21, 42, .08) 100%);
}

.sector-content {
  position: absolute;
  z-index: 2;
  inset: auto 28px 28px;
  color: var(--white);
}

.sector-content i {
  margin-bottom: 16px;
  color: #66e3ad;
  font-size: 2rem;
}

.sector-content h3,
.sector-content p {
  color: var(--white);
}

.sector-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.sector-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .8);
}

.section-navy {
  background:
    radial-gradient(circle at 85% 10%, rgba(15, 94, 168, .32), transparent 28%),
    var(--navy-dark);
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit-item {
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
}

.benefit-item i {
  margin-bottom: 20px;
  color: #66e3ad;
  font-size: 2rem;
}

.benefit-item h3,
.benefit-item p {
  color: var(--white);
}

.benefit-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  position: relative;
  padding: 34px 26px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-step > span {
  position: absolute;
  right: 18px;
  top: 12px;
  color: var(--gray-100);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;
}

.process-step i {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 2rem;
}

.process-step p {
  margin-bottom: 0;
}

.cta-section {
  padding: 70px 0;
  background:
    linear-gradient(110deg, rgba(10, 47, 92, .96), rgba(15, 94, 168, .9)),
    url('../img/slider/slider-soluciones-tecnicas.png') center / cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.cta-inner p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .82);
}

.light-kicker {
  color: #66e3ad;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: #05182e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr .8fr;
  gap: 50px;
  padding: 75px 0 55px;
}

.footer-brand img {
  width: 250px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, .68);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 22px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 11px;
}

.site-footer a {
  color: rgba(255, 255, 255, .72);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: #66e3ad;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
}

.social-links a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .container {
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  font-size: .88rem;
}

.footer-bottom a {
    color: #66e3ad;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.floating-whatsapp {
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  font-size: 1.8rem;
}

.back-to-top {
  bottom: 92px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .header-cta {
    display: none;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .brand img {
    width: 190px;
  }

  .nav-toggle {
    display: block;
    z-index: 3;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 24px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > a:not(.btn) {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1.03rem;
  }

  .main-nav > a:not(.btn)::after {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    margin-top: 20px;
  }

  .hero-slider {
    height: 690px;
    min-height: 620px;
  }

  .hero-slide {
    background-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 21, 42, .9), rgba(5, 21, 42, .62));
  }

  .slider-arrow {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }

  .hero-slider {
    height: 680px;
  }

  .hero-content {
    padding-top: 10px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-panel,
  .service-grid,
  .sector-grid,
  .benefits-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    min-height: 390px;
  }

  .footer-grid {
    gap: 36px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .back-to-top {
    right: 21px;
    bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
   PÁGINA NOSOTROS
========================================================= */

/* ---------------------------------------------------------
   Banner interior
--------------------------------------------------------- */

.page-hero {
    position: relative;
    min-height: 560px;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../img/nosotros/nosotros-trabajo-campo.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 21, 42, 0.94) 0%,
            rgba(5, 21, 42, 0.78) 46%,
            rgba(5, 21, 42, 0.36) 72%,
            rgba(5, 21, 42, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 21, 42, 0.32),
            transparent 55%
        );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-hero-content h1 {
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.35rem, 4vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.page-hero-content p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.breadcrumb a {
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: #66e3ad;
}

.breadcrumb i {
    font-size: 0.66rem;
}

.page-hero .eyebrow {
    color: #66e3ad;
}


/* ---------------------------------------------------------
   Quiénes somos
--------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap > img {
    width: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    right: -25px;
    bottom: 30px;
    width: min(360px, 88%);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    color: var(--white);
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

.about-badge i {
    flex: 0 0 auto;
    color: #66e3ad;
    font-size: 2rem;
}

.about-badge strong,
.about-badge span {
    display: block;
}

.about-badge strong {
    margin-bottom: 4px;
    color: var(--white);
}

.about-badge span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.45;
}

.about-copy p {
    font-size: 1.01rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 28px 0 34px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
    font-weight: 700;
}

.highlight-item i {
    color: var(--green);
}


/* ---------------------------------------------------------
   Misión y visión
--------------------------------------------------------- */

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.purpose-card {
    position: relative;
    min-height: 100%;
    padding: 42px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.purpose-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(29, 155, 99, 0.08);
}

.purpose-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 28px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.7rem;
}

.purpose-label {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.purpose-card h3 {
    position: relative;
    z-index: 2;
    max-width: 520px;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.purpose-card p {
    position: relative;
    z-index: 2;
}

.purpose-card-dark {
    border-color: transparent;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(15, 94, 168, 0.38),
            transparent 30%
        ),
        var(--navy-dark);
}

.purpose-card-dark h3 {
    color: var(--white);
}

.purpose-card-dark p {
    color: rgba(255, 255, 255, 0.76);
}

.purpose-card-dark .purpose-label {
    color: #66e3ad;
}

.purpose-card-dark::after {
    background: rgba(255, 255, 255, 0.05);
}


/* ---------------------------------------------------------
   Valores corporativos
--------------------------------------------------------- */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    min-height: 245px;
    padding: 30px 24px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.value-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 155, 99, 0.35);
    box-shadow: var(--shadow-md);
}

.value-card i {
    margin-bottom: 22px;
    color: var(--green);
    font-size: 2rem;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    margin-bottom: 0;
    font-size: 0.93rem;
}


/* ---------------------------------------------------------
   Nuestro compromiso
--------------------------------------------------------- */

.commitment {
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(15, 94, 168, 0.32),
            transparent 30%
        ),
        var(--navy-dark);
}

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 0.94fr;
    align-items: center;
    gap: 70px;
}

.commitment-copy h2 {
    color: var(--white);
}

.commitment-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.commitment-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.commitment-list > div {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-weight: 700;
}

.commitment-list i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    color: #66e3ad;
    background: rgba(255, 255, 255, 0.08);
}

.commitment-image img {
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}


/* ---------------------------------------------------------
   CTA de Nosotros
--------------------------------------------------------- */

.nosotros-cta {
    padding: 70px 0;
    background:
        linear-gradient(
            110deg,
            rgba(10, 47, 92, 0.96),
            rgba(15, 94, 168, 0.91)
        ),
        url("../img/nosotros/nosotros-equipo-tecnico.png")
        center / cover no-repeat;
}

.nosotros-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nosotros-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
    color: var(--white);
}

.nosotros-cta p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.light-kicker {
    color: #66e3ad;
}


/* =========================================================
   RESPONSIVE — PÁGINA NOSOTROS
========================================================= */

@media (max-width: 1080px) {
    .about-grid,
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrap {
        max-width: 820px;
    }

    .about-image-wrap > img {
        min-height: 500px;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .page-hero {
        min-height: 540px;
        background-position: 62% center;
    }

    .page-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 21, 42, 0.93),
                rgba(5, 21, 42, 0.65)
            );
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-cta .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 550px;
    }

    .page-hero-content h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem);
    }

    .breadcrumb {
        margin-bottom: 24px;
    }

    .about-image-wrap > img {
        min-height: 390px;
    }

    .about-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 24px);
        margin: -34px auto 0;
    }

    .about-highlights,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        padding: 30px 24px;
    }

    .value-card {
        min-height: auto;
    }

    .commitment-image img {
        min-height: 390px;
    }

    .nosotros-cta {
        padding: 60px 0;
    }
}


/* =========================================================
   PÁGINA SERVICIOS

========================================================= */

/* ---------------------------------------------------------
   Banner de Servicios
--------------------------------------------------------- */

.services-hero {
    position: relative;
    min-height: 570px;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("../img/slider/slider-instalaciones-electromecanicas.png")
        center / cover no-repeat;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 21, 42, 0.95) 0%,
            rgba(5, 21, 42, 0.79) 48%,
            rgba(5, 21, 42, 0.35) 74%,
            rgba(5, 21, 42, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 21, 42, 0.35),
            transparent 58%
        );
}

.services-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.services-hero-content h1 {
    max-width: 900px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.35rem, 4vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.services-hero-content p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* ---------------------------------------------------------
   Introducción de Servicios
--------------------------------------------------------- */

.services-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.services-intro-grid h2 {
    margin-bottom: 0;
}

.services-intro-grid p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Tarjetas detalladas de Servicios
--------------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.service-detail-card {
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: calc(var(--header-height) + 28px);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 155, 99, 0.3);
    box-shadow: var(--shadow-md);
}

.service-detail-image {
    height: 320px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-detail-body {
    position: relative;
    padding: 34px;
}

.service-detail-icon {
    position: absolute;
    right: 30px;
    top: -34px;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 6px solid var(--white);
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: var(--shadow-sm);
    font-size: 1.6rem;
}

.service-category {
    display: block;
    margin-bottom: 9px;
    padding-right: 70px;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.service-detail-body h2 {
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
}

.service-detail-body > p {
    margin-bottom: 24px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-800);
    font-size: 0.92rem;
    font-weight: 700;
}

.service-features i {
    margin-top: 4px;
    color: var(--green);
}

/* ---------------------------------------------------------
   Proceso de Servicios
--------------------------------------------------------- */

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-process-grid article {
    position: relative;
    padding: 34px 26px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.service-process-grid article > span {
    position: absolute;
    top: 10px;
    right: 18px;
    color: var(--gray-100);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.service-process-grid article > i {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    color: var(--green);
    font-size: 2rem;
}

.service-process-grid h3 {
    position: relative;
    z-index: 2;
}

.service-process-grid p {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   CTA de Servicios
--------------------------------------------------------- */

.services-cta {
    padding: 70px 0;
    background:
        linear-gradient(
            110deg,
            rgba(10, 47, 92, 0.96),
            rgba(15, 94, 168, 0.9)
        ),
        url("../img/servicios/servicio-sistemas-bombeo.png")
        center / cover no-repeat;
}

.services-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.services-cta h2,
.services-cta p {
    color: var(--white);
}

.services-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
}

.services-cta p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   RESPONSIVE — PÁGINA SERVICIOS
========================================================= */

@media (max-width: 1080px) {
    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .services-hero {
        min-height: 540px;
        background-position: 62% center;
    }

    .services-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 21, 42, 0.93),
                rgba(5, 21, 42, 0.66)
            );
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-cta .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .services-hero {
        min-height: 555px;
    }

    .services-hero-content h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem);
    }

    .service-detail-image {
        height: 265px;
    }

    .service-detail-body {
        padding: 30px 24px;
    }

    .service-detail-icon {
        right: 22px;
        width: 62px;
        height: 62px;
    }

    .service-features,
    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .services-cta {
        padding: 60px 0;
    }
}

/* =========================================================
   PÁGINA PROYECTOS

========================================================= */

/* ---------------------------------------------------------
   Banner de Proyectos
--------------------------------------------------------- */

.projects-hero {
    position: relative;
    min-height: 560px;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("../img/inicio/inicio-sector-industrial.png")
        center / cover no-repeat;
}

.projects-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 21, 42, 0.95) 0%,
            rgba(5, 21, 42, 0.79) 48%,
            rgba(5, 21, 42, 0.35) 74%,
            rgba(5, 21, 42, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 21, 42, 0.34),
            transparent 58%
        );
}

.projects-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.projects-hero-content h1 {
    max-width: 900px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.35rem, 4vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.projects-hero-content p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* ---------------------------------------------------------
   Introducción
--------------------------------------------------------- */

.projects-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.projects-intro-grid h2 {
    margin-bottom: 0;
}

.projects-intro-grid p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Panel Próximamente
--------------------------------------------------------- */

.coming-panel {
    max-width: 920px;
    margin: 0 auto;
    padding: 70px 55px;
    text-align: center;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(29, 155, 99, 0.12),
            transparent 34%
        ),
        var(--white);
    box-shadow: var(--shadow-md);
}

.coming-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 26px;
    border-radius: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.coming-panel h2 {
    max-width: 700px;
    margin-inline: auto;
}

.coming-panel p {
    max-width: 690px;
    margin: 0 auto 30px;
}

/* ---------------------------------------------------------
   Categorías de Proyectos
--------------------------------------------------------- */

.project-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-category-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.project-category-card:hover {
    transform: translateY(-7px);
    border-color: rgba(29, 155, 99, 0.35);
    box-shadow: var(--shadow-md);
}

.project-category-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.55rem;
}

.project-category-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

/* ---------------------------------------------------------
   CTA de Proyectos
--------------------------------------------------------- */

.projects-cta {
    padding: 70px 0;
    background:
        linear-gradient(
            110deg,
            rgba(10, 47, 92, 0.96),
            rgba(15, 94, 168, 0.9)
        ),
        url("../img/slider/slider-soluciones-tecnicas.png")
        center / cover no-repeat;
}

.projects-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.projects-cta h2,
.projects-cta p {
    color: var(--white);
}

.projects-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
}

.projects-cta p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   RESPONSIVE — PÁGINA PROYECTOS
========================================================= */

@media (max-width: 1080px) {
    .projects-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .project-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .projects-hero {
        min-height: 540px;
        background-position: 62% center;
    }

    .projects-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 21, 42, 0.93),
                rgba(5, 21, 42, 0.66)
            );
    }

    .projects-cta .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .projects-hero {
        min-height: 555px;
    }

    .projects-hero-content h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem);
    }

    .coming-panel {
        padding: 52px 24px;
    }

    .project-category-grid {
        grid-template-columns: 1fr;
    }

    .project-category-card {
        min-height: auto;
    }

    .projects-cta {
        padding: 60px 0;
    }
}


/* =========================================================
   PÁGINA CONTACTO

========================================================= */

/* ---------------------------------------------------------
   Banner de Contacto
--------------------------------------------------------- */

.contact-hero {
  position: relative;
  min-height: 560px;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url("../img/contacto/contacto-asesoria-tecnica.png")
    center / cover no-repeat;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 21, 42, 0.95) 0%,
      rgba(5, 21, 42, 0.79) 48%,
      rgba(5, 21, 42, 0.37) 74%,
      rgba(5, 21, 42, 0.13) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 21, 42, 0.34),
      transparent 58%
    );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}

.contact-hero-content h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-hero-content p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* ---------------------------------------------------------
   Introducción
--------------------------------------------------------- */

.contact-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-intro-grid h2 {
  margin-bottom: 0;
}

.contact-intro-grid p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Contenido principal
--------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.contact-info-column,
.contact-form-panel {
  min-width: 0;
}

.contact-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-image-wrap img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.contact-cards {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 1.35rem;
}

.contact-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-bottom: 6px;
}

.contact-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-card a:hover {
  color: var(--green);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.contact-socials a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
}

.contact-socials a:hover {
  color: var(--white);
  background: var(--green);
}

/* ---------------------------------------------------------
   Formulario
--------------------------------------------------------- */

.contact-form-panel {
  padding: 40px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-form-panel > h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.contact-form-panel > p {
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  min-width: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 800;
}

.input-icon {
  position: relative;
}

.input-icon > i {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  color: var(--gray-400);
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 15px 0 46px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 15px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select-icon::after {
  content: "\f078";
  position: absolute;
  right: 16px;
  top: 50%;
  color: var(--gray-400);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(29, 155, 99, 0.11);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #d64545;
  background: #fffafa;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #c93636;
  font-size: 0.78rem;
}

.textarea-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.textarea-meta > small:last-child {
  margin-top: 6px;
  color: var(--gray-400);
  font-size: 0.78rem;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: 0 !important;
  cursor: pointer;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.privacy-check span {
  color: var(--gray-600);
  font-size: 0.87rem;
  font-weight: 500;
}

.contact-submit {
  width: max-content;
  min-width: 210px;
  border: 0;
}

/* ---------------------------------------------------------
   Bloque directo de WhatsApp
--------------------------------------------------------- */

.contact-whatsapp {
  background: var(--white);
}

.contact-whatsapp-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(15, 94, 168, 0.36),
      transparent 32%
    ),
    var(--navy-dark);
  box-shadow: var(--shadow-md);
}

.contact-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  color: var(--white);
  background: #25d366;
  font-size: 2.5rem;
}

.contact-whatsapp-card h2,
.contact-whatsapp-card p {
  color: var(--white);
}

.contact-whatsapp-card h2 {
  margin-bottom: 10px;
}

.contact-whatsapp-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

/* =========================================================
   RESPONSIVE — PÁGINA CONTACTO
========================================================= */

@media (max-width: 1080px) {
  .contact-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-column {
    max-width: 820px;
  }

  .contact-whatsapp-card {
    grid-template-columns: auto 1fr;
  }

  .contact-whatsapp-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .contact-hero {
    min-height: 540px;
    background-position: 62% center;
  }

  .contact-hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(5, 21, 42, 0.93),
        rgba(5, 21, 42, 0.67)
      );
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: 555px;
  }

  .contact-hero-content h1 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .contact-image-wrap img {
    min-height: 320px;
  }

  .contact-card {
    padding: 21px 18px;
  }

  .contact-form-panel {
    padding: 30px 20px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-whatsapp-card {
    grid-template-columns: 1fr;
    padding: 32px 22px;
  }

  .contact-whatsapp-card .btn {
    width: 100%;
  }
}

/* =========================================================
   PÁGINA GRACIAS

========================================================= */

.thank-you-page {
    background: var(--off-white);
}

.thank-you-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0;
    background:
        url("../img/contacto/contacto-asesoria-tecnica.png")
        center / cover no-repeat;
}

.thank-you-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            rgba(5, 21, 42, 0.95),
            rgba(10, 47, 92, 0.84)
        );
}

.thank-you-container {
    position: relative;
    z-index: 2;
}

.thank-you-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 48px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.thank-you-icon {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 16px 36px rgba(29, 155, 99, 0.3);
    font-size: 2.5rem;
}

.thank-you-card h1 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.thank-you-card p {
    max-width: 610px;
    margin-right: auto;
    margin-left: auto;
}

.thank-you-lead {
    margin-bottom: 10px;
    color: var(--gray-800) !important;
    font-size: 1.15rem;
    font-weight: 800;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.thank-you-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-600);
    font-size: 0.88rem;
}

.thank-you-note i {
    margin-top: 4px;
    color: var(--blue);
}

/* =========================================================
   RESPONSIVE — PÁGINA GRACIAS
========================================================= */

@media (max-width: 820px) {
    .thank-you-hero {
        padding: 70px 0;
        background-position: 62% center;
    }

    .thank-you-card {
        padding: 46px 30px;
    }
}

@media (max-width: 640px) {
    .thank-you-hero {
        padding: 50px 0;
    }

    .thank-you-card {
        padding: 38px 20px;
    }

    .thank-you-icon {
        width: 82px;
        height: 82px;
        font-size: 2.1rem;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .thank-you-note {
        text-align: left;
    }
}

/* =========================================================
   PROYECTOS - GALERÍA MULTIMEDIA
   Sustituye el CSS anterior de "Próximamente" por este bloque
   o agrégalo al final del style.css.
========================================================= */

.projects-heading {
  margin-bottom: 48px;
}

.projects-list {
  display: grid;
  gap: 52px;
}

.project-showcase {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--gray-100);
}

.project-showcase-head h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.project-category {
  display: inline-flex;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 0.84rem;
  font-weight: 700;
}

.project-location i {
  color: var(--green);
}

/* La cuadrícula se adapta a fotos y videos de distinta orientación */
.project-media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  padding: 22px;
  background: var(--off-white);
}

.project-media {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 14px;
  background: #07111c;
  box-shadow: var(--shadow-sm);
}

/* Material vertical: ocupa menos ancho y conserva su proporción */
.project-media.is-vertical {
  grid-column: span 4;
  align-self: start;
}

.project-media.is-vertical video,
.project-media.is-vertical img {
  aspect-ratio: 9 / 16;
}

/* Material horizontal: ocupa el doble de ancho */
.project-media.is-horizontal {
  grid-column: span 8;
}

.project-media.is-horizontal video,
.project-media.is-horizontal img {
  aspect-ratio: 16 / 9;
}

/* Material cuadrado o cercano a 1:1 */
.project-media.is-square {
  grid-column: span 4;
}

.project-media.is-square video,
.project-media.is-square img {
  aspect-ratio: 1 / 1;
}

.project-media video,
.project-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #07111c;
}

.project-photo img {
  object-fit: cover;
}

.project-video video {
  width: 100%;
}

.project-video.is-loading {
  min-height: 260px;
}

/* Loader y estado sin material */
.project-loading,
.project-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 140px;
  padding: 25px;
  border: 1px dashed var(--gray-200);
  border-radius: 14px;
  color: var(--gray-600);
  background: var(--white);
  text-align: center;
}

.project-loading i {
  color: var(--green);
}

.project-empty i {
  color: var(--green);
  font-size: 1.4rem;
}

/* =========================================================
   RESPONSIVE - PROYECTOS
========================================================= */

@media (max-width: 980px) {
  .project-media.is-horizontal {
    grid-column: span 12;
  }

  .project-media.is-vertical,
  .project-media.is-square {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .projects-list {
    gap: 32px;
  }

  .project-showcase-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px;
  }

  .project-media-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .project-media,
  .project-media.is-horizontal,
  .project-media.is-vertical,
  .project-media.is-square {
    grid-column: 1;
  }

  /*
     En móvil los verticales no se estiran demasiado:
     se centran dentro de la tarjeta.
  */
  .project-media.is-vertical {
    width: min(100%, 390px);
    justify-self: center;
  }
}

/* Añadir al final de assets/css/style.css */

.project-video {
  position: relative;
}

.project-video-play {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  border: 0;
  border-radius: 50%;

  color: #ffffff;
  background: rgba(5, 21, 42, 0.84);

  font-size: 1.15rem;
  cursor: pointer;

  transform: translateX(-50%);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
}

.project-video-play:hover {
  background: var(--green);
  transform: translateX(-50%) scale(1.08);
}

.project-video.is-playing .project-video-play {
  opacity: 0.9;
}

.project-video video {
  cursor: pointer;
}
