:root {
  --fmp-bg: #fff8ef; --fmp-ink: #2a1d12; --fmp-muted: #7a6656; --fmp-accent: #e9822f; --fmp-card: #fffdf9;
  --serif: "Fraunces", Georgia, serif; --sans: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--fmp-ink); background: var(--fmp-bg); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 em, h1 em { font-style: italic; color: var(--fmp-accent); }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fmp-accent); margin-bottom: 18px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* cielo que cambia con el scroll */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg,
    hsl(calc(30 + var(--scroll, 0) * 10), 100%, calc(96% - var(--scroll, 0) * 4%)) 0%,
    hsl(calc(24 + var(--scroll, 0) * 8), 100%, calc(90% - var(--scroll, 0) * 2%)) 55%,
    hsl(calc(18 + var(--scroll, 0) * 12), 95%, 86%) 100%); }
.orb { position: fixed; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb.a { width: 520px; height: 520px; background: #ffc46b; left: -120px; top: calc(40vh - var(--scroll, 0) * 50vh); animation: drift 18s ease-in-out infinite alternate; }
.orb.b { width: 420px; height: 420px; background: #ff9a7a; right: -80px; top: calc(10vh + var(--scroll, 0) * 60vh); animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb.c { width: 300px; height: 300px; background: #ffe2a8; left: 40%; top: calc(70vh - var(--scroll, 0) * 30vh); animation: drift 15s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(80px, -60px) scale(1.15); } }

/* header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s; }
header.scrolled { background: rgba(255, 248, 239, .8); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 104px; transition: height .4s var(--fmp-ease); }
.nav > a:first-child { flex: none; display: block; line-height: 0; }
.nav img { height: 69px; width: auto; max-width: none; aspect-ratio: 918 / 292; object-fit: contain; transition: height .4s var(--fmp-ease); }
header.scrolled .nav { height: 84px; } header.scrolled .nav img { height: 56px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: .8rem; font-weight: 600; }
.nav ul a { white-space: nowrap; text-decoration: none; opacity: .8; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--fmp-accent); transition: right .4s var(--fmp-ease); }
.nav ul a:hover::after { right: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; border: 0; font-family: var(--sans); transition: transform .3s var(--fmp-ease), box-shadow .3s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(233, 130, 47, .3); }
.btn.solid { background: var(--fmp-accent); color: #fff; }
.btn.line { border: 1.5px solid currentColor; background: transparent; color: var(--fmp-ink); }
.btn.dona { background: var(--fmp-ink); color: #fff; padding: 11px 20px;  white-space: nowrap; flex: none; }
.menu-btn { display: none; }
@media (max-width: 1240px) { .nav ul { display: none; } }

/* hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 140px 0 60px; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6.6rem); }
.hero h1 span { display: block; overflow: hidden; }
.hero h1 span i { display: block; font-style: inherit; animation: rise 1.4s var(--fmp-ease) both; }
.hero h1 span:nth-child(2) i { animation-delay: .12s; } .hero h1 span:nth-child(3) i { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(110%); } }
.hero p { font-size: 1.12rem; max-width: 520px; color: var(--fmp-muted); margin: 28px 0 34px; animation: fade 1.4s .5s both; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fade 1.4s .7s both; }
@keyframes fade { from { opacity: 0; transform: translateY(20px); } }
.sun { position: relative; aspect-ratio: 4/5; max-height: 78vh; justify-self: center; width: 100%; }
.sun__glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 90, .9), rgba(255, 170, 80, .0) 65%); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
.sun__img { position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; overflow: hidden; animation: arch 1.8s var(--fmp-ease) both; }
@keyframes arch { from { clip-path: inset(100% 0 0 0 round 999px 999px 32px 32px); } to { clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); } }
.sun__img img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; left: -30px; bottom: 40px; background: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: 0 20px 40px rgba(120, 60, 0, .15); display: flex; gap: 12px; align-items: center; animation: float 5s ease-in-out infinite; font-size: .85rem; }
.badge b { display: block; font-size: 1rem; }
.badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #3cc46b; box-shadow: 0 0 0 6px rgba(60, 196, 107, .2); }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fmp-muted); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 40px; background: currentColor; margin: 10px auto 0; animation: line 2s infinite; transform-origin: top; }
@keyframes line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 860px) { .scroll-hint { display: none; } .nav .btn.dona { padding: 9px 14px; font-size: .78rem; margin-left: auto; } .nav { height: 84px; } .nav img { height: 57px; } header.scrolled .nav { height: 72px; } header.scrolled .nav img { height: 48px; } .hero { grid-template-columns: 1fr; padding-top: 130px; } .sun { max-width: 420px; } .badge { left: 0; } }

/* misión */
.mission { padding: 140px 0; text-align: center; }
.mission blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.25; margin: 0 auto; max-width: 980px; font-weight: 300; }
.mission blockquote .w { opacity: .15; transition: opacity .5s; }
.mission blockquote .w.on { opacity: 1; }

/* ayuda */
.help { padding: 60px 0 140px; }
.help__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.help__head p { max-width: 420px; color: var(--fmp-muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: 30px; isolation: isolate; text-decoration: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--fmp-ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(60, 25, 0, .82)); }
.card:hover img { transform: scale(1.08); }
.card .tag { position: absolute; top: 22px; left: 22px; background: rgba(255,255,255,.9); color: var(--fmp-ink); padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { font-size: 2.1rem; margin-bottom: 10px; }
.card p { margin: 0 0 20px; opacity: .9; font-size: .95rem; }
.card .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; }
.card .go span { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--fmp-accent); display: grid; place-items: center; transition: transform .4s var(--fmp-ease); }
.card:hover .go span { transform: rotate(-45deg); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .card { min-height: 420px; } }

/* manifiesto */
.manifesto { padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.manifesto .ph { border-radius: 32px; overflow: hidden; aspect-ratio: 4/3; }
.manifesto .ph img { width: 100%; height: 120%; object-fit: cover; }
.manifesto p.big { font-size: 1.3rem; font-weight: 700; line-height: 1.5; margin: 26px 0; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* pilares */
.pillars { padding: 120px 0; }
.pillars__list { margin-top: 50px; border-top: 1px solid rgba(42, 29, 18, .15); }
.pillar { display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid rgba(42, 29, 18, .15); align-items: start; position: relative; }
.pillar .n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--fmp-accent); }
.pillar h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); transition: transform .5s var(--fmp-ease); }
.pillar:hover h3 { transform: translateX(14px); }
.pillar ul { margin: 0; padding: 0; list-style: none; color: var(--fmp-muted); columns: 2; column-gap: 24px; font-size: .92rem; }
.pillar li { padding: 4px 0; break-inside: avoid; }
.pillar li::before { content: "✦ "; color: var(--fmp-accent); }
@media (max-width: 860px) { .pillar { grid-template-columns: 1fr; gap: 10px; } .pillar ul { columns: 1; } }

