/*++++*/

/* ===================================
    Modelica font
====================================== */
@font-face {
    font-family: 'bw_modelica_lgc_ss01_2bold';
    src: url('https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff2') format('woff2'), url('https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bw_modelica_lgc_ss01_2regular';
    src: url('https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff2') format('woff2'), url('https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
  

/*================DEFAULTS================*/


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px !important;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
  }

a {
  color: var(--green-main);
  text-decoration: none;
}

h1, h2 {
    font-family: 'bw_modelica_lgc_ss01_2regular';
}

h3, h4, h5, h6 {
    font-family: 'bw_modelica_lgc_ss01_2bold';
}

h2 {
  font-size: calc(1.4rem + .9vw);
}

h3 {
  font-size: calc(1.2rem + .9vw);
}

h4 {
    font-size: calc(1.1rem + .3vw);
}

/*================HEROS================*/
:root {
    --green-main: #30b767;
    --green-bright: #5dfaae;
    --green-dark: #1b4332; 
    --white: #ffffff;
    --black: #000000;
}

/* Colores de fondo */
.bg-green-main { background-color: var(--green-main); }
.bg-green-bright { background-color: var(--green-bright); }
.bg-green-dark { background-color: var(--green-dark); }
.text-green-main { color: var(--green-main); }

/* Ajustes de Layout */
.hero-navidad {
    min-height: 100vh;
}

.hero-navidad p {
    color: var(--green-bright);
}

/* Columna del Árbol con Split Background */
.column-tree-split {
    background: linear-gradient(
        to right, 
        var(--green-dark) 50%, 
        var(--white) 50%
    );
}

.container-arbol-verde {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%; 
    background-color: var(--green-main);
    width: 100%; 
}

.tree-img {
    max-height: 90%;
    width: auto;
    object-fit: contain;
}

.h-50 { height: 50% !important; }

.bola-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

.hilo { 
    width: 1px;
    background-color: var(--green-dark);
    opacity: 0.5;
}

.bola {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 4px 8px rgba(0,0,0,0.1);
}

.pos-1 {
    left: 15%;
} 
.pos-1 .hilo {
    height: 300px;
}

.pos-2 {
    left:50%;
    transform: translateX(-50%);
}
.pos-2 .hilo {
    height: 100px;
}
.pos-2 .bola {
    width: 38px; height: 38px; 
}

.pos-3 {
    left: 80%;
    transform: translateX(-50%);
}
.pos-3 .hilo {
    height: 160px;
}

.arbol-css-container {
    height: 114%; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
}

.arbol-cuerpo {
    width: 70%;
    max-width: 300px;
    height: 80%;
    
    background: repeating-linear-gradient(
        to bottom,
        var(--green-dark) 0,
        var(--green-dark) 2px,
        transparent 2px,
        transparent 12px,
        
        var(--green-bright) 12px,
        var(--green-bright) 14px,
        transparent 14px,
        transparent 24px,
        
        #ffffff 24px,
        #ffffff 26px,

        transparent 26px,
        transparent 36px
    );
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.arbol-tronco {
    width: 40px;
    height: 30px;
    background-color: var(--green-dark); /* Tu variable de verde oscuro */
    margin-top: -2px; /* Para asegurar que toque las líneas */
}

/* ===================================
   HITOS
====================================== */

.timeline-tree-section h2:before {
 content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--green-main);
    border-radius: 50%;
    margin-right: 12px;        /* Espacio a la derecha de la bola */
    vertical-align: middle;    /* Alineación visual con el texto */
    
    /* Ajuste fino visual (a veces necesario dependiendo de la fuente) */
    position: relative;
    top: -2px;
    
}

/************************************************************/
:root {

    --text-gray: #e0e0e0;
}

.timeline-tree-section {
    padding: 4rem 0;
    background-color: var(--green-dark); /* Fondo general oscuro */
    color: white;
    overflow: hidden; /* Evita scroll lateral si las líneas son muy largas */
}

/* Fila contenedora: Alinea rama - línea - texto */
.tree-row {
    /* Reducimos de 1.5rem a 0.8rem para que parezca más un árbol tupido */
    margin-bottom: 0.8rem; 
    display: flex;
    align-items: center;
    position: relative;
}

/* 1. LA RAMA DEL ÁRBOL */
.tree-branch {
    /* El ancho viene definido en el HTML por la variable --w */
    width: var(--w); 
    height: 40px; /* Altura de cada bloque de mes */
    
    /* Para centrar el árbol en la pantalla, usamos margins automáticos a la izquierda */
    /* Esto empuja el árbol al centro visual, y el texto queda a la derecha */
    margin-left: auto; 
    margin-right: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* EL ESTILO DE RAYAS (Igual que antes pero en cada bloque) */
    background: repeating-linear-gradient(
        to bottom,
        var(--green-main) 0,
        var(--green-main) 2px,
        transparent 2px,
        transparent 6px,
        #ffffff 6px,
        #ffffff 8px,
        transparent 8px,
        transparent 12px
    );
    
    /* Pequeño borde para definir mejor la forma */
    border-radius: 2px;
}

/* Etiqueta del mes (Enero, Febrero...) */
.month-label {
    background-color: var(--green-dark); /* Fondo para leer el texto sobre las rayas */
    padding: 0 3px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    z-index: 2;
    text-transform: uppercase;
}

/* 2. LA LÍNEA CONECTORA */
.connector-line {
    width: 60px; /* Longitud de la línea que une árbol y texto */
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    flex-shrink: 0; /* Evita que se encoja */
}

/* 3. EL BLOQUE DE TEXTO */
.text-block {
    width: 45%; /* Ocupa casi la mitad derecha de la pantalla */
    padding-left: 15px;
    margin-right: auto; /* Empuja todo hacia la izquierda para centrar el conjunto */
}

.text-block p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* EL TRONCO */
.tree-trunk {
    width: 40px;
    height: 30px;
    background-color: #3e2723; /* Marrón oscuro */
    margin-top: -10px;
    /* Truco para centrarlo alineado con el eje del árbol */
    margin-right: calc(45% + 60px); 
    margin-left: auto;
}

/* --- RESPONSIVE (Móvil y Tablet Vertical) --- */
@media (max-width: 768px) {
    .tree-row {
        flex-direction: column; /* Apilamos verticalmente */
        align-items: flex-start;
        margin-bottom: 2rem;
        padding-left: 20px;
        border-left: 2px solid var(--green-main); /* Línea de tiempo vertical */
    }

    .tree-branch {
        margin-left: 0; /* Reseteamos márgenes */
        width: auto !important; /* Ancho automático, perdemos la forma de pirámide */
        background: none; /* Quitamos las rayas en móvil para limpiar */
        padding-left: 10px;
        height: auto;
        margin-bottom: 10px;
    }

    .month-label {
        font-size: 1.1rem;
        padding: 0;
        color: var(--white); /* Más contraste */
    }

    .connector-line {
        display: none; /* Ocultamos la línea horizontal */
    }

    .text-block {
        width: 100%; /* Texto ancho completo */
        padding-left: 10px;
    }
    
    .tree-trunk { display: none; }
}


/* ===================================
   PROPIOS URBANITAE
====================================== */
.bt-g4 {
    border-top: solid 9px #5dfaae;
}

.bb-g4 {
    border-bottom: solid 5px #5dfaae;
}

.lb-g4 {
    border-left: solid 5px #5dfaae;
}

.btn-urbanitae {
    color: #fff;
    background-color: #30b767 !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: 'bw_modelica_lgc_ss01_2bold', sans-serif;
    line-height: 23px;
    letter-spacing: 2px;
    appearance: initial;
    transition: all .5s ease !important;
}

.btn-urbanitae-wh-tr {
    color: #fff;
    border: 4px solid #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: 'bw_modelica_lgc_ss01_2bold', sans-serif;
    line-height: 23px;
    letter-spacing: 2px;
    appearance: initial;
    transition: all .5s ease !important;
}

.btn-urbanitae-wh-tr-sticky {
    color: #fff;
    border: 4px solid #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;

    border-radius: 42px;
    padding: 12px 33px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: 'bw_modelica_lgc_ss01_2bold', sans-serif;
    line-height: 18px;
    letter-spacing: 1px;
    appearance: initial;
}

btn-urbanitae-wh-tr-sticky:hover {
    border-color: #5dfaae !important;
}

.btn-urbanitae-wh-gr {
        color: #30b767;
    background-color: #ffffff;
    border: 4px solid #5dfaae;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: 'bw_modelica_lgc_ss01_2bold', sans-serif;
    /* line-height: 21px; */
    letter-spacing: 2px;
    appearance: initial;
    transition: all .5s ease !important;
}

.btn-urbanitae:hover {
    /* background-color: #5dfaae !important; */
    color: #ffffff;
    transform: scale(1.04);
}

.btn-urbanitae-wh-tr:hover {
    transform: scale(1.04);
    color: #ffffff;
}

.btn-urbanitae-wh-gr:hover {
    transform: scale(1.04);
    color: #30b767;
}

.bg-urb {
    background-color: #30b767;
}

.matrix-border-4 {
    border: 4px solid #5dfaae;
}

.matrix-border-5 {
    border: 5px solid #5dfaae;
}

.trust {
    padding: 2.5rem 0 !important;
    background-color: #ffffff;
}

.urba-link {
    color: #30b767;
    text-decoration: underline;
}

.urba-link:hover {
    color: #5dfaae;
    text-decoration: underline;
}

.urba-link-white {
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-white:hover {
    font-weight: 600;
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-black {
    color: #000000;
    text-decoration: underline;
}

.urba-link-black:hover {
    color: #000000;
    font-weight: 600;
}

.matrix-recuadro {
    border: solid 2px #5dfaae;
    width: auto;
    min-height: 100%;
}

.negro-urb {
    color: #212121;
}

.verde-1 {
    color: #30b767
}

.verde-4 {
    color: #5dfaae!important;
}

.azul-urb {
    color: #124079;
}

.pink-urb {
    color: #EDC3DF;
}

.yellow-urb {
    color: #EFCA7A;
}

.bgc-verde-suave {
    background-color: #6EFFCA;
}

/******** MEDIA QURIES**********/

@media (max-width:1200px) {

}

@media (max-width:992px) {
    
    
} 

@media (max-width: 768px) {
           
    
       
}

@media (max-width:576px) {
    
    

   
}
    
   
    
}

@media (max-width: 410px) {

   
}

@media (max-width: 350px) {

  .btn-urbanitae {
    font-size: 13px;
  }
}
