/* Theme Name: Rio Campo
Theme URI: http://example.com/rio-campo/
Author: Leonel Marquez
Author URI: http://example.com/
Description: Tema para Rio Campo con header responsivo.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riocampo */

/* VARIABLES GLOBALES */
:root {
  /* Layout */
  --content-size: 100%;

  /* Spacing */
  --spacing--xs: 0.5rem;
  --spacing--sm: 1rem;
  --spacing--md: 1.5rem;
  --spacing--lg: 2rem;
  --spacing--xl: 3rem;

  /* Tipografía */
  --font-size--base: 16px;
  --font-size--md: 1.5em;

  /* Colores */
  --color--text: #000;
  --color--background: #fff;
  --color--primary: #00503A;
  --color--secondary: #F6BC84;
  --color--tertiary: #000;
  --color--quaternary: #000;

  /* Links */
  --link--underline-offset: 0.1em;
  --link--thickness: 1px;

  /* Focus */
  --focus--outline-width: 2px;

  /* Fuente */
  --font-family--base: "Inter", sans-serif;
  --font-family--title: 'TT Trailers', sans-serif;
  --font-weight--light: 300;
  --font-weight--regular: 400;
  --font-weight--bold: 700;
}
/* THIN 100 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Thin Italic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
    font-display: swap;
}

/* EXTRALIGHT 200 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial ExtraLight Italic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
    font-display: swap;
}

/* LIGHT 300 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Light Italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
    font-display: swap;
}

/* REGULAR 400 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
    font-display: swap;
}

/* MEDIUM 500 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Medium Italic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
    font-display: swap;
}

/* DEMIBOLD 600 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial DemiBold Italic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
    font-display: swap;
}

/* BOLD 700 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Bold Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
    font-display: swap;
}

/* EXTRABOLD 800 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial ExtraBold Italic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
    font-display: swap;
}

/* BLACK 900 */
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'TT Trailers';
    src: url('resources/tt_trailers/TT Trailers Trial Black Italic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
    font-display: swap;
}

/* BASE GLOBAL */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: var(--font-size--base);
  color: var(--color--text);
  background: #fff;
  font-family: var(--font-family--base);
}

a {
  text-decoration-thickness: var(--link--thickness);
  text-underline-offset: var(--link--underline-offset);
  color: inherit;
}

:where(a:focus) {
  outline: var(--focus--outline-width) solid;
  outline-offset: 2px;
}


/* LAYOUT */

.wp-block-group.alignfull {
  width: 100%;
}

.wp-block-group.alignwide {
  max-width: var(--content-size);
  margin: 0 auto;
  width: 100%;
  padding: 0 1em;
}


/* HEADER */

.header-flex {
  display: flex;
  gap: var(--spacing--sm);
  background-color: var(--color--primary);
}

.wp-block-site-title a {
  text-decoration: none;
  text-align: left;
}

.wp-block-site-logo {
  text-align: center;
  margin: 1.5em;
}

.wp-block-group > .navigation-container{
  text-align: right;
}

#logo {
  margin: 1.5em;
}

#img_logo{
  width: 8.2em;
}

/* NAVIGATION */
.wp-block-navigation ul {
  list-style: none;
  display: flex;
  gap: var(--spacing--md);
  margin: 1em;
  padding: .5em;
}

.wp-block-navigation li {
  position: relative;
  padding: 0 .6em;
}

.wp-block-navigation a {
  display: block;
  padding: var(--spacing--xs) 0;
  text-decoration: none;
}

#menu a {
  color: var(--color--secondary);
  font-weight: 900;
}
#menu a:hover{
  color: #fff;
}


.wp-block-navigation a:hover {
  text-decoration: none;
}

/* SUBMENÚ */
.wp-block-navigation ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
}

.wp-block-navigation li:hover > ul {
  display: block;
}

header.wp-block-group .box{
  flex: 1;
}


/* MAIN (contenido) */
main{
  background-color: white;
}

main.wp-block-group {
  display: block;
}

/* Secciones */
main .wp-block-group {
  margin-bottom: var(--spacing--lg);
}

/* Columnas */
.wp-block-columns {
  display: flex;
  gap: var(--spacing--md);
}

.wp-block-column {
  flex: 1;
}

/* Grid (para posts tipo WP) */
.wp-block-query.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing--md);
}

/* Post */
.wp-block-post img {
  width: 100%;
  display: block;
}

