/* Social Trail SOS · landing. Sin dependencias externas: fuentes e imágenes locales. */
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --sos: #d93636; --sos-dark: #b22626; --blue: #2f6fb5; --green: #177d66; --ok: #1f9d57;
  --ink: #101817; --ink-2: #18221f; --ink-3: #22302c;
  --paper: #f5f7f6; --white: #fff; --text: #1c2523; --muted: #5d6b67; --line: #e1e7e5;
  --radius: 22px; --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 10px; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(16, 24, 23, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: #fff; }
.lang { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 12px; }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; padding: 14px 22px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sos { background: var(--sos); color: #fff; box-shadow: 0 10px 30px rgba(217, 54, 54, .35); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 78% 30%, rgba(217,54,54,.32), transparent 62%), radial-gradient(700px 500px at 10% 90%, rgba(23,125,102,.28), transparent 60%), var(--ink); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 88px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffb4b4; background: rgba(217,54,54,.14); border: 1px solid rgba(217,54,54,.35); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sos); box-shadow: 0 0 0 0 rgba(217,54,54,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217,54,54,0); } 100% { box-shadow: 0 0 0 0 rgba(217,54,54,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.03em; margin: 22px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: #ff6b6b; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255,255,255,.78); max-width: 34ch; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 16px; }
.phones { position: relative; height: 620px; }
.phone { position: absolute; width: 300px; border-radius: 46px; padding: 9px; background: #050807; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1.5px rgba(255,255,255,.12); }
.phone img { border-radius: 38px; }
.phones .p1 { left: 8%; top: 40px; transform: rotate(-6deg); }
.phones .p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; }
  .phones { height: 480px; }
  .phone { width: 230px; border-radius: 36px; }
  .phone img { border-radius: 29px; }
  .phones .p1 { left: calc(50% - 240px); }
  .phones .p2 { right: calc(50% - 240px); }
}
@media (max-width: 520px) { .phones .p1 { display: none; } .phones .p2 { right: calc(50% - 115px); transform: none; } }

/* Distintivos de las tiendas (oficiales, sin modificar) */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store { display: block; border-radius: 10px; transition: transform .15s ease; }
.store:hover { transform: translateY(-1px); }
.store img { height: 52px; width: auto; }
.store.play img { height: 68px; margin: -8px -4px; } /* el PNG de Google trae margen transparente */
.store:focus-visible { outline: 3px solid #ff6b6b; outline-offset: 3px; }

/* Descarga */
.download { text-align: center; background: linear-gradient(180deg, var(--paper), var(--white)); }
.download .sub { margin-inline: auto; }
.download .stores { justify-content: center; margin-top: 30px; }
.dl-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 14px 34px rgba(16,24,23,.18); }

/* Franja de confianza */
.trust { background: var(--ink-2); color: rgba(255,255,255,.85); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 20px; height: 20px; color: #6fd3b8; flex: none; }

/* Secciones */
section { padding: 96px 0; }
.kicker { color: var(--sos); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }

/* Pasos del SOS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sos); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }
.honest { margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; background: #fff7e6; border: 1px solid #f3d9a0; border-radius: var(--radius); padding: 20px 24px; }
.honest svg { width: 26px; height: 26px; color: #b7791f; flex: none; margin-top: 2px; }
.honest p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Funciones */
.features { background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.c-red { background: var(--sos); } .c-blue { background: var(--blue); } .c-green { background: var(--green); } .c-teal { background: #1597b8; } .c-violet { background: #7a4cc2; } .c-orange { background: #e8743b; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

/* Galería */
.gallery { background: var(--ink); color: #fff; overflow: hidden; }
.gallery .sub { color: rgba(255,255,255,.7); }
.shots { display: flex; gap: 26px; margin-top: 48px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; width: 260px; scroll-snap-align: start; }
.shots .phone { position: static; width: 100%; }
.shots figcaption { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.75); text-align: center; }

/* Privacidad */
.privacy .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.plist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.plist li { display: flex; gap: 12px; }
.plist svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 3px; }
.lock { background: linear-gradient(160deg, var(--ink-3), var(--ink)); border-radius: 32px; color: #fff; padding: 44px; text-align: center; }
.lock svg { width: 76px; height: 76px; color: #6fd3b8; }
.lock p { color: rgba(255,255,255,.75); margin: 14px 0 0; }
@media (max-width: 860px) { .privacy .wrap { grid-template-columns: 1fr; } }

/* Preguntas */
.faq { background: var(--white); }
.qa { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 4px 22px; }
summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Contacto y pie */
.contact { text-align: center; }
.contact .mail { display: inline-block; margin-top: 18px; font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 3px solid var(--sos); }
.warn { margin: 36px auto 0; max-width: 760px; background: #fdecea; border: 1px solid #f5c2c0; color: #7a1f1f; border-radius: 16px; padding: 16px 22px; font-weight: 500; }
footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: 14px; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer nav { display: flex; gap: 22px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .eyebrow i { animation: none; } .btn, .store { transition: none; } }
