:root {
    color-scheme: light;
    --ink: #1d2c27;
    --green: #286247;
    --green-dark: #183d30;
    --green-light: #e2eee3;
    --orange: #c76142;
    --paper: #f4f5ef;
    --white: #fff;
    --muted: #5b6961;
    --line: #d9e1da;
    --content-width: 1180px;
}

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

html {
    width: 100%;
    min-width: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: clip;
    background: var(--white);
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 10px max(24px, calc((100% - var(--content-width)) / 2));
    border-bottom: 1px solid rgba(29, 44, 39, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.logo {
    width: 190px;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.site-header nav {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 3px;
    color: #405047;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--green-light);
    color: var(--green-dark);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--green);
    color: var(--white);
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-small {
    min-height: 42px;
    padding: 8px 16px;
    background: var(--green);
    color: var(--white);
    white-space: nowrap;
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(20, 39, 32, 0.16);
    color: var(--white);
}

.button-ghost:hover {
    background: var(--white);
    color: var(--green-dark);
}

.button-light {
    background: var(--paper);
    color: var(--green-dark);
}

.button-light:hover {
    background: var(--white);
}

.hamburger {
    display: none;
}

.hero {
    position: relative;
    display: flex;
    min-height: min(760px, calc(100svh - 76px));
    align-items: center;
    overflow: hidden;
    background: var(--green-dark);
    color: var(--white);
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    object-position: center 55%;
}

.hero-shade {
    background: linear-gradient(90deg, rgba(15, 35, 27, 0.84) 0%, rgba(15, 35, 27, 0.54) 48%, rgba(15, 35, 27, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 130px;
    animation: appear 650ms ease-out both;
}

.eyebrow {
    margin: 0 0 16px;
    color: #d6eca8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--green);
}

.hero h1,
.section-heading h2,
.contact-inner h2,
.ebikes-inner h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.12;
}

.hero h1 {
    max-width: 760px;
    font-size: 4rem;
}

.hero-copy {
    max-width: 580px;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-scroll {
    position: absolute;
    z-index: 1;
    right: max(24px, calc((100% - var(--content-width)) / 2));
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 0.9rem;
    text-decoration: none;
}

.hero-scroll span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
}

.section-inner,
.contact-inner,
.ebikes-inner {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
}

.about-section,
.products-section,
.contact-section {
    padding: 100px 0;
}

.about-section {
    background: var(--paper);
}

.section-heading {
    max-width: 760px;
}

.section-heading h2,
.contact-inner h2 {
    font-size: 2.8rem;
}

.section-heading > p:last-child {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    margin-top: 56px;
}

.purpose-item {
    padding-top: 20px;
    border-top: 1px solid #b9c8bc;
}

.item-number {
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 800;
}

.purpose-item h3 {
    margin: 16px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 500;
}

.purpose-item p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
}

.clients-details {
    margin-top: 54px;
    border-top: 1px solid #b9c8bc;
    border-bottom: 1px solid #b9c8bc;
}

.clients-details summary {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 1.12rem;
    font-weight: 800;
    list-style: none;
}

.clients-details summary::-webkit-details-marker {
    display: none;
}

.clients-details summary::after {
    content: "+";
    color: var(--green);
    font-size: 1.6rem;
    font-weight: 400;
}

.clients-details[open] summary::after {
    content: "-";
}

.clients-details summary span {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 400;
}

.client-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 8px 0 28px;
    color: var(--muted);
    font-size: 0.9rem;
    list-style: none;
}

.products-section {
    background: var(--white);
}

.section-heading-wide {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
}

.section-heading-wide > p {
    max-width: 340px;
    margin: 0 0 4px;
    color: var(--muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #9eb8a3;
    box-shadow: 0 12px 28px rgba(29, 44, 39, 0.09);
}

.producto-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card-content {
    padding: 22px 20px 24px;
}

.producto-titulo {
    margin: 0 0 14px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 500;
}

.producto-lista {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.91rem;
    line-height: 1.45;
    list-style: none;
}

.producto-lista li {
    position: relative;
    padding-left: 15px;
}

.producto-lista li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    content: "";
}

.partners-section {
    padding: 88px 0;
    background: var(--paper);
}

.partners-heading {
    max-width: 740px;
}

.partners-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.12;
}

.partners-heading > p:last-child {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 56px;
    margin-top: 44px;
}

.partner-item {
    padding-top: 18px;
    border-top: 1px solid #b9c8bc;
}

.partner-item h3 {
    margin: 12px 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.partner-item p {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
}

.partners-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    color: var(--green-dark);
    font-weight: 800;
    text-decoration-color: #9eb8a3;
    text-underline-offset: 5px;
}

.partners-link span {
    color: var(--orange);
}

.ebikes-section {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    background: var(--green-dark);
    color: var(--white);
}

.ebikes-section::after {
    position: absolute;
    right: -90px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(214, 236, 168, 0.3);
    border-radius: 50%;
    content: "";
}

.ebikes-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.ebikes-inner h2 {
    max-width: 600px;
    font-size: 2.8rem;
}

.ebikes-copy p {
    max-width: 470px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

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

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact-inner > div {
    max-width: 700px;
}

.contact-inner p:last-child {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.site-footer {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px max(24px, calc((100% - var(--content-width)) / 2));
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 800;
}

.reveal-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.purpose-grid .reveal-on-scroll:nth-child(2),
.partners-grid .reveal-on-scroll:nth-child(2) {
    transition-delay: 100ms;
}

.products-grid .product-card:nth-child(2) {
    transition-delay: 70ms;
}

.products-grid .product-card:nth-child(3) {
    transition-delay: 140ms;
}

.products-grid .product-card:nth-child(4) {
    transition-delay: 210ms;
}

.contact-inner > .reveal-on-scroll:nth-child(2),
.ebikes-inner > .reveal-on-scroll:nth-child(2) {
    transition-delay: 100ms;
}

.whatsapp-float {
    position: fixed;
    z-index: 30;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: #20bd5a;
    box-shadow: 0 8px 24px rgba(20, 53, 35, 0.28);
    color: var(--white);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #159c48;
    box-shadow: 0 12px 28px rgba(20, 53, 35, 0.34);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}

@keyframes appear {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
    .site-header {
        gap: 14px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .logo {
        width: 160px;
    }

    .nav-menu a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.88rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 68px;
    }

    .site-header {
        justify-content: center;
        min-height: 64px;
        gap: 0;
        padding: 8px 18px;
    }

    .logo {
        width: 150px;
        max-height: 44px;
    }

    .site-header nav {
        position: static;
        margin-left: 0;
    }

    .hamburger {
        display: flex;
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        margin-left: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 3px;
        background: var(--white);
        cursor: pointer;
    }

    .hamburger .bar {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform 160ms ease;
    }

    .hamburger[aria-expanded="true"] .bar:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] .bar:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 4px;
        padding: 12px 18px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 14px 24px rgba(29, 44, 39, 0.1);
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .nav-menu a {
        padding: 11px 12px;
        font-size: 1rem;
    }

    .header-cta {
        display: none;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .hero {
        min-height: min(700px, max(470px, calc(100svh - 195px)));
    }

    .hero-image {
        object-position: 56% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(15, 35, 27, 0.8), rgba(15, 35, 27, 0.36));
    }

    .hero-content,
    .section-inner,
    .contact-inner,
    .ebikes-inner {
        width: calc(100% - 36px);
    }

    .hero-content {
        padding: 48px 0 90px;
    }

    .hero h1 {
        max-width: 520px;
        font-size: 2.7rem;
    }

    .hero-copy {
        max-width: 470px;
        font-size: 1.05rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 290px;
    }

    .hero-scroll {
        right: 18px;
        bottom: 18px;
    }

    .about-section,
    .products-section,
    .contact-section {
        padding: 70px 0;
    }

    .about-section {
        padding-top: 42px;
    }

    .section-heading h2,
    .contact-inner h2,
    .ebikes-inner h2 {
        font-size: 2.15rem;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 38px;
    }

    .clients-details {
        margin-top: 38px;
    }

    .clients-details summary {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .clients-details summary span {
        order: 1;
        width: 100%;
        margin: 0;
    }

    .clients-details summary::after {
        margin-left: auto;
    }

    .client-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
        font-size: 0.82rem;
    }

    .section-heading-wide {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        display: grid;
        grid-template-columns: minmax(110px, 0.8fr) 1.2fr;
        align-items: stretch;
    }

    .producto-img {
        height: 100%;
        min-height: 100%;
        aspect-ratio: auto;
    }

    .product-card-content {
        padding: 18px 16px;
    }

    .producto-titulo {
        font-size: 1.25rem;
    }

    .producto-lista {
        gap: 6px;
        font-size: 0.84rem;
    }

    .ebikes-section {
        padding: 64px 0;
    }

    .ebikes-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 24px 18px;
    }
}

@media (max-width: 390px) {
    .product-card {
        grid-template-columns: 1fr;
    }

    .producto-img {
        height: 190px;
        min-height: 0;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-ready .reveal-on-scroll,
    .reveal-ready .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .whatsapp-float {
        display: none;
    }
}