/* botón de seguridad */
.safety { margin: 60px 0; border-radius: 48px; background: linear-gradient(135deg, #2a1d12, #5b3410); color: #fff8ef; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; }
.safety__txt { padding: 70px; }
.safety__txt p { color: rgba(255, 248, 239, .75); }
.safety ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 34px; }
.safety li { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; font-size: .88rem; }
.safety__img { position: relative; height: 100%; min-height: 560px; }
.safety__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.safety__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #3d260f 0%, rgba(61, 38, 15, 0) 30%); }
.ring { position: absolute; z-index: 2; left: 52%; top: 60%; width: 120px; height: 120px; border-radius: 50%; border: 2px solid #ffcf7a; animation: ring 2.4s ease-out infinite; }
.ring:nth-of-type(2) { animation-delay: .8s; } .ring:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes ring { from { transform: translate(-50%, -50%) scale(.4); opacity: 1; } to { transform: translate(-50%, -50%) scale(2.4); opacity: 0; } }
.safety .btn.solid { background: #ffb547; color: #2a1d12; }
@media (max-width: 900px) { .safety { grid-template-columns: 1fr; border-radius: 28px; } .safety__txt { padding: 40px 28px; } .safety__img { min-height: 380px; } }

/* fundadoras */
.team { padding: 140px 0 100px; }
.team__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.team__head p { color: var(--fmp-muted); }
.fmp-founder__photo { border-radius: 999px 999px 28px 28px; }

/* blog */
.blog { padding: 80px 0 120px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.post { background: var(--fmp-card); border-radius: 28px; overflow: hidden; text-decoration: none; transition: transform .5s var(--fmp-ease), box-shadow .5s; }
.post:hover { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(120, 60, 0, .12); }
.post .im { aspect-ratio: 16/10; overflow: hidden; }
.post .im img { width: 100%; height: 100%; object-fit: cover; }
.post div.t { padding: 22px 24px 28px; }
.post small { color: var(--fmp-accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.post h3 { font-size: 1.35rem; margin-top: 10px; line-height: 1.2; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* únete + footer */
.join { text-align: center; padding: 140px 0; position: relative; }
.join form { display: flex; gap: 10px; max-width: 520px; margin: 34px auto 0; background: #fff; padding: 8px; border-radius: 999px; box-shadow: 0 20px 50px rgba(120, 60, 0, .12); }
.join input { flex: 1; border: 0; background: transparent; padding: 0 20px; font: 15px var(--sans); outline: none; min-width: 0; }
footer { background: #2a1d12; color: #f3e6d6; padding: 70px 0 110px; border-radius: 48px 48px 0 0; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot img { height: 54px; width: auto; filter: brightness(0) invert(1) sepia(.3); }
.foot h4 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #ffb547; margin: 0 0 16px; }
.foot a { text-decoration: none; opacity: .8; display: block; padding: 3px 0; }
.foot .fmp-social a { opacity: 1; display: grid; }
.legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr; } }
/* textos largos (correos) nunca deben ensanchar la página en celular */
.transp__box > *, .foot > * { min-width: 0; }
.transp__box dd, .foot a, .foot p, .legal, .prose a { overflow-wrap: anywhere; }
@media (max-width: 1240px) { .nav .btn.dona { margin-left: auto; } }
/* teléfonos: logo, "Dona ahora" y menú caben en una sola fila sin salirse de la pantalla */
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .nav img, .pagina header.scrolled .nav img { height: 50px; }
  header.scrolled .nav img { height: 44px; }
  .nav .btn.dona { padding: 8px 12px; font-size: .72rem; }
  .nav .fmp-burger { width: 42px; height: 42px; }
  .nav .fmp-burger::before { top: 14px; } .nav .fmp-burger span { top: 20px; } .nav .fmp-burger::after { top: 26px; }
}
/* nada (resplandores, sombras) puede ensanchar la página */
main, footer { overflow-x: clip; }
