/* ============================================================
   ARESplus — PÁGINA CONTACTO
   Namespace: ac-  (ares contact)
   Mobile-first, WCAG AA
   ============================================================ */

/* ── Variables ── */
.ac-page {
  --ac-blue:    #031A33;
  --ac-blue2:   #082845;
  --ac-blue3:   #0C426A;
  --ac-orange:  #F36916;
  --ac-orange2: #FF8A3D;
  --ac-black:   #0B0D10;
  --ac-white:   #FFFFFF;
  --ac-soft:    #F5F6F7;
  --ac-text:    #263443;
  --ac-muted:   rgba(255,255,255,.62);
  --ac-border:  rgba(255,255,255,.13);
  --ac-green:   #25D366;
  --ac-radius:  16px;
  --ac-radius-sm: 10px;
  --ac-radius-lg: 22px;
  --ac-shadow:  0 20px 50px rgba(0,0,0,.22);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ac-text);
  background: #fff;
}

.ac-page *, .ac-page *::before, .ac-page *::after {
  box-sizing: border-box;
}

.ac-page a { text-decoration: none; }

/* Focus visible global */
.ac-page *:focus-visible {
  outline: 3px solid var(--ac-orange);
  outline-offset: 3px;
}

/* ── Container ── */
.ac-container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.ac-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ac-blue) 0%, var(--ac-blue2) 55%, var(--ac-black) 100%);
  color: var(--ac-white);
  padding: 96px 0 72px;
}

/* Textura de grid sutil */
.ac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(12,66,106,.5) 0%, transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(255,255,255,.018) 80px
    );
}

.ac-hero__inner { position: relative; z-index: 2; }

/* Eyebrow */
.ac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ac-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ac-eyebrow::before,
.ac-eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--ac-orange);
}

.ac-hero__head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.ac-hero__h1 {
  margin: 0 0 20px;
  color: var(--ac-white);
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 800;
}

.ac-hero__lead {
  margin: 0;
  color: var(--ac-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

/* ── Grid principal ── */
.ac-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* ─────────────────────────────────────────
   MÉTODOS DE CONTACTO (columna izquierda)
───────────────────────────────────────── */
.ac-methods { padding: 8px 0; }

.ac-methods__title {
  color: var(--ac-white);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 750;
  margin: 0 0 24px;
  max-width: 380px;
  line-height: 1.2;
}

.ac-method {
  display: grid;
  grid-template-columns: 52px 1fr auto 20px;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--ac-white);
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease;
}

.ac-method:last-child { border-bottom: none; }

.ac-method:not(.ac-method--static):hover {
  transform: translateX(6px);
  border-color: rgba(243,105,22,.5);
}

.ac-method__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--ac-border);
  background: rgba(255,255,255,.035);
  color: #55A6FF;
  flex-shrink: 0;
}
.ac-method__icon--wa { color: var(--ac-green); }

.ac-method__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ac-method__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ac-white);
}
.ac-method__sub {
  font-size: 13px;
  color: var(--ac-muted);
}
.ac-method__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ac-orange);
  white-space: nowrap;
}
.ac-method__arrow {
  color: rgba(255,255,255,.55);
  display: grid;
  place-items: center;
  transition: transform 200ms ease;
}
.ac-method:not(.ac-method--static):hover .ac-method__arrow {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────
   FORMULARIO (columna derecha)
───────────────────────────────────────── */
.ac-form-card {
  padding: 32px 28px;
  border-radius: var(--ac-radius-lg);
  background: linear-gradient(145deg, rgba(14,50,80,.94), rgba(6,30,53,.97));
  border: 1px solid var(--ac-border);
  box-shadow: var(--ac-shadow);
}

.ac-form-card__title {
  color: var(--ac-white);
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
}
.ac-form-card__lead {
  color: var(--ac-muted);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.55;
}

/* Form grid */
.ac-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Field */
.ac-field { display: flex; flex-direction: column; gap: 6px; }
.ac-field--full { grid-column: 1 / -1; }

.ac-field__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}
.ac-field__label span { color: var(--ac-orange); }

.ac-field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--ac-radius-sm);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(3,26,51,.5);
  color: var(--ac-white);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  outline: none;
}
.ac-field__input::placeholder { color: rgba(255,255,255,.38); }
.ac-field__input:focus {
  border-color: var(--ac-orange);
  box-shadow: 0 0 0 3px rgba(243,105,22,.18);
}

.ac-field__textarea {
  min-height: 108px;
  padding-top: 13px;
  resize: vertical;
  line-height: 1.5;
}

/* Select */
.ac-field__select-wrap { position: relative; }
.ac-field__select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.ac-field__select option { background: #082845; color: var(--ac-white); }
.ac-field__select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.6);
  pointer-events: none;
}

/* Privacy */
.ac-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
}
.ac-privacy__check {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--ac-orange);
  cursor: pointer;
}
.ac-privacy__label {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  cursor: pointer;
}
.ac-privacy__link { color: var(--ac-orange); text-decoration: underline; }

