/* ======================================================================
   VetSaaS — Landing CSS
   Tono editorial oscuro con ámbar cálido. Fraunces (display serif) +
   Manrope (body sans).
   ====================================================================== */

:root {
    --bg:          #0b0f17;
    --bg-alt:      #0f1420;
    --surface:     #151b2b;
    --surface-2:   #1b2336;
    --border:      rgba(255,255,255,.08);
    --border-lg:   rgba(255,255,255,.12);
    --text:        #e7ecf5;
    --text-muted:  #8b93a8;
    --text-dim:    #5d6478;
    --accent:      #f59e0b;
    --accent-2:    #fbbf24;
    --accent-deep: #d97706;
    --teal:        #14b8a6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }
.italic { font-style: italic; font-family: 'Fraunces', serif; font-weight: 600; }

/* ======================= NAV ======================= */
.land-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11,15,23,.75);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.land-brand {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
    color: var(--text);
}
.land-link {
    color: var(--text-muted); font-size: .93rem; font-weight: 500;
    transition: color .15s;
}
.land-link:hover { color: var(--text); }

.btn {
    font-family: 'Manrope', sans-serif;
    border-radius: 10px; font-weight: 600; font-size: .92rem;
    padding: 8px 16px; transition: all .15s ease;
    border: 1px solid transparent;
}
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-primary-amber {
    background: var(--accent); color: #111; border-color: var(--accent);
}
.btn-primary-amber:hover {
    background: var(--accent-deep); border-color: var(--accent-deep); color: #111;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -10px rgba(245,158,11,.55);
}
.btn-outline-amber {
    background: transparent; color: var(--accent); border-color: rgba(245,158,11,.35);
}
.btn-outline-amber:hover {
    background: rgba(245,158,11,.1); color: var(--accent-2);
    border-color: var(--accent);
}
.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border-lg);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-lg); color: var(--text); }

/* ======================= HERO ======================= */
.hero {
    position: relative; overflow: hidden;
    padding: 60px 0 110px;
}
.hero-glow {
    position: absolute; inset: -200px -200px auto auto;
    width: 900px; height: 900px; pointer-events: none;
    background: radial-gradient(circle at 50% 50%,
        rgba(245,158,11,.25) 0%,
        rgba(245,158,11,.08) 35%,
        transparent 70%);
    filter: blur(40px);
    z-index: 0;
}
.hero-grain {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    opacity: .04; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25);
    color: var(--accent-2); font-size: .8rem; font-weight: 600;
    letter-spacing: .02em;
}
.eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245,158,11,.2);
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
    50%      { box-shadow: 0 0 0 7px rgba(245,158,11,.05); }
}

.display-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
    margin: 22px 0 20px;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.display-title .italic {
    font-weight: 400; color: var(--accent);
}

.lead-copy {
    color: var(--text-muted); font-size: 1.1rem; line-height: 1.6;
    max-width: 520px; margin-bottom: 32px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
    display: flex; gap: 40px; flex-wrap: wrap;
    padding-top: 30px; border-top: 1px solid var(--border);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong {
    font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 800;
    color: var(--text); letter-spacing: -.02em;
}
.hero-trust span {
    color: var(--text-dim); font-size: .82rem; text-transform: uppercase;
    letter-spacing: .08em;
}

/* Hero art: collage asimétrico de fotos */
.hero-art {
    position: relative; height: 560px;
}
.hero-photo {
    position: absolute; overflow: hidden;
    border-radius: 20px; border: 1px solid var(--border-lg);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-photo--main   { width: 70%; height: 70%; top: 15%; right: 0; }
.hero-photo--top    { width: 40%; height: 35%; top: 0; left: 0; transform: rotate(-3deg); }
.hero-photo--bottom { width: 45%; height: 32%; bottom: 5%; left: 8%; transform: rotate(2deg); }

.hero-chip {
    position: absolute; z-index: 3;
    background: var(--surface); border: 1px solid var(--border-lg);
    border-radius: 14px; padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,.7);
    max-width: 260px;
}
.hero-chip i {
    font-size: 1.5rem; color: var(--accent);
    background: rgba(245,158,11,.12); padding: 9px;
    border-radius: 10px;
}
.hero-chip-t { font-size: .88rem; font-weight: 700; }
.hero-chip-s { font-size: .76rem; color: var(--text-muted); }
.hero-chip--1 { top: 32%; left: -30px; }
.hero-chip--2 { bottom: 14%; right: 10%; }

/* ======================= SECTIONS ======================= */
.section { padding: 90px 0; position: relative; }
.section--showcase { background: var(--bg-alt); }
.section--planes  { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.section--faq     { background: var(--bg-alt); }
.section--cta     { padding: 60px 0 90px; }

.section-head { max-width: 820px; margin-bottom: 56px; }
.section-num {
    display: inline-block; font-family: 'Fraunces', serif;
    font-size: .95rem; color: var(--accent); font-weight: 600;
    letter-spacing: .1em; margin-bottom: 14px;
}
.section-title {
    font-family: 'Fraunces', serif; font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08;
    letter-spacing: -.025em; margin: 0 0 14px;
    font-variation-settings: "opsz" 144;
}
.section-title .italic { font-weight: 400; color: var(--accent); }
.section-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; }

/* Módulos grid */
.modulos-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.modulo-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 26px 22px;
    transition: transform .18s ease, border-color .18s ease;
    position: relative;
}
.modulo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245,158,11,.3);
}
.modulo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(245,158,11,.1); color: var(--accent);
    font-size: 1.3rem; margin-bottom: 14px;
}
.modulo-card h3 {
    font-size: 1.05rem; font-weight: 700; margin: 0 0 6px;
    letter-spacing: -.01em;
}
.modulo-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* Mosaico de mascotas */
.pet-mosaic {
    display: grid; gap: 14px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    grid-template-areas:
        "a b d"
        "a c d"
        "e f f";
}
.pet-mosaic { grid-template-rows: 220px 220px 220px; }
.pet-tile {
    margin: 0; overflow: hidden; border-radius: 16px;
    border: 1px solid var(--border); position: relative;
    background: var(--surface); cursor: pointer;
}
.pet-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.pet-tile:hover img { transform: scale(1.05); }
.pet-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.8));
    color: #fff; font-size: .86rem; font-weight: 600;
}
.pet-tile:nth-child(1) { grid-area: a; }
.pet-tile:nth-child(2) { grid-area: b; }
.pet-tile:nth-child(3) { grid-area: c; }
.pet-tile:nth-child(4) { grid-area: d; }
.pet-tile:nth-child(5) { grid-area: e; }
.pet-tile:nth-child(6) { grid-area: f; }

