/* ══════════════════════════════════════════════════════
   contacto.css  —  page-specific styles for contacto.html
   Modifies: contacto.html only. Never touches shared.css.
══════════════════════════════════════════════════════ */

/* ── Outer wrapper (above canvas) ── */
.ct-outer {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.ct-hero {
  padding-top: calc(var(--nav-h, 80px) + 56px);
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Status pill */
.ct-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  background: rgba(255,255,255,.018);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  color: rgba(255,255,255,.65);
  margin-bottom: 32px;
}

/* Pulsing dot */
.ct-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e9bff, #ff6010);
  flex-shrink: 0;
  position: relative;
}
.ct-status-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e9bff, #ff6010);
  opacity: .8;
  transform: scale(.6);
  animation: ctDotPulse 2.5s ease-out infinite;
}
@keyframes ctDotPulse {
  0%   { transform: scale(.6); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* H1 */
.ct-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .88;
  letter-spacing: -2.5px;
  color: #fff;
  margin-bottom: 28px;
}
.ct-h1 em {
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  background: linear-gradient(100deg, #ff6010, #1e9bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub */
.ct-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 0 0;
}

/* Micro-statement */
.ct-micro {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.35);
  letter-spacing: .2px;
}

/* ══════════════════════════════
   MAIN — 2-col grid
══════════════════════════════ */
.ct-main {
  padding: 72px 0 96px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Context banner (proj/pack params) ── */
.ct-ctx {
  display: none;
  padding: 12px 16px;
  border: 1px solid rgba(30,155,255,.18);
  border-radius: 6px;
  background: rgba(30,155,255,.05);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin-bottom: 36px;
}
.ct-ctx.vis { display: block; }
.ct-ctx strong { color: rgba(255,255,255,.82); font-weight: 600; }

/* ══════════════════════════════
   FORM — floating labels
══════════════════════════════ */
.f-field {
  position: relative;
  margin-bottom: 32px;
}

/* Text inputs & textarea */
.f-inp,
.f-ta {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  outline: none;
  padding: 22px 0 10px;
  font-size: 15px;
  font-weight: 300;
  font-family: 'Inter Tight', sans-serif;
  transition: border-color 250ms;
  -webkit-appearance: none;
  border-radius: 0;
}
.f-inp:focus,
.f-ta:focus {
  border-bottom-color: rgba(255,255,255,.55);
}
.f-inp::placeholder,
.f-ta::placeholder {
  color: transparent; /* hidden — floating label acts as placeholder */
}
.f-ta {
  min-height: 120px;
  resize: vertical;
}

/* Floating label */
.f-lbl {
  position: absolute;
  top: 22px;
  left: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.38);
  pointer-events: none;
  transition: top 200ms ease, font-size 200ms ease, color 200ms ease, letter-spacing 200ms ease;
}

/* Float up on focus OR when the field has a value */
.f-inp:focus ~ .f-lbl,
.f-inp:not(:placeholder-shown) ~ .f-lbl,
.f-ta:focus ~ .f-lbl,
.f-ta:not(:placeholder-shown) ~ .f-lbl {
  top: 2px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Focus-visible ring for accessibility */
.f-inp:focus-visible,
.f-ta:focus-visible {
  outline: none;
  border-bottom-color: rgba(255,255,255,.6);
}

/* Error state */
.f-field.error .f-inp,
.f-field.error .f-ta {
  border-bottom-color: #ff6060;
}
.f-field.error .f-lbl {
  color: #ff8585;
}
.f-err-msg {
  display: none;
  font-size: 11px;
  font-weight: 400;
  color: #ff8585;
  margin-top: 6px;
}
.f-field.error .f-err-msg { display: block; }

/* Two-col row */
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

/* ── Select fields ── */
.f-field--select {
  padding-top: 18px; /* room for always-top label */
}

.f-lbl--top {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: 3px;
  text-transform: uppercase;
  pointer-events: none;
  /* no animation — always floated */
}

.f-sel-wrap {
  position: relative;
}

.f-sel {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
  outline: none;
  padding: 14px 28px 10px 0;
  font-size: 15px;
  font-weight: 300;
  font-family: 'Inter Tight', sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 250ms;
}
.f-sel:focus { border-bottom-color: rgba(255,255,255,.55); }
.f-sel option { background: #0e0e16; color: #fff; }

.f-sel-arrow {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.3);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* ── Submit button ── */
.f-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #fff;
  color: #06060a;
  border: none;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Inter Tight', sans-serif;
  cursor: pointer;
  transition: background 250ms, transform 250ms, box-shadow 250ms;
  margin-top: 12px;
}
.f-submit:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,.08);
}
.f-submit:disabled {
  opacity: .45;
  transform: none;
  cursor: default;
  box-shadow: none;
}
.f-submit-arrow {
  display: flex;
  align-items: center;
  transition: transform 250ms;
}
.f-submit:hover .f-submit-arrow {
  transform: translateX(4px);
}

