/* =============================================================
   contacto.css — Estilos exclusivos de contacto.html
   Prefijo: .ctc-*
   ============================================================= */

/* ───────────────────────────────────────────────
   HERO
─────────────────────────────────────────────── */
.ctc-hero {
  background: var(--agt-blue);
  position: relative;
  overflow: hidden;
}

.ctc-hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 50vw;
  max-width: 600px;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1128.19 802.51'%3E%3Cpath fill='%23F6F4EF' d='M1128.19,802.51l-31.25-.52c-106.61,0-199.52-58.48-250.82-149.85l-92.7-154.11-112.36-200.11c-48.89-83.41-127.37-147.59-230.89-147.57-140.5.05-256.37,116.02-256.49,253.36-.13,137.49,115.76,247.85,256.49,247.9,96.37.03,181.45-49.3,228.71-123.4l37.74-56.84,76.8,152.27c-73.25,110.93-199.36,178.24-343.3,178.21C185.04,801.78-.2,623.5,0,403.59.21,183.91,185.37.18,410.12.13c174.89-.05,313.12,111.49,386.04,261.08L948.33,0h179.58l-246.27,413.56,246.54,388.95Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.ctc-hero > .container {
  position: relative;
  z-index: 1;
}

.ctc-hero .agt-h1 {
  color: var(--agt-white);
}

.ctc-hero .agt-lead {
  color: rgba(246, 244, 239, 0.65);
}

.ctc-hero .agt-kicker {
  color: var(--agt-green);
  opacity: 1;
}

/* Lista de confianza */
.ctc-trust-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ctc-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(246, 244, 239, 0.75);
  line-height: 1.5;
}

.ctc-trust-item i {
  color: var(--agt-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ───────────────────────────────────────────────
   FORMULARIO
─────────────────────────────────────────────── */
.ctc-form-card {
  background: var(--agt-surface);
  border: 1px solid rgba(14, 42, 58, 0.08);
  border-radius: var(--agt-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--agt-shadow);
}

.ctc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--agt-blue);
  margin-bottom: 0.4rem;
  letter-spacing: 0.2px;
}

.ctc-required {
  color: var(--agt-green);
  margin-left: 0.1rem;
}

.ctc-input {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  font-family: var(--agt-font-body);
  color: var(--agt-blue);
  background: var(--agt-bg);
  border: 1px solid rgba(14, 42, 58, 0.15);
  border-radius: var(--agt-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ctc-input::placeholder {
  color: rgba(109, 122, 134, 0.5);
}

.ctc-input:focus {
  border-color: var(--agt-green);
  box-shadow: 0 0 0 3px rgba(27, 107, 92, 0.1);
}

.ctc-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Alertas de estado */
.ctc-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--agt-radius);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.ctc-alert-success {
  background: rgba(27, 107, 92, 0.08);
  border: 1px solid rgba(27, 107, 92, 0.25);
  color: #0e5c4a;
}

.ctc-alert-success i {
  color: var(--agt-green);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ctc-alert-error {
  background: rgba(180, 40, 40, 0.07);
  border: 1px solid rgba(180, 40, 40, 0.2);
  color: #7a1f1f;
}

.ctc-alert-error i {
  color: #b42828;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Texto de privacidad */
.ctc-privacy {
  font-size: 0.78rem;
  color: rgba(109, 122, 134, 0.65);
  text-align: center;
  margin-bottom: 0;
}

.ctc-privacy a {
  color: var(--agt-steel);
  text-decoration: underline;
}

.ctc-privacy a:hover {
  color: var(--agt-green);
}

/* ───────────────────────────────────────────────
   SIDEBAR
─────────────────────────────────────────────── */
.ctc-sidebar {
  position: sticky;
  top: 7rem;
}

.ctc-sidebar-title {
  font-family: var(--agt-font-display);
  font-size: 1.15rem;
  color: var(--agt-blue);
  margin-bottom: 1.75rem;
  letter-spacing: 0.3px;
}

.ctc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(14, 42, 58, 0.07);
}

.ctc-contact-item:last-of-type {
  border-bottom: none;
}

.ctc-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(27, 107, 92, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--agt-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ctc-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--agt-steel);
  margin-bottom: 0.3rem;
}

.ctc-contact-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--agt-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ctc-contact-link:hover {
  color: var(--agt-green);
}

.ctc-sla-box {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: rgba(14, 42, 58, 0.04);
  border-left: 3px solid var(--agt-green);
  border-radius: 0 var(--agt-radius) var(--agt-radius) 0;
  font-size: 0.88rem;
  color: var(--agt-steel);
  line-height: 1.55;
}

.ctc-sla-box strong {
  color: var(--agt-blue);
}

/* ───────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ctc-sidebar {
    position: static;
    margin-top: 1rem;
  }

  .ctc-form-card {
    padding: 1.75rem;
  }
}

@media (max-width: 575px) {
  .ctc-form-card {
    padding: 1.25rem;
  }
}
