/* =========================================================
   HOME.CSS — SegurosconLiza.com
   Estilos específicos del homepage (index.html)
   ========================================================= */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: #fff; padding: 88px 0 80px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center; position: relative;
}
.hero-left { padding-bottom: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 500; margin-bottom: 24px;
}
.hero-badge strong { color: #7FDBFF; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(36px,5vw,58px);
  line-height: 1.1; color: #fff; margin-bottom: 20px;
}
.hero h1 em { color: #7FDBFF; font-style: italic; }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.82);
  max-width: 480px; margin-bottom: 36px; line-height: 1.6;
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.8);
}
.hero-trust-item svg { flex-shrink: 0; color: #7FDBFF; }

/* ── PRODUCTOS ── */
.products { padding: 88px 0; }
.products-header { text-align: center; margin-bottom: 48px; }
.products-header .section-sub { margin: 12px auto 0; }
.products-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 16px;
}
.product-card {
  background: var(--white); border-radius: 14px;
  padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,110,138,.15);
}
.product-card:nth-child(1) { border-top-color: #0D6E8A; }
.product-card:nth-child(2) { border-top-color: #D4714A; }
.product-card:nth-child(3) { border-top-color: #5B8A3C; }
.product-card:nth-child(4) { border-top-color: #7B5EA7; }
.product-card:nth-child(5) { border-top-color: #2E86AB; }
.product-icon { font-size: 36px; margin-bottom: 14px; }
.product-name {
  font-family: var(--serif); font-size: 18px;
  color: var(--dark); margin-bottom: 8px; line-height: 1.2;
}
.product-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.55; margin-bottom: 20px; flex: 1;
}
.product-link {
  font-size: 14px; font-weight: 600;
  color: var(--primary); display: flex;
  align-items: center; justify-content: center; gap: 4px;
  margin-top: auto;
}

/* ── CÓMO FUNCIONA ── */
.how { background: var(--secondary); padding: 88px 0; }
.how-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid rgba(13,110,138,.1);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500; font-size: 16px;
}
.step-body h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.step-body p  { font-size: 14px; color: var(--muted); }
.how-visual {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-lg); text-align: center;
}
.how-visual .visual-icon { font-size: 72px; margin-bottom: 20px; }
.how-visual h3 {
  font-family: var(--serif); font-size: 22px;
  color: var(--dark); margin-bottom: 10px;
}
.how-visual p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.response-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-lt); color: var(--primary);
  font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 20px;
}

/* ── SOBRE LIZA ── */
.about { padding: 88px 0; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/5;
  background: var(--secondary); border-radius: 20px;
  overflow: hidden; position: relative;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.about-img-placeholder .ph-icon  { font-size: 64px; opacity: .3; }
.about-img-placeholder .ph-label { font-size: 14px; color: var(--muted); text-align: center; line-height: 1.5; }
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--primary); color: #fff;
  border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(13,110,138,.3); text-align: center;
}
.about-badge .badge-num  { font-family: var(--mono); font-size: 28px; font-weight: 500; }
.about-badge .badge-txt  { font-size: 12px; opacity: .85; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-feats { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.about-feat { display: flex; align-items: flex-start; gap: 12px; }
.feat-icon {
  width: 34px; height: 34px; background: var(--primary-lt);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 17px;
}
.feat-text h4 { font-size: 15px; font-weight: 600; color: var(--dark); }
.feat-text p  { font-size: 14px; color: var(--muted); }

/* ── TESTIMONIOS ── */
.testimonials { background: var(--secondary); padding: 88px 0; }
.testi-header { text-align: center; margin-bottom: 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--white); border-radius: 14px;
  padding: 32px; box-shadow: var(--shadow-card);
}
.testi-stars  { color: #F59E0B; font-size: 15px; margin-bottom: 6px; }
.testi-quote  { font-size: 40px; line-height: 1; color: var(--primary); font-family: var(--serif); }
.testi-text   { font-size: 15px; color: var(--dark); line-height: 1.7; margin: 8px 0 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; color: var(--dark); }
.testi-meta { font-size: 13px; color: var(--accent); font-weight: 500; }

/* ── EXPATS ── */
.expats {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A5A73 0%, #1C2B3A 100%);
  color: #fff;
}
.expats-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.expats-tag {
  display: inline-block; background: rgba(127,219,255,.2);
  color: #7FDBFF; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.expats h2 { font-family: var(--serif); font-size: clamp(26px,4vw,40px); margin-bottom: 16px; }
.expats p  { font-size: 16px; opacity: .82; margin-bottom: 24px; line-height: 1.7; }
.expats-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.expats-perk  { display: flex; align-items: center; gap: 10px; font-size: 15px; opacity: .9; }
.expats-perk svg { flex-shrink: 0; color: #7FDBFF; }
.expats-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 32px;
}
.expats-card h3 {
  font-family: var(--serif); font-size: 20px;
  color: #fff; margin-bottom: 20px;
}
.expats-card .lead-form-wrap {
  background: transparent; padding: 0; box-shadow: none;
}
.expats-card .form-field input,
.expats-card .form-field select {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.expats-card .form-field input::placeholder { color: rgba(255,255,255,.5); }
.expats-card .form-field label { color: rgba(255,255,255,.8); }

/* ── FAQ ── */
.faq { padding: 88px 0; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(13,110,138,.1); }
.faq-item:first-child { border-top: 1px solid rgba(13,110,138,.1); }
.faq-item details summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px; color: var(--dark);
  transition: color .2s;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary:hover  { color: var(--primary); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid currentColor; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 300;
  color: var(--primary); transition: transform .25s;
}
.faq-item details[open] summary { color: var(--primary); }
.faq-item details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 32px 20px 0; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── CTA FINAL ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(28px,4vw,44px);
  margin-bottom: 16px;
}
.cta-band p  { font-size: 18px; opacity: .85; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-left    { padding-bottom: 0; }
  .how-inner    { grid-template-columns: 1fr; }
  .about-inner  { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 400px; margin: 0 auto; }
  .expats-inner { grid-template-columns: 1fr; }
  .testi-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid    { grid-template-columns: 1fr; }
  .hero          { padding: 56px 0 40px; }
  .products      { padding: 64px 0; }
  .how           { padding: 64px 0; }
  .about         { padding: 64px 0; }
  .testimonials  { padding: 64px 0; }
  .faq           { padding: 64px 0; }
  .cta-band      { padding: 60px 0; }
  .expats        { padding: 60px 0; }
  .hero-sub      { font-size: 16px; margin-bottom: 28px; }
  .about-badge   { bottom: -10px; right: -10px; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero          { padding: 40px 0 32px; }
  .products      { padding: 52px 0; }
  .how           { padding: 52px 0; }
  .about         { padding: 52px 0; }
  .testimonials  { padding: 52px 0; }
  .faq           { padding: 52px 0; }
  .cta-band      { padding: 48px 0; }
  .expats        { padding: 48px 0; }
  .testi-card    { padding: 24px 20px; }
  .how-visual    { padding: 28px 20px; }
  .about-badge   { bottom: -8px; right: -8px; padding: 12px 16px; }
}

/* ── HOW INTRO ── */
.how-intro { color: var(--muted); margin: 12px 0 40px; font-size: 16px; line-height: 1.7; }
