/* ===========================
   CONDUSECURE — CONTACTO CSS
   =========================== */

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.h2, .ct-section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #0f172a;
}

.section { padding: 80px 0; }

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}
.sectionHead__left { max-width: 640px; }

/* ---- BANNER (sin texto superpuesto) ---- */
.bannerHero {
  min-height: clamp(300px, 42vw, 520px);
}
.bannerHero__media {
  min-height: inherit;
}
.bannerHero__img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}
.bannerHero__shade {
  display: none !important;
}
.bannerHero__content {
  display: none !important;
}

/* ---- INFO SECTION ---- */
.ct-info-section {
  padding: 72px 0 56px;
  background: var(--soft);
}
.ct-info-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

/* Big Logo */
.ct-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ct-logo-wrap {
  position: relative;
  width: min(560px, 100%);
  height: auto;
  display: grid;
  place-items: center;
}
.ct-logo-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 48px rgba(215,38,27,.16);
  filter: drop-shadow(0 8px 20px rgba(215,38,27,.15));
}
.ct-logo-ring {
  display: none;
}
.ct-logo-ring--1 {
  width: 200px; height: 200px;
  animation-delay: 0s;
}
.ct-logo-ring--2 {
  width: 240px; height: 240px;
  border-color: rgba(215,38,27,.10);
  animation-delay: .6s;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: .7; }
}
.ct-logo-label {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-logo-name {
  font-weight: 900;
  font-size: 18px;
  color: #0f172a;
  letter-spacing: .04em;
}
.ct-logo-tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Info cards grid */
.ct-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ct-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation-delay: var(--delay, 0s);
}
.ct-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: rgba(215,38,27,.18);
}
.ct-info-card--wa {
  background: linear-gradient(135deg, rgba(26,168,107,.05), rgba(26,168,107,.02));
  border-color: rgba(26,168,107,.20);
}
.ct-info-card--wa:hover { border-color: rgba(26,168,107,.35); }

.ct-info-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.ct-info-card:hover .ct-info-card__icon { transform: scale(1.1) rotate(-5deg); }
.ct-info-card__icon svg { width: 24px; height: 24px; }

.ct-info-card__icon--email { background: rgba(215,38,27,.10); border: 1px solid rgba(215,38,27,.15); }
.ct-info-card__icon--email svg { color: var(--brand); }
.ct-info-card__icon--pin { background: rgba(99,102,241,.10); border: 1px solid rgba(99,102,241,.15); }
.ct-info-card__icon--pin svg { color: #6366f1; }
.ct-info-card__icon--phone { background: rgba(59,130,246,.10); border: 1px solid rgba(59,130,246,.15); }
.ct-info-card__icon--phone svg { color: #3b82f6; }
.ct-info-card__icon--wa { background: rgba(26,168,107,.12); border: 1px solid rgba(26,168,107,.20); }
.ct-info-card__icon--wa svg { color: #1aa86b; }

.ct-info-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ct-info-card__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.ct-info-card__value {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
  transition: color .2s ease;
}
a.ct-info-card__value:hover { color: var(--brand); }
.ct-info-card__phones { display: flex; flex-direction: column; gap: 2px; }

/* ---- FORM SECTION ---- */
.ct-form-section {
  padding: 80px 0 90px;
  background: #fff;
}
.ct-form-outer {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}
.ct-form-left {
  position: sticky;
  top: 110px;
}
.ct-form-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.1;
}
.ct-form-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 28px;
}
.ct-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}
.ct-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Form card */
.ct-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ct-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.ct-req { color: var(--brand); }

.ct-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  color: #0f172a;
  background: var(--soft);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  appearance: none;
}
.ct-input:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(215,38,27,.10);
}
.ct-input::placeholder { color: var(--muted2); }

.ct-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

/* Custom select */
.ct-select-wrap { position: relative; }
.ct-select { cursor: pointer; padding-right: 44px; }
.ct-select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.ct-select-arrow svg { width: 18px; height: 18px; }

/* Sub fields - animated reveal */
.ct-sub {
  overflow: hidden;
  animation: subReveal .35s ease both;
}
@keyframes subReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ct-submit {
  margin-top: 6px;
  padding: 15px 20px;
  font-size: 15px;
}

/* Success message */
.ct-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.20);
  animation: subReveal .4s ease both;
}
.ct-success[hidden] { display: none !important; }
.ct-success svg { width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px; }
.ct-success strong { display: block; font-size: 15px; color: #0f172a; margin-bottom: 4px; }
.ct-success p { margin: 0; font-size: 13px; color: #475569; line-height: 1.55; }

/* ---- MAP ---- */
.ct-map-section {
  padding: 0 0 80px;
  background: var(--soft);
}
.ct-map-section .sectionHead { padding-top: 72px; }
.ct-map-wrap {
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.ct-map-wrap iframe { display: block; }
.ct-map-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow2);
}

/* Footer from home.css */
.footer {
  background: #0b0b0b;
  color: rgba(255,255,255,.88);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding: 50px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1020px) {
  .ct-info-inner { gap: 26px; }
  .ct-logo-block { flex-direction: column; align-items: center; }
  .ct-logo-wrap { width: min(460px, 100%); height: auto; }
  .ct-logo-img { max-width: 460px; }
  .ct-form-outer { grid-template-columns: 1fr; gap: 36px; }
  .ct-form-left { position: static; }
}
@media (max-width: 640px) {
  .ct-info-cards { grid-template-columns: 1fr; }
  .ct-logo-wrap { width: min(360px, 100%); }
  .ct-logo-img { max-width: 360px; }
  .ct-form-card { padding: 24px 18px; }
  .ct-map-wrap { border-radius: var(--radius); }
  .ct-map-wrap iframe { height: 300px; }
}
