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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111;
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Estilo general tipo blog limpio */

.site-header {
    background: #ffffff;
    padding-top: 1.5rem;
}

.site-header-inner {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.brand-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* texto a la izquierda, logo a la derecha */
    width: 100%;
}

.brand-logo {
    max-height: 140px; /* logo un poco más grande */
    width: auto;
}

.brand-text h1 {
    font-family: 'Playfair Display', 'Outfit', system-ui, sans-serif;
    font-size: 2.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #536331; /* verde del logo */
}

.brand-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #777;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.top-nav a {
    position: relative;
    padding-bottom: 0.4rem;
    color: #555;
}

.top-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #3c7a4a;
    transition: width 0.2s ease-out;
}

.top-nav a:hover::after,
.top-nav a.nav-active::after {
    width: 100%;
}

.header-divider {
    margin-top: 1.2rem;
    border-bottom: 1px solid #e2e2e2;
}

.hero-intro {
    background: linear-gradient(to bottom, #ffffff, #f7faf8 65%);
}

.hero-intro-inner {
    padding: 2.2rem 0 2.8rem;
    max-width: 850px;
}

.hero-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.6rem;
}

.hero-title {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
}

.hero-lead {
    color: #444;
    margin-bottom: 1.4rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Secciones */

.section {
    padding: 3.2rem 0;
}

.section:nth-of-type(odd) {
    background: #ffffff;
}

.section:nth-of-type(even) {
    background: #f8faf9;
}

.section-alt {
    background: #fafafa;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.3rem;
}

.section-header {
    max-width: 720px;
    margin-bottom: 2rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.highlight-box {
    border-left: 3px solid #3c7a4a;
    padding-left: 1.25rem;
    color: #333;
}

.highlight-box h3 {
    margin-bottom: 0.75rem;
}

.highlight-box ul {
    list-style: none;
    margin-bottom: 1.3rem;
}

.highlight-box li::before {
    content: '•';
    color: #3c7a4a;
    margin-right: 0.4rem;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    min-width: 140px;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.stat-number {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #555;
}

.timeline {
    margin-top: 1.25rem;
    border-left: 1px solid #d3e1d8;
    padding-left: 1rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 0.9rem;
}

.timeline-dot {
    position: absolute;
    left: -1.15rem;
    top: 0.35rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3c7a4a;
}

.timeline-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.timeline-content p {
    font-size: 0.85rem;
    color: #555;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.vortix-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.vortix-gallery img {
    border-radius: 0.75rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Carrusel Vortix */

.vortix-carousel {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vortix-carousel-inner {
    position: relative;
    width: 100%;
}

.vortix-carousel .carousel-window {
    width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-btn.prev {
    left: -38px; /* más alejada de la imagen */
}

.carousel-btn.next {
    right: -38px; /* más alejada de la imagen */
}

.vortix-carousel .carousel-dots {
    display: flex;
    justify-content: center;
}

.carousel-window {
    overflow: hidden;
    border-radius: 0.9rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    flex: 1;
    background: #ffffff;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-figure {
    margin: 0;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.carousel-figure figcaption {
    padding: 0.6rem 0.9rem 0.8rem;
    font-size: 0.9rem;
    color: #444;
}

.carousel-btn {
    border: none;
    background: #ffffff;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: #333;
}

.carousel-btn:hover {
    background: #f3f7f4;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8d2cc;
}

.carousel-dot.is-active {
    background: #3c7a4a;
}

.card {
    position: relative;
    background: #ffffff;
    border-radius: 0.9rem;
    border: 1px solid #e5e5e5;
    padding: 1.6rem 1.5rem 1.7rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: #d5e2da;
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card ul {
    padding-left: 1.1rem;
}

.card li + li {
    margin-top: 0.4rem;
}

.card-tag {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #3c7a4a;
}

.callout {
    margin-top: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: 0.75rem;
    border: 1px solid #dce9e1;
    background: #f5fbf7;
    font-size: 0.95rem;
}

.callout-center {
    text-align: center;
}

/* Cuando el callout está dentro de .two-column, que ocupe todo el ancho y se alinee a la izquierda */
.vortix-main {
    padding-bottom: 1.2rem; /* menos espacio debajo del bloque principal */
    background: #f8faf9;    /* mismo color que la sección de abajo */
}

.vortix-callout-section {
    padding-top: 0;        /* pegado al bloque principal */
    padding-bottom: 0.8rem;  /* más lejos del footer */
    background: #f8faf9;      /* mismo color que arriba para que no se note el corte */
}

.vortix-callout {
    max-width: 640px;
    margin: 0 auto 0 0; /* alineado al extremo izquierdo del container */
}

.callout-center .btn {
    margin-top: 0.75rem;
}

.soon-box {
    margin-top: 2.5rem;
    padding: 1.5rem 1.6rem;
    border-radius: 0.75rem;
    border: 1px dashed #c2c2c2;
    background: #ffffff;
}

/* Contacto */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #d7d7d7;
    background: #ffffff;
    font-size: 0.95rem;
}

.contact-chip:hover {
    background: #f3f7f4;
    text-decoration: none;
}

.contact-form {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem 1.7rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.form-row {
    margin-bottom: 0.9rem;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.4rem;
    border: 1px solid #d0d0d0;
    font: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #3c7a4a;
    box-shadow: 0 0 0 1px rgba(60, 122, 74, 0.2);
}

.form-note {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.9rem;
}

.form-success {
    padding: 0.7rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #dce9e1;
    background: #f0faf3;
    color: #235334;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

/* Botones */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-primary {
    background: #3c7a4a;
    color: #ffffff;
    border-color: #3c7a4a;
    box-shadow: 0 4px 14px rgba(60, 122, 74, 0.25);
}

.btn-primary:hover {
    background: #345f3d;
    border-color: #345f3d;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #3c7a4a;
    border-color: #3c7a4a;
}

.btn-outline:hover {
    background: #f3f7f4;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Footer */

.footer {
    border-top: 1px solid #eee;
    padding: 1.5rem 0 1.8rem;
    background: #ffffff;
    font-size: 0.85rem;
    color: #666;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer-small {
    opacity: 0.9;
}

/* Animaciones de scroll suaves */

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

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

/* Responsive */

@media (max-width: 800px) {
    .top-nav ul {
        gap: 1.2rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .hero-intro-inner {
        padding-inline: 0.3rem;
    }

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

    .stats-row {
        gap: 0.7rem;
    }
}

@media (max-width: 520px) {
    .brand-text h1 {
        font-size: 1.7rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form {
        padding-inline: 1.1rem;
    }
}
