body {
  font-family: 'MyriadPro', sans-serif;
}

/************/
/*** MENU ***/
/************/
header {
    width: 100%;
}

header,
header .content-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
}

header .content-menu {
    width: min(1200px, 86%);
    margin: auto;
}

header .menu-options {
    display: flex;
    justify-content: space-between;
    width: 67%;
}

header .menu-options .menu-option {
    margin-left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}


header .menu-mobile {
    display: none;
}

header .menu-mobile {
  display: none;
}

@media (max-width: 1024px) {
    header .menu-options {
        display: none;
    }
    
    header .menu-mobile {
        display: block;
        justify-self: end;
    }
}

.main-menu .content-menu .menu-mobile .menu-mobile-toggle > svg {
    fill: black;
}

header .menu-mobile .menu-mobile-content {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: end;

  background-color: #00000060;

  opacity: 0;
  pointer-events: none;

  transform: translateX(100%);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

header .menu-mobile .menu-mobile-content.active {
  opacity: 1;
  pointer-events: all;

  transform: translateX(0);
  z-index: 5000;
}

header .menu-mobile .menu-mobile-content .menu {
  padding-left: 30px;
  background-color: #ffffff;
  width: 210px;
  z-index: 1;
}

header .menu-mobile .menu-mobile-content .menu>li {
  margin: 20px 0px;
}

/************/
/** BANNER **/
/************/

#hero {
  background-image: url(./assets/page-6/images/main-banner-.contact.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: calc(100vh - 0px);
  z-index: 2;

  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  z-index: 0;
}

#hero::before {
  content: '';
  background: linear-gradient(180deg, transparent 0%, transparent 63%, rgba(255, 0, 0, 0.6) 100%);
  position: absolute;
  inset: 0;
}

#hero .hero-content {
  width: min(700px, 80%);
  margin-left: 80px;
  z-index: 2;
}

#hero .hero-content>* {
  color: white;
}

#hero .hero-content>h1 {
  font-size: 30px;
  margin: 20px 0;
}

#hero .hero-content>.description-hero {
  font-size: 24px;
  color: rgb(190, 190, 190);
  width: 60%;
}

#hero .hero-content>button {
  background-color: #e60814;
  padding: 14px 16px;
  border: none;
  margin-top: 80px;

  display: flex;
  gap: 6px;
}

@media(max-width: 1024px) {
  #hero .hero-content {
    margin-left: 0px;
    margin: auto;
  }
}


/**************************/
/**-- ===== ORIGIN ===== **/
/**************************/

.section--about {
  position: relative;
  background-color: rgb(48, 48, 48);
}

.section--about>.about-content {
  width: min(1440px, 90%);
  margin: 0 auto;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section--about>.about-content>*{
  color: white;
}

.section--about>.about-content>p {
  margin: 8px 0px 3px;
  line-height: 1.8;
  text-align: center;
  line-height: 35px;
  font-size: 20px;
}

.design-box {
  width: 15px;
  height: 30px;
  background-color: red;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%);
}

.design-box.design-box-top {
  justify-self: flex-start;
  align-self: flex-start;
}

.design-box.design-box-bottom {
  justify-self: flex-end;
  align-self: flex-end;
  transform: rotate(180deg);
}

.section--about .container-btn-sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 40px 0px;
}

.section--about .container-btn-sectors .btn-sector {
  border: 2px solid #e60814;
  border-radius: 20px;
  width: 100%;
  height: 70px;
  padding: 16px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: clamp(16px, 1.3vw, 20px);
  cursor: pointer;
  transition: all .2s ease;
}

.section--about .container-btn-sectors .btn-sector:hover {
  color: white;
  background-color: #e60814;
}

.section--about .container-btn-sectors .btn-sector>span {
  width: 85%;
}

.section--about .container-btn-sectors .btn-sector>svg {
  width: 25px !important;
  height: 20px;
}

.section--about .container-btn-sectors .btn-sector>svg>g {
  fill: #e60814 !important;
}

