/* =========================================
   RAMÍREZ GONZÁLEZ
   CONTACTO · DISEÑO INSTITUCIONAL
   ========================================= */

:root {
  --ct-navy: #223b5e;
  --ct-dark: #14263d;
  --ct-gold: #a77e49;
  --ct-light: #f7f5f1;
  --ct-text: #34404c;
  --ct-muted: #65717d;
}

.ct-container {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

.ct-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ct-gold);
}

.ct-hero h1,
.ct-section-header h2,
.ct-information h2,
.ct-location h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.ct-hero h1 em,
.ct-section-header h2 em,
.ct-information h2 em,
.ct-location h2 em {
  font-weight: 400;
  color: var(--ct-gold);
}

.nav a.current-page {
  color: var(--ct-gold);
}

/* PORTADA */

.ct-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ct-dark);
  color: #fff;
  padding: 100px 0 115px;
}

.ct-hero > .ct-container {
  position: relative;
  z-index: 2;
}

.ct-breadcrumb {
  display: flex;
  gap: 15px;
  margin-bottom: 75px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #d8b585;
}

.ct-breadcrumb a {
  color: #e2e7ef;
  text-decoration: none;
}

.ct-hero h1 {
  font-size: clamp(55px, 8vw, 104px);
  margin: 23px 0;
}

.ct-hero h1 em {
  color: #d8b585;
}

.ct-hero p {
  max-width: 510px;
  font-size: 16px;
  line-height: 1.9;
  color: #dce3ea;
  margin-bottom: 30px;
}

.ct-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ct-gold);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.ct-hero-link span {
  color: #d8b585;
  font-size: 22px;
}

.ct-hero-mark {
  position: absolute;
  right: -3%;
  bottom: -10%;
  font:
    400 clamp(200px, 33vw, 530px)/1 Georgia,
    serif;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

/* OPCIONES DE CONTACTO */

.ct-channels {
  background: #fff;
  padding: 105px 0 115px;
}

.ct-section-header {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}

.ct-section-header h2,
.ct-location h2 {
  color: var(--ct-dark);
  font-size: clamp(42px, 5vw, 68px);
  margin: 25px 0 0;
}

.ct-section-header > p {
  color: var(--ct-text);
  font-size: 15px;
  line-height: 1.9;
}

.ct-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #e3e5e8;
  border: 1px solid #e3e5e8;
}

