/* =============================
   BISER PROCESOS — GLOBAL CSS
   Paleta: azul oscuro, azul claro, blanco
   ============================= */

:root {
  --azul-oscuro: #0D1F3C;
  --azul-medio:  #162d52;
  --azul-claro:  #5BA8DC;
  --azul-suave:  #ddeef9;
  --blanco:      #ffffff;
  --gris-texto:  #5a6a7e;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanco);
  color: var(--azul-oscuro);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(91,168,220,0.15);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 8vw;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-mark {
  display: flex;
  gap: 3px;
  align-items: center;
}
.chevron {
  width: 10px;
  height: 22px;
  background: var(--azul-claro);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}
.chevron.c1 { opacity: 0.5; }
.chevron.c2 { opacity: 0.75; }
.chevron.c3 { opacity: 1; }
.logo-mark.small .chevron { width: 7px; height: 16px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #fff;
}
.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--azul-claro);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--azul-claro); }
.nav-links .nav-cta {
  background: var(--azul-claro);
  color: var(--azul-oscuro) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--azul-oscuro);
  padding: 4rem 8vw 0;
  margin-top: 0;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(91,168,220,0.15);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--azul-claro); }
.footer-data p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--azul-oscuro);
  padding: 10rem 8vw 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,168,220,0.12) 0%, transparent 70%);
}
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  max-width: 600px;
}

/* ========== SECTIONS ========== */
.section-light { background: #fff; padding: 6rem 8vw; }
.section-light.alt { background: var(--azul-suave); }
.section-dark { background: var(--azul-oscuro); padding: 6rem 8vw; }
.inner { max-width: 1100px; margin: 0 auto; }

/* ========== CONTACT FORM ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 560px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccd8e6;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--azul-oscuro);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--azul-claro);
}
.contact-form button {
  background: var(--azul-oscuro);
  color: #fff;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.contact-form button:hover { background: var(--azul-medio); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--azul-oscuro);
    padding: 1.5rem 8vw 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(91,168,220,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
