:root {
  --primary-dark-red: #5a2224; /* Dark reddish-brown from images */
  --primary-accent-orange: #ee774c; /* Orange accent from titles/buttons */
  --light-peach-bg: #fbe3dc; /* Light peach background for some sections */
  --light-pink-bg: #f5bdb1;
  --light-bg: #ffffff;
  --medium-grey-bg: #ffeee8;
  --dark-text: #333333;
  --light-text: #ffffff;
  --card-icon-bg: #F5CBA7; /* Lighter peach for policy card icons */
  --footer-bg: #3E2723; /* Darker brown for footer */
  --font-family: 'Montserrat', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: var(--font-family);
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--primary-dark-red);
  color: var(--light-text);
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 80px;
}

header .logo .main-logo-text {
  font-size: 2.2em;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--light-text);
  line-height: 1;
}

.main-logo-text img{
  width: 80%;
}

header .logo .sub-logo-text {
  font-size: 0.65em;
  font-weight: 500;
  color: var(--light-text);
  letter-spacing: 0.5px;
  margin-top: -2px;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-left: 15px;
}

header nav ul li a {
  text-decoration: none;
  color: var(--light-text);
  font-weight: 500;
  font-size: 0.9em;
  padding: 8px 12px;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
  background-color: var(--primary-accent-orange);
  color: var(--light-text);
}
header nav ul li a.contact-btn {
    background-color: var(--primary-accent-orange);
    color: var(--light-text);
    padding: 10px 18px;
    font-weight: bold;
    border-radius: 25px;
}
header nav ul li a.contact-btn:hover {
    background-color: #D35400; /* Darker orange */
}


/* Hero Section */
#hero {
  background-color: var(--primary-dark-red); /* Fallback */
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* For fixed header */
  color: var(--light-text);
  position: relative;
  overflow: hidden; /* To contain the angled overlay and image */
}

#hero .hero-background-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Adjust width of the image part */
  height: 100%;
  background: url('assets/bg1.png') no-repeat;
  z-index: 1;
}
/* Decorative particles - simple version */
#hero::before, #hero::after {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='3' height='3' x='1' y='1' fill='%23E67E22' fill-opacity='0.5'/%3E%3Crect width='2' height='2' x='6' y='5' fill='%23FDEBD0' fill-opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: space;
  opacity: 0.6;
  z-index: 2;
}
#hero::before { top: 10%; left: 2%; width: 100px; height: 100px; }
#hero::after { bottom: 10%; left: 35%; width: 150px; height: 150px; }


#hero .container {
  position: relative;
  z-index: 3; /* Content above background elements */
  display: flex;
  align-items: center;
}

#hero .hero-content {
  max-width: 50%; /* Text content takes left half */
  padding-right: 30px;
}

#hero .hero-content .main-logo-text {
  font-size: 4em;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.9;
  margin-bottom: 5px;
}
#hero .hero-content .sub-logo-text {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}

#hero h2 { /* Main tagline */
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
}
#hero p {
  font-size: 0.95em;
  margin-bottom: 25px;
  max-width: 500px;
  line-height: 1.6;
}

/* General Section Styling */
.content-section {
  padding: 60px 0;
}

.section-title-main {
  font-size: 4em;
  font-weight: 900;
  color: var(--primary-dark-red);
  text-align: left;
  margin-bottom: 40px;
  line-height: 1.1;
}

/* Sobre Nosotros */
#sobre-nosotros { background-color: var(--light-bg); }
#sobre-nosotros .top-text p {
  font-size: 1.05em;
  color: var(--dark-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.mision-vision-valores-container {
  margin-top: 40px;
}
.mvv-item {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 40px;
  background-color: var(--light-peach-bg);
  padding: 30px;
  border-radius: var(--border-radius);
}
.mvv-item:nth-child(even) { /* Alternate layout if needed, or keep consistent */
  /* flex-direction: row-reverse; */
}
.mvv-item .image-column {
  flex: 0 0 300px; /* Fixed width for image column */
  height: 250px; /* Fixed height */
  background-color: #ccc; /* Placeholder */
  border-radius: var(--border-radius);
  overflow: hidden;
}
.mvv-item .image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mvv-item .text-column {
  flex: 1;
}
.mvv-item .text-column h3 { /* MISIÓN, VISIÓN, VALORES titles */
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-dark-red);
  margin-bottom: 15px;
}
.mvv-item .text-column p, .mvv-item .text-column ul {
  font-size: 0.95em;
  color: var(--primary-dark-red);
  line-height: 1.8;
}
.mvv-item .text-column ul {
  list-style: none;
  padding-left: 0;
}
.mvv-item .text-column ul li {
  font-weight: 500;
  font-weight: bold;
  list-style: square;
  margin-left: 50px;
}
.valores-specifics p { /* Paragraph after VALORES list */
  font-size: 0.9em;
  margin-top: 15px;
  color: #555;
}


