:root {
  --navy: #1e3a5f;
  --blue: #225393;
  --blue-light: #2d6cc0;
  --white: #ffffff;
  --gray-light: #f4f6f9;
  --gray-mid: #e2e8f0;
  --gray-text: #64748b;
  --text-dark: #0d1f35;
  --header-height: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.siteheader {
  height: var(--header-height);
  padding: 0 55px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  background: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.siteheader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 26px;
  background: linear-gradient(
    to bottom,
    var(--white) 0%,
    #f8f9fb 45%,
    var(--gray-light) 100%
  );
  pointer-events: none;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  max-height: 78px;
  width: auto;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.main-nav a {
  text-decoration: none;
  color: #173d68;
  font-size: 17px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #3b7cc2;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--blue) !important;
}

.hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-image: url("../img/fondo landing page.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02) 25%, transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6% 3.5rem;
}

.hero-actions {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.hero-stats {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 90px;
}

.stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.stat-label {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.about,
.services,
.contact {
  padding: 5.5rem 6%;
}

.sec-label {
  margin-bottom: 0.6rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.sec-title {
  margin-bottom: 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sec-desc {
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--gray-text);
  line-height: 1.75;
}

.sec-header {
  margin-bottom: 3rem;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about .sec-desc {
  max-width: 760px;
  text-align: justify;
  text-wrap: pretty;
}

.about-visual {
  position: relative;
  width: 100%;
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-left: auto;
}

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

.about-badge-box {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(30, 58, 95, 0.25);
}

.ab-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.ab-txt {
  margin-top: 0.35rem;
  max-width: 150px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.services {
  background: var(--gray-light);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.services .sec-header {
  margin-bottom: 2rem;
}

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

.srv-card {
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.1);
}

.srv-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 12px;
}

.srv-icon svg {
  width: 22px;
  height: 22px;
  color: #93c5fd;
}

.srv-name {
  margin-bottom: 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.srv-text {
  font-size: 0.84rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.contact {
  min-height: calc(100vh - var(--header-height));
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cdet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.4rem;
}

.cdet-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--gray-light);
  border-radius: 10px;
}

.cdet-icon svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.cdet-label {
  font-size: 0.72rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.cdet-value {
  margin-top: 2px;
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 500;
  overflow-wrap: anywhere;
}

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

.ff {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
}

.ff label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.ff input,
.ff textarea,
.ff select {
  width: 100%;
  padding: 0.72rem 0.95rem;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ff input:focus,
.ff textarea:focus,
.ff select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 83, 147, 0.1);
}

.ff textarea {
  min-height: 115px;
  resize: vertical;
}

.btn-send {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-send:hover {
  background: var(--blue);
}

.btn-send svg {
  width: 17px;
  height: 17px;
}

.footer-seintec {
    background:
        linear-gradient(
            rgba(20, 61, 105, 0.96),
            rgba(20, 61, 105, 0.96)
        ),
        url("../img/fondo landing page.png");

    background-size: cover;
    background-position: center;
    color: rgba(255,255,255,0.82);

    border-top: none;
}

.footer-container {
    width: 88%;
    max-width: 1420px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 4rem;

    padding: 4.5rem 0 3.5rem;
}

.footer-column {
    min-width: 0;
}

.footer-links,
.footer-contact {
    padding-left: 2.5rem;

    border-left: 1px solid
        rgba(255,255,255,0.14);
}

.footer-logo {
    width: 270px;
    max-width: 100%;
    height: auto;

    display: block;

    margin-bottom: 1.6rem;

    filter: brightness(0) invert(1);
}

.footer-description {
    max-width: 390px;

    padding-top: 1.2rem;

    border-top: 1px solid
        rgba(255,255,255,0.18);

    font-size: 0.96rem;
    line-height: 1.8;

    color: rgba(255,255,255,0.74);
}

.footer-column h3 {
    margin-bottom: 1.5rem;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;

    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    color: rgba(255,255,255,0.78);

    text-decoration: none;

    font-size: 0.97rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-arrow {
    font-size: 1.8rem;
    line-height: 1;

    color: #93c5fd;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: center;

    gap: 0.9rem;

    margin-bottom: 1.1rem;

    font-size: 0.96rem;

    color: rgba(255,255,255,0.78);
}

.footer-contact-item svg {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    color: #93c5fd;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 0.75rem;

    margin-top: 1.8rem;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.64);

    color: var(--navy);

    border-radius: 5px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 19px;
    height: 19px;
}

.footer-bottom {

    padding: 1.8rem 6%;

    border-top: 1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(10, 42, 78, 0.32);

    text-align: center;

    font-size: 0.85rem;

    color: rgba(255,255,255,0.65);
}

.footer-bottom strong {
    color: rgba(255,255,255,0.88);
    font-weight: 600;
}

@media (max-width: 900px) {

    .footer-container {
        width: 90%;

        grid-template-columns: 1fr 1fr;

        gap: 3rem;

        padding: 4rem 0 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-links {
        padding-left: 0;
        border-left: none;
    }

    .footer-contact {
        padding-left: 2rem;
    }

}

@media (max-width: 650px) {

    .footer-container {
        grid-template-columns: 1fr;

        gap: 2.5rem;

        padding: 3.5rem 0 2.5rem;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        grid-column: auto;

        padding-left: 0;

        border-left: none;
    }

    .footer-links,
    .footer-contact {
        padding-top: 2rem;

        border-top: 1px solid
            rgba(255,255,255,0.14);
    }

    .footer-logo {
        width: 235px;
    }

}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #173d68;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 100px;
  }

  .siteheader {
    padding: 0 30px;
  }

  .logo img {
    max-height: 90px;
  }

  .main-nav {
    gap: 26px;
  }

  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
  }

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

  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .siteheader {
    padding: 0 22px;
  }

  .logo img {
    max-height: 58px;
    max-width: min(58vw, 250px);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    width: min(280px, calc(100vw - 40px));
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 0.65rem 0.5rem;
    text-shadow: none;
  }

  .main-nav .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

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

  .hero {
    background-position: center center;
  }

  .hero-content {
    padding: 0 5% 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .about,
  .services,
  .contact {
    padding: 4.5rem 5%;
  }

  .services {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about .sec-desc {
    max-width: none;
    text-align: left;
  }

  .about-visual {
    max-width: 650px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 650px) {
  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    justify-content: center;
    flex: 1 1 180px;
  }

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

  .hero-stat {
    min-width: 0;
  }

  .stat-num {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .stat-label {
    font-size: 0.62rem;
  }

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

  .about-badge-box {
    right: 0.75rem;
    bottom: -1rem;
  }

  .frow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .siteheader {
    padding: 0 16px;
  }

  .main-nav {
    right: 12px;
    width: calc(100vw - 24px);
  }

  .hero {
    background-position: 58% center;
  }

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

  .btn-primary,
  .btn-outline {
    width: 100%;
    flex: none;
  }

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

  .about,
  .services,
  .contact {
    padding: 4rem 1.1rem;
  }

  .sec-header {
    margin-bottom: 2rem;
  }

  .about-badge-box {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: 1rem 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.menu-toggle {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 29px;
  height: 3px;
  background: var(--navy);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    z-index: 10;
    border: 1px solid var(--gray-mid);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
    padding-bottom: clamp(1.4rem, 4vh, 2.5rem);
  }

  .hero-actions {
    gap: 1.15rem;
  }

  .hero-stats {
    width: 100%;
  }
}

@media (max-width: 650px) {

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.65rem;
    justify-content: center;
    font-size: clamp(0.78rem, 2.8vw, 0.92rem);
    border-radius: 8px;
    text-align: center;
  }

  .btn-primary svg {
    width: 18px;
    height: 18px;
  }

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

  .hero-stat {
    min-width: 0;
    text-align: center;
  }

  .stat-num {
    font-size: clamp(1.35rem, 6.2vw, 1.8rem);
    white-space: nowrap;
  }

  .stat-label {
    font-size: clamp(0.55rem, 2.1vw, 0.67rem);
    line-height: 1.25;
  }
}

@media (max-width: 480px) {

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    background-position: 56% center;
  }
}

@media (max-width: 360px) {

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.5rem;
  }
}

.contact-form {
  width: 100%;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-status.sending {
  color: var(--gray-text);
}

.form-status.success {
  color: #176b45;
}

.form-status.error {
  color: #a52a2a;
}

.btn-send:disabled {
  cursor: wait;
  opacity: 0.7;
}

.siteheader {
  background: var(--white);
  backdrop-filter: none;
}

.siteheader::after {
  bottom: -34px;
  height: 34px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(244, 246, 249, 0.88) 52%,
    rgba(244, 246, 249, 0) 100%
  );
}

.about,
.services,
.contact {
  position: relative;
  isolation: isolate;
}

.about > *,
.services > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.about {
  background: var(--white);
}

.about::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 52px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(244, 246, 249, 0.72) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.about-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: center;
}

.about-visual {
  grid-column: 1;
  grid-row: 1;
}

.about-copy {
  grid-column: 2;
  grid-row: 1;
}

.about .sec-desc {
  max-width: 760px;
  text-align: left;
  margin-bottom: 1.15rem;
}

.about .sec-desc:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--gray-light);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 58px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(244, 246, 249, 0) 100%
  );
}

.services .sec-header {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
}

.services .sec-header .sec-desc {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.srv-grid {
  gap: 1rem;
}

.srv-card {
  padding: 0.8rem;
}

.srv-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.65rem;
}

.srv-name {
  margin-bottom: 0.35rem;
}

.srv-text {
  font-size: 0.84rem;
  line-height: 1.48;
}

.contact {
  background: var(--white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 58px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(244, 246, 249, 0.86) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.contact-grid {
  align-items: start;
}

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

  .about-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .about-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .services .sec-header {
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 650px) {
  .about,
  .contact {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .services {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .services .sec-header {
    max-width: none;
  }
}

.siteheader {
  border-bottom: 1px solid rgba(30, 58, 95, 0.14);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.07);
}

.siteheader::after {
  bottom: -30px;
  height: 0px;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.78) 0%,
    rgba(244, 246, 249, 0.48) 42%,
    rgba(244, 246, 249, 0) 100%
  );
}

.about,
.services,
.contact {
  border-top: 1px solid rgba(30, 58, 95, 0.09);
}

.about::before {
  height: 46px;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.48) 0%,
    rgba(248, 250, 252, 0.45) 34%,
    rgba(255, 255, 255, 0) 100%
  );
}

.services::before {
  height: 48px;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.72) 0%,
    rgba(244, 246, 249, 0.58) 38%,
    rgba(244, 246, 249, 0) 100%
  );
}

