/* ==========================================================================
   Luisa Muskus — Landing Page
   Mobile: hot-pink linktree  ·  Desktop: full landing page
   ========================================================================== */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════════════════════
   SHARED: Buttons
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(231,123,149,0.5);
  transition: transform var(--dur-fast) var(--ease-out-soft), box-shadow var(--dur-fast);
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(231,123,149,0.6); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--lm-magenta); outline-offset: 4px; }
.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--xl { padding: 20px 44px; font-size: 18px; }
.btn--white { background: #fff; color: var(--lm-hot-pink); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15); }
.btn--white:hover { box-shadow: 0 12px 32px -8px rgba(0,0,0,0.2); }
.btn--outline-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); box-shadow: none; }
.btn--outline-w:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn__ico { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   SHARED: Eyebrow + highlight
   ══════════════════════════════════════════════════════════════ */
.hl-mark {
  background: linear-gradient(transparent 55%, rgba(253,220,92,0.85) 55% 90%, transparent 90%);
  padding: 0 3px; font-weight: 800; color: var(--lm-ink);
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--lm-pink); background: var(--lm-blush);
  padding: 5px 14px; border-radius: var(--radius-pill);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE LAYOUT (default — < 768px)
   Hot-pink linktree style
   ══════════════════════════════════════════════════════════════ */

/* Hide desktop-only elements */
.desk-nav, .hero__btns, .hero__wave, .hero__sun-deco, .hero__lion-deco,
.d-section, .d-footer { display: none; }

body { background: var(--lm-hot-pink); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 48px 20px 8px;
  position: relative;
}
.hero__center { position: relative; z-index: 2; }

/* Polaroid */
.polaroid { width: 180px; margin: 0 auto 20px; position: relative; }
.polaroid__frame {
  background: #fff; padding: 10px 10px 26px; border-radius: 4px;
  box-shadow: 0 14px 30px -12px rgba(60,30,50,0.35), 0 1px 0 rgba(0,0,0,0.05);
  transform: rotate(-2.5deg); position: relative;
}
.polaroid__img {
  width: 100%; aspect-ratio: 1 / 1.15; overflow: hidden;
  background: var(--lm-blush); position: relative;
}
.polaroid__img > img:first-child {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
}
.polaroid__sun {
  position: absolute; bottom: 6px; right: 4px; width: 38px;
  opacity: 0.75; mix-blend-mode: multiply;
}
.polaroid__caption {
  font-family: var(--font-script); font-size: 19px;
  color: var(--lm-pink); text-align: center; margin-top: 4px; line-height: 1;
}
.polaroid__tape {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 50px; height: 16px; background: rgba(253,220,92,0.8);
  box-shadow: 0 1px 3px rgba(60,40,20,0.1); z-index: 3;
}

/* Name */
.hero__script { font-family: var(--font-script); font-size: 22px; color: rgba(255,255,255,0.85); line-height: 1; }
.hero__name {
  font-family: var(--font-display); font-weight: 900; font-size: 34px;
  letter-spacing: -0.02em; line-height: 1.05; color: #fff; margin: 6px 0 4px;
}
.hero__role {
  font-size: 12px; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.hero__tagline {
  font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.92); margin: 16px 24px 0;
}

/* ── Mobile links ──────────────────────────────────────────── */
.m-links {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 20px 0;
}

/* Sobre mí card */
.sobre-mi-card {
  display: flex; gap: 14px; align-items: stretch;
  background: var(--lm-cream); border-radius: 20px; padding: 14px;
  box-shadow: 0 16px 40px -24px rgba(140,30,90,0.45), 0 1px 0 rgba(0,0,0,0.04);
  position: relative;
}
.sobre-mi-card__photo { width: 78px; flex-shrink: 0; align-self: center; }
.sobre-mi-card__frame {
  background: #fff; padding: 6px 6px 14px; border-radius: 4px;
  box-shadow: 0 3px 10px -4px rgba(60,30,50,0.25), 0 1px 0 rgba(0,0,0,0.05);
  transform: rotate(-3deg); display: flex; flex-direction: column; align-items: center;
}
.sobre-mi-card__frame img { width: 100%; background: var(--lm-blush); padding: 12px; }
.sobre-mi-card__text {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  font-size: 12px; line-height: 1.5; color: var(--lm-ink);
}
.sobre-mi-card__text strong {
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  letter-spacing: -0.01em; line-height: 1.2; color: var(--lm-ink);
}
.sobre-mi-card__text span { color: var(--fg-2); margin-top: 2px; }
.sobre-mi-card__reg {
  margin-top: 6px !important; font-size: 10.5px !important;
  color: var(--fg-3) !important; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.sobre-mi-card__tape {
  position: absolute; top: -6px; right: 22px;
  width: 42px; height: 16px; background: rgba(253,220,92,0.8);
  transform: rotate(8deg); box-shadow: 0 1px 3px rgba(60,40,20,0.1);
}

/* ── Pills ─────────────────────────────────────────────────── */
.pill {
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--lm-ink); border-radius: 16px;
  padding: 14px 16px 14px 14px; position: relative;
  box-shadow: 0 1px 0 rgba(193,137,157,0.18), 0 6px 20px -14px rgba(60,30,50,0.22);
  transition: transform 160ms ease-out;
}
.pill:active { transform: scale(0.97); }
.pill__bar {
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  background: linear-gradient(var(--lm-pink), var(--lm-magenta)); border-radius: 3px;
}
.pill__ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 10px;
}
.pill__ico--blush { background: var(--lm-blush); color: var(--lm-pink); }
.pill__ico--ghost {
  background: rgba(255,255,255,0.18); color: #fff;
  border-radius: 12px; width: 42px; height: 42px;
}
.pill__body { flex: 1; min-width: 0; line-height: 1.25; display: flex; flex-direction: column; }
.pill__label { font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: -0.01em; }
.pill__sub { font-size: 12px; color: var(--fg-3); font-weight: 600; margin-top: 2px; }
.pill__arr { flex-shrink: 0; }

