/* Home — sección contacto (index.htm) */
.home-contact {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.home-contact-grid {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: var(--content-max, 1140px);
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .home-contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.35rem;
    align-items: stretch;
  }
}

.home-contact-info,
.home-contact-form-panel {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.home-contact-info {
  position: relative;
  background: var(--yellow, #f2c94c);
  border: 2px solid rgba(15, 39, 68, 0.12);
  border-radius: var(--radius, 24px);
  padding: 2rem 1.5rem;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  overflow: hidden;
  color: var(--blue, #0f2744);
}

.home-contact-bg {
  position: absolute;
  right: -0.1em;
  bottom: -0.16em;
  margin: 0;
  font-size: clamp(4.5rem, 22vw, 10rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 39, 68, 0.09);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.home-contact-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill, 999px);
  background: var(--blue, #0f2744);
  color: var(--yellow, #f2c94c);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact-info .section-title {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--blue, #0f2744);
}

.home-contact-intro {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
  max-width: 34ch;
}

.home-contact-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.home-contact-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--blue, #0f2744);
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border: 2px solid rgba(15, 39, 68, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-contact-links a:hover {
  transform: translateY(-2px);
  border-color: var(--blue, #0f2744);
  box-shadow: 0 10px 22px rgba(15, 39, 68, 0.14);
}

.home-contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow, #f2c94c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.home-contact-copy {
  line-height: 1.3;
}

.home-contact-form-panel {
  background: var(--blue-light, #1a3a5c);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius, 24px);
  padding: 2rem 1.5rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.home-contact-form,
.home-contact .contact-form {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.home-contact-field {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.home-contact-field input,
.home-contact-field select,
.home-contact-field textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-family: var(--font, "Poppins", "Montserrat", system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill, 999px);
  padding: 0.9rem 1.15rem;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.home-contact-field input::placeholder,
.home-contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.home-contact-field input:focus,
.home-contact-field select:focus,
.home-contact-field textarea:focus {
  outline: none;
  border-color: var(--yellow, #f2c94c);
  background: rgba(255, 255, 255, 0.06);
}

.home-contact-field select {
  color: #ffffff;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
}

.home-contact-field select option {
  color: var(--blue, #0f2744);
  background: #ffffff;
}

.home-contact-field textarea {
  border-radius: 20px;
  min-height: 110px;
  resize: vertical;
}

.home-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.home-contact-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: auto;
}

.home-contact-consent a {
  color: var(--yellow, #f2c94c);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font, "Poppins", "Montserrat", system-ui, sans-serif);
  margin-top: 0.25rem;
  width: 100%;
  max-width: 100%;
  padding: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
  box-sizing: border-box;
}

.home-contact-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

@media (min-width: 480px) {
  .home-contact-submit {
    width: auto;
    min-width: 180px;
  }
}

.home-contact-form-panel .form-feedback--success {
  background: #e8f5e9;
  border-color: #81c784;
  color: var(--blue, #0f2744);
}

.home-contact-form-panel .form-feedback--error {
  background: #fdecea;
  border-color: #f0a8a0;
  color: var(--blue, #0f2744);
}

@media (max-width: 520px) {
  .home-contact-info,
  .home-contact-form-panel {
    padding: 1.5rem 1.15rem 1.75rem;
  }
}
