/* ==========================================================================
   Tu Reclamo Laboral — Identidad compartida con Tu Indemnización ART
   Paleta: slate azulado + grises claros | Playfair Display + Inter
   ========================================================================== */

/* Fuentes cargadas de forma asíncrona desde el HTML (ver <head>), no bloquean el render */

:root {
  --navy: #0B2E4F;
  --navy-dark: #082238;
  --navy-light: #3D5A78;
  --gray-50: #F8FAFB;
  --gray-100: #F0F3F5;
  --gray-200: #E3E8EC;
  --gray-400: #9AABB8;
  --gray-600: #5C6E7C;
  --ink: #14232F;
  --white: #FFFFFF;
  --green: #128038;
  --green-dark: #0E6B2E;

  --font-display: 'Manrope', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(11,46,79,0.08);
  --shadow-md: 0 12px 32px rgba(11,46,79,0.10);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy-dark); margin: 0 0 16px; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 16px; color: var(--gray-600); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-top .container { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-chip { display: inline-flex; align-items: center; }
.logo-img { height: 88px; width: auto; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-dark); }
.logo-text span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--gray-600); }
.header-trust { background: transparent; padding-bottom: 12px; }
.header-trust-inner { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; padding: 0 24px; font-size: 12px; color: var(--gray-600); }
.header-trust-inner .check { color: var(--green); font-weight: 800; margin-right: 4px; }
@media (max-width: 760px) { .header-trust { display: none; } }
.nav-cta { display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.main-nav a { font-size: 13.5px; font-weight: 600; color: var(--navy-dark); margin-right: 22px; white-space: nowrap; }
.main-nav a:hover { color: var(--green-dark); }
.main-nav a:last-child { margin-right: 0; }
.main-nav-wa { display: none; }
.header-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; }
.header-toggle:hover { background: var(--gray-100); }

@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white); border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md); padding: 8px 24px 18px; z-index: 50;
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin-right: 0; padding: 13px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; color: var(--navy-dark); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav-wa {
    display: block; margin-top: 10px; background: var(--green); color: #fff !important;
    text-align: center; padding: 13px 0; border-radius: 999px; font-weight: 700;
  }
  .header-top .container { position: relative; flex-wrap: nowrap; }
  .nav-cta-label { display: none; }
  .nav-cta { padding: 10px 12px; }
  .header-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  background: var(--white);
  padding: 96px 0 110px;
}

/* Hero con foto de fondo desenfocada */
.hero-photobg { position: relative; overflow: hidden; padding: 130px 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(7px) brightness(0.58) saturate(0.9);
  transform: scale(1.12);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(8,34,56,0.86) 0%, rgba(11,46,79,0.74) 45%, rgba(11,46,79,0.47) 100%);
}
@media (max-width: 760px) {
  .hero-photobg { padding: 90px 0; }
}
.hero-trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 26px; }
.hero-trust-list span:not(.check) { font-size: 13.5px; color: #E4E9EE; font-weight: 500; }
.hero-trust-list .check { color: #6FE39A; font-weight: 800; margin-right: 5px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy); background: var(--gray-100);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-lede { font-size: 18px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--navy-dark); border: 1.5px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--navy-light); }
.hero-trust { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.hero-trust .item { font-size: 13px; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }

/* Foto de oficina en el hero con badge flotante */
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: var(--shadow-md); display: block;
  aspect-ratio: 4/3; object-fit: cover;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--navy-dark); color: var(--white);
  border-radius: 14px; padding: 18px 22px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
}
.hero-badge .label { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--gray-400); margin-bottom: 4px; }
.hero-badge .value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #A9E5C0; }
.hero-badge .sub { font-size: 11.5px; color: var(--gray-400); margin-top: 2px; }
@media (max-width: 860px) {
  .hero-badge { left: 16px; bottom: -18px; padding: 14px 18px; min-width: 180px; }
  .hero-badge .value { font-size: 21px; }
}

