/* ============================================================
   Indemniza360 — Sobre nosotros + Opiniones
   Reutiliza tokens de styles.css (:root). Cargar DESPUÉS.
   ============================================================ */


/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */

/* ---------- Historia ---------- */
.about-story { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; }
.about-copy p { color: var(--slate); font-size: 17.5px; margin-bottom: 16px; }
.about-copy p strong { color: var(--navy); }
.about-sign { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-sign .sign-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; flex-shrink: 0; background: var(--navy); }
.about-sign b { display: block; color: var(--navy); font-size: 15.5px; }
.about-sign span { font-size: 13.5px; color: var(--slate); }

.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(17,181,166,0.28), transparent 55%),
    linear-gradient(150deg, #0B1D3A 0%, #122B52 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.about-visual::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border: 1.5px solid rgba(17,181,166,0.22); border-radius: 50%; }
.about-visual .av-quote { position: relative; color: #fff; }
.about-visual .av-quote .qmark { font-size: 60px; line-height: 0.6; color: var(--teal); font-weight: 800; display: block; margin-bottom: 8px; }
.about-visual .av-quote p { font-size: 21px; font-weight: 700; line-height: 1.4; color: #fff; }
.about-visual .av-quote span { display: block; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ---------- Valores ---------- */
.values-section { background: var(--bone); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-card); }
.value-card .v-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--cloud); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .v-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 19px; margin-bottom: 9px; }
.value-card p { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ---------- Equipo ---------- */
.team-section-full { background: var(--paper); }
.team-grid-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -20px rgba(11,29,58,0.26); }
.member-photo {
  height: 230px; position: relative; display: grid; place-items: center; overflow: hidden;
}
.member-photo .mp-mono { font-size: 64px; font-weight: 800; color: rgba(255,255,255,0.92); letter-spacing: -0.02em; }
.member-photo .mp-tag {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.95); border-radius: 10px; padding: 6px 11px;
  font-size: 12px; font-weight: 800; color: var(--navy); display: inline-flex; align-items: center; gap: 6px;
  width: fit-content;
}
.member-photo .mp-tag svg { width: 13px; height: 13px; color: var(--teal-ink); }
.member-body { padding: 20px 22px 24px; }
.member-body h3 { font-size: 19px; margin-bottom: 3px; }
.member-body .m-role { font-size: 13.5px; font-weight: 800; color: var(--teal-ink); margin-bottom: 12px; }
.member-body .m-bio { font-size: 14px; color: var(--slate); line-height: 1.55; margin-bottom: 16px; }
.member-meta { display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 14px; }
.member-meta .mm-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate); font-weight: 600; }
.member-meta .mm-row svg { width: 14px; height: 14px; color: var(--teal-ink); flex-shrink: 0; }

