/* ═══════════════════════════════════════════════════════════════
   ServisWeb.lat — styles.css
   Hoja de estilos principal
   Paleta: Blanco dominante · Verde esmeralda · Gris refinado
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  /* Colores principales */
  --emerald:      #1a7a5e;
  --emerald-dark: #145f49;
  --emerald-deep: #0e4736;
  --emerald-soft: #e8f5f0;
  --emerald-mid:  #c8e8df;
  --emerald-lite: #f0faf6;

  /* Grises */
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  /* Base */
  --white:    #ffffff;
  --text:     #1f2937;
  --text-mid: #4b5563;
  --text-light: #9ca3af;

  /* Funcionales */
  --success:  #059669;
  --warn:     #d97706;
  --radius:   10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);

  /* Tipografía */
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-display: 'Fraunces', serif;

  /* Transición */
  --ease: .28s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--emerald-dark); }
button { font-family: var(--font-body); }

/* ── UTILIDADES ─────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 88px 0; }
.section--alt { background: var(--gray-50); }
.section--emerald { background: var(--emerald-lite); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.18;
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--emerald);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,122,94,.28);
}
.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--emerald);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--emerald-dark); gap: 12px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ── BANNER AVISO SUPERIOR ──────────────────────────────────── */
.top-notice {
  background: var(--emerald-deep);
  padding: 10px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
}
.top-notice strong { color: #7fffd4; }
.top-notice .sep { margin: 0 10px; opacity: .4; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--emerald);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.01em;
}
.nav-logo-text span { color: var(--emerald); }
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--text-mid);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 7px;
  transition: all var(--ease);
}
.nav-links a:hover {
  color: var(--emerald);
  background: var(--emerald-soft);
}
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .28s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 12px 28px 20px;
  gap: 4px;
}
.mobile-menu a {
  color: var(--text-mid);
  font-size: .93rem;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu.open { display: flex; }

@media (max-width: 820px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
/* Decoración geométrica fondo */
.hero-bg {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--emerald-soft) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-bg-2 {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--emerald-lite) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-mid);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: .3; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--emerald);
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.82;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--emerald-soft);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}
.trust-label { font-size: .82rem; font-weight: 600; color: var(--gray-700); line-height: 1.3; }

/* Visual SVG del hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-shield-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}
.hero-card-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}
.hero-card-float:nth-child(2) { animation-delay: -1.4s; top: 10px; right: -20px; }
.hero-card-float:nth-child(3) { animation-delay: -2.8s; bottom: 30px; left: -20px; }
.hero-card-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── DISCLAIMER PRINCIPAL ───────────────────────────────────── */
.disclaimer-main {
  background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 100%);
  border: 1.5px solid var(--emerald-mid);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 640px) { .disclaimer-main { grid-template-columns: 1fr; padding: 24px 20px; } }
.disclaimer-badge {
  width: 52px;
  height: 52px;
  background: var(--emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.disclaimer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}
.disclaimer-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.disclaimer-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.disclaimer-points li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
  font-size: .88rem;
  margin-top: 1px;
}
.disclaimer-wrap { background: var(--emerald-lite); padding: 56px 0; }

/* ── CARDS PROBLEMAS ────────────────────────────────────────── */
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all var(--ease);
  cursor: default;
  position: relative;
}
.problem-card:hover {
  border-color: var(--emerald-mid);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.problem-card-icon {
  width: 46px;
  height: 46px;
  background: var(--emerald-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: background var(--ease);
}
.problem-card:hover .problem-card-icon { background: var(--emerald-mid); }
.problem-card-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.problem-card-text {
  font-size: .86rem;
  color: var(--text-mid);
  line-height: 1.68;
}
.problem-card-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warn);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 100px;
  padding: 3px 10px;
}

/* ── CÓMO AYUDAMOS ──────────────────────────────────────────── */
.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  transition: all var(--ease);
}
.service-item:hover {
  border-color: var(--emerald-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--emerald-mid);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.service-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.service-text { font-size: .87rem; color: var(--text-mid); line-height: 1.7; }

/* Box de "NO hacemos" */
.no-do-box {
  background: #fff8f0;
  border: 1.5px solid #fddbb5;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 40px;
}
.no-do-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.no-do-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.no-do-list li {
  display: flex;
  gap: 10px;
  font-size: .87rem;
  color: #92400e;
}
.no-do-list li::before { content: '✕'; flex-shrink: 0; font-weight: 700; }

/* ── QUIÉNES SOMOS ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.value-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
  transition: border-color var(--ease);
}
.value-row:hover { border-color: var(--emerald-mid); }
.value-icon {
  width: 36px;
  height: 36px;
  background: var(--emerald-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.value-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.value-desc { font-size: .83rem; color: var(--text-mid); line-height: 1.6; }

/* Visual "Sobre nosotros" */
.about-visual-box {
  background: linear-gradient(145deg, var(--emerald-soft) 0%, var(--white) 100%);
  border: 1px solid var(--emerald-mid);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
}
.about-mission-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--emerald-dark);
  line-height: 1.5;
  margin-bottom: 28px;
}
.about-stat-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  border-top: 1px solid var(--emerald-mid);
  padding-top: 24px;
  flex-wrap: wrap;
}
.about-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}
.about-stat-label { font-size: .78rem; color: var(--text-mid); margin-top: 4px; }

/* ── CONTACTO ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--emerald-soft);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-lbl {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 3px;
}
.contact-val { font-size: .93rem; color: var(--gray-700); }

/* Formulario */
.form-row { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--white);
  border: 1.5px solid var(--gray-200, #e5e7eb);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color var(--ease);
  resize: vertical;
}
.form-control::placeholder { color: var(--text-light); }
.form-control:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(26,122,94,.1); }
select.form-control option { background: var(--white); }
.form-note { font-size: .75rem; color: var(--text-light); margin-top: 8px; }
#form-ok {
  display: none;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: .88rem;
  color: #065f46;
  margin-top: 14px;
}

/* ── TABS (Política / Términos / Aviso) ─────────────────────── */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 36px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--emerald); }
.tab-btn.active {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.legal-content h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--emerald-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 28px 0 10px;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 10px;
}
.legal-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.legal-content ul li {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand-name span { color: #6ee7b7; }
.footer-desc {
  font-size: .84rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 18px;
}
.footer-disclaimer-box {
  background: rgba(110,231,183,.07);
  border: 1px solid rgba(110,231,183,.2);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}
.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.footer-links a:hover { color: #6ee7b7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a {
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  transition: color var(--ease);
}
.footer-legal-links a:hover { color: #6ee7b7; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