.section--about .container-btn-sectors .btn-sector:hover>svg>g {
  fill: white !important;
}



.container-form {
  width: min(1440px, 94%);
  margin: auto;

  display: grid;
  grid-template-columns: 320px 1fr;
  justify-content: center;
  gap: 30px;
}

.container-form .enterprise-data {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  width: 88%;
}

.container-form .enterprise-data a:last-child {
    margin-top: 50px;
}

.container-form .enterprise-data .address p {
    line-height: 1.5em;
}

.container-form .enterprise-data 
:is(
  .address,
  .number,
  .cta-form
) > h5 {
  color: #e1000b;
}



.container-form #ahicsa-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.container-form #ahicsa-form > .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.container-form #ahicsa-form > .field > label {
  display: block;
  /* margin-bottom: 4px; */
}

.container-form #ahicsa-form > .field > :is(input, select, textarea) {
  background-color: #e1000b;
  width: 85%;
  height: 33px;
  color: #ffffff;
}

.container-form #ahicsa-form > .field > textarea {
  min-height: 80px;
  max-height: 280px;
  max-width: 380px;
  resize: vertical;
  font-family: inherit;
  font-size: 16px;
}

.container-form #ahicsa-form > .field > textarea::-webkit-scrollbar {
  width: 8px;
}

.container-form .terms-to-choose {
  grid-column: 2/3;
}



.container-form {
  width: min(1440px, 94%);
  margin: auto;

  display: grid;
  grid-template-columns: 320px 1fr;
  justify-content: center;
  gap: 30px;
}

.container-form .separator {
  width: clamp(200px, 90%, 1440px);
  height: 2px;
  background-color: #e6081445;
  margin: 20px auto;
  grid-column: span 2;
}

.container-form .enterprise-data {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  width: 88%;
}

.container-form .enterprise-data:is(.address,
  .number,
  .cta-form)>h5 {
  color: #e1000b;
}


.container-form #ahicsa-form>.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.container-form #ahicsa-form>.field>label {
  display: block;
}

.container-form #ahicsa-form>.field> :is(input, select, textarea) {
  background-color: #e1000b;
  width: 85%;
  height: 33px;
  color: #ffffff;
  padding-left: 5px;
}

.container-form #ahicsa-form>.field>textarea {
  min-height: 80px;
  max-height: 280px;
  max-width: 420px;
  resize: vertical;
  font-family: inherit;
  font-size: 16px;
}

.container-form #ahicsa-form>.field>textarea::-webkit-scrollbar {
  width: 8px;
}

.container-form .terms-to-choose {
  grid-column: 2/3;
}

.container-form .terms-to-choose .field {
  position: relative;
  align-items: center;
  cursor: pointer;
  font-size: 16px;

  display: inline-flex;
  gap: 10px;
}

.container-form .terms-to-choose .field input[type="checkbox"] {
  accent-color: #e1000b;

  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.container-form .terms-to-choose .field .circulo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #888;
  background-color: #fff;
  transition: all 0.2s ease;
  display: inline-block;
  flex-shrink: 0;
  /* No usamos content ni pseudo-elementos con check */
}

/* === Estado checked: solo cambia el color de fondo y borde === */
.container-form .terms-to-choose .field input[type="checkbox"]:checked + .circulo {
  background-color: #e1000b;
  border-color: #e1000b;
}

/* === Efecto hover para mejor UX === */
.container-form .terms-to-choose .field:hover .circulo {
  border-color: #f5000c;
}

.container-form .terms-to-choose .field input[type="checkbox"]:checked:hover+.circulo {
  border-color: #f5000c;
}

/* === Foco para accesibilidad === */
.container-form .terms-to-choose .field input[type="checkbox"]:focus-visible+.circulo {
  outline: 2px solid #f5000c;
  outline-offset: 2px;
}

/* === (Opcional) si quieres que al checked tenga un borde interior sutil === */
.container-form .terms-to-choose .field input[type="checkbox"]:checked+.circulo::after {
  /* No ponemos nada, pero podemos dejar un pequeño punto interno si quieres */
  /* En este ejemplo no hay ningún contenido */
  display: none;
}




