* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FF8C42;
  --primary-dark: #E07030;
  --primary-light: #FFB380;
  --primary-tint: #FFF0E0;
  --bg: #FFF8F0;
  --bg-card: #FFFFFF;
  --bg-soft: #FFF0E0;
  --text: #3D2B1F;
  --text-soft: #7D5A4F;
  --text-light: #B08070;
  --border: #F0D5C0;
  --success: #52B788;
  --warning: #F4A261;
  --danger: #E63946;
  --gold: #FFD700;
  --shadow: 0 8px 30px rgba(255, 140, 66, 0.15);
  --shadow-lg: 0 20px 60px rgba(255, 140, 66, 0.25);
  --hero-title-font: 'Quicksand', sans-serif;
  --section-title-font: 'Quicksand', sans-serif;
}

body.sabueso {
  --primary: #C9A84C;
  --primary-dark: #8B6914;
  --primary-light: #E8C97A;
  --primary-tint: #2A1F0E;
  --bg: #1A1208;
  --bg-card: #2A1F0E;
  --bg-soft: #231A0A;
  --text: #F5E6C8;
  --text-soft: #C4A96A;
  --text-light: #8A7245;
  --border: #4A3510;
  --hero-title-font: 'Cinzel', serif;
  --section-title-font: 'Cinzel', serif;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; transition: background 0.4s; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.boba-only { display: inline; }
.sabueso-only { display: none; }
body.sabueso .boba-only { display: none; }
body.sabueso .sabueso-only { display: inline; }

.nav { position: sticky; top: 0; background: rgba(255,248,240,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); z-index: 1000; transition: background 0.4s; }
body.sabueso .nav { background: rgba(26,18,8,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--hero-title-font); font-weight: 700; font-size: 22px; color: var(--text); }
.nav-logo-icon { font-size: 28px; }
.nav-menu { display: flex; gap: 30px; flex: 1; justify-content: center; }
.nav-menu a { font-weight: 600; font-size: 14px; color: var(--text-soft); padding: 8px 2px; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav-menu a:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle { width: 44px; height: 44px; border-radius: 22px; background: var(--bg-card); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: all 0.25s; position: relative; overflow: hidden; }
.theme-toggle:hover { transform: rotate(15deg) scale(1.1); border-color: var(--primary); }
.theme-icon-boba, .theme-icon-sabueso { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: opacity 0.3s, transform 0.3s; }
.theme-icon-sabueso { opacity: 0; transform: translate(-50%,-50%) rotate(180deg); }
body.sabueso .theme-icon-boba { opacity: 0; transform: translate(-50%,-50%) rotate(-180deg); }
body.sabueso .theme-icon-sabueso { opacity: 1; transform: translate(-50%,-50%) rotate(0deg); }
.nav-cta { background: var(--primary); color: white !important; padding: 10px 22px; border-radius: 99px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 12px rgba(255,140,66,0.4); transition: transform 0.2s; white-space: nowrap; }
.nav-cta:hover { transform: translateY(-2px); }
.nav-burger { font-size: 24px; display: none; padding: 8px; color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 14px; font-weight: 700; font-size: 16px; transition: all 0.25s; cursor: pointer; line-height: 1; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 8px 24px rgba(255,140,66,0.4); }
.btn-primary:hover { transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: white; }
body.sabueso .btn-ghost:hover { color: var(--bg); }
.btn-icon { font-size: 20px; }

.hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.hero-pill { display: inline-block; background: var(--bg-soft); color: var(--primary); padding: 8px 18px; border-radius: 99px; font-weight: 700; font-size: 13px; border: 1.5px solid var(--primary); margin-bottom: 28px; }
.hero-title { font-family: var(--hero-title-font); font-size: clamp(42px, 6.5vw, 78px); line-height: 1.05; font-weight: 700; color: var(--text); letter-spacing: -1.5px; margin-bottom: 24px; }
body.sabueso .hero-title { font-weight: 900; letter-spacing: 1px; }
.hero-title-accent { background: linear-gradient(135deg, var(--primary), var(--danger)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.sabueso .hero-title-accent { background: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-soft); margin-bottom: 36px; max-width: 560px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 18px; color: var(--text); font-weight: 700; }
.stat span { font-size: 12px; color: var(--text-light); }

.hero-phone { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.phone-frame { width: 300px; height: 600px; background: #1a1a1a; border-radius: 42px; padding: 14px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; animation: floatY 6s ease-in-out infinite; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 100px; height: 22px; background: #1a1a1a; border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 30px; padding: 38px 14px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: background 0.4s; }
.phone-app-header { display: flex; justify-content: space-between; align-items: center; padding: 4px; }
.phone-greeting { font-size: 14px; font-weight: 700; color: var(--text); }
.phone-region { font-size: 10px; color: var(--text-soft); margin-top: 2px; }
.phone-bell { position: relative; width: 36px; height: 36px; border-radius: 18px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 18px; border: 1px solid var(--border); }
.phone-badge { position: absolute; top: -3px; right: -3px; background: var(--danger); color: white; font-size: 9px; font-weight: 900; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.phone-stats { display: flex; gap: 6px; padding: 4px 0; }
.phone-stat { flex: 1; background: var(--bg-card); border-radius: 8px; padding: 8px 4px; text-align: center; border: 1px solid var(--border); }
.phone-stat strong { display: block; font-size: 16px; color: var(--primary); }
.phone-stat span { font-size: 9px; color: var(--text-soft); }
.phone-card { display: flex; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 8px; align-items: center; }
.phone-card.mine { border: 2px solid var(--primary); background: var(--primary-tint); position: relative; padding-left: 10px; }
.phone-card.mine::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--primary); border-radius: 2px 0 0 2px; }
.phone-card-img { width: 50px; height: 50px; border-radius: 8px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.phone-card-body { flex: 1; min-width: 0; }
.phone-card-name { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mine-badge { background: var(--primary); color: white; font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: 99px; letter-spacing: 0.5px; }
.phone-card-meta { font-size: 10px; color: var(--text-soft); margin-top: 3px; }
.phone-card-foot { font-size: 9px; color: var(--text-light); margin-top: 3px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.purpose { background: var(--bg-card); padding: 70px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.purpose-inner { text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.purpose-icon { font-size: 56px; margin-bottom: 16px; animation: pulse 3s ease-in-out infinite; }
.purpose h2 { font-family: var(--section-title-font); font-size: clamp(26px, 4vw, 38px); font-weight: 700; margin-bottom: 16px; color: var(--text); }
.purpose p { font-size: 17px; color: var(--text-soft); line-height: 1.7; }
.purpose strong { color: var(--primary); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-pill { display: inline-block; background: var(--bg-soft); color: var(--primary); padding: 7px 18px; border-radius: 99px; font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.section-pill-light { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.25); }
.section-head h2 { font-family: var(--section-title-font); font-size: clamp(30px, 4.5vw, 48px); font-weight: 700; color: var(--text); line-height: 1.15; max-width: 720px; margin: 0 auto; }
body.sabueso .section-head h2 { font-weight: 900; letter-spacing: 1px; }
.section-sub { font-size: 16px; color: var(--text-soft); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.section-sub-light { color: rgba(255,255,255,0.92); }

.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature-card { background: var(--bg-card); padding: 32px 26px; border-radius: 20px; border: 1px solid var(--border); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.feature-icon { font-size: 36px; width: 64px; height: 64px; background: var(--primary-tint); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

.how { background: var(--bg-card); }
.steps { display: flex; align-items: stretch; gap: 18px; flex-wrap: wrap; justify-content: center; }
.step { flex: 1 1 280px; max-width: 340px; background: var(--bg); padding: 36px 26px 28px; border-radius: 22px; border: 1.5px solid var(--border); position: relative; text-align: center; transition: all 0.3s; margin-top: 18px; }
.step:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.step-num { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; box-shadow: 0 6px 16px rgba(255,140,66,0.45); border: 3px solid var(--bg-card); }
.step-icon { font-size: 56px; margin: 12px 0 14px; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; font-size: 32px; color: var(--primary); font-weight: 300; }

.screenshots { background: var(--bg); }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.screenshot { background: var(--bg-card); padding: 26px 22px; border-radius: 20px; text-align: center; border: 1px solid var(--border); transition: all 0.3s; }
.screenshot:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.screenshot-img {
  width: 100%; height: 380px;
  background: linear-gradient(135deg, var(--primary-tint), var(--bg-soft));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  padding: 12px;
}
.screenshot-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.screenshot h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.screenshot p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

.ranking { background: linear-gradient(135deg, #FF9E5C 0%, #DC5E48 100%); color: white; position: relative; overflow: hidden; }
body.sabueso .ranking { background: linear-gradient(135deg, #2A1F0E 0%, #4A3510 60%, #C9A84C 100%); }
.ranking-stars { position: absolute; inset: 0; pointer-events: none; display: flex; gap: 80px; flex-wrap: wrap; padding: 20px; }
.ranking-stars span { font-size: 28px; opacity: 0.2; animation: twinkle 4s ease-in-out infinite; }
.ranking-stars span:nth-child(odd) { animation-delay: 1s; }
@keyframes twinkle { 0%,100% { opacity: 0.15; transform: scale(1); } 50% { opacity: 0.45; transform: scale(1.2); } }
.ranking .container { position: relative; z-index: 2; }
.ranking-title { color: white !important; font-weight: 900; }
.num-1 { display: inline-block; background: var(--gold); color: #5C4500; padding: 4px 18px; border-radius: 14px; box-shadow: 0 8px 24px rgba(255,215,0,0.5); transform: rotate(-3deg); }

.podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 50px 0 40px; min-height: 280px; }
.podium-pos { flex: 0 1 180px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 20px 20px 0 0; padding: 20px 12px 16px; text-align: center; position: relative; }
.podium-1 { padding-top: 30px; transform: scale(1.08); z-index: 3; border-color: var(--gold); background: rgba(255,215,0,0.18); }
.podium-2 { z-index: 2; }
.podium-3 { z-index: 1; }
.podium-crown { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); font-size: 38px; animation: floatY 4s ease-in-out infinite; }
.podium-medal { font-size: 36px; margin-bottom: 6px; }
.podium-avatar { width: 64px; height: 64px; margin: 4px auto; background: rgba(255,255,255,0.95); border-radius: 32px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.podium-name { font-size: 15px; font-weight: 800; margin-top: 8px; }
.podium-pts { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.podium-bar { margin-top: 14px; border-radius: 10px; }
.podium-1 .podium-bar { height: 80px; background: var(--gold); }
.podium-2 .podium-bar { height: 56px; background: rgba(192,192,192,0.85); }
.podium-3 .podium-bar { height: 36px; background: rgba(205,127,50,0.85); }

.ranking-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.ranking-tab { background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 14px; padding: 16px; text-align: center; backdrop-filter: blur(8px); }
.ranking-tab strong { display: block; font-size: 16px; margin-bottom: 4px; }
.ranking-tab span { font-size: 12px; opacity: 0.85; }

.ranking .ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 32px; }
.ranking .rank { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); padding: 22px 16px; border-radius: 16px; text-align: center; transition: all 0.3s; backdrop-filter: blur(8px); }
.ranking .rank:hover { transform: translateY(-4px); background: rgba(255,255,255,0.22); }
.ranking .rank-icon { font-size: 42px; margin-bottom: 12px; }
.ranking .rank h4 { font-size: 14px; font-weight: 800; color: white; margin-bottom: 4px; }
.ranking .rank-pts { font-size: 12px; opacity: 0.85; font-weight: 700; }
.ranking .rank-legend { background: linear-gradient(135deg, rgba(255,215,0,0.35), rgba(255,165,0,0.15)); border: 2px solid var(--gold); }
.ranking .rank-cta { background: rgba(0,0,0,0.25); border: 2px dashed rgba(255,255,255,0.4); padding: 22px; border-radius: 16px; text-align: center; color: white; font-size: 15px; line-height: 1.6; }
.ranking .rank-cta strong { color: var(--gold); }

.soon { background: var(--bg-card); }
.soon-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.soon-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: 22px; padding: 40px 32px; position: relative; transition: all 0.3s; }
.soon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.soon-card.big { background: linear-gradient(160deg, var(--primary-tint) 0%, var(--bg-card) 80%); border-color: var(--primary); }
.soon-tag { display: inline-block; background: var(--primary); color: white; padding: 5px 14px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; margin-bottom: 18px; }
.soon-tag-blue { background: #3B82F6; }
body.sabueso .soon-tag-blue { background: var(--primary); }
.soon-icon { font-size: 56px; margin-bottom: 14px; }
.soon-card h3 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 12px; font-family: var(--section-title-font); }
.soon-card p { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 16px; }
.soon-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.soon-features div { background: var(--bg-card); padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--text); border: 1px solid var(--border); }
.soon-mail { display: flex; align-items: center; gap: 12px; background: var(--primary); color: white; padding: 14px 18px; border-radius: 14px; margin-top: 12px; transition: transform 0.2s; font-weight: 700; }
.soon-mail:hover { transform: translateY(-2px); }
.soon-mail-icon { font-size: 24px; }
.soon-mail-text { font-size: 15px; word-break: break-all; }
.soon-foot { font-size: 12px !important; color: var(--text-light) !important; margin-top: 12px !important; text-align: center; font-style: italic; }

.download { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
body.sabueso .download { background: linear-gradient(135deg, var(--primary-dark), var(--bg-card)); }
.download-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 56px 44px; background: rgba(255,255,255,0.08); border-radius: 28px; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.download-text h2 { font-family: var(--section-title-font); font-size: 36px; font-weight: 700; margin-bottom: 14px; color: white !important; }
.download-text p { font-size: 16px; opacity: 0.95; line-height: 1.7; }
.download-text a { color: white; text-decoration: underline; font-weight: 700; }
.download-buttons { display: flex; flex-direction: column; gap: 14px; }
.store-btn { display: flex; align-items: center; gap: 16px; background: rgba(0,0,0,0.85); color: white; padding: 16px 24px; border-radius: 14px; transition: all 0.25s; position: relative; overflow: hidden; }
.store-btn:hover { transform: translateY(-2px); background: black; }
.store-icon { font-size: 32px; }
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-text small { font-size: 11px; opacity: 0.7; }
.store-text strong { font-size: 18px; font-weight: 700; }
.store-btn.coming-soon::after { content: attr(data-soon); position: absolute; top: 6px; right: 8px; background: var(--warning); color: white; font-size: 9px; font-weight: 900; padding: 3px 8px; border-radius: 99px; }

.footer { background: var(--text); color: white; padding: 60px 0 0; }
body.sabueso .footer { background: #0F0905; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--hero-title-font); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.footer-tag { font-size: 14px; opacity: 0.8; max-width: 280px; line-height: 1.6; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; opacity: 0.7; }
.footer-col a { display: block; font-size: 14px; color: white; opacity: 0.85; padding: 5px 0; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--primary-light); }
.footer-bottom { text-align: center; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; opacity: 0.7; }

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-card); padding: 18px 24px; border-bottom: 1px solid var(--border); gap: 14px; }
  .nav-burger { display: block; }
  .hero { padding: 60px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-phone { min-height: auto; }
  .phone-frame { width: 270px; height: 540px; }
  .step-arrow { transform: rotate(90deg); }
  .download-card { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .download-buttons { align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .soon-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .ranking-tabs { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .soon-features { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .podium { flex-direction: column; align-items: center; gap: 14px; }
  .podium-pos { width: 100%; max-width: 280px; transform: none !important; }
  .podium-bar { display: none; }
}

/* ─── DOS MISIONES (PILARES) ─── */
.pillars { padding: 90px 0; background: var(--bg); }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.pillar-card {
  position: relative;
  display: block;
  padding: 36px 32px 30px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  transition: all 0.3s;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--primary-tint), transparent 50%);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pillar-care { border-color: var(--primary); }
.pillar-find { border-color: var(--info, #3B82F6); }
.pillar-find::before { background: radial-gradient(circle at top right, rgba(59,130,246,0.15), transparent 50%); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.pillar-card:hover::before { opacity: 0.8; }
.pillar-emoji { font-size: 56px; margin-bottom: 14px; display: block; }
.pillar-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 99px;
  margin-bottom: 14px;
}
.pillar-find .pillar-tag { background: #3B82F6; }
.pillar-card h3 {
  font-family: var(--section-title-font);
  font-size: 28px; font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.pillar-card > p { font-size: 15px; color: var(--text-soft); line-height: 1.6; margin-bottom: 18px; }
.pillar-list { list-style: none; padding: 0; margin: 0 0 22px; }
.pillar-list li { padding: 7px 0; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--border); }
.pillar-list li:last-child { border-bottom: none; }
.pillar-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  margin-top: 4px;
}
.pillar-find .pillar-link { color: #3B82F6; }

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ─── MIS MASCOTAS DETALLE ─── */
.mypets {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.mypets-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.mypets-text { max-width: 580px; }
.mypets-title {
  font-family: var(--hero-title-font);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1; font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  margin: 16px 0 22px;
}
.mypets-sub { font-size: 17px; color: var(--text-soft); line-height: 1.7; margin-bottom: 32px; }
.mypets-feat { display: flex; flex-direction: column; gap: 18px; }
.mypets-feat-row {
  display: flex; gap: 14px; align-items: flex-start;
}
.mypets-feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.mypets-feat-row h4 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.mypets-feat-row p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

.mypets-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
}
.mockup-phone {
  width: 280px; height: 580px;
  background: #1a1a1a;
  border-radius: 38px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: absolute;
}
.mockup-1 {
  z-index: 2;
  left: 5%; top: 30px;
  animation: tiltFloatLeft 6s ease-in-out infinite;
}
.mockup-2 {
  z-index: 3;
  right: 0; top: 110px;
  animation: tiltFloatRight 6s ease-in-out infinite 1.5s;
}
@keyframes tiltFloatLeft {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}
@keyframes tiltFloatRight {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-12px); }
}
.mockup-phone .phone-screen {
  border-radius: 28px;
  padding: 32px 12px 12px;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

/* Mockup 1: Mi mascota */
.mockup-pet-hero {
  display: flex; gap: 12px; align-items: center;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.mockup-pet-photo {
  width: 60px; height: 60px;
  background: var(--primary-tint);
  border: 2px solid var(--primary);
  border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.mockup-pet-info { flex: 1; min-width: 0; }
.mockup-pet-name { font-size: 16px; font-weight: 900; color: var(--text); }
.mockup-pet-meta { font-size: 11px; color: var(--text-soft); margin-top: 2px; }
.mockup-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mockup-chip {
  font-size: 9px; font-weight: 700;
  background: var(--primary-tint);
  color: var(--primary);
  padding: 3px 6px; border-radius: 99px;
}
.mockup-section-title {
  font-size: 11px; font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-top: 6px; padding: 0 4px;
}
.mockup-vaccine {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mockup-vaccine-icon { font-size: 18px; }
.mockup-vaccine-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mockup-vaccine-body strong { font-size: 12px; color: var(--text); font-weight: 800; }
.mockup-due-soon { font-size: 10px; font-weight: 800; color: #F4A261; }
.mockup-due-ok { font-size: 10px; font-weight: 700; color: var(--text-soft); }

/* Mockup 2: Chat */
.mockup-chat-screen { padding: 32px 0 12px !important; gap: 0 !important; }
.mockup-chat-header {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.mockup-chat-avatar {
  width: 32px; height: 32px;
  border-radius: 16px;
  background: var(--primary-tint);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.mockup-chat-name { font-size: 13px; font-weight: 900; color: var(--text); }
.mockup-chat-status { font-size: 9px; color: #52B788; }
.mockup-chat-photo {
  width: 110px; height: 110px;
  border-radius: 55px;
  background: var(--primary-tint);
  border: 4px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  margin: 24px auto 16px;
}
.mockup-chat-bubble {
  background: white;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 16px 0 28px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.mockup-chat-bubble::before {
  content: ''; position: absolute;
  left: -8px; top: 16px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 12px 8px 0;
  border-color: transparent white transparent transparent;
}
.mockup-chat-sender { font-size: 10px; font-weight: 900; color: var(--primary); margin-bottom: 2px; }
.mockup-chat-msg { font-size: 13px; color: #222; font-weight: 700; }
.mockup-chat-time { font-size: 8px; color: #999; text-align: right; margin-top: 4px; }
.mockup-chat-btn {
  margin: 14px 16px 0;
  padding: 10px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12px;
}

@media (max-width: 900px) {
  .mypets-inner { grid-template-columns: 1fr; gap: 40px; }
  .mypets-mockup { min-height: 540px; }
  .mockup-1 { left: 0; }
  .mockup-2 { right: 0; }
}

@media (max-width: 540px) {
  .mockup-phone { transform: none; position: relative; left: auto; right: auto; top: auto; }
  .mockup-1, .mockup-2 { animation: none; transform: none; margin: 0 auto; }
  .mypets-mockup { flex-direction: column; gap: 30px; min-height: auto; }
}

/* ─── MISIÓN 2 (FINDPETS) ─── */
.findpets {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(59,130,246,0.06) 100%);
}
.mypets-inner.reverse {
  grid-template-columns: 1fr 1.05fr;
}
.mypets-inner.reverse .mypets-text {
  order: 2;
}
.mypets-inner.reverse .mypets-mockup {
  order: 1;
}
.section-pill-blue {
  background: rgba(59,130,246,0.1) !important;
  color: #3B82F6 !important;
  border-color: #3B82F6 !important;
}
.hero-title-accent-blue {
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mypets-feat-row.blue .mypets-feat-icon {
  background: rgba(59,130,246,0.12);
}
.mockup-section-title.blue { color: #3B82F6; }

/* Mockup A: card de mascota perdida */
.mockup-lost {
  display: flex; gap: 8px; align-items: center;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.mockup-lost-img {
  width: 50px; height: 50px;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.mockup-lost-body { flex: 1; min-width: 0; }
.mockup-lost-name {
  font-size: 12px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.mockup-status-lost {
  background: var(--danger);
  color: white;
  font-size: 7px; font-weight: 900; letter-spacing: 0.5px;
  padding: 2px 5px; border-radius: 99px;
}
.mockup-status-sighted {
  background: #F4A261;
  color: white;
  font-size: 7px; font-weight: 900; letter-spacing: 0.5px;
  padding: 2px 5px; border-radius: 99px;
}
.mockup-lost-meta { font-size: 10px; color: var(--text-soft); margin-top: 2px; }
.mockup-lost-foot { font-size: 9px; color: var(--text-light); margin-top: 2px; }
.mockup-lost-reward {
  font-size: 9px; font-weight: 800;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 2px 6px; border-radius: 99px;
  display: inline-block;
  margin-top: 4px;
}

/* Mockup B: mapa */
.mockup-map-screen { padding: 32px 0 0 !important; gap: 0 !important; }
.mockup-map-header {
  padding: 8px 12px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.mockup-map-area {
  flex: 1;
  background: linear-gradient(135deg, #cfe9ff, #b8d8f5);
  position: relative;
  overflow: hidden;
}
.mockup-map-area::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.mockup-map-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 2px solid #3B82F6;
}
.mockup-map-me {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.mockup-map-pin {
  position: absolute;
  width: 30px; height: 30px;
  background: var(--danger);
  border: 2px solid white;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 2;
}
.mockup-map-pin.pin1 { top: 35%; left: 30%; }
.mockup-map-pin.pin2 { top: 60%; left: 65%; background: #F4A261; }
.mockup-map-pin.pin3 { top: 25%; left: 70%; }
.mockup-map-bottom {
  background: var(--bg-card);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.mockup-map-bottom strong { font-size: 13px; color: var(--text); font-weight: 800; }
.mockup-map-bottom span { font-size: 10px; color: var(--text-soft); }

@media (max-width: 900px) {
  .mypets-inner.reverse { grid-template-columns: 1fr; }
  .mypets-inner.reverse .mypets-text { order: 1; }
  .mypets-inner.reverse .mypets-mockup { order: 2; }
}