/* Form messages */
.ac-form__msg {
  padding: 12px 16px;
  border-radius: var(--ac-radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.ac-form__msg--error { background: rgba(239,68,68,.18); color: #FCA5A5; border: 1px solid rgba(239,68,68,.35); }
.ac-form__msg--success { background: rgba(37,211,102,.15); color: #86EFAC; border: 1px solid rgba(37,211,102,.35); }

/* Submit */
.ac-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: var(--ac-radius-sm);
  background: linear-gradient(135deg, var(--ac-orange), var(--ac-orange2));
  color: var(--ac-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.ac-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243,105,22,.3);
}
.ac-btn-submit:active { transform: translateY(0); }

/* Secure note */
.ac-form__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
}

/* ─────────────────────────────────────────
   BLOQUE INFERIOR — FONDO CLARO
───────────────────────────────────────── */
.ac-info {
  padding: 70px 0 60px;
  background: radial-gradient(circle at 50% 0%, #ffffff, #f4f6f9 80%);
}

.ac-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.ac-info__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ac-blue);
  font-size: 18px;
  font-weight: 800;
}

.ac-info__col p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ac-text);
  line-height: 1.6;
}

/* Dark button */
.ac-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 10px;
  border-radius: var(--ac-radius-sm);
  background: var(--ac-blue);
  color: var(--ac-white) !important;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease;
}
.ac-btn-dark:hover { background: var(--ac-blue2); }

/* Map */
.ac-map-placeholder {
  position: relative;
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(45deg, #e4e9ed 25%, transparent 25%),
    linear-gradient(-45deg, #e4e9ed 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e4e9ed 75%),
    linear-gradient(-45deg, transparent 75%, #e4e9ed 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  background-color: #eef1f4;
  border: 1px solid #dde3e8;
  display: grid;
  place-items: center;
}
.ac-map-placeholder__pin {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ac-orange);
  border: 5px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 20px rgba(3,26,51,.2);
  display: grid; place-items: center;
}
.ac-map-frame { border-radius: 14px; overflow: hidden; }

.ac-map-note {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: #7B8DA0 !important;
  font-style: italic;
}

/* Hours */
.ac-hours {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.ac-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid #E5EBF0;
  font-size: 13px;
}
.ac-hours__row dt { color: var(--ac-text); font-weight: 400; }
.ac-hours__row dd { font-weight: 700; color: var(--ac-blue); margin: 0; }
.ac-hours__note {
  font-size: 12px;
  color: var(--ac-orange);
  line-height: 1.5;
  margin: 0;
}

/* Demo card */
.ac-demo-card {
  height: 100%;
  padding: 26px;
  border: 1.5px solid rgba(243,105,22,.6);
  border-radius: 18px;
  background: var(--ac-white);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.ac-demo-card__title {
  margin: 0 0 12px;
  color: var(--ac-blue);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}
.ac-demo-card__text {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ac-text);
  line-height: 1.6;
}

/* Orange button */
.ac-btn-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--ac-radius-sm);
  background: var(--ac-orange);
  color: var(--ac-white) !important;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}
.ac-btn-orange:hover {
  background: var(--ac-orange2);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────
   BARRA DE CONFIANZA
───────────────────────────────────────── */
.ac-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 44px;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ac-blue) 0%, #071A2A 55%, var(--ac-black) 100%);
}

.ac-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ac-trust__item:last-child { border-bottom: none; }

.ac-trust__item svg { flex-shrink: 0; margin-top: 2px; }

.ac-trust__item div { display: flex; flex-direction: column; gap: 4px; }
.ac-trust__item strong { color: var(--ac-white); font-size: 14px; }
.ac-trust__item span { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.45; }


/* ─────────────────────────────────────────
   RESPONSIVE — TABLET (≥768px)
───────────────────────────────────────── */
@media (min-width: 768px) {
  .ac-form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ac-field--full { grid-column: 1 / -1; }

  .ac-info__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ac-trust {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .ac-trust__item {
    padding: 16px 24px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.12);
  }
  .ac-trust__item:nth-child(2n) { border-right: none; }
  .ac-trust__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ─────────────────────────────────────────
   RESPONSIVE — DESKTOP (≥1024px)
───────────────────────────────────────── */
@media (min-width: 1024px) {
  .ac-hero {
    padding: 110px 0 90px;
  }

  .ac-main-grid {
    grid-template-columns: 42% 1fr;
    gap: 52px;
  }

  .ac-info__grid {
    grid-template-columns: 1fr 1.1fr .9fr 1fr;
    align-items: stretch;
  }

  .ac-trust {
    grid-template-columns: repeat(4, 1fr);
  }
  .ac-trust__item { border-top: none !important; }
  .ac-trust__item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,.12) !important; }
  .ac-trust__item:last-child { border-right: none !important; }
}

/* ─────────────────────────────────────────
   PREFERS REDUCED MOTION
───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ac-page *, .ac-page *::before, .ac-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
