/* ================================
   RESET CSS
   ================================ */
   html, body, div, span, applet, object, iframe,
   h1, h2, h3, h4, h5, h6, p, blockquote, pre,
   a, abbr, acronym, address, big, cite, code,
   del, dfn, em, img, ins, kbd, q, s, samp,
   small, strike, strong, sub, sup, tt, var,
   b, u, i, center,
   dl, dt, dd, ol, ul, li,
   fieldset, form, label, legend,
   table, caption, tbody, tfoot, thead, tr, th, td,
   article, aside, canvas, details, embed,
   figure, figcaption, footer, header, hgroup,
   menu, nav, output, ruby, section, summary,
   time, mark, audio, video {
     margin: 0;
     padding: 0;
     border: 0;
     font-size: 100%;
     font: inherit;
     vertical-align: baseline;
   }
   
   /* HTML5 display-role reset para navegadores antiguos */
   article, aside, details, figcaption, figure,
   footer, header, hgroup, menu, nav, section {
     display: block;
   }
   
   body {
     line-height: 1;
   }
   
   ol, ul {
     list-style: none;
   }
   
   blockquote, q {
     quotes: none;
   }
   
   blockquote::before, blockquote::after,
   q::before, q::after {
     content: '';
     content: none;
   }
   
   table {
     border-collapse: collapse;
     border-spacing: 0;
   }
   
   /* ================================
      VARIABLES
      ================================ */
   :root {
     --primary-color: #1A3160;
     --secondary-dark: #212121;
     --secondary-gold: #d26758;
     --accent-light: #DEE7FF;
     --white: #FFFFFF;

     --color-bg: #212121;
     --color-text: #ffffff;
     --color-accent: #d26758;
   
     --font-main: 'League Spartan', Arial, sans-serif;
   }
   
   /* ================================
      BASE
      ================================ */
   * {
     box-sizing: border-box;
   }
   
   body {
     font-family: var(--font-main);
     background: var(--white);
     color: var(--secondary-dark);
     line-height: 1.6;
     position: relative;
   }

   html {
  margin: 0;
  padding: 0;
  width: 100%;
    overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}
   
   /* ================================
      HERO
      ================================ */
   .hero {
     background: url("../img/hero.jpg") center/cover no-repeat;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     color: var(--white);
     align-items: center;
     position: relative;
     overflow: hidden;
   }

    .hero.gente {
     background: url("../img/img-intelectiva-gente5.jpg") center/cover no-repeat;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     color: var(--white);
     align-items: center;
   }

  .hero.filosofia {
     background: url("../img/img-intelectiva-filosofia3.jpg") center/cover no-repeat;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     color: var(--white);
     align-items: center;
   }

   .hero.nosotros {
     background: url("../img/img-intelectiva-nosotros1.jpg") center/cover no-repeat;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     color: var(--white);
     align-items: center;
   }

     .hero.valores {
     background: url("../img/img-intelectiva-valores6.jpg") center/cover no-repeat;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     color: var(--white);
     align-items: center;
   }

   .hero-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
   }

   .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.5rem;
     background: rgba(26, 49, 96, 0.7);
   }
   
   .logo {
     font-size: 1.3rem;
     font-weight: bold;
   }
   
   .logo span {
     font-style: italic;
     color: var(--secondary-gold);
   }
   
   .hero-overlay {
     /* text-align: center;
     margin-top: auto;
     margin-bottom: 4rem; */
     margin: 0 auto;
     width: 100%;
     position: relative;
     z-index: 1;
   }
   
   .hero-overlay h1 {
     font-size: 2.5rem;
     display: flex;
     justify-content: center;
     align-items: center;
     width: 100%;
   }

   

   .hero-overlay h1 img {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-overlay h2 {
    font-size: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: var(--white);
    font-family: 'League Spartan';
    font-weight: 400;
    letter-spacing: 15px;
    text-transform: uppercase;
    margin-top: 1em;
    
  }
   
   .hero-overlay span {
     color: var(--secondary-gold);
   }

/* 
   .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    padding: 15px 20px;
    position: relative;
  }
   */
  .nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .nav-logo img{
    width: 100%;
    max-width: 200px;
  }
  
  .logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
  }
  
  .logo-sub {
    font-size: 0.9rem;
    color: var(--color-accent);
  }
  
  .logo-sub strong {
    color: var(--color-text);
    font-weight: normal;
  }
  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    padding: 15px 20px;
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
  }
  
  .nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
  }
  
  .logo-sub {
    font-size: 0.9rem;
    color: var(--color-accent);
  }
  
  .logo-sub strong {
    color: var(--color-text);
    font-weight: normal;
  }
