/* ═══════════════════════════════════════════════════════════════════
   contacto.css — Strategic Mates · Página de Contacto
   layout.css ya define: body, .container, variables CSS, reset, .btn
═══════════════════════════════════════════════════════════════════ */

/* ── Eyebrow ── */
.eyebrow {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: black;
  margin-bottom: 10px;
  text-align: center;
}
.eyebrow--light { color: rgba(216,184,128,.88); }

/* ── Headings de sección ── */
.ct-h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  margin: 0 0 12px;
}
.ct-sub {
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  max-width: 64ch;
  margin: 0 auto clamp(32px, 4vw, 52px);
  line-height: 1.7;
}

/* ── Botones específicos de esta página ── */
.ct-btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-strong);
  box-shadow: 0 4px 20px rgba(216,184,128,.3);
  padding: 12px 28px;
  font-size: .84rem; font-weight: 800;
}
.ct-btn--gold:hover { background: var(--gold-hi); box-shadow: 0 8px 28px rgba(216,184,128,.4); }

.ct-btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  padding: 12px 28px;
  font-size: .84rem; font-weight: 800;
  backdrop-filter: blur(8px);
}
.ct-btn--ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.7); }

.ct-btn--navy {
  background: var(--navy);
  color: var(--gold);
  border-color: rgba(216,184,128,.25);
  padding: 11px 22px;
  font-size: .82rem; font-weight: 700;
  box-shadow: var(--s-sm);
}
.ct-btn--navy:hover { background: var(--navy2); }

.ct-btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #1EBE5D;
  padding: 11px 22px;
  font-size: .82rem; font-weight: 700;
  gap: 8px;
}
.ct-btn--whatsapp:hover { background: #1EBE5D; }

.ct-btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(28,55,85,.25);
  padding: 11px 22px;
  font-size: .82rem; font-weight: 700;
}
.ct-btn--outline:hover { background: var(--navy-soft); }

/* ══════════════════════════════════════════════════════
   §1  HERO — carrusel
══════════════════════════════════════════════════════ */
.ct-hero {
  height: calc(100svh - var(--offset-total, 68px));
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.ct-hero__slider { width: 100%; height: 100%; position: relative; }
.ct-hero__track  { width: 100%; height: 100%; position: relative; }

.ct-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex; align-items: center; justify-content: center;
}
.ct-slide.is-active { opacity: 1; z-index: 1; }

.ct-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.55);
}

/* Gradiente sobre la foto */
.ct-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,55,85,.55) 0%,
    rgba(28,55,85,.2)  40%,
    rgba(0,0,0,.65)    100%
  );
  z-index: 1;
}

.ct-slide__caption {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 clamp(20px, 5vw, 80px);
  max-width: 800px;
}
.ct-hero__h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900; line-height: 1.06;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.ct-hero__lead {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.82);
  margin: 0; line-height: 1.6;
}

/* Botones prev/next */
.ct-hero__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; z-index: 3;
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  backdrop-filter: blur(4px);
}
.ct-hero__btn:hover { background: rgba(28,55,85,.7); border-color: var(--gold); transform: translateY(-50%) scale(1.06); }
.ct-hero__btn svg { width: 22px; height: 22px; }
.ct-hero__btn--prev { left: 18px; }
.ct-hero__btn--next { right: 18px; }

/* Dots */
.ct-hero__dots {
  position: absolute; bottom: 100px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 3;
}
.ct-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: background .2s, width .2s, border-radius .2s;
  padding: 0; font-size: 0;
}
.ct-dot.is-active { background: var(--gold); width: 28px; border-radius: 5px; }

