/* MAIN */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-dark:  #2d4a2d;
    --green-mid:   #4a7c59;
    --green-light: #a8c5a0;
    --cream:       #f7f3ec;
    --wood:        #c4a882;
    --text:        #2a2a2a;
    --text-light:  #5a5a5a;
    --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--green-dark);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    color: var(--cream); font-size: 1.2rem;
    text-decoration: none; letter-spacing: .02em;
}
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
    color: var(--green-light); text-decoration: none;
    font-size: .9rem; letter-spacing: .06em;
    text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; }

.hero {
    position: relative; height: 92vh; min-height: 520px;
    overflow: hidden; display: flex;
    align-items: center; justify-content: center; text-align: center;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1.6s ease; will-change: opacity;
    overflow: hidden;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
            to bottom,
            rgba(15,30,15,.50) 0%,
            rgba(15,30,15,.68) 55%,
            rgba(255,255,255,1) 100%
    );
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 720px; padding: 2rem 2rem 6rem;
    animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-badge {
    display: inline-block; background: var(--wood); color: var(--white);
    font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
    padding: .35rem 1rem; border-radius: 2rem; margin-bottom: 1.2rem;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.8rem);
    color: var(--white); line-height: 1.15; margin-bottom: 1.1rem;
    text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4);
}
.hero p {
    color: rgba(255,255,255,.97); font-size: 1.15rem;
    font-weight: 400; margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.btn {
    display: inline-block; padding: .85rem 2.4rem; border-radius: 2rem;
    font-size: .9rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.btn-primary {
    background: var(--green-mid); color: var(--white);
    border: 2px solid rgba(255,255,255,.45);
}
.btn-outline {
    background: var(--green-mid); color: var(--white);
    border: 2px solid rgba(255,255,255,.45);
    margin-left: 1rem;
}

.wave-sep {
    display: block; width: 100%; overflow: hidden;
    line-height: 0; font-size: 0;
    margin: -2px 0 0; padding: 0;
    position: relative; z-index: 1;
}
.wave-sep svg { display: block; width: 100%; height: 92px; }

section { padding: 5rem 2rem; }
.container { max-width: 1040px; margin: 0 auto; }
.sec-white { background: var(--white); }
.sec-cream { background: var(--cream); }
.sec-dark  { background: var(--green-dark); color: var(--white); }

.wave-sep, .wave-sep svg, .wave-sep svg rect, .wave-sep svg path {
    outline: none; border: none; shape-rendering: crispEdges;
}
section, footer { border: none; outline: none; }
.wave-sep + section { margin-top: 0; }
footer { margin-top: 0; }

.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
    opacity: 0; transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }

.section-label {
    font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--green-mid); font-weight: 700; margin-bottom: .6rem;
}
.sec-dark .section-label { color: var(--green-light); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: var(--green-dark); margin-bottom: 1rem;
}
.sec-dark .section-title { color: var(--cream); }
.section-sub { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin-bottom: 3rem; }
.sec-dark .section-sub { color: rgba(255,255,255,.65); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.oferta-slider {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    aspect-ratio: 4/3;
    background: #1a2a1a;
}

.oferta-track {
    position: absolute;
    inset: 0;
}
.oferta-track img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    opacity: 0;
    transition: opacity .9s ease;
}
.oferta-track img.active { opacity: 1; }
.oferta-prev, .oferta-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
    border: none; color: #fff; font-size: 2rem; line-height: 1;
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    transition: background .2s; z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.oferta-prev { left: .8rem; }
.oferta-next { right: .8rem; }
.oferta-prev:hover, .oferta-next:hover { background: rgba(255,255,255,.45); }
.oferta-dots {
    position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .45rem; z-index: 2;
}
.oferta-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.45); cursor: pointer;
    transition: background .3s, transform .3s;
}
.oferta-dots span.active { background: #fff; transform: scale(1.3); }

.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: .45rem 0; font-size: 1rem; color: var(--text-light);
    display: flex; gap: .7rem; align-items: flex-start;
}
.check-list li::before { content: '✓'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; }
.sec-dark .check-list li { color: rgba(255,255,255,.78); }
.sec-dark .check-list li::before { color: var(--green-light); }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card {
    background: var(--white); border-radius: 12px; padding: 2rem 1.6rem;
    box-shadow: 0 2px 16px rgba(45,74,45,.08);
    border-top: 3px solid var(--green-light);
    transition: transform .25s, box-shadow .25s;
}
@keyframes float-up {
    0%   { transform: translateY(0); }
    38%  { transform: translateY(-10px); }
    62%  { transform: translateY(-7px); }
    80%  { transform: translateY(-9px); }
    100% { transform: translateY(-8px); }
}

.feature-card,
.price-card,
.contact-card {
    transition: box-shadow .6s ease;
}