.wp-block-post h3 {
  margin: var(--spacing--xs) 0;
}


/* FOOTER */

footer.wp-block-group {
  margin-top: var(--spacing--xl);
}

/* Footer top layout */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing--lg);
}

/* Links del footer */
.footer-links {
  display: flex;
  gap: var(--spacing--xl);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing--sm);
}


/* ELEMENTOS UTILITARIOS */

/* Spacer */
.wp-block-spacer {
  height: var(--spacing--md);
}

/* Separator */
.wp-block-separator {
  border: none;
  border-top: 1px solid currentColor;
  width: 100%;
}

/* TARJETAS INICIO */

/* CONTENEDOR */
.card-stack {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 80vh;
  background-color: var(--color--primary);
}

/* TARJETAS */
.card {
    position: absolute;
    inset: 0;
}

/* VARIABLES */
:root {
  --scale-mid: 0.96;
  --scale-back: 0.92;
}

/* TARJETA FIJA */
.front {
  z-index: 10;
  transform: scale(1);
  position: relative;
    height: 100%;
}

.front .buttons {
  position: absolute;
  bottom: 1.5em;
  left: 0;
  padding: 0 2vw;

  display: flex;
  flex-direction: row;
  gap: 7vw;
}

/* botones */
.front .button {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-color: #fff;
  color: var(--color--primary);
  font-weight: 600;
  padding: 0.9em 1.2em;

  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);

  cursor: pointer;

  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card-stack .wp-block-column{
  display: flex;
  align-items: center;
}

.wp-block-column img{
  height: 80%;
  width: auto;
  text-align: center;
  margin: auto;
}

.wp-block-column h2{
  color: #fff;
  font-size: 15vh;
  margin: 0;
  text-align: left;
  
}
.carousel {
  position: relative;
  width: 100%;
  height: 80vh;
}

/* base */
.card {
  width: 100%;
  height: auto;
  background-color: var(--color--primary);

  position: absolute;
  inset: 0;

  opacity: 0;
  transform: scale(0.9);

  transition: all 0.5s ease;
}

/* frente */
.card.active {
  transform: scale(1);
  z-index: 2;
  opacity: 1;
}

/* atrás */
.card.next {
  transform: scale(0.92);
  z-index: 1;
  opacity: 0;
}

.card img{
  height: 100%;
  padding: .5em;
  margin: 0 1.7em;
}

/* TARJETAS INICIO 2 */
.rio-info-i2{
  margin-top: 100px;
  z-index: 5;
  position: relative;
  background: var(--color--background);
}

/* SVG sobresaliendo hacia arriba */
.shape-top {
  z-index: 6;
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.shape-top svg {
  display: block;
  width: 100%;
  height: 100px;
}

.shape-top path {
  fill: var(--color--background); /* mismo color del section */
}

.rio-info-i2 .wp-block-columns{
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding-bottom: 15vh;
}

.rio-info-i2 .wp-block-column{
  flex: 1;
  margin: 0 3em;
}

.rio-info-i2 p, .rio-info-i2 h2{
  margin: 0;
  color: var(--color--text);
}

.rio-info-i2 p{
  font-size: var(--font-size--md);
}

/* NUEVO HEADER RESPONSIVO */
.site-header {
    position: relative;
    z-index: 100;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color--secondary);
    position: relative;
    transition: background-color 0.3s;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color--secondary);
    left: 0;
    transition: transform 0.3s, top 0.3s;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.mobile-menu-toggle.active .hamburger { background-color: transparent; }
.mobile-menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.mobile-menu-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 768px) {
    .header-flex {
        display: flex;
        flex-direction: row; 
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .wp-block-site-logo {
        margin: 0.5em;
    }
    #logo {
        margin: 0.5em;
    }
    #img_logo {
        width: 6em;
    }
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    .navigation-container {
        width: 100%;
        order: 4;
    }
    #menu {
        display: none;
        width: 100%;
        text-align: center;
    }
    #menu.is-open {
        display: block;
    }
    .wp-block-navigation ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }
    .wp-block-navigation li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    header.wp-block-group .box {
        flex: unset;
    }
}

