body {
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* Puedes ajustar el peso según tus necesidades */
    font-style: normal;
}

/* Variables y reset ligero */
:root{
        --color-bg: #DBD9CE;
        --color-primary: #192628;
        --color-accent: #999858; /* verde mostaza */
        --color-accent-2: #b5b07a;
        --color-cta: #056e3a; /* whatsapp button */
        --radius: 8px;
        --transition-fast: 0.18s;
}

*{ box-sizing: border-box; }
img{ max-width:100%; height:auto; display:block }

/* Skip link */
.skip-link{
    position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
    position:fixed; left:18px; top:18px; width:auto; height:auto; background:#fff; color:#000; padding:8px 12px; z-index:10000; border-radius:6px; box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

/* Botones base */
.btn,
.baroque-btn,
.nav-cta,
.form-btn {
        display:inline-flex; align-items:center; justify-content:center; gap:8px;
        padding:10px 14px; border-radius:20px; border:0; cursor:pointer;
        background:var(--color-accent); color:#fff; text-decoration:none; font-weight:600;
        transition: transform var(--transition-fast), background var(--transition-fast);
}
.btn:hover, .baroque-btn:hover, .nav-cta:hover, .form-btn:hover{ transform:translateY(-2px); background:var(--color-accent-2); }

/* Formularios */
.input-field, .textarea-field{ border-radius:8px; padding:12px; border:1px solid rgba(0,0,0,0.08); }
.form-area { background: transparent; }


h1{
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    /* Puedes ajustar el peso según tus necesidades */
    font-style: normal;
}
h2{
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    /* Puedes ajustar el peso según tus necesidades */
    font-style: normal;
}
h3,
h4,
h5,
h6 {
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    /* Puedes ajustar el peso según tus necesidades */
    font-style: normal;
}
p {
    font-family: "Figtree", serif;
    font-optical-sizing: auto;
    font-weight: 300 !important;
    /* Puedes ajustar el peso según tus necesidades */
    font-style: normal;
}



.primary {
    color: #192628;
}

.secondary {
    color: #343c44;
}
.green {
    color: #999858;
}

.yellow {
    color: #cbba71;
}
.brown {
    color: #b0a792;
}
.darkblue {
    color: #2d3e50;
}
.cream {
    color: #ffffff;
}


.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* Ajusta según necesites */
    overflow: hidden;
    justify-content: center;
}

.centered-image {
    display: block;
    margin: 0 auto;
}

.image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

/* Estado inicial: cada imagen muestra solo una parte */
.img1 {
    clip-path: polygon(0% 0%, 33% 0%, 33% 100%, 0% 100%);
    z-index: 3;
}

.img2 {
    clip-path: polygon(33% 0%, 66% 0%, 66% 100%, 33% 100%);
    z-index: 2;
}

.img3 {
    clip-path: polygon(66% 0%, 100% 0%, 100% 100%, 66% 100%);
    z-index: 1;
}

/* Al pasar el mouse sobre una imagen, esta se expande */
.image:hover {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 4;
}



.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Asegurar que ambas caras ocupen el mismo espacio */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    top: 0;
    left: 0;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.flip-card-back {
    background-color: #dbd9ce;
    color: white;
    border: 1px solid #192628;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 70px;
}

/* Estilos para la imagen y el hover */
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Corrección del hover-text para centrarlo */
.hover-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para mejor visibilidad */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hacer visible el texto al hacer hover */
.flip-card-front:hover .hover-text {
    opacity: 1;
}


.modal-content {
    overflow: hidden;
}

.input-field, .textarea-field {
    background-color: #DBD9CE; /* Color de fondo igual al del fondo de la sección */
    color: #000; /* Color del texto */
    border: 1px solid #ccc; /* Borde opcional */
    padding: 10px;
    border-radius: 5px;
}

.input-field::placeholder, .textarea-field::placeholder {
    color: #666; /* Color del texto del placeholder */
}

.input-field:focus, .textarea-field:focus {
    outline: none;
    border-color: #999; /* Color del borde al enfocar */
}

/*FOOTER*/

.social-link ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.social-link li {
    margin: 0 10px; /* Ajusta el margen entre los íconos de redes sociales */
}

.social-link li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link li img {
    margin: 0; /* Asegura que no haya margen alrededor de las imágenes */
}


/* CTA flotante de WhatsApp */
#cta-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    display: flex;
    align-items: center;
    pointer-events: auto;
    font-family: "Figtree", serif;
}

#cta-whatsapp .cta-inner {
    background: rgba(37, 211, 102, 0.95);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

#cta-whatsapp .cta-text {
    font-size: 14px;
    font-weight: 600;
    color: #052a16;
}

#cta-whatsapp .cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #056e3a;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
}

#cta-whatsapp .cta-whatsapp-btn:hover { transform: translateY(-2px); }

@media (max-width: 600px) {
    #cta-whatsapp .cta-text { display: none; }
    #cta-whatsapp { right: 12px; bottom: 12px; }
}