/**************************************/
/**************************************/
/**************************************/
/**************************************/

.container-form .terms-to-choose {
  grid-column: span 2;
  margin: 20px 0px
}

/* === Contenedor flexible para alinear círculo y texto === */
.container-form .terms-to-choose .field {
  display: flex;
  align-items: flex-start;    /* o center si prefieres */
  gap: 10px;
  margin-bottom: 1rem;
  font-family: Arial, sans-serif;
  font-size: 16px;
  cursor: default;
}

/* === Ocultamos el checkbox nativo === */
.container-form .terms-to-choose .field input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none; /* para que no capture clics */
}

/* === El círculo visual (sin check) === */
.container-form .terms-to-choose .field .circulo {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #888;
  background-color: #fff;
  transition: all 0.2s ease;
  cursor: pointer; /* indica que es interactivo */
  margin-top: 2px; /* pequeño ajuste para alinear con el texto */
}

/* === Estado checked: solo cambia fondo y borde, sin ningún ícono === */
.container-form .terms-to-choose .field input[type="checkbox"]:checked + .circulo {
  background-color: #f5000c;
  border-color: #f5000c;
}

/* === Hover para mejor UX === */
.container-form .terms-to-choose .field .circulo:hover {
  border-color: #666;
}
.container-form .terms-to-choose .field input[type="checkbox"]:checked + .circulo:hover {
  border-color: #ff000d;
}

/* === Estilo del label (texto) === */
.container-form .terms-to-choose .field label {
  cursor: pointer;          /* el texto también activa el checkbox */
  line-height: 1.4;
  user-select: none;
}

/* El enlace dentro del label no debe activar el checkbox (se previene con JS) */
.container-form .terms-to-choose .field label a {
  cursor: pointer;
  color: #f5000c;
  text-decoration: underline;
}

#ahicsa-form .btn-form {
  width: 200px;
  background-color: white;
  border: 2px solid #e1000b;
  color:#e1000b;
  padding: 8px 14px;
  border-radius: 100px;
  font-family: inherit;
  transition: all .2s ease;
}

#ahicsa-form .btn-form:hover {
  background-color: #e1000b;
  color:#ffffff;
}

@media(max-width: 768px) {
  .container-form {
    grid-template-columns: 1fr;
  }

  .container-form .separator {
    grid-column: span 1;
  }

  .container-form #ahicsa-form {
    grid-template-columns: 1fr;
  }

  .container-form .terms-to-choose {
    grid-column: span 1;
  }

  #ahicsa-form .btn-form {
    margin: auto;
  }
}


/**********************************/
/************* MAPA ***************/
/**********************************/

.container-map {
  width: clamp(200px, 85%, 1440px);
  height: clamp(200px, 90vh, 800px);
  margin: auto;
}

.container-map > iframe {
  width: 100%;
  height: 100%;
}

/****************************************/
/***************** FOOTER ***************/
/****************************************/
footer {
  display: grid;
  place-items: center;
}

footer .content-footer {
  width: min(1100px, 100%);
  margin: auto;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
}

footer .content-footer :is(.container-image, .options) {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

footer .content-footer .container-image {
  gap: 0px;
}

footer .content-footer .container-image span {
  margin: auto;
  margin-top: -8px;
  font-size: clamp(12px, 3vw, 18px);
}

footer .note-footer {
  margin: 40px 0px;
}

footer .line {
  width: 80%;
  height: 1px;
  background: #e60814;
  margin: 40px 0px;
}

@media(max-width: 1024px) {
  footer .content-footer .container-image {
    width: 90%;
    margin: auto
  }
  
  footer .content-footer .container-image span {
    width: 80%;
    margin-top: 10px;
    text-align: center;
  }

  footer .note-footer {
    width: 80%;
    font-size: clamp(18px, 4vw, 24px);
  }
  
  footer .note-footer {
    margin: 0px 0px 30px 0px;
  }
}