/* ================================
   RESET & ACCESSIBILITY
================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  padding: 8px;
}
.skip-link:focus {
  top: 0;
}

input:focus,
textarea:focus,
button:focus {
  outline: 3px solid #0099cc;
  outline-offset: 3px;
}

/* ================================
   CONTACT SECTION
================================ */
.contact {
  background-color: #f0ede6;
  padding-top: 1px;   /* espacio arriba */
  padding-bottom: 10px; /* espacio abajo */
  max-height: 150px; 
}
.contact .heading {
  padding: 100px 50px 0 200px;
}
.contact .heading h1 {
  font-size: 3rem;
  letter-spacing: -1px;
  font-weight: 400;
  font-family: "adelle-thin", sans-serif;
  color: #010101;
}
.contact .heading p {
  font-size: 1.4rem;
  letter-spacing: -1px;
  line-height: 1.8;
  font-family: "adelle-thin", sans-serif;
  color: #010101;
}

/* ================================
   CONTACT FORM WRAPPER
================================ */
.form {
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 100px;
  background-color: #f0ede6;
  background-image: url("/assets/images/png/white-bg.png");
  background-repeat: no-repeat;
  background-position: center center
}
.form-container {
  width: 100%;
  max-width: 800px;
  max-height: 900px;
  margin-top: 120px;
  margin-bottom: 0;
  padding: 20px;
  border: 2px solid #c0c0c0;
  border-bottom: none;
  border-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #000;
  background: transparent;
}

/* ================================
   FORM FIELDS
================================ */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  flex: 100%;
}
label {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "adelle-thin", sans-serif;
  color: #333;
}
input,
textarea {
  padding: 18px;
  font-size: 1rem;
  border: 2px solid #c0c0c0;
  border-radius: 12px;
  background: transparent;
  color: #333;
  outline: none;
}
textarea {
  resize: none;
}

/* ================================
   FORM SUBMIT AREA
================================ */
.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
button {
  filter: drop-shadow(0px 4px 0px rgba(6, 7, 10, 0.16));
  padding: 0.5rem 1.6rem;
  background-color: #6a6458;
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1.875rem);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
}

.form-text {
  font-size: 1.2rem;
  color: #333;
}

/* ================================
   SOCIAL LINKS
================================ */
.contact-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;

  margin-bottom: 30px;
  padding: 20px;

  font-size: 1.125rem; /* 18px */
  font-family: Arial, sans-serif;
  background-color: #f0ede6;
}
.contact-social-links h2 {
  font-size: 2rem;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
  color: #010101;
}
.contact-social-links p {
  font-size: 1.5rem;
  letter-spacing: -1px;
  font-family: "adelle-thin", sans-serif;
  color: #6a6458;
}
.contact-insta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-insta img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.contact-insta a {
  color: #6a6458;
  text-decoration: none;
}
.contact-insta a:hover {
  color: #444444;
}


/* === CUSTOM SPACING ADJUSTMENTS === */
.contact .heading h1 {
  margin-top: -40px; /* Move CONTACTO upwards */
}

.contact .heading p {
  margin-bottom: 60px; /* More space between text and form */
}

.form-container {
  margin-bottom: 80px; /* More space between form and social links */
}

/* No aplicar estilos "de botón de formulario" al hamburguesa del header */
header .nav-toggle {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 8px !important;  /* tamaño razonable en móvil */
  line-height: 1;
  color: inherit;
}
header .nav-toggle:focus,
header .nav-toggle:hover {
  background: none !important;
  outline: none; /* o deja tu estilo de foco del header si tienes uno */
}
header .nav-toggle svg { width: 24px; height: 24px; }

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Large tablets */
@media (max-width: 1024px) {
  .contact .heading {
    padding: 60px 80px 0 80px;
  }
}

/* Tablets */
@media (max-width: 708px) {
  .contact {
    margin-top: 80px;
    min-height: 180px;
  }
  .form {
    padding: 20px 36px;                 /* menos padding lateral para ganar ancho útil */
    background-image: url("/assets/images/png/white-bg-phone.png");
    background-position: center calc(50% - 5px); /* mueve la imagen hacia arriba */
    background-size: 100% 100%;
    min-height: 80vh;           /* zoom suave para evitar bordes raros */
  }

  .contact .heading {
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
  }

  .contact .heading p {
  line-height: 1.4;
}

  .form-container {
    max-width: 100%;
    margin: 64px 0 84px;
    padding:16px;
    border-width: 1.5px;  /* un pelo más fino en móvil */
    margin-bottom: 20px; /* More space between form and social links */
  }

  .form-row {
    flex-direction: column; 
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }

  input,
  textarea {
    width: 100%;
    padding: 14px;
  }

  .submit-row {
    flex-direction: column; 
    align-items: center; 
    gap: 12px;
  }

  .form-group,
  .form-group.full-width { width: 100%; }

  .form button {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .contact-social-links {
    flex-direction: column;
    gap: 10px;
  }

  .contact-insta img {
    width: 40px;
    height: 40px;
  }
}

