/* ===================================================
   FINPARTNER — Estilos compartidos
   =================================================== */

/* VARIABLES */
:root {
  --navy:   #0A1A2F;
  --navy2:  #0D2137;
  --gold:   #C9A961;
  --gold-lt:#D4B97A;
  --white:  #FFFFFF;
  --light:  #F4F6F9;
  --text:   #3D4F65;
  --slate:  #9AACBC;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,26,47,.08);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
p { margin: 0; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; }

/* NAVEGACIÓN */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 68px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav ul li a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
nav ul li a:hover { color: #fff; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  white-space: nowrap;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; color: var(--navy) !important; }
.logo { text-decoration: none; display: flex; align-items: center; }

/* SECCIONES */
section { padding: 80px 6%; overflow-x: hidden; max-width: 100%; }
nav, footer { overflow-x: hidden; max-width: 100%; }
.section-header { margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: #647080;
  max-width: 580px;
  line-height: 1.7;
}

/* BOTONES */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.btn-navy:hover { background: transparent; color: var(--navy); }

.btn-form {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  transition: background .2s;
  margin-top: 4px;
}
.btn-form:hover { background: var(--gold-lt); }

/* FORMULARIOS */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #5a6a8a;
  margin-bottom: 6px;
}
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
select,
textarea {
  width: 100%;
  border: 1.5px solid #d0d7e3;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,.15);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #a0aab8; }
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='%23647080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: var(--navy);
  padding: 64px 6% 0;
  color: rgba(255,255,255,.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: 18px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}
.footer-bottom a {
  text-decoration: none;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--gold); }

/* WHATSAPP FLOTANTE */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  z-index: 200;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 0 5%; }
  nav ul { gap: 20px; }
  nav ul li a { font-size: 13px; }
  section { padding: 60px 5%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  nav ul li { display: none; }
  nav ul li:last-child { display: block; }
}
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  nav .logo svg { height: 30px; }
  .nav-cta { padding: 8px 14px !important; font-size: 12px !important; }
  section { padding: 52px 5%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { bottom: 80px; right: 20px; }
}
@media (max-width: 380px) {
  nav .logo svg { height: 26px; }
  .nav-cta { padding: 7px 12px !important; font-size: 11px !important; }
}