/* NUEVO FOOTER (IMAGEN) */
.rio-footer {
    background-color: #E2E2E2;
    color: #1a1a1a;
    padding: 2rem 1rem;
    font-family: var(--font-family--base);
    margin-top: auto;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.footer-menu li {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-menu li a {
  text-decoration: none;
}
#footer-brand-rio {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color--primary);
    font-family: var(--font-family--title);
    font-size: 2.5em;
}

.footer-separator {
    height: 1px;
    background-color: #999;
    margin: 1.2rem 0;
    width: 100%;
}
.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: end;
}
.footer-info {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #222;
}
.location-box {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.icon-location {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.location-text p {
    margin: 0;
}
.slogan-box p {
    margin: 0;
    font-weight: 500;
    color: #333;
    font-style: italic;
}
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #111;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}
.social-icon:hover {
    transform: scale(1.1);
    background-color: var(--color--primary);
}
.social-icon svg {
    width: 18px;
    height: 18px;
}
.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
}
.footer-links-bottom a {
    color: #555;
    text-decoration: none;
}
.footer-links-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .location-box {
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
    .wp-block-site-logo {
      display: none;
    }
    .wp-block-group.alignwide{
      padding: 1em .5em 0 .5em;
    }
}

/* SEGMENTOS DE INICIO */

/* Segmento 1 */
.carrusel-contenedor {
    position: relative; 
    overflow: hidden;
    background-color: var(--color--primary);
    padding: 60px 20px;
    width: 100%;
    min-height: 550px;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%;
    opacity: 0; /* Oculto */
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slide.activo {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}


.fila-carrusel {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.caja-media {
    flex: 1; 
}

.caja-media video {
    width: 700px;
    height: 500px;
    border-radius: 25px;
    display: block;
    /*box-shadow: 0 15px 30px rgba(0,0,0,0.2);*/
    margin: 0 2em;
  }

.caja-texto {
    flex: .4;
}

.titulo-impacto-secundario{
    color: #f1f1f1;
    font-family: 'TT Trailers', sans-serif;
    font-weight: 900;
    font-size: 10.1rem;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}
.titulo-impacto {
    color: #f1f1f1;
    font-family: 'TT Trailers', sans-serif;
    font-weight: 900;
    font-size: 10rem;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.titulo-impacto-tercero{
    color: #f1f1f1;
    font-family: 'TT Trailers', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}


.titulo-impacto-oscuro .rojo{
    color: #da121a;
}
.titulo-impacto-oscuro .amarillo{
    color: #fcdd09;
}

@media (max-width: 768px) {
    .fila-carrusel {
        flex-direction: column;
        text-align: center;
    }
    .titulo-impacto {
        font-size: 3rem;
    }
}

.controles-carrusel {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.controles-carrusel button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #f1f1f1;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.controles-carrusel button.boton-activo, 
.controles-carrusel button:hover {
    background: #f1f1f1;
    transform: scale(1.2);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .carrusel-contenedor {
        min-height: auto;
        padding: 20px 10px;
        overflow: visible;
    }

    .wp-block-navigation ul {
        flex-direction: column;
        width: 100%;
    }

    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-query.grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-links,
    .footer-bottom {
        flex-direction: column;
    }

    .seccion-productos .encabezado-productos h2 {
        font-size: 4em;
    }

    .caja-media video {
        width: 100% !important;
        height: auto !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .caja-texto {
        margin-bottom: 2rem;
    }
    .caja-texto h2 {
        font-size: 4.5rem;
    }
    .slide {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .slide.activo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .carrusel-contenedor {
        padding: 0 20px !important;
    }
}


/* Segmento 2 */

.segmento-ondas {
    background-color: #e6e6e6; 
    position: relative;
    padding: 14em 3em 8em 3em;
    margin-top: -1px; 
}

.divisor-ondas {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.divisor-ondas svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 150px;
    transform: none;
}

.divisor-ondas .shape-fill {
    fill: var(--color--primary); 
}


.contenido-ondas {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.columna-texto-izq {
    flex: 1.5;
}

.columna-enlace-der {
    flex: 1;
    text-align: center;
}

.pre-titulo {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.titulo-impacto-oscuro {
    color: #1a1a1a;
    font-family: 'TT Trailers', sans-serif;
    font-weight: 900;
    font-size: 12.5rem;
    line-height: 0.85;
    text-transform: uppercase;
    margin: 27px 0;
    letter-spacing: -1px;
}

.cuerpo-texto {
    font-size: 1.1rem;
    max-width: 450px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

.enlace-nosotros {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.enlace-nosotros:hover {
    border-bottom: 1px solid #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .contenido-ondas {
        flex-direction: column;
        text-align: left;
    }
    .columna-enlace-der {
        text-align: left;
    }
    .titulo-impacto-oscuro {
        font-size: 6rem;
    }
}

/* Segmento 3 */

.seccion-productos {
    background-color: #e6e6e6;
    padding: 1em 1em 5em 1em;
    text-align: center;
}

.encabezado-productos p {
    color: #4a5d4e;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: bold;
}

.encabezado-productos h2 {
    color: #0b4a32;
    font-size: 12.08rem;
    font-weight: 900;
    margin: 0;
    font-family: var(--font-family--title);
}

.contenedor-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.producto-card {
    flex: 1;
    text-align: left;
}

.imagen-container {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    margin-bottom: 0 1.5em;
}

.imagen-container img {
    width: 76%;
    display: block;
    margin: 20px auto;
}


.etiqueta-flotante {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--color--secondary);
    display: flex;
    align-items: center;
    padding: 5px 25px 5px 5px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icono-circulo {
    background-color: #0b4a32;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icono-circulo img {
    width: 25px;
    height: auto;
}

.etiqueta-flotante span {
    font-weight: 800;
    color: #333;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.info-producto h3 {
    color: #0b4a32;
    font-size: 1.5rem;
    margin: 0 0 .5em 1em;
    font-weight: 800;
}

.info-producto p {
    color: #555;
    line-height: 1.4;
    font-size: 1.1rem;
    margin: 0 0 1.5em 1em;
}

@media (max-width: 768px) {
    .contenedor-cards {
        flex-direction: column;
        align-items: center;
    }
    .producto-card {
        max-width: 400px;
    }
}

/* Segmento 4 */
.seccion-pilares {
    background-color: #fff;
    padding: 1em 2em 4em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenedor-pilares {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    margin-bottom: 60px;
}

.pilar-card {
    background-color: #0b4a32;
    background-size: cover;
    background-blend-mode: overlay;
    flex: 1;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.pilar-card:hover {
    transform: translateY(-5px);
}

.pilar-icono {
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pilar-icono img {
    width: 60%;
    height: auto;
}

.pilar-card h3 {
    font-family: 'TT Trailers', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin: 10px 0;
    letter-spacing: 1px;
}

.pilar-card p {
    font-size: 1.1rem;
    line-height: 1.3;
    opacity: 0.9;
    max-width: 250px;
}

.subrayado-pilar {
    width: 70%;
    height: 4px;
    background-color: #78a35e; 
    margin-top: 15px;
    border-radius: 20%;
}


.barra-garantia {
    display: flex;
    align-items: center;
    max-width: 900px;
    gap: 25px;
    text-align: left;
}

.icono-hoja {
    background-color: #0b4a32;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icono-hoja img {
    width: 40px;
}

.barra-garantia p {
    font-size: 1.6rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.barra-garantia strong {
    color: #0b4a32;
    font-weight: 900;
}


.divisor-final-verde {
    width: 250px;
    height: 4px;
    background-color: #0b4a32;
    margin-top: 40px;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .contenedor-pilares {
        flex-direction: column;
        align-items: center;
    }
    .pilar-card {
        width: 100%;
        max-width: 400px;
    }
    .barra-garantia {
        flex-direction: column;
        text-align: center;
    }
}

/* Segmento 5 */

.seccion-final-identidad {
    background-color: #f9f7f2;
    padding: 100px 20px;
}

.contenedor-identidad {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 60px;
}

.columna-imagen-final {
    flex: 1;
}

.columna-imagen-final img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.columna-texto-final {
    flex: 1;
    text-align: left;
}

.bloque-mensaje h2 {
    color: #0b4a32;
    line-height: .8em;
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 10px;
    font-family: var(--font-family--title);
}

.bloque-mensaje p {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 500;
}

.boton-sedes {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid #0b4a32;
    padding: 12px 30px;
    border-radius: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.boton-sedes:hover {
    background-color: #0b4a32;
}

.boton-sedes:hover span, 
.boton-sedes:hover .icono-pin svg {
    color: white;
}

.icono-pin {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    color: #0b4a32;
}

.boton-sedes span {
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 850px) {
    .contenedor-identidad {
        flex-direction: column;
        text-align: center;
    }
    .columna-texto-final {
        text-align: center;
    }
    .boton-sedes {
        justify-content: center;
    }
    .bloque-mensaje h2 {
        font-size: 6rem;
    }
}

/* SEGMENTOS DE NOSOTROS */

/* Segmento 1 */
/* PÁGINA NOSOTROS: HERO */

.hero-nosotros {
    position: relative;
    width: 100%;
    min-height: 83vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.2) 60%), 
                      url('resources/paisaje-nosotros.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
}

.contenedor-hero-nosotros {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.contenido-nosotros {
    max-width: 600px; /* Limita el ancho del texto */
}

/* Tag superior: NOSOTROS */
.tag-seccion {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-seccion .linea {
    width: 30px;
    height: 2px;
    background-color: #78a35e;
}

.tag-seccion .texto-tag {
    color: #78a35e;
    font-weight: bold;
    letter-spacing: 2px;
}

.tag-seccion .icono-tag {
    width: 20px;
}
.comillas {
    display: none;
}
/* Título Serif (más elegante) */
.titulo-nosotros {
    font-family: 'TT Trailers', serif; /* O la fuente que estés usando para títulos elegantes */
    font-size: 6.5rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.descripcion-nosotros {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 300;
}

.descripcion-nosotros strong {
    font-weight: 700;
}

/* Bloque de Cita */
.cita-nosotros {
    display: flex;
    gap: 15px;
    font-style: italic;
    color: #f1f1f1;
}

.cita-nosotros .comillas {
    font-size: 3rem;
    color: #78a35e;
    line-height: 1;
    font-family: serif;
}

.cita-nosotros p {
    font-size: 1.2rem;
    margin: 0;
    align-self: center;
}

/* Móvil */
@media (max-width: 768px) {
    .titulo-nosotros {
        font-size: 6rem;
    }
    .hero-nosotros {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4)), 
                          url('resources/fondo_segmento_1.png');
        text-align: center;
    }
    .tag-seccion, .cita-nosotros {
        justify-content: center;
    }
}

/* Segmento 2 */
/* PÁGINA NOSOTROS: PROCESO */

.seccion-proceso {
    background-color: #f9f7f2;
    padding: 7em 1em 1px 1em;
    text-align: center;
}

.encabezado-proceso h2 {
    color: #0b4a32;
    font-family: var(--font-family--title);
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1em;
}

.divisor-hoja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.divisor-hoja span {
    width: 40px;
    height: 1px;
    background-color: #0b4a32;
}

.divisor-hoja img {
    width: 20px;
}

/* Contenedor de Pasos */
.contenedor-pasos {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 60px;
    gap: 10px;
}

.paso-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circulo-icono {
    width: 140px;
    height: 140px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.circulo-icono img {
    width: 60px;
    height: auto;
}

.numero {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #4a5d4e;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-item h3 {
    color: #0b4a32;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.paso-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.2;
    max-width: 180px;
}

.flecha {
    font-size: 2rem;
    color: #78a35e;
    padding-top: 50px;
    font-weight: bold;
}

/* Frase inferior */
.frase-cierre {
    margin-top: 40px;
}

.frase-cierre p {
    font-size: 1.5rem;
    color: #333;
    font-style: italic;
	text-align: center;
}

.frase-cierre strong {
    color: #0b4a32;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {
    .contenedor-pasos {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .flecha {
        transform: rotate(90deg);
        padding: 0;
    }
}

/* Segmento 3 */
/* NOSOTROS: DIFERENCIALES */

.seccion-diferenciales {
    background-color: #f9f7f2;
    padding: 80px 20px;
    text-align: center;
}

.encabezado-diferenciales h2 {
    color: #0b4a32;
    font-family: 'TT Trailers', serif;
    font-size: 6rem;
    font-weight: 800;
    margin: .2em;
}

.contenedor-grid-diferenciales {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.diferencial-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.imagen-wrapper {
    position: relative;
    height: 350px; /* Ajusta según tus fotos */
}

.imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* El círculo verde flotante */
.icono-flotante-centro {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); /* Lo mueve al centro y a la mitad del borde */
    background-color: #0b4a32;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.icono-flotante-centro img {
    width: 35px;
    height: auto;
}

.texto-diferencial {
    padding: 50px 20px 30px; /* Más padding arriba para no chocar con el icono */
    text-align: left;
}

.texto-diferencial p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
	text-align:center;
}

/* Ajuste Responsive */
@media (max-width: 1024px) {
    .contenedor-grid-diferenciales {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .contenedor-grid-diferenciales {
        grid-template-columns: 1fr;
    }
}

/* Segmento 4 */
/* NOSOTROS: PROPÓSITO */

.seccion-proposito {
    position: relative;
    padding: 100px 20px;
    background-image: url('resources/fondo-proposito.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax suave */
    text-align: center;
}

.encabezado-proposito h2 {
    color: #0b4a32;
    font-family: 'TT Trailers', serif;
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: .5em;
}

.contenedor-mision-vision {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto 0;
}

.tarjeta-proposito {
    background-color: rgba(255, 255, 255, 0.9); /* Blanco con 90% opacidad */
    padding: 4em 3em;
    border-radius: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tarjeta-proposito:hover {
    transform: translateY(-10px);
}

.icono-circular {
    background-color: #1d4331; /* Verde oscuro del diseño */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

.icono-circular img {
    width: 40px;
    height: auto;
}

.tarjeta-proposito h3 {
    color: #1d4331;
    font-family: var(--font-family--title);
    font-size: 5rem;
    font-weight: 900;
    margin: .5em 1em;
}

.subrayado-corto {
    width: 50px;
    height: 2px;
    background-color: #78a35e;
    margin-bottom: 25px;
}

.tarjeta-proposito p {
    color: #444;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 850px) {
    .contenedor-mision-vision {
        flex-direction: column;
        align-items: center;
    }
    .tarjeta-proposito {
        padding: 0;
    }
}

/* Segmento 5 */
/* NOSOTROS: SEDES Y EQUIPO */

.seccion-sedes-equipo {
    background-color: #f9f7f2;
    padding: 80px 0;
}

.contenedor-sedes {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    padding: 0 20px;
}

/* Imagen del Equipo */
.columna-foto-equipo {
    flex: 1.2;
}

.columna-foto-equipo img {
    width: 80%;
    margin: auto;
    height: auto;
    border-radius: 10px; /* Bordes ligeramente suavizados */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: block;
}

/* Columna de Texto */
.columna-info-sedes {
    flex: 0.8;
    text-align: left;
}

.bloque-frase-destacada h2 {
    color: #1d4331;
    font-family: 'Inter', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.bloque-frase-destacada h2 span{
    font-family: 'TT Trailers';
    font-size: 6rem;
    font-weight: 900;
    line-height: .9em;
}

/* Divisor específico */
.divisor-hoja-verde {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.linea-verde {
    width: 50px;
    height: 2px;
    background-color: #78a35e;
}

.divisor-hoja-verde img {
    width: 24px;
}

.texto-localizacion {
    color: #333;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Botón Institucional */
.boton-verde-sedes {
    display: inline-block;
    background-color: #1d4331;
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton-verde-sedes:hover {
    background-color: #2a5a43;
    transform: scale(1.02);
}

/* Responsive para tablets y móviles */
@media (max-width: 992px) {
    .contenedor-sedes {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .columna-info-sedes {
        text-align: center;
    }
    .divisor-hoja-verde {
        justify-content: center;
    }
}


/* PAGINA CONTACTOS */


/* Segmento 1 */
/* Contenedor Principal */
.store-selector {
    background-color: #f7f5f0; /* Fondo crema de la imagen */
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    color: var(--color--primary); /* Verde oscuro */
}

/* Encabezado */
.store-header h2 {
    font-size: 7.5rem;
    margin: 0;
    font-weight: 700;
    font-family: var(--font-family--title);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.divider::before, .divider::after {
    content: "";
    height: 1px;
    width: 50px;
    background-color: var(--color--primary);
    margin: 0 15px;
}

.store-header p {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Grid de Botones */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Estilo de los Botones */
.store-button {
    display: flex;
    align-items: center;
    background: transparent;
    border: 2px solid var(--color--primary);
    border-radius: 12px;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--color--primary);
    transition: all 0.3s ease;
}

.store-button:hover {
    background-color: var(--color--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon-main {
    font-size: 1.8rem;
    margin-right: 20px;
}

.store-button span {
    font-size: 1.2rem;
    font-weight: 600;
    flex-grow: 1;
    text-align: left;
}

.icon-arrow {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Footer de la sección */
.store-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-badge {
    background-color: #e2e0d7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.store-footer p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Ajustes para Móvil */
@media (max-width: 600px) {
    .store-header h2 {
        font-size: 5rem;
    }
    
    .store-button {
        padding: 15px 20px;
    }
}

/* Segmento 2 */
/* Contenedor Principal */
.sede-detalle {
    background-color: #f7f5f0;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color--primary);
}

.sede-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Columna info y columna mapa */
    gap: 50px;
    align-items: start;
}

/* Enlace de regreso */
.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--color--primary);
    font-weight: 500;
    margin-bottom: 30px;
}

/* Badge Superior */
.badge-sede {
    background-color: #e2e0d7;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Título de la Sede */
.info-column h1 {
    font-size: 5.5rem;
    margin: 0;
    font-weight: 700;
    font-family: var(--font-family--title);
}

/* Divisor con Imagen Personalizada */
.divider-image-container {
    display: flex;
    align-items: center;
    margin: 20px 0 40px;
}

.divider-image-container::before, 
.divider-image-container::after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: var(--color--primary);
}

.divider-image-container::before { margin-right: 15px; }
.divider-image-container::after { margin-left: 15px; }

.divider-custom-img {
    width: 35px; /* Ajusta según el tamaño de tu logo */
    height: auto;
}

/* Bloques de Contacto (Dirección y Teléfono) */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-circle {
    background-color: #e2e0d7;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    margin: 0;
    font-size: 1.05rem;
}

/* Botón de WhatsApp */
.btn-whatsapp {
    display: inline-block;
    border: 1.5px solid var(--color--primary);
    border-radius: 8px;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--color--primary);
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: var(--color--primary);
    color: #ffffff;
}

/* Lema con Imagen Pequeña */
.motto {
    margin-top: 40px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.motto-img {
    width: 22px;
    height: auto;
    margin-right: 12px;
}

/* Columna del Mapa e Iframe */
.map-column iframe {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .sede-container {
        grid-template-columns: 1fr; /* Una columna en tablets/móviles */
        gap: 30px;
    }

    .info-column h1 {
        font-size: 4rem;
    }

    .map-column iframe {
        height: 350px; /* Reducimos altura del mapa en móvil */
    }
}

/* PAGINA PRODUCTOS */

.productos-hero {
    background-color: #f7f5f0;
    padding: 80px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #1d3324;
}

.productos-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* El texto ocupa un poco más de espacio */
    gap: 60px;
    align-items: center;
}

/* Badge y Títulos */
.badge-productos {
    background-color: #e2e0d7;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.productos-info h1 {
    font-size: 6rem;
    font-family: var(--font-family--title);
    line-height: .9;
    margin: 0;
    font-weight: 700;
}

.productos-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Botones */
.productos-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primario {
    background-color: #1d3324;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-secundario {
    border: 1.5px solid #1d3324;
    color: #1d3324;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primario:hover, .btn-secundario:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secundario:hover {
    background-color: #1d3324;
    color: #fff;
}

/* Imagen Lateral */
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* Efecto sutil de sombra */
    box-shadow: 20px 20px 0px #e2e0d7; 
}

.divider-image-container {
    display: flex;
    align-items: center;
    margin: 20px 0; /* Espaciado superior e inferior */
}

/* Tamaño del icono */
.divider-image-container img {
    width: 32px; /* Tamaño estándar de icono */
    height: 32px; /* Altura fija para asegurar simetría */
    object-fit: contain; /* Evita que la imagen se estire o deforme */
    display: block;
}

/* Líneas laterales decorativas (opcional, basado en tus diseños anteriores) */
.divider-image-container::before, 
.divider-image-container::after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: #1d3324; /* El verde oscuro de Río Campo */
}

.divider-image-container::before { 
    margin-right: 15px; 
}

.divider-image-container::after { 
    margin-left: 15px; 
}

@media (max-width: 992px) {
    .productos-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .productos-info p {
        margin: 0 auto 35px;
    }

    .productos-actions {
        justify-content: center;
    }

    .divider-image-container {
        justify-content: center;
    }

    .image-wrapper img {
        box-shadow: 10px 10px 0px #e2e0d7;
    }
}

/* Segmento 2 */

.seccion-catalogo {
    background-color: #f7f5f0;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Encabezado de categoría */
.categoria-header {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 20px;
}

.categoria-icon {
    background-color: #1d3324;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.categoria-texto h2 {
    font-size: 2rem;
    margin: 0;
    color: #1d3324;
}

.categoria-texto p {
    margin: 5px 0 0;
    color: #444;
}

/* Grid de productos dinámico */
.productos-grid {
    display: grid;
    /* Esto hace que si hay más productos, se ajusten solos */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.producto-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden; /* Para que la imagen respete el redondeo */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.producto-imagen {
    width: 100%;
    height: auto;
}

.producto-imagen img {
    width: 100%;
    object-fit: cover; /* Corta la imagen para llenar el espacio sin deformarse */
}

.producto-info {
    padding: 20px;
    flex-grow: 1;
}

.producto-info h3 {
    font-size: 1.1rem;
    color: #1d3324;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.producto-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.categoria-icon {
    background-color: #1d3324; /* Verde oscuro de la marca */
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Hace el contenedor circular */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Evita que el círculo se aplaste */
    overflow: hidden; /* Asegura que la imagen no se salga del círculo */
}

/* Ajuste de la imagen interna */
.categoria-icon img {
    width: 35px; /* Tamaño del icono dentro del círculo */
    height: 35px;
    object-fit: contain; /* Mantiene las proporciones del icono de cerdo */
    display: block;
}

/* Responsividad para móviles */
@media (max-width: 600px) {
    .categoria-header {
        flex-direction: column;
        text-align: center;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
}

/* Segmento 3 */
.productos-cta {
    padding: 60px 20px;
    background-color: #f7f5f0; /* Mantenemos el fondo crema de la página */
}

.cta-banner {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--color--primary); /* Verde oscuro institucional */
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden; /* Para que la imagen no se salga del redondeo */
    color: #ffffff;
}

.cta-content {
    padding: 60px;
}

.cta-content h2 {
    font-size: 5rem;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-family--title);
    line-height: 1.1;
}

/* Divisor Blanco para fondo oscuro */
.cta-content .divider-image-container {
    justify-content: flex-start;
    margin: 20px 0;
}

.cta-content .divider-image-container::before, 
.cta-content .divider-image-container::after {
    background-color: rgba(255, 255, 255, 0.4); /* Líneas blancas sutiles */
}

.cta-content .divider-image-container img {
    width: 25px;
    filter: brightness(0) invert(1); /* Convierte el icono en blanco si es oscuro */
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botón WhatsApp Versión Clara */
.btn-whatsapp-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f7f5f0;
    color: #1d3324;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp-light:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Imagen lateral */
.cta-image {
    height: 100%;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsividad */
@media (max-width: 850px) {
    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content .divider-image-container {
        justify-content: center;
    }

    .cta-image {
        height: 250px;
    }
}


/*RECETAS*/
/* --- 1. SECCIÓN SUPERIOR (Gris) --- */
.recipe-container {
    background-color: #e0e0e0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    padding: 60px 10% 0 10%; /* Poco padding abajo para que la onda se pegue */
    width: 100%;
    box-sizing: border-box;
}

.recipe-media-container {
    flex: 0 0 40%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background-color: #000;
    border-radius: 15px;
}

.recipe-video {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.recipe-ingredients {
    flex: 1;
    min-width: 300px;
}

/* Títulos estilo Impact */
.recipe-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
}

/* Lista de Ingredientes con círculos y líneas */
.ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ingredients-list li {
    padding: 15px 0 15px 40px;
    border-bottom: 1px solid #c0c0c0;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
}

.ingredients-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #999;
    border-radius: 50%;
}

/* --- 2. LA ONDA (Divisor) --- */
.recipe-wave {
    line-height: 0;
    background-color: #e0e0e0; /* Fondo gris para que la onda blanca funcione */
    margin: 0;
    padding: 0;
}

.recipe-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* --- 3. SECCIÓN INFERIOR (Blanca) --- */
.recipe-instructions-section {
    background-color: #ffffff;
    padding: 0 10% 80px 10%;
    margin-top: -1px; /* Evita línea de separación */
}

.instructions-list {
    display: flex;
    flex-direction: column;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.step-number {
    background-color: #d0d0d0;
    color: #333;
    font-weight: bold;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.instruction-item p {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #444;
    padding-top: 10px;
}

/* --- 4. RESPONSIVO --- */
@media (max-width: 850px) {
    .recipe-container {
        flex-direction: column;
        align-items: center;
        padding: 40px 5%;
    }

    .recipe-media-container {
        width: 100%;
        max-width: 100%;
    }

    .recipe-ingredients, .recipe-instructions-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}