/* ============================================
   WEBMASTERCOL — Contacto
   ============================================ */


/* ---- HERO ---- */

.ct-hero {
  position: relative;
  height: 524px;
  padding-top: 74px;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
}

.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-black);
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.ct-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ct-hero-h1 {
  font-size: 45px;
  line-height: 45px;
  color: var(--color-white);
  white-space: nowrap;
}

.ct-hero-tags {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 24px;
}

.ct-hero-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: var(--color-subtle);
}


/* ---- SECCIÓN CONTACTO ---- */

.ct-section {
  background: var(--color-white);
  padding: 100px 40px;
}

.ct-section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.ct-h2 {
  margin-top: 12px;
}

.ct-section-right-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.ct-info-location {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: var(--color-muted);
}

.ct-info-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: var(--color-black);
  transition: color 0.2s;
}

.ct-info-link:hover { color: var(--color-muted); }

.ct-info-social {
  color: var(--color-black);
  margin-top: 4px;
  transition: color 0.2s;
}

.ct-info-social:hover { color: var(--color-muted); }

.ct-section-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 520px;
}


/* ---- FORMULARIO ---- */

.ct-form-wrap {
  background: var(--color-black);
  padding: 40px;
}

.ct-form-title {
  font-family: var(--font-display);
  font-variation-settings: "YEAR" 1979;
  font-size: 17px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 32px;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field--full { width: 100%; }

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ct-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  color: var(--color-subtle);
}

.ct-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.ct-input:focus { border-bottom-color: var(--color-accent); }

.ct-textarea {
  resize: none;
  min-height: 100px;
}

.ct-submit {
  width: 100%;
  justify-content: center;
  gap: 10px;
  padding: 14px 15px;
  margin-top: 4px;
}

.ct-success,
.ct-error {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}

.ct-success { color: var(--color-accent); }
.ct-error   { color: #ff4444; }
.ct-error a { color: inherit; text-decoration: underline; }


/* ---- MAPA ---- */

.ct-map {
  min-height: 400px;
  overflow: hidden;
}

.ct-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 400px;
  filter: grayscale(20%);
}



/* ---- FAQ ancho completo (sin imagen lateral) ---- */

.faq-section--full {
  display: block;
  background: var(--color-light);
  padding: 80px 40px;
  min-height: 0;
}

.faq-section--full .faq-content-col {
  background: transparent;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-section--full .faq-top {
  align-items: center;
  text-align: center;
}

.faq-section--full .faq-bottom {
  align-items: stretch;
}

.faq-section--full .faq-list {
  width: 100%;
}


/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .ct-hero    { height: 420px; }
  .ct-hero-h1 { font-size: 34px; line-height: 34px; white-space: normal; }
  .ct-section { padding: 60px 20px; }
  .ct-section-top { flex-direction: column; align-items: flex-start; }
  .ct-section-right-info { align-items: flex-start; }
  .ct-section-bottom { grid-template-columns: 1fr; }
  .ct-map { min-height: 350px; }
  .ct-map iframe { min-height: 350px; }
}

@media (max-width: 640px) {
  .ct-hero    { height: 450px; }
  .ct-hero-h1 { font-size: 26px; line-height: 26px; }
  .ct-hero-tag { font-size: 11px; }
  .ct-section { padding: 50px 15px; }
  .ct-form-wrap { padding: 25px 20px; }
  .ct-field-row { grid-template-columns: 1fr; }
}