.contact::before {
  height: 48px;
  background: linear-gradient(
    to bottom,
    rgba(226, 232, 240, 0.54) 0%,
    rgba(248, 250, 252, 0.42) 38%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 650px) {
  .siteheader {
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.06);
  }

  .siteheader::after {
    bottom: -22px;
    height: 22px;
  }
}

.about,
.services,
.contact {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
}

.contact {
  min-height: auto;
  padding-bottom: 5rem;
}

.footer-seintec {
  margin-top: 0;
}

@media (max-width: 650px) {
  .contact {
    padding-bottom: 3.5rem;
  }
}

.hero {
  background-image: url("../img/fondo landing page.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

@media (max-width: 650px) {

  .hero {

    background-image: url("../img/fondo landing page movil.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
  }
}

@media (max-width: 480px) {

  .hero {
    background-image: url("../img/fondo landing page movil.png");
    background-position: center center;
  }
}

body.modal-open {
  overflow: hidden;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.form-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 53, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.form-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 2.25rem 2.25rem 2rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.13);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(13, 31, 53, 0.30);
  text-align: center;
  outline: none;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.26s ease;
}

.form-modal.is-visible .form-modal__dialog {
  transform: translateY(0) scale(1);
}

.form-modal__dialog::before {
  content: none;
  display: none;
}

.form-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-modal__close:hover {
  background: var(--gray-light);
  transform: rotate(4deg);
}

.form-modal__logo {
  display: block;
  width: min(245px, 72%);
  height: auto;
  margin: 0.25rem auto 1.3rem;
}

.form-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.form-modal__icon svg {
  width: 32px;
  height: 32px;
}

.form-modal.is-success .form-modal__icon {
  background: rgba(34, 83, 147, 0.10);
  color: var(--blue);
  box-shadow: 0 0 0 7px rgba(34, 83, 147, 0.045);
}

.form-modal.is-error .form-modal__icon {
  background: rgba(180, 35, 24, 0.09);
  color: #b42318;
  box-shadow: 0 0 0 7px rgba(180, 35, 24, 0.04);
}

.form-modal__title {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.2;
  color: var(--navy);
}

.form-modal__message {
  max-width: 390px;
  margin: 0 auto 1.6rem;
  color: var(--gray-text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.form-modal__button {
  min-width: 150px;
  padding: 0.82rem 1.6rem;
  border: 0;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(30, 58, 95, 0.20);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-modal__button:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(30, 58, 95, 0.24);
}

.form-modal__button:focus-visible,
.form-modal__close:focus-visible {
  outline: 3px solid rgba(45, 108, 192, 0.32);
  outline-offset: 3px;
}

.form-status.success {
  margin-top: 0.75rem;
  color: #176b45;
  font-weight: 600;
}

.form-status.error {
  margin-top: 0.75rem;
  color: #a52a2a;
  font-weight: 600;
}

.btn-send:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 650px) {
  .form-modal {
    padding: 1rem;
  }

  .form-modal__dialog {
    width: min(100%, 440px);
    padding: 2rem 1.35rem 1.6rem;
    border-radius: 18px;
  }

  .form-modal__logo {
    width: min(220px, 76%);
    margin-bottom: 1.1rem;
  }

  .form-modal__icon {
    width: 58px;
    height: 58px;
  }

  .form-modal__message {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .form-modal__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-modal,
  .form-modal__dialog,
  .form-modal__close,
  .form-modal__button {
    transition: none;
  }
}

.hero-seo-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin-bottom: 1rem;
}

.hero-seo-title {
  margin: 0;
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

.hero-seo-subtitle {
  margin-top: 0.4rem;
  font-size: clamp(0.76rem, 1.1vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.40);
}

@media (max-width: 900px) {
  .hero-seo-copy {
    max-width: 88%;
    margin-bottom: 0.9rem;
  }

  .hero-seo-title {
    max-width: 100%;
    font-size: clamp(1.15rem, 4.6vw, 1.8rem);
    line-height: 1.12;
  }

  .hero-seo-subtitle {
    font-size: 0.76rem;
  }
}

@media (max-width: 650px) {
  .hero-seo-copy {
    max-width: 92%;
    margin-bottom: 0.85rem;
  }

  .hero-seo-title {
    font-size: clamp(1.05rem, 5.8vw, 1.5rem);
  }

  .hero-seo-subtitle {
    font-size: 0.72rem;
  }
}

.hero-seo-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-seo-title,
.hero-seo-subtitle {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-map-link {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  background: var(--gray-light);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.10);
}

.contact-map-link__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffff;
  color: var(--blue);
}

.contact-map-link__icon svg {
  width: 20px;
  height: 20px;
}

.contact-map-link__copy {
  min-width: 0;
}

.contact-map-link__copy strong,
.contact-map-link__copy span,
.contact-map-link__copy small {
  display: block;
}

.contact-map-link__copy strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-map-link__copy span {
  margin-top: 0.2rem;
  color: var(--gray-text);
  font-size: 0.8rem;
  line-height: 1.45;
}

.contact-map-link__copy small {
  margin-top: 0.35rem;
  color: #7b8797;
  font-size: 0.7rem;
  line-height: 1.4;
}

.contact-map-link__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-map-link__button:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.privacy-basic {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--gray-mid);
  border-left: 3px solid var(--navy);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--gray-text);
  font-size: 0.75rem;
  line-height: 1.55;
}

.privacy-basic p {
  margin: 0 0 0.45rem;
}

.privacy-basic p:last-child {
  margin-bottom: 0;
}

.privacy-basic strong {
  color: var(--navy);
}

.privacy-basic a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal {
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal span {
  color: rgba(255,255,255,0.36);
}

@media (max-width: 650px) {
  .contact-map-link {
    grid-template-columns: auto 1fr;
  }

  .contact-map-link__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .privacy-basic {
    font-size: 0.72rem;
  }
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: -14px;
  padding-left: 16px;
  border-left: 1px solid rgba(30, 58, 95, 0.16);
}

.header-social .header-social-link {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: var(--navy);
  background: var(--gray-light);
  border: 1px solid rgba(30, 58, 95, 0.12);
  border-radius: 50%;
  text-shadow: none;
  line-height: 1;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.header-social .header-social-link:hover,
.header-social .header-social-link:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.header-social .header-social-link:focus-visible {
  outline: 3px solid rgba(45, 108, 192, 0.28);
  outline-offset: 2px;
}

.header-social .header-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

@media (min-width: 901px) {
  .main-nav {
    gap: 30px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }

  .header-social {
    gap: 6px;
    margin-left: -8px;
    padding-left: 12px;
  }

  .header-social .header-social-link {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .header-social .header-social-link svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 900px) {
  .header-social {
    width: 100%;
    justify-content: center;
    gap: 14px;
    margin: 0.55rem 0 0;
    padding: 1rem 0.5rem 0.2rem;
    border-left: 0;
    border-top: 1px solid var(--gray-mid);
  }

  .main-nav .header-social .header-social-link {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
  }

  .header-social .header-social-link svg {
    width: 18px;
    height: 18px;
  }
}