.hero-card {
  background: var(--navy-dark); color: var(--white);
  border-radius: 16px; padding: 32px; box-shadow: var(--shadow-md);
}
.hero-card h3 { color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-body); font-weight: 700; opacity: .8; margin-bottom: 18px; }
.hero-card .rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.hero-card .row { display: flex; justify-content: space-between; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero-card .row strong { font-weight: 700; }
.hero-card .total { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #A9E5C0; }

/* Motivos grid (landings de reclamo) */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gray-200); }
.card .tag { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.card h3 { margin: 10px 0 8px; font-size: 18px; }
.card p { font-size: 14.5px; margin-bottom: 14px; }
.card a.card-link { font-weight: 700; font-size: 14px; color: var(--navy-dark); }
.card a.card-link:hover { color: var(--green-dark); }

.section-alt { background: var(--gray-50); }
.cards-3x2 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .cards-3x2 { grid-template-columns: 1fr; } }

/* Pasos / proceso */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px; }
.step { position: relative; padding-left: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16px; color: var(--navy-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--gray-400); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; }

/* Barra de confianza */
.trust-bar { background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: 22px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.trust-bar .item { font-size: 13.5px; font-weight: 600; color: var(--navy-dark); display: flex; align-items: center; gap: 8px; }
.trust-bar .item .check { color: var(--green); font-weight: 800; }

/* Por qué elegirnos */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 36px; }
.why-item .why-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(22,163,74,0.1); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { font-size: 14.5px; margin-bottom: 0; }

/* Cómo trabajamos v2 (6 pasos en línea con flechas) */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0; }
.flow-step {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 22px 20px; width: 160px; text-align: center; position: relative;
}
.flow-step .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  margin: 0 auto 12px;
}
.flow-step p { font-size: 13.5px; margin: 0; color: var(--navy-dark); font-weight: 600; }
.flow-arrow { display: flex; align-items: center; color: var(--gray-400); font-size: 20px; padding: 0 10px; }
@media (max-width: 900px) {
  .flow { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* Costos */
.cost-box {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--navy-dark); color: var(--white);
  border-radius: 20px; padding: 56px 48px;
}
.cost-box h2 { color: var(--white); }
.cost-box p { color: var(--gray-200); font-size: 16px; }
.cost-box .highlight { color: #6FE39A; font-weight: 800; }

/* Equipo — dos tarjetas */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 32px; margin-top: 40px; }
.team-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px; overflow: hidden; }
.team-card .photo { aspect-ratio: 4/5; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card .info { padding: 28px; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { font-size: 13.5px; font-weight: 700; color: #107A35; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.team-card .bio { font-size: 14.5px; margin-bottom: 16px; }
.team-card .specs { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--gray-600); }
.team-card .specs li { padding: 5px 0; }
.team-intro-photo { border-radius: 20px; overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-md); }
.team-intro-photo img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.team-closing { max-width: 760px; margin: 48px auto 0; text-align: center; background: var(--gray-50); border-radius: 16px; padding: 36px 40px; }

/* Reviews placeholder */
.reviews-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.review-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.review-card .stars { color: #F5A623; font-size: 14px; margin-bottom: 10px; }
.review-card p { font-size: 14px; margin-bottom: 12px; }
.review-card .author { font-size: 13px; font-weight: 700; color: var(--navy-dark); }

/* Industria — imagen de fondo en card */
.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 220px; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.industry-card .label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(11,46,79,0.88) 0%, rgba(11,46,79,0) 100%);
  color: var(--white); padding: 40px 20px 16px; font-weight: 700; font-size: 15px;
}

/* Lead form corto */
.lead-form { background: var(--gray-50); border-radius: 16px; padding: 28px; max-width: 420px; }
.lead-form .field input, .lead-form .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 14.5px; margin-bottom: 12px;
}
.lead-form .field textarea { resize: vertical; min-height: 80px; }