/* CTA band superpuesto en la parte inferior */
.ct-hero__cta-band {
  position: absolute; bottom: 32px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 14px;
  z-index: 4; flex-wrap: wrap;
}
@media (max-width: 480px) {
  .ct-hero__cta-band { flex-direction: column; align-items: center; padding-inline: 24px; }
  .ct-hero__cta-band .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   §2  AGENDA TU CITA
══════════════════════════════════════════════════════ */
.ct-agenda {
  padding: clamp(26px, 7vw, 56px) 0;
  background: white;
}

.ct-agenda__embed {
  max-width: 900px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
}

/* Opciones directas de contacto (fallback / complemento) */
.ct-agenda__direct {
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  border-top: 1px solid var(--gold-border);
  margin-top: auto;
}
.ct-agenda__direct-label {
  font-size: .88rem; color: var(--muted);
  margin: 0 0 16px; font-weight: 600;
}
.ct-agenda__direct-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.ct-agenda__fallback {
  padding: 32px;
  font-size: .88rem; color: var(--muted); text-align: center;
}
.ct-agenda__fallback a { color: var(--navy); font-weight: 700; text-decoration: none; }
.ct-agenda__fallback a:hover { color: var(--gold-strong); }

/* ══════════════════════════════════════════════════════
   §3  INFO + MAPA
══════════════════════════════════════════════════════ */
.ct-info {
  padding: clamp(26px, 7vw, 56px) 0;
  background: #eaeaea;
}

.ct-info__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-lg);
  border: 1px solid rgba(28,55,85,.1);
}
@media (max-width: 860px) { .ct-info__grid { grid-template-columns: 1fr; } }

/* Card de datos */
.ct-info__card {
  background: var(--navy);
  padding: clamp(28px, 5vw, 52px);
  display: flex; flex-direction: column; gap: 28px;
}

.info-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.info-item__ico {
  width: 40px; height: 40px;
  background: rgba(216,184,128,.12);
  border: 1px solid rgba(216,184,128,.25);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.info-item__ico svg { width: 20px; height: 20px; }
.info-item__label {
  font-size: .62rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-strong);
  margin: 0 0 4px;
}
.info-item__val {
  font-size: .86rem; color: rgba(255,255,255,.75);
  margin: 0; line-height: 1.6; text-decoration: none;
}
.info-item__val--link:hover { color: var(--gold); }

.ct-virtual { color: rgba(216,184,128,.6) !important; font-size: .78rem !important; }

.ct-info__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(216,184,128,.12);
}

/* Mapa */
.ct-info__map {
  background: var(--gray);
}
.ct-info__map iframe {
  width: 100%; height: 100%;
  min-height: clamp(300px, 45vw, 520px);
  display: block; border: 0;
}

/* ══════════════════════════════════════════════════════
   §4  FORMULARIO
══════════════════════════════════════════════════════ */
.ct-form {
  padding: clamp(56px, 7vw, 96px) 0;
  background: white;
}

.ct-form__card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--gold-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--s-lg);
  padding: clamp(28px, 5vw, 52px);
}

.ct-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 44px);
}
@media (max-width: 760px) { .ct-form__grid { grid-template-columns: 1fr; } }

.ct-form__col { display: flex; flex-direction: column; }

/* Campos */
.f-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 400px) { .f-row--half { grid-template-columns: 1fr; } }

.f-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.f-field--grow { flex: 1; }
.f-field--grow textarea { flex: 1; min-height: 160px; }

.f-field label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
}

.f-field input,
.f-field textarea,
.f-field select {
  width: 100%;
  border: 1.5px solid #eaeaea;
  border-radius: var(--r-md);
  padding: 11px 14px;
  font: 400 .88rem/1.5 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.f-field input::placeholder,
.f-field textarea::placeholder { color: var(--muted); opacity: .6; }
.f-field input:focus,
.f-field textarea:focus,
.f-field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,55,85,.1);
}
.f-field textarea { resize: vertical; }

/* Select con flecha custom */
.f-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%231C3755' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}

/* Teléfono */
.f-phone { 
  display: grid; 
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px; 

}
.f-phone__code {
  flex: 0 0 auto;
  font-size: .82rem;
}
@media (max-width: 400px) { .f-phone__code { width: 110px; } }

/* Consent */
.f-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px; cursor: pointer;
}
.f-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--navy);
  border: 1.5px solid var(--gray-dark);
  cursor: pointer;
  /* reset de los estilos del f-field aplicados arriba */
  padding: 0; border-radius: 3px;
}

/* Actions */
.f-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.f-submit { min-width: 180px; }

.f-status {
  font-size: .82rem; font-weight: 700;
  min-height: 18px; margin: 0;
}
.f-status--ok  { color: #16a34a; }
.f-status--err { color: #dc2626; }

/* ── will-reveal ── */
.will-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.will-reveal.is-visible { opacity: 1; transform: none; }