/*   
  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    padding: 15px 20px;
    position: relative;
    z-index: 1001;
  } */
  
  .nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
  }
  
  .logo-sub {
    font-size: 0.9rem;
    color: var(--color-accent);
  }
  
  .logo-sub strong {
    color: var(--color-text);
    font-weight: normal;
  }
  
  /* .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg);
    padding: 15px 20px;
    position: relative;
    z-index: 1001;
  } */
  
  .nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  
  .logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
  }
  
  .logo-sub {
    font-size: 0.9rem;
    color: var(--color-accent);
  }
  
  .logo-sub strong {
    color: var(--color-text);
    font-weight: normal;
  }
  
  /* Botón hamburguesa */
  .nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--color-accent);
    z-index: 1004;
    position: relative;
  }
  
  /* Menú Overlay */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    background: var(--color-bg);
    transition: right 0.3s ease-in-out;
    z-index: 1003;
    padding-top: 60px;

  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Botón cerrar */
  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-accent);
    cursor: pointer;
    display: none; /* Oculto por defecto */
  }
  
  .nav-menu.active .nav-close {
    display: block; /* Aparece cuando el menú está activo */
  }
  
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    color: var(--color-text);
        padding: 15px 20px;
  }
  
  .nav-menu a {
    display: block;
    /* padding: 15px 20px; */
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.3s;
  }
  
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
  }
  
  /* Language Switcher */
  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 20px;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .lang-switcher .fa-globe {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-right: 2px;
  }

  .lang-switcher a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 2px 4px;
  }

  .lang-switcher a:hover {
    color: #fff;
  }

  .lang-switcher a.lang-active {
    color: var(--color-accent);
  }

  .lang-sep {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    user-select: none;
  }

  /* Estilo escritorio */
  @media (min-width: 768px) {
    .nav-toggle {
      display: none;
    }
  
    .nav-menu {
      position: static;
      width: auto;
      height: auto;
      max-width: none;
      right: 0;
      padding-top: 0;
      display: flex;
      align-items: center;
    }
  
    .nav-menu ul {
      display: flex;
      gap: 20px;
    }
  
    .nav-menu li {
      border: none;
      color: #FFF;
      display: flex;
      align-items: center;
      padding: 15px 20px;
      
    }

    .lang-switcher {
      padding: 0 0 0 10px;
      border-left: 1px solid rgba(255, 255, 255, 0.2);
      margin-left: 5px;
    }
  
    .nav-close {
      display: none !important;
    }
  }
   
   /* ================================
      FRASE PRINCIPAL
      ================================ */
.frase-principal {
  text-align: center;
  padding: 8rem 20px 0px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: #FFF;
}

.frase-principal .intro {
  font-size: 1.8em;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
  color: var(--secondary-dark);
  font-family: 'League Spartan';
}

.frase-principal .principal {
  font-size: 2.2em;
  line-height: 1.6;
  /* margin-bottom: 50px; */
  font-weight: 500;
  color: var(--primary-color);
  font-family: 'League Spartan';
}

.frase-principal .autor {
  font-size: 2em;
  font-style: italic;
  color: var(--primary-color);
  font-family: 'Brush Script MT', cursive;
  font-weight: 400;
  margin-top: 20px;
}

.frase-principal .autor span {
  font-size: 0.5em;
  display: block;
  margin-top: 5px;
  font-weight: 300;
  font-family: 'League Spartan';
  font-style: normal;
  color: #666;
  letter-spacing: 1px;
}

   /* ================================
      PROPÓSITO / MISIÓN / VISIÓN
      ================================ */