.feature-card:hover,
.price-card:hover,
.contact-card:hover {
    animation: float-up 1.1s cubic-bezier(.22,.61,.36,1) forwards;
    box-shadow: 0 18px 40px rgba(45,74,45,.16);
}
.feature-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-dark); margin-bottom: .5rem; }
.feature-card p { font-size: .93rem; color: var(--text-light); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.price-card {
    border-radius: 12px; padding: 2.2rem 2rem;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
    text-align: center;
}
.price-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--cream); margin-bottom: .5rem; }
.price-amount { font-size: 2.6rem; font-weight: 700; color: var(--wood); line-height: 1; margin: .8rem 0 .3rem; }
.price-amount span { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.6); }
.price-card p { font-size: .88rem; color: rgba(255,255,255,.55); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.contact-card { background: var(--white); border-radius: 10px; padding: 1.8rem; text-align: center; box-shadow: 0 2px 12px rgba(45,74,45,.07); }
.contact-card .icon { font-size: 2rem; margin-bottom: .6rem; }
.contact-card h4 { color: var(--green-dark); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.contact-card a { color: var(--green-mid); text-decoration: none; font-weight: 700; }
.contact-card p { color: var(--text-light); font-size: .93rem; }

.ssl-notice {
    background: #e8f5e9; border-left: 4px solid var(--green-mid);
    padding: 1rem 1.5rem; border-radius: 0 8px 8px 0;
    font-size: .88rem; color: var(--green-dark); margin-bottom: 2rem;
}
.ssl-notice strong { display: block; margin-bottom: .3rem; }

footer {
    background: #1a2e1a; color: rgba(255,255,255,.55);
    text-align: center; padding: 2.5rem 2rem; font-size: .85rem;
}
footer a { color: var(--green-light); text-decoration: none; }

.modal-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 500;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
    padding: 1rem;
}
.modal-backdrop.open { display: flex; animation: modalFadeIn .25s ease; }
@keyframes modalFadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
.modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2.4rem 2.2rem 2rem;
    width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    animation: modalSlideUp .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
    position: absolute; top: 1rem; right: 1.2rem;
    background: none; border: none; font-size: 1.8rem;
    color: var(--text-light); cursor: pointer; line-height: 1;
    transition: color .2s;
}
.modal-close:hover { color: var(--green-dark); }
.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: var(--green-dark);
    margin-bottom: .3rem;
}
.modal-sub { color: var(--text-light); font-size: .9rem; margin-bottom: 1.4rem; }
.modal-field { margin-bottom: 1.1rem; }
.modal-field label {
    display: block; font-size: .82rem; font-weight: 700;
    color: var(--green-dark); letter-spacing: .04em;
    text-transform: uppercase; margin-bottom: .35rem;
}
.modal-field input,
.modal-field textarea {
    width: 100%; padding: .7rem 1rem;
    border: 1.5px solid #d5d5d5; border-radius: 8px;
    font-family: 'Lato', sans-serif; font-size: .95rem;
    color: var(--text); background: var(--cream);
    transition: border-color .2s, box-shadow .2s;
    resize: none;
}
.modal-field input:focus,
.modal-field textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(74,124,89,.15);
}
.modal-check {
    display: flex; align-items: flex-start; gap: .6rem;
    font-size: .9rem; color: var(--text-light);
    margin-bottom: 1.4rem; cursor: pointer;
}
.modal-check input { margin-top: .2rem; accent-color: var(--green-mid); width: 16px; height: 16px; flex-shrink: 0; }
.modal-send {
    width: 100%; padding: .9rem;
    background: var(--green-mid); color: var(--white);
    border: none; border-radius: 2rem;
    font-family: 'Lato', sans-serif;
    font-size: .95rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    cursor: pointer; transition: background .2s, transform .2s;
}
.modal-send:hover { background: var(--green-dark); transform: translateY(-1px); }
.modal-note { font-size: .85rem; margin-top: .8rem; text-align: center; min-height: 1.2em; }
.modal-note.ok  { color: var(--green-mid); }
.modal-note.err { color: #c0392b; }

.hero-btns {
    display: flex; flex-wrap: wrap;
    gap: .8rem; justify-content: center;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--green-dark); flex-direction: column;
        padding: 1.2rem 2rem 1.8rem; gap: 1.2rem;
        box-shadow: 0 8px 20px rgba(0,0,0,.3); z-index: 199;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1rem; padding: .25rem 0; }

    .hero { height: 100dvh; min-height: 500px; }
    .hero-content { padding: 2rem 1.5rem 7rem; max-width: 100%; }
    .hero p { white-space: normal; }

    .two-col { grid-template-columns: 1fr !important; gap: 2rem; }

    section { padding: 3.5rem 1.5rem; }
    .section-sub { max-width: 100%; }

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

    .contact-cards { grid-template-columns: 1fr; }

    .wave-sep svg { height: 55px; }

    iframe { height: 260px !important; }

    .modal-box { max-height: 90dvh; overflow-y: auto; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
    .hero p  { font-size: 1rem; }
    .hero-btns .btn {
        width: 100%; text-align: center;
        margin-left: 0 !important;
    }

    section { padding: 2.5rem 1rem; }

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

    .wave-sep svg { height: 40px; }

    .oferta-prev, .oferta-next { width: 40px; height: 40px; font-size: 1.6rem; }
}