/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: #06100e;
  background-image:
    radial-gradient(1200px 700px at 50% -10%, #14363d 0%, rgba(20,54,61,0) 55%),
    radial-gradient(900px 600px at 50% 110%, #0c2a2f 0%, rgba(12,42,47,0) 60%),
    linear-gradient(180deg, #06100e 0%, #040807 100%);
  background-attachment: fixed;
  color: #e9eceb;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============ LAYOUT ============ */
.wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============ HERO ============ */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.avatar-ring {
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #c8a86b, #4a6d6f, #c8a86b);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: block;
  background: #0a1c1f;
}
.name {
  margin: 10px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1eee5;
}
.verified { display: inline-flex; align-items: center; }
.tagline {
  margin: 2px 0 0;
  font-family: 'Fraunces', 'Georgia', serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: #f4ead9;
  letter-spacing: -0.01em;
}
.subtitle {
  margin: 2px 0 0;
  color: #9aa3a6;
  font-size: 14.5px;
}
.flag { font-size: 15px; }

/* ============ LINKS COLUMN ============ */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============ SOCIALS (top position, brand colors) ============ */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 6px 0 2px;
}
.social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  transition: transform .15s ease, filter .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.social:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social:active { transform: translateY(0) scale(.96); }
.social:focus-visible { outline: 2px solid #c8a86b; outline-offset: 3px; }

.social--youtube { background: #ff0000; }
.social--instagram {
  background:
    radial-gradient(circle at 30% 110%, #fdd77d 0%, #f58529 25%, #dd2a7b 50%, #8134af 75%, #515bd4 100%);
}
.social--tiktok {
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
}
.social--tiktok svg {
  filter: drop-shadow(1.2px -1.2px 0 #25f4ee) drop-shadow(-1.2px 1.2px 0 #fe2c55);
}
.social--threads {
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
}

/* ============ GENERIC BUTTONS ============ */
.btn {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  color: #f1eee5;
  text-align: left;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline: 2px solid #c8a86b; outline-offset: 2px; }

.btn-title { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.btn-sub { display: block; font-size: 13px; color: #9aa3a6; margin-top: 2px; line-height: 1.4; }

/* .btn-ghost inner layout (icon + text) */
.btn-ghost > span:not(.btn-icon) {
  display: block;
}
.btn-ghost {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.btn-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #e9eceb;
}
.btn-icon--logo {
  flex-basis: 48px;
  width: 48px; height: 48px;
  padding: 0;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.06);
}
.btn-icon--logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============ PRIMARY CTA (editorial, not promo) ============ */
.btn-primary {
  padding: 22px 22px 20px;
  background:
    linear-gradient(180deg, rgba(16,38,42,.92) 0%, rgba(10,28,32,.92) 100%);
  border: 1px solid rgba(200,168,107,.28);
  box-shadow:
    0 12px 32px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.03);
}
.btn-primary:hover {
  border-color: rgba(200,168,107,.5);
  background:
    linear-gradient(180deg, rgba(20,46,50,.95) 0%, rgba(12,32,36,.95) 100%);
}
.btn-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #c8a86b;
  margin-bottom: 6px;
}
.btn-primary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.btn-primary .btn-title {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #f4ead9;
  line-height: 1.15;
}
.btn-arrow {
  flex: 0 0 auto;
  color: #c8a86b;
  transition: transform .18s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-primary .btn-sub {
  color: #a9b1b3;
  font-size: 13.5px;
  margin-top: 6px;
}
/* Paraguay flag stripe on top edge — subtle */
.py-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    #d52b1e 0%, #d52b1e 33.33%,
    #ffffff 33.33%, #ffffff 66.66%,
    #0038a8 66.66%, #0038a8 100%);
  opacity: .65;
}

/* ============ VIDEO CARD (podcast) ============ */
.btn-video {
  padding: 0;
  overflow: hidden;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.btn-video:hover .video-thumb img { transform: scale(1.02); }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.6));
  transition: transform .18s ease;
}
.btn-video:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-brand {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
}
.video-meta {
  display: block;
  padding: 14px 18px 16px;
}

/* ============ PROJECTS GROUP ============ */
.projects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.eyebrow {
  margin: 4px 2px 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #7f8a8d;
}

/* ============ FOOTER ============ */
.site-footer {
  text-align: center;
  color: #5a6366;
  font-size: 12.5px;
  padding: 24px 0 8px;
}
.site-footer p { margin: 0; }

/* ============ IN-APP BROWSER BANNER ============ */
.ext-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-top, 0px));
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: #f4ead9;
  color: #0a1416;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.ext-banner-msg { flex: 1; }
.ext-banner-msg strong { font-weight: 700; }
.ext-banner-close {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  background: rgba(10,20,22,.08);
  color: #0a1416;
  border: 0;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ext-banner-close:hover { background: rgba(10,20,22,.14); }

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .btn, .social, .btn-arrow, .video-thumb img, .video-play { transition: none; }
}