/* Principales Servicios */
#servicios { background-color: #fff; }
.services-layout {
  display: flex;
  flex-direction: column; /* Stack lists and image */
  gap: 30px;
}
.services-lists-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.services-column {
  padding: 25px;
  border-radius: var(--border-radius);
  flex: 1;
}
.services-column.light-bg { background-color: var(--light-peach-bg); }
.services-column.dark-bg { background-color: var(--primary-dark-red); color: var(--light-text); }

.services-column h4 {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid; /* Color will be inherited or set specifically */
}
.services-column.light-bg h4 { border-color: var(--primary-accent-orange); }
.services-column.dark-bg h4 { border-color: var(--primary-accent-orange); }

.services-column ul {
  list-style: none;
  padding-left: 0;
}
.services-column ul li {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.95em;
}
.services-image-showcase {
  margin-top: 30px;
  height: 540px;
  background: url(https://placehold.co/1200x400/cccccc/999999?text=Imagen+Servicios) no-repeat center center / cover;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}
/* Diamond collage on services image */
.services-image-showcase .diamond-collage {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(assets/servicios.png) no-repeat center center / cover;
  opacity: 0.9;
}


/* Nuestras Políticas */
#politicas { background-color: var(--light-bg); }
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.policy-card-item {
  background-color: var(--light-peach-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}
.policy-card-item .icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-card-item .icon-container img { /* For actual icons */
  width: 80px;
  height: 80px;
  margin-top: 30px;
}
.policy-card-item .icon-placeholder { /* For text icons */
  font-size: 2.5em;
  color: var(--primary-dark-red);
}
.policy-card-item h4 {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--primary-dark-red);
  margin-bottom: 10px;
}
.policy-text-block {
  background-color: var(--light-peach-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  font-size: 0.95em;
  line-height: 1.8;
  color: var(--dark-text);
}


/* Contacto */
#contacto { background-color: var(--light-bg); padding-bottom: 0;}
#contacto .section-title-main { color: var(--dark-text); }
.contact-intro-text {
  text-align: center;
  font-size: 1.1em;
  color: var(--primary-dark-red);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact-logo-center {
  text-align: center;
  margin-bottom: 40px;
}
.contact-logo-center .main-logo-text {
  font-size: 3.5em;
  font-weight: 900;
  color: var(--dark-text);
  letter-spacing: -1.5px;
  line-height: 1;
}
.contact-logo-center .sub-logo-text {
  font-size: 0.9em;
  color: #555;
  letter-spacing: 0.5px;
}

/* Footer (Combined with Contact Info) */
.footer-contact-section {
  background-color: var(--primary-dark-red);
  color: var(--light-text);
  padding: 50px 0 30px 0;
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: flex-start;
}
.footer-column .footer-logo .main-logo-text {
  font-size: 2.5em; color: var(--light-text); line-height: 1; margin-bottom: 0;
}
.footer-column .footer-logo .sub-logo-text {
  font-size: 0.7em; color: #ddd; margin-top: -2px;
}
.footer-column h5 {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--light-text); /* Or primary-accent-orange */
}
.footer-column p, .footer-column address {
  font-size: 0.9em;
  margin-bottom: 10px;
  color: #ddd;
  font-style: normal;
  line-height: 1.6;
}
.footer-column a {
  color: #ddd;
  text-decoration: none;
}
.footer-column a:hover {
  color: var(--primary-accent-orange);
  text-decoration: underline;
}
.footer-social-icons a {
  margin-right: 12px;
  font-size: 1.4em; /* For text placeholders or actual icons */
}
.footer-map-placeholder img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
}
.footer-bottom-text {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85em;
  color: #aaa;
}
.footer-bottom-text p { margin-bottom: 5px; }


/* Responsive Adjustments */
@media (max-width: 992px) {
  .section-title-main { font-size: 2.4em; }
  #hero .hero-content { max-width: 60%; }
  #hero .hero-background-image { width: 55%; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
  .mvv-item { flex-direction: column; }
  .mvv-item .image-column { width: 100%; max-width: 400px; margin-bottom:20px; }
  .services-lists-container { flex-direction: column; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  header nav {
      position: fixed;
      top: 101px;
      left: 0;
      width: 100%;
      background-color: var(--primary-dark-red);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out;
      box-shadow: 0 5px 10px rgba(0,0,0,0.2);
      border-radius: 0px;
  }
  header nav.nav-active { max-height: 400px; }
  header nav ul {
      flex-direction: column;
      width: 100%;
      padding: 0;
  }
  header nav ul li { margin: 0; width: 100%; text-align: center; }
  header nav ul li a { display: block; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);border-radius: 0px; }
  header nav ul li:last-child a { border-bottom: none; }
  header nav ul li a.contact-btn { margin: 10px 20px; }

  #hero { min-height: auto; padding: 100px 0 40px; text-align:center; }
  #hero .container { flex-direction: column; }
  #hero .hero-content { max-width: 100%; padding-right: 0; text-align: center; }
  #hero .hero-background-image { display: none; } /* Hide complex bg image on small screens */
  #hero::before, #hero::after { display:none; } /* Hide particles */
  #hero .hero-content .main-logo-text { font-size: 3em; text-align: center; }
  .main-logo-text img.logo-center{width: 100%;}
  #hero h2 { font-size: 1.2em; }

  .section-title-main { font-size: 2em; text-align: center; }
  .policies-grid { grid-template-columns: 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-column { margin-bottom: 20px; }
  .footer-social-icons { text-align: center; margin-bottom: 15px; }
}

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

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

.medium-grey-bg{
  background-color: var(--medium-grey-bg);
}

.contenedor-principal {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Ancho máximo del contenido, ajústalo según necesites */
    margin: 0 auto; /* Centrar el contenido */
    background-color: #fff; /* Fondo blanco para el contenido */
}

/* Columna de la imagen */
.columna-imagen {
    flex: 1; /* La imagen tomará una fracción del espacio */
    /* O puedes darle un ancho fijo: width: 40%; */
}

.columna-imagen img {
    width: 100%; /* La imagen se ajustará al ancho de su contenedor */
    height: 100%; /* La imagen se ajustará a la altura de su contenedor */
    object-fit: cover; /* Asegura que la imagen cubra el espacio sin deformarse */
    display: block; /* Elimina espacios extra debajo de la imagen */
}

/* Columna del texto */
.columna-texto {
    flex: 1.5; /* El texto tomará una fracción y media del espacio (más que la imagen) */
    /* O puedes darle un ancho fijo: width: 60%; */
    padding: 30px;
    display: flex;
    flex-direction: column; /* Apila las secciones verticalmente */
    justify-content: space-around; /* Distribuye el espacio entre las secciones */
}

/* Estilo base para cada sección (Misión, Visión, Valores) */
.seccion {
    padding: 25px;
    margin-bottom: 20px; /* Espacio entre secciones */
}

.seccion:last-child {
    margin-bottom: 0; /* Elimina el margen inferior de la última sección */
}

/* Colores de fondo específicos como en la imagen */

.valores {
    padding-bottom: 40px; /* Más padding inferior para la sección de valores */
}

.seccion h2 {
    font-size: 28px; /* Tamaño del título */
    color: var(--primary-dark-red); /* Color del título, un gris oscuro */
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold; /* Texto en negrita como en la imagen */
    text-transform: uppercase; /* Títulos en mayúsculas */
}

.seccion p {
    font-size: 15px; /* Tamaño del texto de párrafo */
    line-height: 1.6;
    color: var(--primary-dark-red);
    margin-bottom: 15px;
}

.seccion ul {
    list-style: none; /* Quita los puntos por defecto de la lista */
    padding-left: 0;
    margin-bottom: 15px;
}

.seccion ul li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--primary-dark-red);
    margin-bottom: 8px;
    font-weight: bold;
    list-style: square;
    margin-left: 50px;
}

/* Estilos para hacer el diseño responsive (se adapta a pantallas más pequeñas) */
@media (max-width: 768px) {
    .contenedor-principal {
        flex-direction: column; /* Las columnas se apilan verticalmente */
    }

    .columna-imagen,
    .columna-texto {
        flex: none; /* Anula la propiedad flex */
        width: 100%; /* Ambas columnas ocupan todo el ancho */
    }

    .columna-texto {
        padding: 20px; /* Reduce el padding en pantallas pequeñas */
    }

    .seccion {
        padding: 20px; /* Reduce el padding de las secciones */
        margin-bottom: 15px;
    }

    .seccion h2 {
        font-size: 24px;
    }

    .seccion p,
    .seccion ul li {
      font-size: 14px;
      font-weight: bold;
    }
}

#contacto-lead{
  color: var(--primary-dark-red) !important;
}