.ct-channel {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fafafa;
  color: var(--ct-dark);
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.ct-channel:hover,
.ct-channel:focus-visible {
  background: var(--ct-navy);
  color: #fff;
}

.ct-channel-number {
  color: var(--ct-gold);
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.ct-channel-symbol {
  margin: 35px 0 15px;
  font-size: 30px;
  color: var(--ct-gold);
}

.ct-channel h3 {
  font:
    400 31px/1.2 Georgia,
    serif;
  margin: 0 0 15px;
}

.ct-channel p {
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 25px;
}

.ct-channel:hover p,
.ct-channel:focus-visible p {
  color: #d9e1e9;
}

.ct-channel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(130, 135, 145, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ct-channel-bottom b {
  color: var(--ct-gold);
  font-size: 21px;
  font-weight: 400;
}

/* CONSULTA */

.ct-consultation {
  background: var(--ct-light);
  padding: 115px 0;
  scroll-margin-top: 90px;
}

.ct-consultation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.ct-information h2 {
  margin: 25px 0;
  font-size: clamp(43px, 5vw, 67px);
  color: var(--ct-dark);
}

.ct-information-intro {
  max-width: 440px;
  line-height: 1.95;
  color: var(--ct-text);
  font-size: 15px;
}

.ct-information-rule {
  height: 1px;
  background: #d6d7d8;
  margin: 45px 0 30px;
}

.ct-information-item {
  margin-bottom: 29px;
}

.ct-information-item > span {
  color: var(--ct-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.ct-information-item p {
  color: var(--ct-dark);
  font-size: 15px;
  line-height: 1.8;
  margin: 9px 0 0;
}

.ct-information-item a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ct-information-item a:hover {
  color: var(--ct-gold);
}

/* FORMULARIO */

.ct-form-panel {
  background: #fff;
  padding: 48px;
  box-shadow: 0 17px 55px rgba(20, 38, 61, 0.055);
}

.ct-form-overline {
  color: var(--ct-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.ct-form-panel h3 {
  color: var(--ct-dark);
  font:
    400 37px/1.2 Georgia,
    serif;
  margin: 22px 0 15px;
}

.ct-form-panel > p {
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 29px;
}

.ct-field {
  margin-bottom: 23px;
}

.ct-field label {
  display: block;
  color: var(--ct-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #dce0e4;
  border-radius: 0;
  background: #fbfbfc;
  color: var(--ct-dark);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.ct-field textarea {
  resize: vertical;
  min-height: 125px;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--ct-gold);
  box-shadow: 0 0 0 2px rgba(167, 126, 73, 0.12);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #89939e;
}

.ct-privacy-note {
  color: #697480;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.ct-submit {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 19px 21px;
  border: 0;
  border-radius: 0;
  background: var(--ct-navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ct-submit:hover {
  background: var(--ct-dark);
}

.ct-submit span {
  font-size: 22px;
}

.ct-form-panel .ct-form-footnote {
  color: #75808b;
  font-size: 11px;
  line-height: 1.7;
  margin: 17px 0 0;
}

/* UBICACIÓN */

.ct-location {
  background: #fff;
  padding: 110px 0;
}

.ct-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.ct-location p {
  max-width: 410px;
  color: var(--ct-text);
  font-size: 15px;
  line-height: 1.95;
  margin: 25px 0;
}

.ct-map-button {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ct-gold);
  color: var(--ct-navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.ct-map-button span {
  color: var(--ct-gold);
  font-size: 21px;
}

.ct-location-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: 45px;
  background:
    radial-gradient(
      circle at 82% 22%,
      rgba(167, 126, 73, 0.16),
      transparent 40%
    ),
    var(--ct-dark);
  overflow: hidden;
}

.ct-location-panel > span:first-child {
  color: #d8b585;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 1;
}

.ct-location-panel strong {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  font-size: clamp(26px, 3vw, 42px);
  color: #fff;
  margin: 24px 0;
  z-index: 1;
}

.ct-location-pin {
  position: absolute;
  right: 8%;
  bottom: 5%;
  font-size: 165px;
  color: rgba(167, 126, 73, 0.18);
  pointer-events: none;
}

.ct-location-panel p {
  margin: 0;
  color: #d8b585;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 1;
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .ct-consultation-grid,
  .ct-location-grid {
    gap: 45px;
  }

  .ct-form-panel {
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .ct-container {
    width: calc(100% - 36px);
  }

  .ct-hero {
    padding: 85px 0;
  }

  .ct-breadcrumb {
    margin-bottom: 55px;
  }

  .ct-hero h1 {
    font-size: clamp(50px, 11vw, 68px);
  }

  .ct-hero p {
    font-size: 14px;
  }

  .ct-channels,
  .ct-consultation,
  .ct-location {
    padding: 75px 0;
  }

  .ct-section-header,
  .ct-consultation-grid,
  .ct-location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ct-channel-grid {
    grid-template-columns: 1fr;
  }

  .ct-channel {
    min-height: 260px;
  }

  .ct-channel-symbol {
    margin-top: 20px;
  }

  .ct-form-panel {
    padding: 27px 22px;
  }

  .ct-form-panel h3 {
    font-size: 31px;
  }

  .ct-location-panel {
    min-height: 270px;
    padding: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-channel,
  .ct-submit {
    transition: none;
  }
}

/* Solicitud contextual y revisión antes de abrir WhatsApp. */
.ct-context[hidden],.ct-preview[hidden],#ct-email-field[hidden]{display:none!important}
.ct-context{padding:15px 18px;background:#f7f3ec;border-left:3px solid #a77e49;color:#223b5e;font-size:13px;line-height:1.7;margin:0 0 24px}
.ct-preview{padding:24px;background:#f7f5f0;border:1px solid #e2d9ca;border-top:3px solid #a77e49;margin-top:28px;min-width:0;scroll-margin-top:110px}
.ct-preview h4{font:400 27px/1.2 Georgia,serif;color:#14263d;margin:0 0 14px}
.ct-preview p{font-size:13px;line-height:1.75;color:#677480}
.ct-preview pre{font:13px/1.8 "DM Sans",system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#223b5e;background:#fff;border:1px solid #e4e0d8;padding:18px;margin:20px 0}
.ct-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.ct-preview-actions .ct-submit{text-decoration:none;width:auto;flex:1;min-height:48px}
.ct-preview-actions button{background:none;border:0;border-bottom:1px solid #a77e49;color:#223b5e;padding:10px 0;font-size:12px;cursor:pointer}
.ct-preview a:focus-visible,.ct-preview button:focus-visible,.ct-submit:focus-visible{outline:3px solid #a77e49;outline-offset:4px}
@media(max-width:540px){.ct-preview{padding:20px}.ct-preview-actions{align-items:stretch;flex-direction:column}.ct-preview-actions .ct-submit{width:100%}}
