:root {
    --primary-wood: #5A3A2B;
    --dark-wood: #3E2A20;
    --light-wood: #6B4A35;
    --beige: #E8DCCB;
    --cream: #F5F2EE;
    --text-dark: #1F1F1F;
    --text-light: #7a6458;   /* marrón suave - texto secundario */
    --white: #FFFFFF;
    --accent: #D8A48F;       /* Terracota - botones y detalles */
    --green-soft: #A3B18A;  /* Verde suave - íconos y acentos */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-body);
    color: var(--dark-wood);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 20px;
}

.bg-light {
    background-color: var(--beige);
}

.bg-wood {
    background-color: var(--primary-wood);
    color: var(--white);
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--primary-wood);
    border-color: var(--primary-wood);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-wood);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    height: 160px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-wood);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-contact {
    background-color: var(--accent);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: 0.3s;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.hero-text {
    background-color: var(--primary-wood);
    background-image:
        repeating-linear-gradient(
            92deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.04) 3px,
            rgba(0,0,0,0.04) 4px
        ),
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 18px,
            rgba(255,255,255,0.03) 18px,
            rgba(255,255,255,0.03) 19px
        ),
        repeating-linear-gradient(
            175deg,
            transparent,
            transparent 40px,
            rgba(0,0,0,0.06) 40px,
            rgba(0,0,0,0.06) 41px
        );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 200px 60px 80px 60px;
    color: var(--white);
}

.hero-img {
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--cream);
}

.hero h1 span {
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--beige);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Propuesta */
.propuesta-grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 50px;
    align-items: center;
}

.propuesta-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.objetivos-list h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-wood);
}

.objetivos-list ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.objetivos-list i {
    color: var(--green-soft);
    margin-top: 5px;
}

.propuesta-img img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.propuesta-img.collage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.propuesta-img.collage img:first-child {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.propuesta-img.collage img:last-child {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 0;
}

/* Servicios */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-wood);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Metodología split */
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.methodology-col h3 {
    color: var(--beige);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.methodology-col ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.methodology-col ul li::before {
    content: "•";
    color: var(--beige);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Equipo */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

.team-img {
    flex-shrink: 0;
}

.team-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: 0 -24px;
    border-radius: 50%;
    border: 4px solid var(--beige);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.team-info {
    flex: 1;
}

.team-info h3 {
    margin-bottom: 4px;
    font-size: 1.3rem;
}

.team-info .role {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info .bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Unified Team Card */
.team-unified-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column; 
    margin: 0 auto;
    max-width: 900px;
}

@media (min-width: 768px) {
    .team-unified-card {
        flex-direction: row;
        align-items: stretch;
    }
    .team-unified-img {
        flex: 1;
        max-width: 40%;
    }
    .team-unified-content {
        flex: 1.5;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .team-unified-img img {
        height: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}

.team-unified-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.team-unified-content {
    padding: 25px;
}

.member-bio h3 {
    margin-bottom: 5px;
}

.member-bio .role {
    color: var(--primary-wood);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio .bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Acordeón Capacitaciones */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-wood);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(90, 58, 43, 0.06);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-content p {
    margin-bottom: 15px;
    margin-top: 10px; /* Add margin-top for when content expands */
}

.accordion-content ul {
    margin-bottom: 15px;
    margin-left: 20px;
    list-style-type: disc;
}

.accordion-content .tag {
    display: inline-block;
    background: var(--beige);
    color: var(--dark-wood);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Modalidades Box */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.check-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%235A3A2B"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>') no-repeat left 3px;
    background-size: 15px;
}

.box-wood {
    background: var(--dark-wood);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.box-wood h3 {
    color: var(--beige);
    margin-bottom: 15px;
}

.price-list {
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.price-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Footer */
.footer {
    background: var(--dark-wood);
    color: var(--beige);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
}

.social-icons a:hover {
    color: var(--accent);
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 160px;
        flex-direction: column;
        background-color: var(--primary-wood);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
        padding: 20px 0;
        z-index: 9999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        color: var(--cream);
        font-size: 1rem;
    }

    .btn-contact {
        background-color: var(--accent);
        color: var(--white) !important;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .hero-text {
        order: 1;
        padding: 200px 30px 50px 30px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img {
        order: 2;
        height: 350px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .propuesta-grid, 
    .methodology-grid,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-img img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        object-position: 0px -20px;
    }
    
    .propuesta-img {
        order: -1;
    }

    .propuesta-img.collage {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
    }

    .propuesta-img.collage img:first-child,
    .propuesta-img.collage img:last-child {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
        margin-top: 0;
    }
}