:root {
    --green: #22461f;
    --green-soft: #edf5f0;
    --red: #d93515;
    --cream: #fff4e8;
    --ink: #173114;
    --white: #fff;
    --shadow: 0 26px 56px -22px rgba(20, 49, 20, .34);
    --radius: 24px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    color: var(--green);
    background: var(--white);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    color: var(--white);
    background: var(--green);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    display: flex;
    justify-content: center;
    padding: 42px 20px 12px;
}

.logo { display: block; width: 150px; }

.logo img { width: 100%; height: auto; }

.section-shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.hero {
    position: relative;
    padding-block: 42px 72px;
    overflow: hidden;
}

.hero-mark {
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -100px;
    width: 480px;
    height: 480px;
    opacity: .07;
    background: url("../img/nino-feliz-icon.png") center / contain no-repeat;
}

.hero-grid,
.split-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(40px, 7vw, 88px);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--red);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
    max-width: 700px;
    margin-bottom: 24px;
    color: var(--green);
    font-size: clamp(2.7rem, 5.2vw, 4.75rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;
}

h2 {
    margin-bottom: 20px;
    color: var(--red);
    font-size: clamp(2rem, 3.7vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.035em;
}

h3 {
    color: var(--green);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.12;
}

p,
blockquote {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.55;
}

.hero-copy > p:not(.eyebrow),
.section-copy > p:not(.eyebrow) { max-width: 630px; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin-top: 14px;
    padding: 14px 28px;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--red);
    border-radius: 999px;
    box-shadow: 0 12px 24px -14px rgba(217, 53, 21, .8);
    font-size: 1.08rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 15px 28px -14px rgba(34, 70, 31, .75);
    transform: translateY(-3px);
}

.btn-primary:focus-visible,
.final-video:focus-visible,
.video-links a:focus-visible {
    outline: 3px solid #f7bd31;
    outline-offset: 4px;
}

.hero-photo {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.section { padding-block: clamp(64px, 9vw, 112px); }

.section-green { background: var(--green-soft); }

.material-section { background: var(--cream); }

.material-section .bubble-small { border-color: var(--cream); }

.photo-bubbles {
    position: relative;
    min-height: 520px;
}

.bubble {
    position: absolute;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.bubble-large {
    top: 0;
    left: 0;
    width: min(410px, 78%);
    aspect-ratio: 1;
}

.bubble-small {
    right: 0;
    bottom: 0;
    width: min(260px, 50%);
    aspect-ratio: 1;
    border: 10px solid var(--green-soft);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.package-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.package-card > img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: var(--radius);
}

.package-card:nth-child(3) > img { object-position: center 32%; }

.package-body { flex: 1; padding: 20px 4px 0; }

.package-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.package-heading h3 { margin-bottom: 14px; }

.price {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: var(--white);
    background: var(--red);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 900;
}

.package-body p { margin-bottom: 0; font-size: 1.04rem; }

.centered-cta { margin-top: 40px; text-align: center; }

.support-grid { align-items: stretch; }

.story-card {
    position: relative;
    margin: 0;
    padding: 18px 30px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-card img {
    width: calc(100% + 60px);
    max-width: none;
    height: 300px;
    margin: -18px -30px 26px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.story-card blockquote {
    position: relative;
    margin: 0;
    color: var(--green);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.48;
}

.story-card figcaption {
    margin-top: 16px;
    color: var(--red);
    font-weight: 900;
}

.video-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 34px;
}

.video-links-single { grid-template-columns: minmax(0, 320px); }

.video-links a {
    position: relative;
    display: block;
    min-height: 155px;
    overflow: hidden;
    color: var(--white);
    background: var(--green);
    border-radius: 18px;
    box-shadow: 0 14px 28px -20px rgba(20, 49, 20, .5);
    text-decoration: none;
}

.video-links a::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(20, 49, 20, .02) 20%, rgba(20, 49, 20, .82) 100%);
}

.video-links img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    transition: transform .35s var(--ease);
}

.video-links a:hover img { transform: scale(1.045); }

.thumbnail-overlay {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .86rem;
    line-height: 1.15;
}

.mini-play {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding-left: 2px;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-size: .7rem;
}

.final-card {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, #b93820 0%, #d65332 100%);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.final-video {
    position: relative;
    display: block;
    min-height: 480px;
    overflow: hidden;
    isolation: isolate;
}

.final-video::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, rgba(16, 40, 14, .03) 45%, rgba(16, 40, 14, .72));
}

.final-video img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.final-video:hover img { transform: scale(1.035); }

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border: 8px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2.5s infinite;
}

.play svg { width: 28px; fill: currentColor; }

.video-label {
    position: absolute;
    right: 24px;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.final-copy {
    align-self: center;
    padding: clamp(38px, 6vw, 74px);
}

.final-copy h2 { color: var(--white); }

.final-copy .eyebrow { color: #f7bd31; }

.final-copy p { color: rgba(255, 255, 255, .92); }

.final-card .btn-primary {
    color: var(--red);
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 14px 28px -16px rgba(73, 22, 11, .72);
}

.final-card .btn-primary:hover,
.final-card .btn-primary:focus-visible {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.tax-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 0;
    padding: 16px 20px 0;
    color: #151515;
    background: transparent;
    text-align: center;
}

.tax-note span {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-weight: 900;
}

.final-section { padding-bottom: 32px; }

footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    padding: 44px 20px 52px;
    color: var(--green);
    background: var(--white);
    border-top: 1px solid rgba(34, 70, 31, .18);
    text-align: center;
}

footer::before {
    content: none;
}

.footer-logo {
    display: inline-flex;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

footer img { width: 92px; height: auto; }

footer p { margin: 0; font-size: .95rem; }

.reveal {
    opacity: 1;
    transform: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 53, 21, .4); }
    50% { box-shadow: 0 0 0 18px rgba(217, 53, 21, 0); }
}

@media (max-width: 920px) {
    .hero-grid,
    .split-grid,
    .support-grid { gap: 48px; }

    .packages-grid { grid-template-columns: 1fr 1fr; }

    .package-card:last-child { grid-column: 1 / -1; width: calc(50% - 12px); margin-inline: auto; }

    .photo-bubbles { min-height: 440px; }

    .final-card { grid-template-columns: 1fr; }

    .final-video,
    .final-video img { min-height: 360px; max-height: 520px; }
}

@media (max-width: 700px) {
    .site-header { padding-top: 28px; }

    .hero { padding-block: 30px 58px; }

    .hero-grid,
    .split-grid,
    .support-grid { grid-template-columns: 1fr; }

    .hero-copy { text-align: center; }

    .hero-copy > p:not(.eyebrow) { text-align: left; }

    .hero-photo,
    .hero-photo img { min-height: 340px; }

    .material-section .photo-bubbles { order: 2; }

    .photo-bubbles { min-height: 410px; }

    .packages-grid { grid-template-columns: 1fr; }

    .package-card:last-child { grid-column: auto; width: 100%; }

}

@media (max-width: 440px) {
    .section-shell { width: min(100% - 28px, 1180px); }

    h1 { font-size: 2.55rem; }

    .btn-primary { width: 100%; }

    .hero-photo,
    .hero-photo img { min-height: 290px; }

    .photo-bubbles { min-height: 330px; }

    .package-card > img { height: 300px; }

    .video-links { grid-template-columns: 1fr; }

    .video-links a,
    .video-links img { min-height: 175px; height: 175px; }

    .story-card { padding-inline: 20px; }

    .story-card img { width: calc(100% + 40px); margin-inline: -20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

}
