:root {
    /* Paleta basada en el logo ARGET */
    --orange: #ff7a3c;
    /* Naranja ARGET */
    --teal: #35d0c8;
    /* Turquesa ARGET */
    --accent-blue: #3f3fd8;
    /* Azul/violeta de las figuras */
    --accent-magenta: #ff4f81;
    /* Magenta del degradado */
    --dark: #000000;
    --text: #222222;
    --light: #ffffff;
    --bg-card: #ffffff;
    --bg-page: #f5f5f5;
}

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

body {
    margin: 0;
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text);
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(90deg, var(--orange), var(--accent-magenta));
    color: #000;
}


/* Botón hamburguesa */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* MAIN */

main {
    padding: 2rem 1.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}


/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hero-text h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.hero-image-card {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal), var(--accent-blue));
    min-height: 220px;
    display: flex;
    align-items: stretch;
}

.hero-image-placeholder {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}


/* Page hero + cards */

.page-hero {
    border-radius: 24px 24px 0 0;
    padding: 1.75rem 2rem;
    color: #fff;
    margin-bottom: 0;
}

.page-hero h1 {
    margin: 0;
    font-size: 2rem;
}

.orange-header {
    background: var(--orange);
}

.teal-header {
    background: var(--teal);
}

.content-card {
    background: var(--bg-card);
    border-radius: 0 0 24px 24px;
    padding: 2rem 2rem 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.content-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.content-card p {
    line-height: 1.6;
}


/* Layout helpers */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

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

.gap-lg {
    gap: 2rem;
}

.highlight-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2.5rem;
}

.bullet-list {
    padding-left: 1.2rem;
}

.bullet-list li {
    margin-bottom: 0.4rem;
}


/* Botones / links */

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--orange), var(--accent-magenta));
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.75rem;
}


/* FOOTER */

.site-footer {
    background: #000;
    color: #fff;
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.footer-company {
    font-weight: 700;
    margin-top: 0.5rem;
}

.footer-map iframe {
    border-radius: 16px;
}

.footer-logo img {
    max-width: 120px;
    display: block;
    margin-left: auto;
}

.valimg {
    height: 40px;
    weight: 40px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
}


/* Animaciones scroll */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */

@media (max-width: 900px) {
    main {
        padding: 1.5rem 1rem 2.5rem;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-logo img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: #000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .main-nav.open {
        max-height: 260px;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0.5rem 1.5rem 1rem;
    }
    .main-nav a {
        width: 100%;
    }
}


/* Timeline estilo ARGET */

.timeline {
    position: relative;
    padding: 3rem 1rem;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    border-radius: 24px;
}


/* Línea horizontal */

.timeline::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 5%;
    right: 5%;
    height: 5px;
    background: var(--teal);
    border-radius: 10px;
}


/* Cada bloque */

.timeline-item {
    width: 32%;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.timeline-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.timeline-item p {
    font-size: 0.95rem;
    line-height: 1.5rem;
}


/* Iconos */

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border: 4px solid var(--orange);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: var(--orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* RESPONSIVE */

@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        gap: 3rem;
    }
    .timeline::before {
        display: none;
    }
    .timeline-item {
        width: 100%;
    }
}