/* ═══════════════════════════════════════════════════════════════
   ARQA® — Cluster 3 · Landing de Conversión (Hero Split 60/40)
   Archivo: css/styles3.css
   Tipografía: Poppins
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --white:        #ffffff;
  --gray-50:      #f8f9fb;
  --gray-100:     #f1f3f7;
  --gray-200:     #e2e6ed;
  --gray-400:     #9aa3b0;
  --gray-600:     #5a6475;
  --gray-800:     #2c3340;
  --gray-900:     #1a1f2b;

  --blue-navy:    #1a3a6b;
  --blue-mid:     #2a5298;
  --blue-light:   #4a8fd4;
  --blue-pale:    #dbeafe;
  --blue-pale2:   #eff6ff;

  --font:         'Poppins', sans-serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;

  --shadow-sm:    0 1px 4px rgba(26,58,107,.08);
  --shadow-md:    0 4px 16px rgba(26,58,107,.12);
  --shadow-lg:    0 12px 40px rgba(26,58,107,.20);
  --shadow-xl:    0 24px 64px rgba(0,0,0,.28);
}

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

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

.container3 {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal3 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal3.visible { opacity: 1; transform: translateY(0); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar3 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#navbar3.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(26,58,107,.10);
}

.nav-container3 {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
  width: min(1180px, 92%);
  margin: 0 auto;
}
.nav-logo3 { flex-shrink: 0; }
.logo-fallback3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-navy);
  letter-spacing: .04em;
}

.nav-links3 {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}
.nav-links3 a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color .2s;
}
.nav-links3 a:hover { color: var(--blue-mid); }

.btn-nav3 {
  margin-left: 1rem;
  padding: .5rem 1.3rem;
  background: var(--blue-mid);
  color: #fff;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 40px;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn-nav3:hover { background: var(--blue-navy); transform: translateY(-1px); }

/* Hamburguesa */
.ham3 {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.ham3 span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.ham3.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham3.open span:nth-child(2) { opacity: 0; }
.ham3.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MENÚ MÓVIL ─────────────────────────────────────────── */
.mobile-menu3 {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 88%);
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -8px 0 40px rgba(26,58,107,.18);
  transition: right .35s cubic-bezier(.25,.46,.45,.94);
}
.mobile-menu3.open { right: 0; }
.mobile-menu3 a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 1rem;
  transition: color .2s;
}
.mobile-menu3 a:hover { color: var(--blue-mid); }
.mob-cta3 {
  margin-top: .5rem;
  background: var(--blue-mid) !important;
  color: #fff !important;
  border-radius: 40px !important;
  padding: .75rem 1.5rem !important;
  border-bottom: none !important;
  text-align: center;
}
.mobile-close3 {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-600);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.mobile-close3:hover { background: var(--gray-100); }


/* ─── HERO SPLIT ─────────────────────────────────────────── */
#hero3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero3-bg {
  position: absolute;
  inset: 0;
}
.hero3-bg picture,
.hero3-bg-img {
  width: 100%; height: 100%;
  display: block;
}
.hero3-bg picture img,
.hero3-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero3-overlay {
  position: absolute;
  inset: 0;
  /* Más oscuro a la izquierda donde va el texto, más suave a la derecha */
  background: linear-gradient(
    100deg,
    rgba(14,28,58,.90) 0%,
    rgba(26,58,107,.82) 45%,
    rgba(26,58,107,.55) 65%,
    rgba(14,28,58,.70) 100%
  );
}

.hero3-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3.5rem;
  align-items: center;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

/* Columna izquierda */
.hero3-copy { color: #fff; }

.hero3-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 40px;
  padding: .3rem .9rem;
  margin-bottom: 1.5rem;
}

