/* ── CONTACTO.CSS — estilos específicos de contacto.html ── */

/* ── Estilos extraídos del <style> inline de contacto.html ── */

/* ── Contact hero parallax ── */
.contact-hero {
  position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden;
}
.contact-hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/proyectos/lomas-yuejat/PHOTO-2026-02-05-13-25-11.jpg');
  background-size: cover; background-position: center 40%;
  background-attachment: fixed; transform: scale(1.04);
}
.contact-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,31,68,.88) 0%, rgba(2,46,92,.72) 60%, rgba(12,151,218,.25) 100%);
}
.contact-hero-content { position: relative; z-index: 2; padding: 100px 0 80px; }
.contact-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,214,8,.15); border: 1px solid rgba(245,214,8,.35);
  color: var(--cp); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
}
.contact-hero-title {
  font-family: var(--font-head); font-size: clamp(2.4rem,5vw,4rem);
  font-weight: 900; color: var(--white); line-height: 1.08;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.contact-hero-title span { color: var(--cp); }
.contact-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 540px; line-height: 1.7; }
.contact-hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.contact-hero-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--cp); line-height: 1;
}
.contact-hero-stat-label {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 4px;
}
/* ── Datos section ── */
.datos-section {
  background: var(--cd); padding: 120px 0 80px; position: relative; overflow: hidden;
}
.datos-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle,rgba(12,151,218,.12) 0%,transparent 70%); pointer-events: none;
}
.datos-section::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle,rgba(245,214,8,.08) 0%,transparent 70%); pointer-events: none;
}
.datos-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cp); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.datos-label::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--cp); }
.datos-title {
  font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 900; color: var(--white); margin-bottom: 14px; letter-spacing: -.02em;
}
.datos-subtitle { color: rgba(255,255,255,.55); font-size: .95rem; line-height: 1.65; max-width: 460px; margin-bottom: 48px; }
.dato-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .3s,background .3s,border-color .3s,box-shadow .3s; height: 100%;
}
.dato-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(12,151,218,.06) 0%,transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.dato-card:hover {
  transform: translateY(-6px); background: rgba(255,255,255,.07);
  border-color: rgba(12,151,218,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.35),0 0 0 1px rgba(12,151,218,.15);
}
.dato-card:hover::before { opacity: 1; }
.dato-card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 20px; position: relative; z-index: 1;
}
.dato-card-icon.wa  { background: rgba(37,211,102,.15); color: #25D366; }
.dato-card-icon.mail{ background: rgba(12,151,218,.15);  color: var(--ca); }
.dato-card-icon.map { background: rgba(245,214,8,.15);   color: var(--cp); }
.dato-card-icon.time{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.dato-card-title {
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px;
}
.dato-card-value {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--white); line-height: 1.4; margin-bottom: 16px;
}
.dato-card-value a { color: inherit; text-decoration: none; transition: color .2s; }
.dato-card-value a:hover { color: var(--ca); }
.dato-card-action {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.35); text-decoration: none; transition: color .25s; position: relative; z-index: 1;
}
.dato-card-action:hover { color: var(--ca); }
/* ── Form section ── */
.form-section { background: var(--off-white); padding: 100px 0; }
.form-section-inner {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 20px 80px rgba(0,0,0,.1); overflow: hidden;
}
.form-sidebar {
  background: linear-gradient(160deg,var(--cm) 0%,var(--cd) 100%);
  padding: 52px 40px; position: relative; overflow: hidden; min-height: 100%;
}
.form-sidebar::before {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle,rgba(245,214,8,.12) 0%,transparent 70%);
}
.form-sidebar-tag {
  display: inline-block; background: rgba(245,214,8,.15);
  border: 1px solid rgba(245,214,8,.3); color: var(--cp); font-size: .7rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 24px;
}
.form-sidebar h3 {
  font-family: var(--font-head); font-size: 1.65rem; font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.form-sidebar-desc { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin-bottom: 36px; }
.form-sidebar-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.form-sidebar-item-icon {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ca); font-size: .95rem;
}
.form-sidebar-item-text strong { display: block; color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.form-sidebar-item-text span,
.form-sidebar-item-text a { color: rgba(255,255,255,.5); font-size: .82rem; text-decoration: none; }
.form-sidebar-item-text a:hover { color: var(--ca); }
.form-sidebar-social { display: flex; gap: 10px; margin-top: 36px; }
.form-sidebar-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: background .25s,color .25s; text-decoration: none;
}
.form-sidebar-social a:hover { background: var(--ca); color: var(--white); }
/* Form fields */
.form-body { padding: 52px 48px; }
.form-section-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; color: var(--cm); margin-bottom: 6px; }
.form-section-sub { color: var(--gray-500); font-size: .9rem; margin-bottom: 36px; }
.ruz-form-group { margin-bottom: 20px; }
.ruz-form-label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-700); margin-bottom: 8px;
}
.ruz-form-label .req { color: var(--ca); margin-left: 3px; }
.ruz-form-control {
  display: block; width: 100%; padding: 13px 18px;
  background: var(--gray-50); border: 2px solid var(--gray-100);
  border-radius: 10px; font-family: var(--font-body); font-size: .9rem;
  color: var(--gray-900); transition: border-color .25s,background .25s,box-shadow .25s;
  outline: none; -webkit-appearance: none;
}
.ruz-form-control:focus {
  background: var(--white); border-color: var(--ca);
  box-shadow: 0 0 0 4px rgba(12,151,218,.12);
}
.ruz-form-control::placeholder { color: var(--gray-300); }
select.ruz-form-control { cursor: pointer; }
textarea.ruz-form-control { resize: vertical; min-height: 130px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 24px; }
.form-divider-line { flex: 1; height: 1px; background: var(--gray-100); }
.form-divider-text { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-300); }
.privacy-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ca); cursor: pointer; margin-top: 2px; }
.privacy-check label { font-size: .82rem; color: var(--gray-500); line-height: 1.5; cursor: pointer; }
.privacy-check a { color: var(--ca); }
.form-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.form-btns .btn-ruz { flex: 1; min-width: 180px; justify-content: center; text-align: center; }
.map-section { padding: 0; line-height: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; filter: grayscale(.2) contrast(1.05); }
@media (max-width: 767px) {
  .form-body { padding: 36px 24px; }
  .form-sidebar { padding: 40px 28px; }
  .contact-hero-stats { gap: 24px; }
  .form-btns .btn-ruz { flex: 1 1 100%; }
}

/* ── UTILIDADES CONTACTO ─────────────────────────────────── */
.datos-section .container { position: relative; z-index: 1; }
.datos-title span          { color: var(--ca); }
span.dato-card-action      { cursor: default; }
.icon-wa                   { color: #25D366; }

/* ── Form validation feedback ──────────────────────────────── */
.form-error {
  display: none;
  font-size: .76rem;
  font-weight: 600;
  color: #dc3545;
  margin-top: 5px;
  padding-left: 2px;
}
.form-error.show { display: block; }

.ruz-form-control.error {
  border-color: #dc3545;
  background: rgba(220,53,69,.04);
  box-shadow: 0 0 0 3px rgba(220,53,69,.12);
}
.ruz-form-control.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220,53,69,.15);
}

/* Privacy check error: wrap below the label row */
.privacy-check {
  flex-wrap: wrap;
}
.privacy-check .form-error {
  flex-basis: 100%;
  margin-top: 4px;
  padding-left: 30px;
}

/* Success banner */
.form-success {
  display: none;
  background: rgba(25,135,84,.08);
  border: 1px solid rgba(25,135,84,.3);
  border-radius: 10px;
  color: #198754;
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 20px;
  line-height: 1.5;
}
.form-success i { margin-right: 8px; }