/* Contenido de landings individuales (despido X, trabajo en negro, etc.) */
.landing-body {
  max-width: 740px;
}
.landing-body h2 {
  font-size: 22px;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 4px solid var(--green);
  line-height: 1.3;
}
.landing-body h2:first-child { margin-top: 0; }
.landing-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray-600);
}
.landing-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 6px 20px;
}
.landing-body ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-200);
}
.landing-body ul li:last-child { border-bottom: none; }
.landing-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
}
.landing-body strong { color: var(--navy-dark); }
@media (max-width: 600px) {
  .landing-body h2 { font-size: 19px; margin-top: 34px; padding-left: 13px; }
  .landing-body p { font-size: 14.5px; }
  .landing-body ul { padding: 4px 16px; }
  .landing-body ul li { padding: 10px 0 10px 26px; font-size: 14px; }
}
.wa-modal-overlay {
  position: fixed; inset: 0; background: rgba(8,34,56,0.62);
  z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.wa-modal-overlay.open { display: flex; }
.wa-modal {
  background: var(--white); border-radius: 18px; max-width: 440px; width: 100%;
  padding: 30px; box-shadow: var(--shadow-md); position: relative;
  max-height: 90vh; overflow-y: auto;
}
.wa-modal h3 { margin-bottom: 6px; font-size: 21px; }
.wa-modal .wa-modal-sub { font-size: 13.5px; color: var(--gray-600); margin-bottom: 22px; }
.wa-modal .field { margin-bottom: 16px; }
.wa-modal label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-dark); margin-bottom: 6px; }
.wa-modal input, .wa-modal select, .wa-modal textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--white);
}
.wa-modal input:focus, .wa-modal select:focus, .wa-modal textarea:focus { outline: none; border-color: var(--green); }
.wa-modal textarea { min-height: 70px; resize: vertical; }
.wa-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--gray-400); padding: 4px;
}
.wa-modal-close:hover { color: var(--navy-dark); }
.wa-modal-submit {
  width: 100%; background: var(--green); color: #fff; border: none; padding: 14px;
  border-radius: 999px; font-weight: 700; font-size: 15.5px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease;
}
.wa-modal-submit:hover { background: var(--green-dark); }
.wa-modal-skip {
  display: block; text-align: center; margin-top: 14px; font-size: 12.5px;
  color: var(--gray-600); text-decoration: underline; cursor: pointer; background: none; border: none;
}
@media (max-width: 480px) {
  .wa-modal { padding: 24px 20px; border-radius: 14px; }
}

/* Calculadora */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--navy-dark); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); }
.field-check { display: flex; align-items: center; gap: 10px; }
.field-check input { width: auto; }
.field-hint { font-size: 12.5px; color: var(--gray-400); margin-top: 6px; }
.calc-result { position: sticky; top: 88px; background: var(--navy-dark); color: var(--white); border-radius: 16px; padding: 32px; }
.calc-result h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-body); opacity: .75; }
.calc-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 2px solid rgba(255,255,255,.25); }
.calc-total .label { font-size: 15px; opacity: .85; }
.calc-total .value { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: #A9E5C0; }
.calc-disclaimer { font-size: 12px; color: var(--gray-400); margin-top: 18px; }

/* Quiénes somos */
.team-section .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.team-photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.team-photo img { width: 100%; height: auto; display: block; }
.team-copy .eyebrow { margin-bottom: 14px; }
.team-names { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy-dark); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--gray-600); margin-bottom: 18px; }

/* CTA final */
.cta-band { background: var(--navy-dark); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gray-200); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--navy-dark); color: var(--gray-200); padding: 40px 0 28px; font-size: 13.5px; }
.site-footer a { color: var(--gray-200); display: inline-block; padding: 4px 0; }
.site-footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer .disclaimer { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--gray-400); font-size: 12px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); box-shadow: 0 6px 20px rgba(37,211,102,.4);
  display: flex; align-items: center; justify-content: center;
}
.wa-float:hover { background: var(--green-dark); }
.wa-float svg { width: 30px; height: 30px; }

/* Breadcrumb (landings internas) */
.breadcrumb { font-size: 13px; color: var(--gray-400); padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--navy); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .nav-cta span.nav-cta-text { display: none; }
}
