/* Title  *********************************************************/

.TITLE {
  padding: 3rem 0;
  margin-top: 150px;
}

.TITLE .container {
  width: 100%;
  margin: 0 auto;
}


.TITLE .container h1 {
  text-align: center;
  font-size: 60px;
  font-weight: 500;
}

@media (max-width: 900px) {

  .TITLE {
    padding: 1rem 0;
    margin-top: 100px;
  }

  .TITLE .container h1 {
    font-size: 40px;
  }
}


/* Channels  *********************************************************/

.CHANNELS {
  padding: 4rem 0;
}

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

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.channel-card {
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 25px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  transition: transform 0.3s ease;
}

.channel-card:hover {
  background-color: #ececec;

}

.channel-icon {
  width: 34px;
  height: 34px;
  color: var(--color-brand);
  flex-shrink: 0;
}

.channel-icon .icon {
  color: var(--color-base-text);
  width: 34px;
  height: 34px;
}

.channel-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.channel-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-base-text);
  margin: 0;
  line-height: 1.2;
}

.channel-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-base-text);
  margin: 0;
  line-height: 1.4;
}

/* Channels 📱 **************************/

@media (max-width: 900px) {
  .channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .channel-card {
    padding: 30px;
    justify-content: flex-start;
  }
}


/* Getintouch  *********************************************************/

.GETINTOUCH {
  padding: 3rem 0;
}

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

.getintouch-layout {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .getintouch-layout {
    flex-direction: column;
    gap: 40px;
  }
}

/* Support  *********************************************************/

.support-box {
  background-image:
    linear-gradient(rgba(0, 173, 238, 0.2), rgba(0, 173, 238, 0.2)),
    url('../img/contacto/support-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: 0 0 40%;
  max-height: 600px;
  border-radius: 30px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.support-box h2 {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.support-email {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  margin-bottom: 30px;
  opacity: 1;
}

.support-email:hover {
  opacity: 0.8;
}

.support-info-block {
  margin-bottom: 30px;
}

.support-info-block:last-child {
  margin-bottom: 0;
}

.support-info-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 5px 0;
}

.support-info-block p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
}

/* Support 📱 **************************/
@media (max-width: 900px) {
  .support-box {
    flex: auto;
    max-width: 100%;
    width: 100%;
    min-height: auto;
    max-height: none;
  }
}


/* Form  *********************************************************/

.form-box {
  flex: 1;
}

@media (max-width: 1024px) {
  .form-box {
    width: 100%;
  }
}

.zetti-contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 25px;
}

.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #BFBFBF;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
  outline: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #8E8E8E;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cacaca;
  opacity: 1;
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
  cursor: pointer;
}

.form-group:has(.main-button) {
  align-items: flex-start;
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #BFBFBF;
  border-radius: 4px;
  margin-right: 10px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container:hover input~.checkmark {
  border-color: #8E8E8E;
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.checkmark:after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-text {
  font-size: 16px;
}

/* Form 📱 **************************/
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .full-width {
    grid-column: span 1;
  }
}

.chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.chip-item {
  cursor: pointer;
  user-select: none;
}

.chip-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-content {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #646464;
  padding: 12px 14px;
  background-color: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.chip-item:hover .chip-content {
  border-color: #BFBFBF;
}

.chip-item input[type="radio"]:checked+.chip-content {
  background-color: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
}


.multiselect-wrapper {
  position: relative;
  width: 100%;
}

.multiselect-display {
  min-height: 50px;
  background-color: #ffffff;
  border: 1px solid #BFBFBF;
  border-radius: 10px;
  padding: 8px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 18px;
  background-size: 12px auto;
}

.multiselect-display:hover {
  border-color: #8E8E8E;
}

.multiselect-display.active {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(0, 173, 238, 0.1);
}

.multiselect-display .placeholder {
  color: #cacaca;
  font-size: 16px;
}

.chip-tag {
  background-color: #F2F2F2;
  color: #646464;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.multiselect-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 8px;
  background-color: #fff;
  border-radius: 10px;
  padding: 7px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.multiselect-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.multi-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.multi-option:hover {
  background-color: #f9f9f9;
}

.multi-option.selected {
  background-color: #F2FBFF;
}

.checkbox-visual {
  width: 18px;
  height: 18px;
  border: 2px solid #BFBFBF;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.multi-option.selected .checkbox-visual {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.multi-option.selected .checkbox-visual::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.option-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.option-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-base-text);
}

.option-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #8E8E8E;
}


/* Mapa  *********************************************************/

.MAP-SECTION {
  padding: 8rem 0;
  margin-bottom:100px;
}

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

.map-header {
  text-align: center;
  margin-bottom: 70px;
  margin-left: auto;
  margin-right: auto;
}

.map-header h2 {
  font-size: 30px;
  font-weight: 700;
}

.map-body-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

#argentinaMap {
  width: 37%;
  flex-shrink: 0;
  height: auto;
  min-height: 400px;
  margin-bottom: 0;
  border-radius: 30px;
  background-color: #f0f0f0;
  z-index: 1;
}

.leaflet-control-attribution {
  display: none;
}

.map-cards-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 30px;
  align-content: flex-start;
  min-width: 0;
}

.map-card {
  background-color: #FAFAFA;
  border: 1px solid #E5E5E5;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.card-indicator {
  width: 20px;
  height: 20px;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.1s ease;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.card-text h3, 
.card-text p {
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-base-text);
  margin: 0;
  line-height: 1.2;
  transition: color 0.1s ease;
}

.card-text p {
  font-size: 16px;
  font-weight: 400;
  color: #8E8E8E;
  margin: 0;
}

.map-card:hover {
  border-color: var(--color-brand);
  background-color: #F5FCFE;
}

.map-card:hover .card-indicator {
  border-color: var(--color-brand);
}

.map-card:hover .card-text h3 {
  color: var(--color-brand);
}


/* Mapa 📱 Responsive **************************/

@media (max-width: 1024px) {
  #argentinaMap {
    display: none;
  }
  
  .map-body-wrapper {
    display: block;
  }

  .map-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .map-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .map-card {
    padding: 20px;
  }
  
  .card-text h3 {
    font-size: 18px;
  }
  
  .card-text p {
    font-size: 16px;
  }
}

.map-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.map-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.map-popup-content {
  width: 780px;
  height: 450px;
  background: #ffffff;
  border-radius: 30px;
  padding: 40px;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.map-popup-overlay.active .map-popup-content {
  transform: translateY(0);
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-popup:hover {
  background: rgba(255, 255, 255, 0.8);
}

.popup-left {
  flex: 1;
  display: flex;
  flex-direction: column;
 justify-content: flex-start;
}

.popup-left h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-base-text);
  margin: 0 0 30px 0;
}

.popup-contact-block {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-row {
  font-size: 20px;
  color: var(--color-base-text);
  margin: 0;
  line-height: 1.4;
}

.contact-row .label {
  font-weight: 600;
  margin-right: 5px;
}

.contact-row.highlight {
  color: var(--color-brand);
}

.popup-right {
  width: 320px;
  height: 100%;
  flex-shrink: 0;
}

#popupImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background-color: #eee;
}

.popup-hidden-data {
  display: none;
}

/* Popup 📱 **************************/

@media (max-width: 850px) {
  .map-popup-content {
    width: 90%;
    height: auto;
    flex-direction: column-reverse;
    padding: 30px;
    gap: 20px;
  }

  .popup-right {
    width: 100%;
    height: 200px;
  }
  
  .popup-left h3, .contact-row {
    font-size: 18px;
  }
}