.proposito {
    padding: 4rem 2rem;
    background: #FFF;
}
      
   .proposito .contenedor {
    display: grid;
    gap: 2rem;
    padding: 4rem 0rem;
    /* background: var(--accent-light); */
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
   }
   
   .proposito h2 {
     color: var(--primary-color);
     margin-bottom: 0.5rem;
     font-family: 'League Spartan';
     font-weight: 400;
     font-size: 40px;
     letter-spacing: 4px;
   }

   .proposito h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'League Spartan';
    font-weight: 400;
    font-size: 40px;
    letter-spacing: 4px;
  }

  .proposito h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    background-color: var(--color-accent);
    margin-top: 8px;
    border-radius: 2px;
  }

  .proposito .contenedor div:nth-child(even) h2  {
      margin-bottom: 1.5rem;
      color: var(--color-accent);
  }

  .proposito .contenedor div:nth-child(even) h2::after {
    margin-bottom: 2.5rem;
    position: absolute;
    right: 0;
    background-color: var(--primary-color);
  }

   .proposito p {
    max-width: 900px;
    font-size: 22px;
    line-height: 1.4;
    font-family: 'League Spartan';
    font-weight: 300;
    /* letter-spacing: 2px; */
  }

   .proposito .contenedor div:nth-child(1) {
    text-align: left;
  }

  .proposito .contenedor div:nth-child(even) {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }

 .proposito .contenedor div:nth-child(3) {
    text-align: left;
  } 

  .contacto .proposito .contenedor div:nth-child(even){
      text-align: left;
      align-items: flex-start;
  }
  
   
   /* ================================
      CITA
      ================================ */
   .cita {
     /* background: var(--secondary-dark); */
     color: var(--white);
     text-align: center;
     padding: 3rem 2rem;
     font-style: italic;
     background-image: url("../img/frase_roberto.jpg");
     background-size: 100% 100%;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     background-attachment: fixed;
     height: 70vh;
     /* background-blend-mode: overlay;
     background-color: rgba(0, 0, 0, 0.5);   */
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     border: 15px solid var(--color-accent);
     border-left: none;
     border-right: none;
   }

    .cita.filosofía {
     background-image: url("../img/frase-roberto-filosofia.jpg");
   }
     .cita.nosotros {
     background-image: url("../img/frase-roberto-nosotros.jpg");
   }
   
   .cita cite {
     display: block;
     margin-top: 1rem;
     font-style: normal;
     color: var(--secondary-gold);
   }
   
   /* ================================
      MARCAS
      ================================ */
   .marcas {
     padding: 3rem 2rem;
     text-align: center;
   }

   .marcas .text-colorcenter {
    color: var(--color-accent);
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'League Spartan';
    margin-bottom: -.5rem;
    letter-spacing: 1px;
   }
   
   .grid-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* gap: 2rem; */
    margin-top: 2rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    grid-gap: 4em;
}

   
  .marcas.dos .grid-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* gap: 2rem; */
    margin-top: 2rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    grid-gap: 4em;
}
   
   .marca img {
     width: 100%;
     border-radius: 8px;
   }
   
   .marca p {
     margin-top: 0.5rem;
     font-weight: bold;
   }

     .marca a strong{
     text-decoration: none;
     color: var(--color-accent);
     font-weight: bold;
   }
   .marca a {
     text-decoration: none;
   }

   .marca a strong{
    color: var(--color-accent); /* color normal del enlace */
    text-decoration: none; /* opcional: quita el subrayado */
    font-size: 1.4em;
  }

  .marca a strong:visited {
    color: var(--color-accent); /* mismo color que los no visitados */
     text-decoration: none;
  }

  .marca a strong:hover {
    color: var(--color-accent); /* color al pasar el mouse (opcional) */
    text-decoration: none;
  }

  .marca a strong:active {
    color: var(--color-accent); /* color al hacer clic (opcional) */
    text-decoration: none;
  }

   /* ================================
      MENSAJE
      ================================ */
   .mensaje {
     /* background: var(--accent-light); */
     text-align: center;
     padding: 2rem;
     font-size: 1.2rem;
     margin-bottom: 2em;
   }

   .mensaje p {
    /* background: var(--accent-light); */
    text-align: center;
    padding: 2rem 0rem;
    font-size: 1.4em;
    font-weight: 600;
    font-family: 'League Spartan';
    max-width: 800px;
    margin: 0 auto;
    color: var(--primary-color);
  }

   .grad-border {
    height: 1px;
    width: 85%;
    margin: 0 auto;
    display: flex;
  }
  .left-border, .right-border {
    width: 50%;
    border-bottom: 2px solid #ddc391;
    display: inline-block;
  }
  .left-border {
    border-image: linear-gradient(270deg, #ddc391, #fff) 1;
  }
  .right-border {
    border-image: linear-gradient(90deg, #ddc391, #fff) 1;
  }
   
   /* ================================
      FOOTER
      ================================ */
   .footer {
     background: var(--primary-color);
     color: var(--white);
     padding: 2rem;
   }
   
   .newsletter {
     text-align: center;
     margin-bottom: 2rem;
   }
   
   .newsletter input {
     padding: 0.7rem;
     width: 60%;
     max-width: 400px;
     border: none;
     border-radius: 4px;
     margin-right: 0.5rem;
   }
   
   .newsletter button {
     padding: 0.7rem 1rem;
     background: var(--secondary-gold);
     border: none;
     cursor: pointer;
     border-radius: 4px;
   }
   
   .footer-info {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 2rem;
     text-align: center;
   }
   
   .footer h4 {
     margin-bottom: 0.8rem;
     color: var(--secondary-gold);
     font-size: 1.4em;
   }
   
   .footer p {
    font-size: 1.2em;
   }

    .footer p a {
    color: #FFF;
    text-decoration: none;
    transition: color 0.3s ease;
   }
     .footer p a:hover {
    color: #ff6f01;
     transition: color 0.3s ease;
   }
   
   /* ================================
      MENÚ HAMBURGUESA
      ================================ */
   .menu-toggle {
     font-size: 2rem;
     cursor: pointer;
     display: none;
     color: var(--white);
   }

   blockquote, q {
    font-size: 34px;
    color: #FFF;
    font-style: italic;
    font-weight: 600;
    font-family: 'League Spartan';
    max-width: 800px;
    margin: 0 auto;
    }

    .cita blockquote cite {
        font-size: 20px;
        color: var(--secondary-gold);
        font-style: normal;
        font-weight: 200;
        /* font-family: 'League Spartan'; */
        /* max-width: 1200px; */
        margin: 0 auto;
        font-family: 'Brush Script MT', cursive;
        color: #FFF;
        font-size: 40px;
        border-bottom: 1px solid #FFF;
        width: fit-content;
        }

      .marcas h2{
          color: var(--primary-color);
          margin-bottom: 0.5rem;
          font-family: "League Spartan";
          font-weight: 600;
          font-size: 42px;
          letter-spacing: 4px;
      }

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

        .contenedor.centered h2{
            text-align: center;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
        }

        .contenedor.centered .proposito h2::after {
            content: "";
            display: block;
            width: 200px;
            height: 4px;
            background-color: var(--color-accent);
            margin-top: 8px;
            border-radius: 2px;
            margin: 0 auto;
        }

          .contenedor.centered p{
            margin: 0 auto;
            text-align: center;
            margin-bottom: 1em;
        }

        /* Layout de dos columnas para fundador */
        .proposito .contenedor.two-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .proposito .contenedor.two-columns .text-column {
            /* text-align: left; */
             text-align: justify;
        }

        .proposito .contenedor.two-columns .image-column {
            width: 100%;
            height: 100%;
            min-height: 400px;
            background: #f5f5f5;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .proposito .contenedor.two-columns .image-column img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .proposito .contenedor.two-columns .image-column.image-column-small {
            min-height: 300px;
            max-width: 350px;
            margin-left: auto;
        }

        .proposito .contenedor.two-columns .text-column .firma-fundador {
            margin-top: 2rem;
            font-family: 'Brush Script MT', cursive;
            font-size: 2em;
            text-align: left;
            color: var(--primary-color);
        }

        .proposito .firma-fundador {
            grid-column: 1 / -1;
            margin-top: 40px;
            font-family: 'Brush Script MT', cursive;
            font-size: 2em;
            text-align: center;
            color: var(--primary-color);
        }



/* ================================
   LOGO MARCA (responsivo)
   ================================ */
.logo-marca {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.contenedor.centered .logo-marca {
  margin: 0 auto 1.5rem auto;
}

/* ================================
   MARCA LAYOUT (2 columnas)
   ================================ */
.contenedor.marca-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contenedor.marca-layout .marca-header {
  text-align: left;
  position: sticky;
  top: 100px;
  align-self: start;
}

.contenedor.marca-layout .marca-header .logo-marca {
  margin: 0 0 1.5rem 0;
}

.contenedor.marca-layout .marca-content {
  text-align: left;
}

.contenedor.marca-layout .marca-content p {
  margin-bottom: 1rem;
}

.btn-marca {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--secondary-gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-marca:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-marca:active {
  transform: translateY(0);
}

/* Variante reversa: contenido a la izquierda, header a la derecha */
.contenedor.marca-layout.marca-reverse {
  grid-template-columns: 2fr 1fr;
}

.contenedor.marca-layout.marca-reverse .marca-header {
  order: 2;
  text-align: right;
}

.contenedor.marca-layout.marca-reverse .marca-header .logo-marca {
  margin: 0 0 1.5rem auto;
}

.contenedor.marca-layout.marca-reverse .marca-header h2::after {
  margin-left: auto;
}

.contenedor.marca-layout.marca-reverse .marca-content {
  order: 1;
  text-align: left;
}

/* ================================
   FORMULARIO DE CONTACTO
   ================================ */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-contacto {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--secondary-gold);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-contacto:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-contacto:active {
  transform: translateY(0);
}

/* ================================
   SECCION MAPA
   ================================ */
.mapa-section {
  padding: 4rem 2rem;
  background: #f5f5f5;
}

.mapa-section h2 {
  color: var(--primary-color);
  font-family: 'League Spartan';
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.mapa-section h2::after {
  content: "";
  display: block;
  width: 200px;
  height: 4px;
  background-color: var(--color-accent);
  margin: 8px auto 0;
  border-radius: 2px;
}

.ubicacion-texto {
  text-align: center;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.2rem;
  color: var(--secondary-dark);
  margin-bottom: 2rem;
}

.mapa-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
  display: block;
}

   @media (max-width: 768px) {
    .logo-marca {
      max-width: 180px;
      margin-bottom: 1rem;
    }

    .contenedor.centered .logo-marca {
      margin: 0 auto 1rem auto;
    }

    /* Marca layout responsivo */
    .contenedor.marca-layout {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .contenedor.marca-layout .marca-header {
      text-align: center;
      position: static;
    }

    .contenedor.marca-layout .marca-header .logo-marca {
      margin: 0 auto 1rem auto;
    }

    .contenedor.marca-layout .marca-header h2::after {
      margin: 8px auto 0 auto;
    }

    .contenedor.marca-layout .marca-content {
      text-align: left;
    }

    .btn-marca {
      display: block;
      text-align: center;
      padding: 0.6rem 1.2rem;
      font-size: 0.8rem;
      margin-top: 1rem;
    }

    /* Formulario de contacto responsivo */
    .contact-form {
      margin: 1.5rem auto 0;
      padding: 0 1rem;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
      padding: 0.8rem;
      font-size: 0.95rem;
    }

    .btn-contacto {
      padding: 0.9rem 1.5rem;
      font-size: 0.95rem;
    }

    /* Mapa responsivo */
    .mapa-section {
      padding: 3rem 1rem;
    }

    .mapa-section h2 {
      font-size: 28px;
      letter-spacing: 2px;
    }

    .ubicacion-texto {
      font-size: 1rem;
      margin-bottom: 1.5rem;
    }

    .mapa-container iframe {
      height: 300px;
    }

    /* Resetear orden en móvil para marca-reverse */
    .contenedor.marca-layout.marca-reverse {
      grid-template-columns: 1fr;
    }

    .contenedor.marca-layout.marca-reverse .marca-header {
      order: 1;
      text-align: center;
      position: static;
    }

    .contenedor.marca-layout.marca-reverse .marca-header .logo-marca {
      margin: 0 auto 1rem auto;
    }

    .contenedor.marca-layout.marca-reverse .marca-header h2::after {
      margin: 8px auto 0 auto;
    }

    .contenedor.marca-layout.marca-reverse .marca-content {
      order: 2;
      text-align: left;
    }

     .hero-overlay h1 {
       font-size: 1.8rem;
     }

     .hero-overlay h1 img {
        width: 75%;
      }

     .newsletter input {
       width: 100%;
       margin-bottom: 0.5rem;
     }

     .newsletter button {
       width: 100%;
     }

     .menu-toggle {
       display: block;
     }

     nav {
       flex-direction: column;
       align-items: flex-start;
     }

     nav.menu-open {
       background: var(--primary-color);
       padding: 1rem;
     }

     /* Frase Principal - Mobile */
     .frase-principal {
       padding: 3rem 15px 20px 15px;
     }

     .frase-principal .intro {
       font-size: 1.2em;
       margin-bottom: 25px;
       line-height: 1.5;
     }

     .frase-principal .principal {
       font-size: 1.5em;
       margin-bottom: 30px;
       line-height: 1.5;
     }

     .frase-principal .autor {
       font-size: 1.5em;
       margin-top: 15px;
     }

     .frase-principal .autor span {
       font-size: 0.6em;
       margin-top: 3px;
     }

     .contenedor.centered .proposito h2 {
        color: var(--primary-color);
        font-weight: 600;
        font-size: 26px;
        letter-spacing: 3px;
    }
    .proposito .contenedor {
        display: grid;
        gap: 2rem;
        padding: 2rem 0rem;
        /* background: var(--accent-light); */
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
    }

    .proposito .contenedor div:nth-child(2) {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .proposito p {
        font-size: 18px;
        line-height: 1.3;
        /* letter-spacing: 2px; */
    }
    .proposito .contenedor div:nth-child(2) h2::after {
      margin-bottom: initial;
      position: relative;
      right: initial;
    }

    blockquote, q {
        font-size: 20px;
    }

    brghost {
        display: none;
    }


  .hero-overlay h2 {
    /* font-size: 2rem;
    letter-spacing: 12px; */
    margin-top: 10px;
    text-align: center;
    justify-content: center;

     font-size: 1.2rem;
    letter-spacing: 9px;
  }

  /* Responsive para dos columnas */
  .proposito .contenedor.two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .proposito .contenedor.two-columns .image-column {
    min-height: 300px;
    order: -1;
  }

  .proposito .contenedor.two-columns .image-column.image-column-small {
    max-width: 250px;
    min-height: 250px;
    margin: 0 auto;
  }

  .proposito .contenedor.two-columns .text-column .firma-fundador {
    font-size: 1.5em;
    text-align: center;
    margin-top: 1.5rem;
  }

  .proposito .firma-fundador {
    font-size: 1.5em;
    text-align: center;
  }

    .proposito .contenedor.two-columns {
      display: flex;
      flex-direction: column-reverse;
    }

      .marcas h2{
          font-size: 30px;
      }

      .mensaje p {
    padding: 1rem 0rem;
    font-size: 1.1em;
      }

      .proposito h2 {
    font-size: 28px;
  }
  .marcas .text-colorcenter {
    font-size: 1.2rem;
    margin-bottom: 10px;
}


   }
   

   @media (max-width: 320px) {
    .hero-overlay h2 {
        font-size: 1rem;
        letter-spacing: 7px;
        
    }
}