/* ================================================================
   CONTACTO — Estilos específicos de página
   Navbar, footer y variables globales vienen de styles.css
================================================================ */

/* ── HERO ── */
.contacto-hero {
  background: linear-gradient(112deg, #0f1f2e 0%, #0f1f2e 45%, #0c4558 65%, #0baa98 83%, #2DD4BF 100%);
  padding-top: 76px;
  position: relative;
  overflow: hidden;
}
.contacto-hero .container {
  padding-top: 56px;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
}
.contacto-hero-titulo {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 110%;
  color: #fff;
  margin-bottom: 16px;
}
.contacto-hero-subtitulo {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 155%;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

/* Foto full-width debajo del hero */
.contacto-hero-foto {
  width: 100%;
  line-height: 0;
  position: relative;
}
.contacto-hero-foto img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
}
/* Círculo decorativo sobre la foto */
.contacto-hero-ellipse {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  pointer-events: none;
}

/* ── FORMULARIO ── */
.seccion-contacto-form {
  background: #D8EDEA;
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding: 80px 0 72px;
}
.contacto-form-titulo {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  color: #1B2441;
  text-align: center;
  margin-bottom: 48px;
}
.contacto-form-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
/* Campos con fondo blanco 95%, radius 25px — igual al Figma */
.cf-field {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 25px;
  padding: 15px 24px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #1B2441;
  outline: none;
  transition: box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.cf-field::placeholder { color: rgba(27,36,65,0.4); }
.cf-field:focus { box-shadow: 0 0 0 2px #33B8C1; }

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cf-row-full {
  margin-bottom: 16px;
}
.cf-select-wrap {
  position: relative;
}
.cf-select-wrap select.cf-field {
  cursor: pointer;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1l6 7 6-7' stroke='%231B2441' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
textarea.cf-field {
  resize: none;
  min-height: 180px;
}

/* Checkbox + términos */
.cf-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 28px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #1B2441;
  cursor: pointer;
}
.cf-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #1B2441;
  cursor: pointer;
}
.cf-check-row a { color: #33B8C1; font-weight: 600; text-decoration: none; }
.cf-check-row a:hover { text-decoration: underline; }

/* Botón enviar */
.cf-submit-row { text-align: center; }
.btn-contacto-enviar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 64px;
  border-radius: 33px;
  background: #1B2441;
  border: 2px solid #1B2441;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-contacto-enviar:hover { background: transparent; color: #1B2441; }

/* ── FRANJA DE INFORMACIÓN ── */
.seccion-contacto-info {
  background: #7E8F92;
  padding: 40px 0;
}
.contacto-info-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.contacto-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contacto-info-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #33B8C1;
}

.contacto-info-ico.map {
  width: 40px;
  height: 40px;

}
.contacto-info-ico svg { width: 20px; height: 20px; }
.contacto-info-texto {
  font-family: 'Raleway', sans-serif;
}
.contacto-info-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: #1B2441;
  margin-bottom: 2px;
}
.contacto-info-valor {
  font-weight: 400;
  font-size: 15px;
  color: #fff;
}

/* Separador vertical */
.contacto-info-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* Social icons */
.contacto-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contacto-social-ico {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.contacto-social-ico:hover { border-color: #33B8C1; color: #33B8C1; }
.contacto-social-ico svg { width: 16px; height: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contacto-hero-titulo { font-size: 38px; }
  .contacto-info-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .contacto-hero { padding-top: 64px; }
  .contacto-hero .container { padding-top: 48px; padding-bottom: 40px; }
  .contacto-hero-titulo { font-size: 30px; }
  .contacto-hero-foto img { height: 220px; }
  .seccion-contacto-form { padding: 56px 0 48px; border-radius: 24px 24px 0 0; }
  .contacto-form-titulo { font-size: 28px; }
  .cf-row { grid-template-columns: 1fr; }
  .btn-contacto-enviar { width: 100%; }
  .contacto-info-grid { flex-direction: column; gap: 24px; align-items: flex-start; padding: 0 24px; }
  .contacto-info-sep { display: none; }
}
@media (max-width: 540px) {
  .contacto-hero-ellipse { display: none; }
}
