
/* =========================================
   SITIO WEB EMPRESARIAL
   Framework: Bulma
   Archivo: css/styles.css
========================================= */

:root {
  --navy: #11194f;
  --navy-dark: #080d25;
  --blue: #0785f9;
  --blue-dark: #006fe0;
  --ink: #171923;
  --muted: #657080;
  --pale: #f3f7fb;
  --border: #e3e8f0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
}

a {
  transition: color .2s ease, background-color .2s ease,
              transform .2s ease;
}

img {
  max-width: 100%;
}

/* =========================================
   BARRA SUPERIOR
========================================= */

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: #d8ebff;
}

.social-links,
.footer-social {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.social-links a,
.footer-social a {
  font-size: 1rem;
  font-weight: 800;
}

/* =========================================
   ENCABEZADO Y LOGO PERSONALIZADO
========================================= */

.site-header {
  background: var(--navy-dark);
}

.navbar {
  min-height: 90px;
}

.navbar > .container {
  align-items: center;
}

.navbar-menu {
  background: transparent;
}

.navbar-item {
  color: #fff;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  padding-left: .9rem;
  padding-right: .9rem;
}

.navbar-item:hover,
.navbar-item:focus {
  background: transparent !important;
  color: #52a9ff !important;
}

/*
  LOGO DE TU EMPRESA

  Coloca tu archivo en:
  img/logo.png

  Para cambiar el tamaño, modifica width.
*/

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-empresa {
  display: block;
  width: 210px;
  max-width: 100%;
  height: 66px;
  object-fit: contain;
  object-position: left center;
}

/* Logo del pie de página */

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.logo-footer {
  width: 220px;
  height: 75px;
  object-position: left center;
}

.navbar-burger {
  color: #fff;
}

.navbar-burger:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* =========================================
   BANNER PRINCIPAL
========================================= */

.hero-banner {
  min-height: 515px;
  position: relative;

  background:
    #11162a
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=2000&q=85")
    center 48% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 7, 20, .89),
    rgba(4, 7, 20, .58) 55%,
    rgba(4, 7, 20, .45)
  );
}

.hero-banner .hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 515px;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 1120px;
}

.eyebrow {
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .17em;
  margin-bottom: 1rem;
}

.blue-text {
  color: var(--blue);
}