.hero3-copy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero3-copy h1 em {
  font-style: normal;
  color: #90c3f0;
}
.hero3-copy > p {
  font-size: .98rem;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  max-width: 460px;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.hero3-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
}
.hero3-bullets li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}
.hero3-bullets li svg {
  flex-shrink: 0;
  color: #6ee7b7;
}
.hero3-bullets li strong { color: #fff; }

.hero3-link {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero3-link:hover { color: #fff; border-color: rgba(255,255,255,.7); }


/* ─── FORM CARD ──────────────────────────────────────────── */
.hero3-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-xl);
}

.form3-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 1.25rem;
}
.form3-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: .4rem;
}
.form3-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: .35rem;
}
.form3-header p {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.form3-group {
  margin-bottom: 1rem;
}
.form3-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: .35rem;
}
.req3 { color: #e05252; margin-left: 2px; }

.form3-group input,
.form3-group select {
  width: 100%;
  padding: .7rem .9rem;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form3-group input::placeholder { color: var(--gray-400); }
.form3-group input:focus,
.form3-group select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(74,143,212,.15);
  background: var(--white);
}
.form3-group.field-error3 input,
.form3-group.field-error3 select {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.12);
}

/* Select arrow */
.form3-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-color: var(--gray-50);
  padding-right: 2.5rem;
  cursor: pointer;
}

.btn3-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-navy));
  color: #fff;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  margin-top: .25rem;
  box-shadow: 0 6px 20px rgba(26,58,107,.35);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.btn3-submit:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,58,107,.45);
}
.btn3-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form3-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: .85rem;
}
.form3-note svg { flex-shrink: 0; }


/* ─── SECTORES ───────────────────────────────────────────── */
#sectores3 {
  padding: 5.5rem 0;
  background: var(--white);
}

.sec3-header {
  text-align: center;
  margin-bottom: 3rem;
}
.eyebrow3 {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: .6rem;
}
.sec3-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .6rem;
}
.sec3-header p {
  font-size: .95rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

.sectores3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sector3-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.sector3-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.sector3-img {
  position: relative;
  height: 195px;
  overflow: hidden;
}
.sector3-img picture,
.sector3-img picture img,
.sector3-img > img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s ease;
}
.sector3-card:hover .sector3-img picture img,
.sector3-card:hover .sector3-img > img { transform: scale(1.07); }

.sector3-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,107,.5), transparent 60%);
}
.sector3-icon {
  position: absolute;
  bottom: .75rem; left: .75rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
}

.sector3-body {
  padding: 1.1rem 1.25rem 1.4rem;
}
.sector3-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .4rem;
}
.sector3-body p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: .85rem;
}
.sector3-cta {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-mid);
  transition: color .2s;
}
.sector3-cta:hover { color: var(--blue-navy); }


/* ─── CONTACTO INFO ──────────────────────────────────────── */
#contacto3 {
  padding: 5rem 0;
  background: var(--gray-50);
}

.ct3-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ct3-text .eyebrow3 { margin-bottom: .5rem; }
.ct3-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.ct3-text p {
  font-size: .9rem;
  color: var(--gray-600);
  max-width: 420px;
}

.ct3-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ct3-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow .25s, transform .25s;
}
a.ct3-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--blue-light);
}
.ct3-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  flex-shrink: 0;
}
.ct3-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: .2rem;
}
.ct3-value {
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-900);
}


/* ─── FOOTER ─────────────────────────────────────────────── */
#footer3 {
  background: var(--gray-900);
  padding: 2.5rem 0 1.75rem;
  color: rgba(255,255,255,.65);
}

.ft3-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.25rem;
}
.ft3-brand p {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: .5rem;
}
.ft3-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  align-items: center;
}
.ft3-links a {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.ft3-links a:hover { color: #fff; }
.ft3-copy {
  font-size: .75rem;
  text-align: center;
  color: rgba(255,255,255,.3);
}


/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero3-grid { grid-template-columns: 1fr 380px; gap: 2.5rem; }
  .sectores3-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links3 { display: none; }
  .btn-nav3   { display: none; }
  .ham3       { display: flex; }

  .hero3-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
  }
  .hero3-copy h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
  .hero3-copy > p { max-width: 100%; }

  .ct3-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  html { font-size: 15px; }
  .sectores3-grid { grid-template-columns: 1fr; }
  .hero3-form-card { padding: 1.75rem 1.25rem; }
  .ft3-inner { flex-direction: column; }
}
