* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #0f172a;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fffffff2;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(14px);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}
.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 10px;
  color: #64748b;
  letter-spacing: 1px;
  margin-top: 2px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav nav > a {
  font-size: 14px;
  font-weight: 650;
  color: #475569;
}
.menu-btn {
  display: none;
  border: 1px solid #cbd5e1;
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 20px;
}
.btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 750;
  cursor: pointer;
  display: inline-block;
}
.btn-primary {
  background: #1d4ed8;
  color: white;
}
.btn-primary:hover {
  background: #1e40af;
}
.btn-outline {
  border: 1px solid #64748b;
  color: white;
  background: #ffffff09;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, #0c4a6e 0, transparent 32%),
    linear-gradient(135deg, #020617, #0f172a);
  color: white;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 45px 45px;
}
.hero-grid {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2px;
  color: #1d4ed8;
}
.light {
  color: #67e8f9;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.06;
  margin: 22px 0;
}
.hero h1 em {
  font-style: normal;
  color: #67e8f9;
}
.hero p {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.75;
  color: #cbd5e1;
}
.actions,
.checks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.checks {
  gap: 26px;
  color: #cbd5e1;
  font-size: 14px;
}
.hero-panel {
  border: 1px solid #ffffff22;
  background: #ffffff0c;
  padding: 22px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  backdrop-filter: blur(12px);
}
.hero-panel article {
  padding: 22px;
  border: 1px solid #ffffff18;
  background: #020617aa;
  border-radius: 18px;
}
.hero-panel article:first-child {
  grid-column: 1/-1;
}
.hero-panel i {
  display: block;
  font-size: 26px;
  color: #67e8f9;
  margin-bottom: 14px;
}
.hero-panel b,
.hero-panel small {
  display: block;
}
.hero-panel small {
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 8px;
}
.panel-banner {
  grid-column: 1/-1;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, #1d4ed8, #0891b2);
  display: flex;
  justify-content: space-between;
}
.panel-banner small,
.panel-banner b {
  display: block;
}
.metrics {
  border-bottom: 1px solid #e2e8f0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metrics-grid div {
  text-align: center;
  padding: 28px;
  border-right: 1px solid #e2e8f0;
}
.metrics-grid b {
  display: block;
  font-size: 30px;
  color: #1d4ed8;
}
.metrics-grid span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 750;
}
.section {
  padding: 110px 0;
}
.alt {
  background: #f8fafc;
}
.dark {
  background: #020617;
  color: white;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  margin: 14px 0 20px;
}
.section p {
  color: #64748b;
  line-height: 1.75;
}
.visual {
  aspect-ratio: 4/3;
  border-radius: 30px;
  padding: 38px;
  color: white;
  background: linear-gradient(145deg, #020617, #172554, #1d4ed8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px #0f172a33;
}
.visual h2 {
  font-size: 34px;
}
.visual span {
  font-size: 11px;
  letter-spacing: 2px;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.benefits article {
  border-left: 3px solid #2563eb;
  padding-left: 14px;
}
.benefits small {
  display: block;
  color: #64748b;
  margin-top: 7px;
  line-height: 1.5;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 25px #0f172a08;
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px #0f172a16;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.card h3 {
  font-size: 21px;
  margin: 22px 0 12px;
}
.card ul {
  padding: 0;
  list-style: none;
}
.card li {
  font-size: 14px;
  color: #475569;
  margin: 11px 0;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sector-grid article {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 26px;
}
.sector-grid b {
  font-size: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.step {
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  background: #ffffff0a;
  padding: 20px;
}
.step strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #22d3ee55;
  border-radius: 15px;
  color: #67e8f9;
}
.step b {
  display: block;
  margin-top: 18px;
}
.step p {
  font-size: 12px;
  color: #94a3b8;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter {
  border: 1px solid #cbd5e1;
  background: white;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}
.filter.active {
  background: #1d4ed8;
  color: white;
  border-color: #1d4ed8;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project {
  border-radius: 23px;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
}
.project-visual {
  height: 170px;
  padding: 25px;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  color: white;
  font-size: 35px;
}
.project-body {
  padding: 24px;
}
.project-body small {
  color: #1d4ed8;
  font-weight: 800;
}
.project-body h3 {
  margin: 10px 0;
}
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  border: 0;
  background: none;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.faq-a {
  display: none;
  padding: 0 0 22px;
  color: #64748b;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  display: block;
}
.contact {
  background: #1d4ed8;
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-grid > div {
  padding: 90px 70px 90px 0;
}
.contact p {
  color: #dbeafe;
  line-height: 1.7;
}
.contact ul {
  list-style: none;
  padding: 0;
  line-height: 2.3;
}
.form-card {
  background: #020617;
  padding: 58px;
  border-radius: 0;
}
.form-card h3 {
  font-size: 27px;
}
.form-card input,
.form-card textarea,
.modal input,
.modal textarea,
.modal select {
  width: 100%;
  padding: 14px 15px;
  margin: 6px 0;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  font: inherit;
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-grid select,
.form-grid textarea,
.form-grid .consent,
.form-grid button {
  grid-column: 1/-1;
}
.consent {
  font-size: 12px;
  color: #475569;
}
.consent input {
  width: auto;
}
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  background: #10b981;
  color: white;
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 800;
  box-shadow: 0 14px 30px #064e3b55;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: #020617bb;
  padding: 20px;
}
.modal.show {
  display: grid;
}
.modal-box {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: white;
  border-radius: 24px;
  padding: 34px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: #f1f5f9;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 24px;
  cursor: pointer;
}
footer {
  background: #020617;
  color: #94a3b8;
  padding: 55px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-grid b {
  color: white;
}
.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 14px;
  margin: 11px 0;
}
.copyright {
  border-top: 1px solid #ffffff14;
  margin-top: 35px;
  padding-top: 24px;
  font-size: 12px;
}
@media (max-width: 900px) {
  .nav nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav nav.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding: 80px 0;
  }
  .hero-panel {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards,
  .projects {
    grid-template-columns: 1fr 1fr;
  }
  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid > div {
    padding: 70px 0;
  }
  .form-card {
    padding: 35px;
    margin-bottom: 60px;
    border-radius: 24px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 75px 0;
  }
  .cards,
  .projects,
  .sector-grid,
  .benefits,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid div {
    padding: 22px 8px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .form-grid > * {
    grid-column: 1 !important;
  }
  .whatsapp {
    font-size: 0;
    padding: 17px;
  }
  .whatsapp:after {
    content: "WA";
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* Selector multilenguaje */
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}
.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}
.lang-toggle .globe {
  font-size: 16px;
}
.lang-toggle .chev {
  font-size: 11px;
  color: #64748b;
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 22px 55px #0f172a26;
  z-index: 80;
}
.lang-menu.open {
  display: block;
  animation: langIn 0.18s ease;
}
.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 11px 12px;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.lang-option:hover {
  background: #f1f5f9;
}
.lang-option.active {
  background: #eff6ff;
  color: #1d4ed8;
}
.lang-option small {
  font-size: 11px;
  color: #94a3b8;
}
.lang-option.active small {
  color: #2563eb;
}
@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .lang-switcher {
    order: -1;
  }
  .lang-menu {
    left: 0;
    right: auto;
  }
  .nav nav .lang-switcher {
    display: none;
  }
  .mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
@media (min-width: 901px) {
  .mobile-tools > .lang-switcher {
    display: none;
  }
}

.form-status {
  min-height: 22px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.form-status.success {
  color: #047857;
}
.form-status.error {
  color: #b91c1c;
}
.secure-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Forms Pro */
.form-intro {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-grid .field-group {
  margin-bottom: 0;
}
.field-full {
  grid-column: 1/-1;
}
.field-group label:not(.consent) {
  margin-bottom: 7px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 750;
}
.required-mark,
.field-error,
.character-counter {
  color: #dc2626;
}
.field-group input:not([type="checkbox"]),
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  transition: 0.2s;
}
.field-group textarea {
  min-height: 130px;
  resize: vertical;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #2563eb;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field-group.is-invalid input:not([type="checkbox"]),
.field-group.is-invalid select,
.field-group.is-invalid textarea {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.09);
}
.field-group.is-valid input:not([type="checkbox"]),
.field-group.is-valid select,
.field-group.is-valid textarea {
  border-color: #059669;
  background: #f6fffb;
}
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.field-group.is-invalid .field-error {
  display: block;
}
.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}
.character-counter {
  font-weight: 750;
}
.character-counter.counter-valid {
  color: #059669;
}
.consent-group {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2563eb;
}
.consent-group.is-invalid,
.captcha-group.is-invalid {
  border: 1px solid #dc2626;
  background: #fff7f7;
}
.captcha-group {
  min-height: 75px;
  padding: 10px;
  border-radius: 12px;
}
.turnstile-container {
  min-height: 65px;
}
.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.button-loader {
  display: none;
  width: 17px;
  height: 17px;
  margin-left: 9px;
  border: 2px solid #ffffff73;
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: formSpin 0.7s linear infinite;
}
.submit-button.is-loading .button-loader {
  display: inline-block;
}
@keyframes formSpin {
  to {
    transform: rotate(360deg);
  }
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  min-height: 22px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 650;
}
.form-status.success {
  color: #047857;
}
.form-status.error {
  color: #b91c1c;
}


/* =====================================================
   FORMULARIO MAESTRO UNIFICADO
   ===================================================== */
body.modal-open { overflow: hidden; }
.contact-grid-unified { align-items: stretch; gap: 54px; padding: 80px 0; }
.contact-grid-unified > div { padding: 0; }
.contact-content { align-self: center; }
.contact-list { display: grid; gap: 12px; margin: 28px 0 0; }
.contact-list li { display: grid; grid-template-columns: 30px 115px 1fr; align-items: center; gap: 8px; padding: 10px 0; line-height: 1.45; }
.contact-list li > span:first-child { color: #67e8f9; font-size: 20px; }
.contact-list strong { color: #ffffff; font-size: 13px; }
.contact-list li > span:last-child { color: #dbeafe; font-size: 14px; }
.contact-cta { align-self: center; padding: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: #020617; box-shadow: 0 24px 55px rgba(2,6,23,.28); }
.contact-cta-badge { display: inline-block; padding: 7px 10px; border-radius: 999px; background: rgba(103,232,249,.12); color: #67e8f9; font-size: 10px; font-weight: 850; letter-spacing: 1.5px; }
.contact-cta h3 { margin: 18px 0 10px; color: #ffffff; font-size: 28px; }
.contact-cta p { color: #cbd5e1; }
.contact-cta-benefits { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; color: #e2e8f0; font-size: 13px; }
.contact-cta .btn { width: 100%; text-align: center; }
#requestModal .modal-box { width: min(720px,100%); }
#requestModal .form-grid { gap: 14px; }
#requestModal .form-status { grid-column: 1/-1; }
@media (max-width:900px) { .contact-grid-unified { gap: 0; padding: 70px 0; } .contact-cta { margin-bottom: 0; } }
@media (max-width:600px) { .contact-grid-unified { padding: 58px 0; } .contact-list li { grid-template-columns: 26px 1fr; } .contact-list li > span:last-child { grid-column: 2; } .contact-cta { padding: 30px 22px; } #requestModal { padding: 10px; } #requestModal .modal-box { padding: 30px 20px 22px; border-radius: 18px; } }