.pill--dark {
  background: var(--lm-ink); color: #fff; border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.45), 0 2px 4px rgba(0,0,0,0.12);
}
.pill--dark .pill__label { font-size: 18px; color: #fff; }
.pill--dark .pill__sub { color: rgba(255,255,255,0.8); }

/* ── Mobile footer ─────────────────────────────────────────── */
.m-footer {
  text-align: center; padding: 28px 20px 32px; color: rgba(255,255,255,0.7);
}
.m-footer__mono { width: 36px; margin: 0 auto 6px; filter: brightness(0) invert(1); }
.m-footer__domain { font-size: 12px; font-weight: 700; color: #fff; }
.m-footer__legal {
  font-size: 10.5px; line-height: 1.6; margin: 12px 16px 0;
  font-style: italic; color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP LAYOUT (>= 768px)
   Full landing page with sections
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Swap visibility */
  .m-links, .m-footer { display: none; }
  .desk-nav, .hero__btns, .hero__wave, .hero__sun-deco, .hero__lion-deco,
  .d-section, .d-footer { display: block; }

  body {
    background: var(--bg-1);
  }

  /* ── Desktop Nav ─────────────────────────────────────────── */
  .desk-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,249,240,0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(233,220,208,0.6);
    transition: box-shadow var(--dur-med) var(--ease-out-soft);
  }
  .desk-nav.scrolled { box-shadow: var(--shadow-md); }
  .desk-nav__inner {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    height: 68px; display: flex; align-items: center; gap: 32px;
  }
  .desk-nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .desk-nav__mono { width: 36px; }
  .desk-nav__wordmark { font-family: var(--font-script); font-size: 20px; color: var(--lm-pink); line-height: 1; }
  .desk-nav__links { display: flex; gap: 28px; margin-left: auto; }
  .desk-nav__links a {
    font-size: 14px; font-weight: 600; color: var(--fg-2);
    transition: color var(--dur-fast); position: relative;
  }
  .desk-nav__links a:hover { color: var(--lm-pink); }
  .desk-nav__links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--lm-pink); border-radius: 2px;
    transform: scaleX(0); transition: transform var(--dur-fast) var(--ease-out-soft);
  }
  .desk-nav__links a:hover::after { transform: scaleX(1); }

  /* ── Hero (desktop) ──────────────────────────────────────── */
  .hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 100px;
    background: radial-gradient(ellipse at top, var(--lm-hot-pink) 0%, #d93a8a 60%, #c22e7a 100%);
    overflow: hidden; position: relative;
  }
  .hero__sun-deco {
    position: absolute; top: 80px; right: -40px; width: 240px;
    opacity: 0.35; transform: rotate(14deg); pointer-events: none;
    filter: brightness(0) invert(1); mix-blend-mode: soft-light;
  }
  .hero__lion-deco {
    position: absolute; bottom: 140px; left: -30px; width: 160px;
    opacity: 0.2; transform: rotate(-12deg); pointer-events: none;
    filter: brightness(0) invert(1); mix-blend-mode: soft-light;
  }
  .hero__center { max-width: 600px; }
  .hero__name { font-size: clamp(2.5rem, 5vw, 3.8rem); }
  .hero__script { font-size: 26px; }
  .hero__tagline { font-size: 17px; margin: 20px 0 0; }

  .hero__btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 32px;
  }
  .hero__wave {
    position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
  }
  .hero__wave svg { width: 100%; height: 80px; }

  /* ── Desktop sections ────────────────────────────────────── */
  .d-section { padding: 80px 0; position: relative; }
  .d-section--cream { background: var(--lm-cream); }
  .d-section--pink { background: var(--lm-hot-pink); color: #fff; }

  .d-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
  .d-header h2 {
    font-family: var(--font-display); font-size: var(--fs-h2);
    font-weight: 900; line-height: var(--lh-snug); margin-top: 8px;
  }
  .d-header p { font-size: var(--fs-body); color: var(--fg-2); margin-top: 12px; line-height: var(--lh-body); }
  .d-header--light h2 { color: #fff; }
  .d-header--light p { color: rgba(255,255,255,0.85); }

  /* ── Sobre mí (desktop) ──────────────────────────────────── */
  .d-sobre__grid {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center;
  }
  .d-sobre__photo { position: relative; display: flex; justify-content: center; }
  .d-polaroid {
    background: #fff; padding: 14px 14px 36px; border-radius: 4px;
    box-shadow: var(--shadow-polaroid); transform: rotate(-3deg);
    max-width: 320px; position: relative;
  }
  .d-polaroid__tape {
    position: absolute; top: -10px; right: 20px;
    width: 50px; height: 18px; background: rgba(253,220,92,0.8);
    transform: rotate(8deg); box-shadow: 0 1px 3px rgba(60,40,20,0.1);
  }
  .d-polaroid__img {
    width: 100%; aspect-ratio: 1 / 1.1; overflow: hidden; background: var(--lm-blush);
  }
  .d-polaroid__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
  .d-polaroid__cap {
    font-family: var(--font-script); font-size: 18px;
    color: var(--lm-pink); text-align: center; margin-top: 6px;
  }
  .d-sobre__illus {
    position: absolute; bottom: -20px; right: -10px; width: 80px; opacity: 0.7;
  }
  .d-sobre__text { display: flex; flex-direction: column; gap: 16px; }
  .d-sobre__text h2 {
    font-family: var(--font-display); font-size: var(--fs-h2);
    font-weight: 900; line-height: var(--lh-snug);
  }
  .d-sobre__text p { color: var(--fg-2); line-height: var(--lh-loose); }

  .cred-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
  .cred { display: flex; align-items: flex-start; gap: 14px; }
  .cred__ico {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--lm-blush); color: var(--lm-pink);
    display: grid; place-items: center; flex-shrink: 0;
  }
  .cred strong { display: block; font-size: 14px; font-weight: 800; color: var(--fg-1); }
  .cred small { font-size: 13px; color: var(--fg-3); }

  /* ── Servicios (desktop) ─────────────────────────────────── */
  .d-servicios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .svc-card {
    background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
    box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px;
    transition: transform var(--dur-med) var(--ease-out-soft), box-shadow var(--dur-med);
  }
  .svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .svc-card__ico {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--lm-blush); color: var(--lm-pink); display: grid; place-items: center;
  }
  .svc-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 900; line-height: var(--lh-snug); }
  .svc-card p { color: var(--fg-2); line-height: var(--lh-body); flex: 1; }
  .svc-card__loc { font-size: var(--fs-small); color: var(--fg-3); font-weight: 600; }
  .svc-card .btn { align-self: flex-start; margin-top: auto; }

  /* ── Recursos (desktop) ──────────────────────────────────── */
  .d-recursos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .res-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-med) var(--ease-out-soft), box-shadow var(--dur-med);
  }
  .res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .res-card__illus {
    background: var(--lm-cream); padding: 32px;
    display: flex; align-items: center; justify-content: center; min-height: 180px;
  }
  .res-card__illus img { width: 100px; }
  .res-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
  .res-card__body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 900; }
  .res-card__body p { color: var(--fg-2); font-size: var(--fs-small); line-height: var(--lh-body); }

  /* ── Social (desktop) ────────────────────────────────────── */
  .d-social__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
  .d-social__card {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.3);
    transition: transform var(--dur-med) var(--ease-out-soft);
  }
  .d-social__card:hover { transform: scale(1.03) rotate(-1deg); }
  .d-social__card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
  .d-social__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* ── Contacto (desktop) ──────────────────────────────────── */
  .d-contacto__illus { width: 90px; margin: 0 auto 16px; opacity: 0.8; }

  /* ── Desktop footer ──────────────────────────────────────── */
  .d-footer {
    background: var(--lm-ink); color: rgba(255,255,255,0.7); padding: 60px 0 32px;
  }
  .d-footer a { transition: color var(--dur-fast); }
  .d-footer a:hover { color: var(--lm-pink); }
  .d-footer__top {
    display: flex; justify-content: space-between; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .d-footer__brand { max-width: 320px; }
  .d-footer__logo { width: 180px; margin-bottom: 14px; filter: brightness(0) invert(1); }
  .d-footer__brand p { font-size: var(--fs-small); line-height: var(--lh-body); }
  .d-footer__cols { display: flex; gap: 60px; }
  .d-footer__col { display: flex; flex-direction: column; gap: 10px; }
  .d-footer__col h4 {
    font-family: var(--font-display); font-size: 14px; font-weight: 900;
    color: #fff; margin-bottom: 4px;
  }
  .d-footer__col a { font-size: 14px; }
  .d-footer__bottom {
    padding-top: 28px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .d-footer__mono { width: 32px; filter: brightness(0) invert(1); opacity: 0.5; }
  .d-footer__bottom p { font-size: 12px; max-width: 500px; }

  /* ── Scroll reveal ───────────────────────────────────────── */
  .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity var(--dur-slow) var(--ease-out-soft), transform var(--dur-slow) var(--ease-out-soft);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

/* ── Tablet tweaks (768–960) ───────────────────────────────── */
@media (min-width: 768px) and (max-width: 960px) {
  .d-sobre__grid { grid-template-columns: 1fr; gap: 40px; }
  .d-sobre__photo { order: -1; }
  .d-polaroid { max-width: 260px; }
  .d-servicios__grid { grid-template-columns: 1fr 1fr; }
  .d-recursos__grid { grid-template-columns: 1fr 1fr; }
  .d-social__grid { grid-template-columns: 1fr 1fr; }
  .d-social__grid .d-social__card:nth-child(3) { display: none; }
  .d-footer__top { flex-direction: column; gap: 32px; }
}