/* Planes */
.planes-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.plan-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 20px; padding: 30px 26px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform .2s ease, border-color .2s ease;
}
.plan-card:hover { border-color: var(--border-lg); transform: translateY(-2px); }
.plan-card--featured {
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, rgba(245,158,11,.08), transparent 40%), var(--surface);
    box-shadow: 0 20px 50px -20px rgba(245,158,11,.25);
}
.plan-ribbon {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #111; font-size: .72rem;
    font-weight: 800; padding: 5px 12px; border-radius: 999px;
    letter-spacing: .04em; text-transform: uppercase;
}
.plan-name {
    font-family: 'Fraunces', serif; font-size: 1.3rem;
    font-weight: 700; margin: 0;
}
.plan-price {
    margin: 10px 0 6px;
    display: flex; align-items: flex-start;
    font-family: 'Fraunces', serif; font-weight: 800;
}
.plan-cur { font-size: 1.2rem; margin-top: 10px; color: var(--text-muted); }
.plan-amount { font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; }
.plan-per { color: var(--text-muted); font-family: 'Manrope', sans-serif;
    font-weight: 500; font-size: .95rem; margin-left: 4px; margin-top: 14px; }

.plan-desc { color: var(--text-muted); font-size: .9rem; min-height: 44px; }
.plan-feats {
    list-style: none; padding: 0; margin: 20px 0;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1;
}
.plan-feats li {
    font-size: .9rem; color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
.plan-feats i { color: var(--accent); font-size: 1rem; }

/* FAQ */
.faq-list {
    max-width: 780px;
    display: flex; flex-direction: column;
    border-top: 1px solid var(--border);
}
.faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-list summary {
    font-family: 'Fraunces', serif; font-size: 1.15rem;
    font-weight: 600; letter-spacing: -.01em; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between;
    align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+'; font-family: 'Manrope'; color: var(--accent);
    font-size: 1.4rem; font-weight: 300; transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p {
    margin: 14px 0 0; color: var(--text-muted); font-size: .98rem;
}
.faq-list code {
    background: var(--surface-2); padding: 2px 6px; border-radius: 4px;
    color: var(--accent-2); font-size: .88rem;
}

/* CTA */
.cta-box {
    background:
        radial-gradient(circle at 0% 0%, rgba(245,158,11,.2), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(20,184,166,.15), transparent 50%),
        var(--surface);
    border: 1px solid var(--border-lg);
    border-radius: 28px; padding: 60px 30px;
    text-align: center;
}
.cta-box h2 {
    font-family: 'Fraunces', serif; font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -.02em; line-height: 1.1;
    margin: 0 0 30px;
}

/* Footer */
.land-footer {
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .85rem;
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 992px) {
    .hero { padding: 40px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-art { height: 440px; max-width: 520px; margin: 0 auto; }
    .hero-chip { max-width: 220px; }
    .section { padding: 70px 0; }
    .pet-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
        grid-template-areas: "a a" "b c" "d e" "f f";
        grid-template-rows: 220px 180px 180px 220px;
    }
}
@media (max-width: 576px) {
    .hero-art { height: 380px; }
    .hero-chip { display: none; }
    .hero-trust { gap: 20px; }
    .plan-amount { font-size: 2.6rem; }
}
