:root {
  --primary: #259D96;
  --secondary: #1E5D8C;
  --tertiary: #48C9B0;
  --neutral: #F4F7F9;
  --text: #1A1A2E;
  --text-light: #5B6B76;
  --border: rgba(30, 93, 140, 0.12);
  --card: rgba(255, 255, 255, 0.86);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #ffffff;
  position: relative;
  overflow-x: hidden;
}

/* Fondo de marca ZOLY: mismo gradiente + glow que AppBackground de la app
   (lib/theme/app_background.dart) — base blanca, gradiente aguamarina→gris-azul
   topLeft→bottomRight, y un glow verde radial en la esquina superior derecha. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.8;
  background: linear-gradient(135deg, #7DFFF8 30%, rgba(90, 154, 152, 0.5) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  background: radial-gradient(circle at 80% -10%, #4AF5A4 0%, rgba(74, 245, 164, 0) 60%);
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand img {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.2px;
}

.card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 16px 40px rgba(30, 93, 140, 0.12);
}

@media (max-width: 560px) {
  .card { padding: 28px 22px; border-radius: 18px; }
  .page { padding: 28px 14px 60px; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 157, 150, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.subtitle {
  margin: 0 0 32px;
  color: var(--text-light);
  font-size: 15px;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin: 34px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

section:first-of-type h2 { margin-top: 8px; }

p { margin: 0 0 14px; color: var(--text); font-size: 15px; }

ul.clean {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
ul.clean li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
}
ul.clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
}
ul.clean li strong { color: var(--text); }

hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}

.footer-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
}

a.link { color: var(--secondary); font-weight: 600; text-decoration: none; }
a.link:hover { text-decoration: underline; }

/* ── Home (index): SOLO el logo, centrado en toda la pantalla, sin nada más ── */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero .hero-logo {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.16));
}
@media (max-width: 560px) {
  .home-hero .hero-logo { width: 180px; }
}

.link-grid {
  display: grid;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.6);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(30, 93, 140, 0.08);
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 93, 140, 0.16);
}
.link-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(37, 157, 150, 0.12);
  color: var(--primary);
}
.link-card .txt { flex: 1; }
.link-card .txt .t { font-weight: 700; font-size: 15.5px; margin-bottom: 2px; }
.link-card .txt .d { font-size: 13px; color: var(--text-light); }
.link-card .chev { color: #9CA3AF; font-size: 18px; }

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 8px;
}
@media (max-width: 560px) { .contact-box { grid-template-columns: 1fr; } }
.contact-item {
  background: rgba(37, 157, 150, 0.06);
  border: 1px solid rgba(37, 157, 150, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
}
.contact-item .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-item .value { font-size: 14.5px; font-weight: 600; color: var(--text); }