/* ---------- Cifras band ---------- */
.stats-band { background: var(--navy); position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; left: 50%; top: -160px; width: 420px; height: 420px; border: 1.5px solid rgba(17,181,166,0.16); border-radius: 50%; transform: translateX(-50%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.stat-item { text-align: center; }
.stat-item .s-num { font-size: clamp(36px, 4.4vw, 52px); font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-item .s-num em { color: var(--teal); font-style: normal; }
.stat-item .s-label { font-size: 14.5px; color: rgba(255,255,255,0.68); font-weight: 600; margin-top: 10px; }

/* ============================================================
   OPINIONES (estilo Google)
   ============================================================ */
.reviews-section { background: var(--bone); }

/* Tarjeta resumen estilo Google */
.g-summary {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 38px; box-shadow: var(--shadow-card); margin-bottom: 40px;
}
.g-summary-left { text-align: center; border-right: 1px solid var(--line); padding-right: 36px; }
.g-brand-row { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.g-logo { width: 26px; height: 26px; }
.g-brand-row span { font-size: 15px; font-weight: 700; color: var(--slate); }
.g-score { font-size: 68px; font-weight: 800; color: var(--navy); line-height: 0.95; letter-spacing: -0.02em; }
.g-stars { display: inline-flex; gap: 2px; margin: 8px 0 6px; }
.g-stars svg { width: 22px; height: 22px; }
.star-full { color: #FBBC04; }
.star-empty { color: #DADCE0; }
.g-count { font-size: 14px; color: var(--slate); font-weight: 600; }
.g-count a { font-weight: 700; }
.g-write-btn { margin-top: 18px; }

.g-bars { display: grid; gap: 7px; align-self: center; }
.g-bar-row { display: flex; align-items: center; gap: 12px; }
.g-bar-row .gb-n { font-size: 13px; color: var(--slate); font-weight: 700; width: 10px; text-align: right; }
.g-bar-row .gb-track { flex: 1; height: 11px; background: #EAEDF0; border-radius: 10px; overflow: hidden; }
.g-bar-row .gb-fill { height: 100%; background: #FBBC04; border-radius: 10px; }
.g-bar-row .gb-pct { font-size: 12.5px; color: var(--slate); font-weight: 600; width: 38px; }

/* Barra de orden/filtro */
.g-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.g-toolbar .gt-count { font-size: 15px; font-weight: 700; color: var(--navy); }
.g-toolbar .gt-spacer { flex: 1; }
.g-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--carbon); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; }
.g-sort svg { width: 16px; height: 16px; color: var(--slate); }

/* Grid de reseñas */
.reviews-grid { columns: 3; column-gap: 22px; }
.review-card {
  break-inside: avoid; margin-bottom: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 20px; box-shadow: var(--shadow-card);
}
.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.rc-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.rc-id { min-width: 0; flex: 1; }
.rc-id b { font-size: 15px; font-weight: 700; color: var(--ink); display: block; }
.rc-id .rc-meta { font-size: 12.5px; color: var(--slate); display: flex; align-items: center; gap: 5px; }
.rc-id .rc-meta svg { width: 12px; height: 12px; }
.rc-g { width: 20px; height: 20px; flex-shrink: 0; }
.rc-stars { display: inline-flex; gap: 1px; margin-bottom: 4px; }
.rc-stars svg { width: 16px; height: 16px; }
.rc-time { font-size: 12.5px; color: var(--slate); font-weight: 500; margin-left: 8px; }
.rc-starline { display: flex; align-items: center; margin-bottom: 11px; }
.rc-text { font-size: 14.5px; color: var(--carbon); line-height: 1.62; }
.rc-text .rc-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--teal-ink); background: var(--cloud); padding: 2px 9px; border-radius: 20px; margin-top: 13px; }
.rc-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.rc-foot button { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--slate); }
.rc-foot button:hover { color: var(--teal-ink); }
.rc-foot button svg { width: 15px; height: 15px; }

/* ---------- Casos de éxito ---------- */
.cases-section { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.case-top { padding: 22px 24px; background: var(--bone); border-bottom: 1px solid var(--line); }
.case-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px; }
.case-cat svg { width: 15px; height: 15px; }
.case-amounts { display: flex; align-items: flex-end; gap: 14px; }
.case-amounts .ca-from { font-size: 15px; color: var(--slate); font-weight: 700; text-decoration: line-through; text-decoration-color: var(--rose, #E5604D); }
.case-amounts .ca-arrow { color: var(--teal); }
.case-amounts .ca-arrow svg { width: 20px; height: 20px; }
.case-amounts .ca-to { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; line-height: 1; }
.case-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { font-size: 17.5px; margin-bottom: 9px; }
.case-body p { font-size: 14.5px; color: var(--slate); line-height: 1.6; flex: 1; }
.case-foot { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--slate); font-weight: 600; }
.case-foot .cf-mult { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--teal-ink); font-weight: 800; }
.case-disclaimer { font-size: 12.5px; color: var(--slate); text-align: center; margin-top: 28px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { min-height: 320px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid-full { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .reviews-grid { columns: 2; }
  .g-summary { grid-template-columns: 1fr; gap: 26px; }
  .g-summary-left { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 26px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .team-grid-full { grid-template-columns: 1fr; }
  .reviews-grid { columns: 1; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   PÁGINA DE SERVICIO INDIVIDUAL
   ============================================================ */
.svc-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 100% at 85% -10%, rgba(17,181,166,0.28), transparent 55%), linear-gradient(150deg, #0B1D3A 0%, #122B52 100%); }
.svc-hero::after { content:""; position:absolute; right:-110px; top:-130px; width:340px; height:340px; border:1.5px solid rgba(17,181,166,0.18); border-radius:50%; }
.svc-hero .container { position: relative; padding-top: 40px; padding-bottom: 46px; }
.svc-hero .breadcrumb a, .svc-hero .breadcrumb span { color: rgba(255,255,255,0.6); }
.svc-hero .breadcrumb a:hover { color:#fff; }
.svc-hero .kicker { color: var(--teal); }
.svc-hero h1 { color:#fff; font-size: clamp(30px,4vw,46px); line-height:1.1; letter-spacing:-0.02em; max-width: 800px; margin-bottom:16px; }
.svc-hero .svc-lead { font-size: clamp(17px,1.7vw,20px); color: rgba(255,255,255,0.8); max-width: 620px; margin-bottom: 26px; }
.svc-hero .hero-actions .btn-ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color:#fff; }
.svc-hero .hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.18); }
.svc-hero-meta { display:flex; gap:26px; margin-top:30px; flex-wrap:wrap; }
.svc-hero-meta div b { display:block; font-size:22px; font-weight:800; color:#fff; }
.svc-hero-meta div b em { color: var(--teal); font-style:normal; }
.svc-hero-meta div span { font-size:13px; color: rgba(255,255,255,0.6); font-weight:600; }

.svc-layout { display:grid; grid-template-columns: minmax(0,1fr) 320px; gap:48px; align-items:start; max-width:1180px; margin:0 auto; padding: 56px 24px 0; }
.svc-main { min-width:0; }
.svc-main h2 { font-size: clamp(24px,2.6vw,30px); margin: 40px 0 14px; letter-spacing:-0.01em; scroll-margin-top: 100px; }
.svc-main h2:first-child { margin-top:0; }
.svc-main h3 { font-size: 19px; margin: 24px 0 8px; }
.svc-main p { color: var(--slate); font-size: 16.5px; line-height:1.7; margin-bottom: 15px; }
.svc-main ul { list-style:none; display:grid; gap:11px; margin: 4px 0 20px; }
.svc-main ul li { position: relative; padding-left: 30px; color: var(--slate); font-size: 16px; line-height:1.55; }
.svc-main ul li svg { position:absolute; left:0; top:3px; width:19px; height:19px; color: var(--teal-ink); }
.svc-main strong { color: var(--navy); }

/* tabla de cuantías */
.amount-table { width:100%; border-collapse:collapse; margin: 10px 0 22px; font-size:15px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.amount-table thead th { background: var(--navy); color:#fff; text-align:left; padding:13px 16px; font-size:13.5px; font-weight:800; }
.amount-table td { padding:13px 16px; border-top:1px solid var(--line); color: var(--slate); }
.amount-table td:last-child { font-weight:800; color: var(--teal-ink); white-space:nowrap; }
.amount-table tbody tr:nth-child(even) { background: var(--bone); }

/* sidebar sticky */
.svc-side { position: sticky; top: 96px; display:grid; gap:18px; }
.svc-side-card { background: var(--paper); border:1px solid var(--line); border-radius:16px; padding:24px; box-shadow: var(--shadow-card); }
.svc-side-card.dark { background: var(--navy); color:#fff; border:none; }
.svc-side-card.dark h3 { color:#fff; }
.svc-side-card h3 { font-size:18px; margin-bottom:8px; }
.svc-side-card p { font-size:14px; color: var(--slate); line-height:1.55; margin-bottom:16px; }
.svc-side-card.dark p { color: rgba(255,255,255,0.75); }
.svc-side-card .btn { width:100%; }
.svc-side-toc { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--slate); margin-bottom:12px; }
.svc-side-card ul.toc { list-style:none; display:grid; gap:2px; }
.svc-side-card ul.toc li a { display:block; padding:7px 0; font-size:14px; font-weight:600; color: var(--carbon); border-bottom:1px solid var(--line); }
.svc-side-card ul.toc li:last-child a { border-bottom:none; }
.svc-side-card ul.toc li a:hover { color: var(--teal-ink); }
.svc-side-trust { display:flex; align-items:center; gap:10px; font-size:13px; color: var(--slate); font-weight:700; }
.svc-side-trust svg { width:18px; height:18px; color: var(--teal-ink); flex-shrink:0; }

/* FAQ acordeón */
.svc-faq { max-width: 1180px; margin: 0 auto; padding: 8px 24px; }
.faq-item { border:1px solid var(--line); border-radius:12px; margin-bottom:12px; background: var(--paper); overflow:hidden; }
.faq-item summary { list-style:none; cursor:pointer; padding:18px 22px; font-size:16.5px; font-weight:700; color: var(--navy); display:flex; align-items:center; gap:14px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .fq-ic { margin-left:auto; flex-shrink:0; transition: transform .2s; color: var(--teal-ink); }
.faq-item[open] summary .fq-ic { transform: rotate(45deg); }
.faq-item .fq-body { padding: 0 22px 20px; color: var(--slate); font-size: 15.5px; line-height:1.65; }
.faq-item .fq-body p { margin:0; }

/* cross-links a otros servicios */
.svc-cross { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.svc-cross a { display:flex; align-items:center; gap:13px; padding:18px 20px; border:1px solid var(--line); border-radius:14px; background:var(--paper); box-shadow:var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.svc-cross a:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -18px rgba(11,29,58,0.26); }
.svc-cross a .sc-ic { width:42px; height:42px; border-radius:11px; background: var(--cloud); color: var(--teal-ink); display:grid; place-items:center; flex-shrink:0; }
.svc-cross a .sc-ic svg { width:22px; height:22px; }
.svc-cross a b { display:block; font-size:15px; color: var(--navy); }
.svc-cross a span { font-size:13px; color: var(--slate); }

@media (max-width: 940px) {
  .svc-layout { grid-template-columns: 1fr; gap: 32px; }
  .svc-side { position: static; }
  .svc-cross { grid-template-columns: 1fr; }
}