/* ── Success state ── */
.ct-ok {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 72px 0 40px;
  text-align: center;
}
.ct-ok.vis { display: flex; }

.ct-ok-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.ct-ok-ttl {
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}

.ct-ok-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.48);
  max-width: 36ch;
  line-height: 1.6;
  margin: 0;
}

.ct-ok-back {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color 200ms;
}
.ct-ok-back:hover { color: rgba(255,255,255,.8); }
.ct-ok-back::after { display: none !important; }

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */

/* Channels eyebrow */
.ct-channels-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 20px;
}

/* Channel list */
.ct-channel-list {
  display: flex;
  flex-direction: column;
}

.ct-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  color: rgba(255,255,255,.55);
  transition: color 220ms;
}
.ct-channel-item:last-child { border-bottom: none; }
.ct-channel-item:hover { color: rgba(255,255,255,.92); }
.ct-channel-item::after { display: none !important; }

.ct-ch-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 220ms, border-color 220ms;
  color: rgba(255,255,255,.45);
}
.ct-channel-item:hover .ct-ch-icon {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.ct-ch-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-ch-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

.ct-ch-val {
  font-size: 13px;
  font-weight: 400;
  color: inherit;
}

.ct-ch-arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  transition: transform 200ms, color 200ms;
}
.ct-channel-item:hover .ct-ch-arrow {
  transform: translateX(3px);
  color: rgba(255,255,255,.55);
}

/* Response time card */
.ct-response {
  margin-top: 32px;
  padding: 28px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
}

.ct-res-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 16px;
}

.ct-res-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.ct-res-num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  background: linear-gradient(100deg, #ff6010, #1e9bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-res-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════
   FAQ — overrides
══════════════════════════════ */
.ct-faq {
  position: relative; z-index: 1;
  background: #06060a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 96px 0 112px;
}

.ct-faq-h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: .9;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 12px 0 16px;
}
.ct-faq-h2 em {
  font-style: normal;
  background: linear-gradient(95deg, #ff6010, #1e9bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-faq-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  margin-bottom: 52px;
  max-width: 52ch;
}

/* Override shared.css faq-item spacing */
.ct-faq .faq-item {
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ct-faq .faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,.04);
}

/* Override shared.css faq-btn */
.ct-faq .faq-btn {
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color 250ms;
}
.ct-faq .faq-btn:hover {
  color: #fff;
}

/* Question text */
.faq-question {
  display: block;
  flex: 1;
}

/* Override shared.css faq-ico */
.ct-faq .faq-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
  transition: transform 300ms ease, background 300ms, border-color 300ms, color 300ms;
}
.ct-faq .faq-item.open .faq-ico {
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(255,96,16,.12), rgba(30,155,255,.12));
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
}

/* Override shared.css faq-body */
.ct-faq .faq-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.52);
  max-width: 65ch;
  /* max-height animation handled by shared.css — just extend the max */
}
.ct-faq .faq-item.open .faq-body {
  max-height: 320px; /* override shared.css 180px for longer answers */
  padding-bottom: 24px;
}

/* ── Footer ── */
.ct-footer {
  position: relative; z-index: 1;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

/* Tablet: 700–1024px */
@media (max-width: 1024px) {
  .ct-main-grid {
    gap: 56px;
  }
}

@media (max-width: 900px) {
  .ct-main-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .ct-side-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .ct-response {
    margin-top: 0;
  }
}

/* Mobile: < 700px */
@media (max-width: 700px) {
  .ct-hero {
    padding-top: calc(var(--nav-h, 80px) + 48px);
    padding-bottom: 56px;
  }
  .ct-h1 {
    font-size: clamp(40px, 11vw, 64px);
    letter-spacing: -2px;
  }
  .ct-main {
    padding: 56px 0 72px;
  }
  .ct-side-col {
    grid-template-columns: 1fr;
  }
  .ct-response {
    margin-top: 0;
  }
  .f-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ct-faq {
    padding: 72px 0 88px;
  }
  .ct-faq-sub {
    margin-bottom: 40px;
  }
}