.hero-content .title {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.3rem, 4.3vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.hero-content .title span {
  color: #58adff;
}

.hero-content .subtitle {
  max-width: 590px;
  color: #e5e9f2;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 1.3rem 0 1.8rem;
}

.button.is-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 7px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.button.is-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button span {
  margin-left: .65rem;
}

/* =========================================
   SECCIONES GENERALES
========================================= */

.section {
  padding: 5rem 1.5rem;
}

.intro-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-title {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.body-copy {
  color: #444b56;
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: .6rem;
  color: var(--blue-dark);
  font-weight: 700;
}

.text-link span {
  margin-left: .45rem;
}

/* =========================================
   IMAGEN DE PRESENTACIÓN
========================================= */

.intro-visual {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.intro-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 72%;
  background: #e6f3ff;
  border-radius: 18px 0 0 0;
}

.intro-visual img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0 20px 0 20px;
}

.experience-card {
  position: absolute;
  z-index: 2;
  right: -1rem;
  bottom: 0;
  width: 220px;
  padding: 1.1rem 1.3rem;
  background: var(--navy);
  color: #fff;
  border-left: 4px solid var(--blue);
  box-shadow: 0 12px 28px #11194f20;
}

.experience-card strong,
.experience-card span {
  display: block;
}

.experience-card strong {
  font-size: 1.1rem;
  margin-bottom: .35rem;
}

.experience-card span {
  color: #d7e4ff;
  font-size: .8rem;
  line-height: 1.5;
}

/* =========================================
   SERVICIOS
========================================= */

.services-section,
.trust-section {
  background: var(--pale);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.6rem;
}

.section-heading .title {
  margin-bottom: .8rem;
}

.section-subtitle {
  color: var(--muted);
}

.heading-line {
  display: block;
  width: 54px;
  height: 3px;
  background: var(--blue);
  margin: 1.2rem auto 0;
}

.service-card {
  height: 100%;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(19, 35, 70, .035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 32px rgba(19, 35, 70, .09);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #eaf4ff;
  color: var(--blue-dark);
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 9px;
  margin-bottom: 1.3rem;
}

.service-card .title {
  color: var(--navy);
  margin-bottom: .8rem;
}

.service-card p {
  min-height: 100px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.service-card a {
  display: inline-block;
  margin-top: .9rem;
  color: var(--blue-dark);
  font-size: .86rem;
  font-weight: 700;
}

.service-card a span {
  margin-left: .35rem;
}

/* =========================================
   DETALLE DE LOS SERVICIOS
========================================= */

.details-section {
  background: #fff;
}

.detail-block {
  margin-bottom: 3rem;
  scroll-margin-top: 2rem;
}

.feature-heading {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.feature-heading h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
}

.legal-list {
  margin: 1.7rem 0;
}

.legal-list > div {
  margin-bottom: 1.25rem;
}

.legal-list h3 {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .25rem;
}

.legal-list p {
  color: #4b515d;
  font-size: .94rem;
  line-height: 1.65;
}

/* =========================================
   FORMULARIO DE CONTACTO
========================================= */

.contact-panel {
  position: sticky;
  top: 1rem;
  background: #eee;
  scroll-margin-top: 1rem;
}

.contact-panel-heading {
  padding: 1.1rem;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
}

.contact-form {
  padding: 1.5rem 1.7rem 1.7rem;
}

.contact-form .label {
  color: #596170;
  font-size: .78rem;
  margin-bottom: .35rem;
}

.contact-form .input,
.contact-form .select select,
.contact-form .textarea {
  border-color: #cdd4de;
  border-radius: 8px;
  box-shadow: none;
  font-family: inherit;
  font-size: .84rem;
}

.contact-form .input,
.contact-form .select select {
  min-height: 2.75rem;
}

.contact-form .input:focus,
.contact-form .select select:focus,
.contact-form .textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #0785f91c;
}

.contact-form .select,
.contact-form .select select {
  width: 100%;
}

.contact-form .textarea {
  min-height: 100px;
}

.privacy-check {
  color: #596170;
  font-size: .76rem;
  line-height: 1.6;
}

.privacy-check input {
  margin-right: .35rem;
}

.button.is-dark-blue {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  border-radius: 7px;
  font-weight: 700;
}

.button.is-dark-blue:hover {
  background: #202c78;
  color: #fff;
}

.form-note {
  color: #737b87;
  font-size: .7rem;
  line-height: 1.5;
  margin-top: .9rem;
}

.form-status {
  font-size: .85rem;
  font-weight: 600;
  margin-top: .7rem;
}

/* =========================================
   COMPROMISO
========================================= */

.trust-section .title {
  margin-bottom: .5rem;
}

.trust-number {
  color: var(--blue);
  font-size: 2.3rem;
  font-weight: 800;
}

.trust-section h3 {
  color: var(--navy);
  font-weight: 800;
  margin: .6rem 0;
}

.trust-section p {
  max-width: 300px;
  margin: auto;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================
   LLAMADA A LA ACCIÓN
========================================= */

.cta-band {
  padding: 3rem 1.5rem;
  background: var(--navy);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner .eyebrow {
  color: #6bb7ff;
  margin-bottom: .5rem;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.cta-inner .button {
  flex-shrink: 0;
  color: var(--navy);
  font-weight: 700;
  border-radius: 7px;
}

/* =========================================
   PIE DE PÁGINA
========================================= */

.site-footer {
  padding-top: 3.5rem;
  background: #fff;
}

.footer-description {
  max-width: 270px;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.7;
}

.site-footer h3 {
  color: var(--navy);
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  border-left: 4px solid var(--blue);
  padding-left: .75rem;
  margin-bottom: 1rem;
}

.site-footer .column > a:not(.brand) {
  display: block;
  color: #4e5663;
  font-size: .78rem;
  line-height: 1.8;
  margin-bottom: .2rem;
  overflow-wrap: anywhere;
}

.site-footer .column > a:hover {
  color: var(--blue-dark);
}

.site-footer p {
  margin-top: .7rem;
  color: #4e5663;
  font-size: .82rem;
  line-height: 1.8;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  color: var(--navy);
}

/* =========================================
   DISCLAIMER / AVISO IMPORTANTE
========================================= */

.disclaimer {
  padding: 1.2rem 1.25rem;
  background: #f2f5fa;
  border-top: 1px solid #dce3ee;
  border-bottom: 1px solid #dce3ee;
  color: #333b4a;
  font-size: .8rem;
  line-height: 1.7;
}

.disclaimer-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.disclaimer p {
  margin: 0;
  text-align: left;
}

.disclaimer strong {
  color: var(--navy);
  font-weight: 800;
}

.disclaimer-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
}

/* =========================================
   COPYRIGHT
========================================= */

.copyright {
  padding: .9rem 1rem;
  background: #d5d5d5;
  color: #111;
  text-align: center;
  font-size: .76rem;
  font-weight: 600;
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1023px) {
  .navbar-menu {
    padding: .7rem 1rem 1rem;
    background: #101741;
  }

  .navbar-menu .navbar-item {
    padding: .85rem .5rem;
  }

  .navbar-burger {
    color: #fff;
  }

  .service-card p {
    min-height: auto;
  }

  .contact-panel {
    position: static;
  }
}

/* =========================================
   MÓVILES
========================================= */

@media screen and (max-width: 768px) {
  .topbar-inner {
    padding: .55rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem 1rem;
  }

  .topbar-inner > a {
    font-size: .68rem;
  }

  .social-links {
    display: none;
  }

  .navbar {
    min-height: 75px;
  }

  .logo-empresa {
    width: 165px;
    height: 58px;
  }

  .logo-footer {
    width: 190px;
    height: 65px;
  }

  .hero-banner,
  .hero-banner .hero-body {
    min-height: 460px;
  }

  .hero-banner .hero-body {
    padding: 3.5rem 1.25rem;
  }

  .hero-content .title {
    font-size: 2.5rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .intro-visual {
    margin-top: 1rem;
    padding-left: 1rem;
  }

  .intro-visual img {
    height: 280px;
  }

  .experience-card {
    right: 0;
    width: 195px;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-top: 2.5rem;
  }

  .disclaimer {
    padding: 1rem;
    font-size: .75rem;
  }
}

/* =========================================
   ACCESIBILIDAD
========================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
