/* ─── GOTHAM SYSTEM ──────────────────────────────────────────────────
   Usamos Nunito como proxy de alta fidelidad para Gotham.
   --font-black  → títulos, labels, botones
   --font-light  → párrafos, descripciones, inputs
─────────────────────────────────────────────────────────────────── */
:root {
  --font-black : 'Gotham', sans-serif;
  --font-light : 'Gotham', sans-serif;
  --w-black    : 900;
  --w-light    : 300;
 
  --black      : #0a0a0a;
  --white      : #f5f2ed;
  --cream      : #f0ebe3;
  --accent     : #E87586;
  --accent-dark: #b52e10;
  --mid        : #6b6560;
  --border     : rgba(255,255,255,0.09);
  --border-c   : rgba(0,0,0,0.1);
}

body {
  background-image: url('../images/ChatGPTImage6ene202614_54_36.png') !important;
  background-position: center;
  background-size: cover;
}

 
/* ═══════════════════════════════════════════════
   HERO  — fondo negro con cuadrícula sutil
═══════════════════════════════════════════════ */
.hero {
  margin-top: 72px;
  background: transparent;
  position: relative; overflow: hidden;
  padding: 96px 56px 80px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
 
/* cuadrícula de fondo */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
 
/* gradiente radial acento */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,64,28,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(232,64,28,.10) 0%, transparent 60%);
  pointer-events: none;
}
 
/* texto CONTACTO gigante de fondo */
.hero-watermark {
  position: absolute; right: -10px; bottom: -20px;
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: clamp(100px, 17vw, 210px);
  line-height: 1; color: rgba(255,255,255,0.03);
  letter-spacing: -0.03em;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
 
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232,0,125,.12);
  font-family: 'light';
  font-size: .78rem;
  letter-spacing: 0.14em; 
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 28px;
  position: relative; z-index: 2;
  border: 1px solid #E87586;
  color: #E87586;
}
/*.hero-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; opacity: .7;
  animation: pulse 1.8s ease-in-out infinite;
}*/
 
.hero h1 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  position: relative; z-index: 2;
  max-width: 800px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
 
.hero-sub {
  margin-top: 24px;
  font-family: 'light' !important;
  color: var(--white) !important;
  font-size: 16px; line-height: 1.7;
  color: rgba(245,242,237,0.55);
  max-width: 560px;
  position: relative; z-index: 2;
}
 
/* ═══════════════════════════════════════════════
   QUICK STATS BAR
═══════════════════════════════════════════════ */
.stats-bar {
  background: #202020;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 28px 40px;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; gap: 18px;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  font-size: 28px; flex-shrink: 0;
  opacity: 0.9;
  color: #FFF;
}
.stat-text .num {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 22px; color: #fff;
  letter-spacing: -0.01em;
}
.stat-text .lbl {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 12px; color: rgba(255,255,255,0.72);
  margin-top: 2px;
}
 
/* ═══════════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════════ */
.page-body {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 0;
}
 
/* ─── COLUMNA IZQUIERDA: FORMULARIO ─── */
.form-col {
  background: var(--cream);
  padding: 80px 56px 80px 56px;
  border-right: 1px solid var(--border-c);
}
 
.section-eyebrow {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--accent);
}
 
.form-col h2 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1; color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-col > p {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 15px; line-height: 1.75;
  color: var(--mid);
  margin-bottom: 48px;
  max-width: 500px;
}
 
/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 0; }
 
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.form-row .field:first-child { border-right: none; }
 
.field {
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,0.12);
  border-bottom: none;
  padding: 20px 24px 16px;
  position: relative;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.field:focus-within {
  border-color: var(--accent);
  background: #fff;
  z-index: 1;
}
/* cierre de borders para evitar doble línea */
.form-row .field { border-right: none; }
.form-row .field:last-child { border-right: 1px solid rgba(0,0,0,0.12); }
 
.field-last-row { border-bottom: 1px solid rgba(0,0,0,0.12) !important; }
 
.field label {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.field:focus-within label { color: var(--accent); }
 
.field input,
.field select,
.field textarea {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 15px;
  color: var(--black);
  background: none; border: none; outline: none;
  width: 100%; resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(0,0,0,0.28); }
.field select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.field select option { background: #fff; color: var(--black); }
 
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '↓';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--mid);
  pointer-events: none;
}
 
.field textarea { min-height: 120px; padding-top: 4px; line-height: 1.65; }
 
/* campo simple (sin grid-row) */
.field-solo { grid-column: 1 / -1; }
 
/* ── Servicios checkboxes ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.svc-check {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.svc-check input[type="checkbox"] { display: none; }
.svc-box {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,0.2);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.svc-check input:checked ~ .svc-text .svc-box,
.svc-check input:checked + .svc-box {
  background: var(--accent); border-color: var(--accent);
}
.svc-check input:checked + .svc-box::after {
  content: '';
  width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.svc-label {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 13px; color: var(--black);
}
 
/* ── Cómo nos encontraste ── */
.radio-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}
.radio-pill {
  display: flex; align-items: center;
  cursor: pointer;
}
.radio-pill input { display: none; }
.radio-pill span {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  color: var(--mid);
  transition: all 0.15s;
  white-space: nowrap;
}
.radio-pill input:checked + span {
  background: var(--black); color: #fff; border-color: var(--black);
}
.radio-pill:hover span { border-color: var(--accent); color: var(--accent); }
 
/* ── Submit ── */
.form-submit {
  margin-top: 2px;
  display: flex; align-items: center; gap: 0;
}
.submit-btn {
  flex: 1;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer;
  font-family: var(--font-light);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: background 0.2s, gap 0.2s;
  border-radius: 50px;
}
.submit-btn:hover { background: #1D3E55; color: #FFF; gap: 20px; }
.submit-btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.submit-btn:hover svg { transform: translateX(4px); }
 
.submit-note {
  padding: 0 28px;
  font-family: 'light' !important;
  font-size: 11px; line-height: 1.6;
  color: var(--mid);
  max-width: 310px;
}
 
/* ── Success state ── */
.form-success {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: var(--black);
  min-height: 400px;
}
.form-success .check-circle {
  width: 72px; height: 72px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.form-success h3 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 28px; color: var(--white);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.form-success p {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 15px; color: rgba(245,242,237,0.55);
  line-height: 1.7;
}
 
/* ─── COLUMNA DERECHA: INFO ─── */
.info-col {
  background: #202020;
  padding: 80px 48px;
  display: flex; flex-direction: column; gap: 0;
}
 
.info-col h3 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,242,237,0.28);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.info-col h3::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--accent); opacity: .7;
}
 
/* ── Datos de contacto ── */
.contact-items { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: opacity 0.2s;color: #FFF;
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { opacity: 0.75; color: #FFF; }
 
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ci-icon.accent-bg { background: var(--accent); border-color: var(--accent); }
 
.ci-body {}
.ci-label {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.ci-value {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 15px; color: var(--white);
  line-height: 1.5;
}
.ci-value strong {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 16px;
}
 
/* ── Horario ── */
.schedule {
  margin-top: 48px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.schedule-rows { display: flex; flex-direction: column; gap: 0; }
.sch-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sch-row:last-child { border-bottom: none; }
.sch-day {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 13px; color: rgba(245,242,237,0.45);
  color: var(--white);
}
.sch-time {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 13px; color: var(--white);
  letter-spacing: 0.02em;
}
.sch-badge {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 10px; background: var(--accent); color: #fff;
}
 
/* ── Redes sociales ── */
.social-section {
  margin-top: 48px; padding-top: 48px;
  border-top: 1px solid var(--border);
}
.social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 24px;
}
.social-btn {
  border: 1px solid rgba(255,255,255,1);
  background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 8px;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--white);
}
.social-btn:hover {
  background: var(--accent); 
  color: var(--white);
  border-color: var(--accent);
}
.social-btn .s-icon { font-size: 20px; }
.social-btn .s-name {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,242,237,0.45);
}
.social-btn:hover .s-name { color: #fff; }
 
/* ── Bloque IA ── */
.ia-banner {
  margin-top: 48px;
  background: rgba(232,64,28,0.08);
  border: 1px solid rgba(232,64,28,0.2);
  padding: 28px 28px;
}
.ia-banner h4 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 15px; color: var(--white);
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.ia-banner p {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 13px; color: rgba(245,242,237,0.5);
  line-height: 1.65; margin-bottom: 18px;
}
.ia-btn {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.ia-btn:hover {color: #FFF; gap: 14px; }
 
/* ═══════════════════════════════════════════════
   MAPA PLACEHOLDER
═══════════════════════════════════════════════ */
.map-section {
  position: relative; overflow: hidden;
  height: 360px;
  /*background: var(--black);*/
  background: transparent;
}
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  /*background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 64px),
    linear-gradient(135deg, #0a0a0a 0%, #111 100%);*/
  background-image: url('../images/contacto/mapa.png') !important;
  background-position: center;
  background-size: cover;
}
.map-pin {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.pin-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(232,64,28,0.2), 0 0 0 12px rgba(232,64,28,0.08);
  animation: ping 2.5s ease-in-out infinite;
}
@keyframes ping {
  0%,100% { box-shadow: 0 0 0 6px rgba(232,64,28,0.2), 0 0 0 12px rgba(232,64,28,0.08); }
  50%      { box-shadow: 0 0 0 10px rgba(232,64,28,0.15), 0 0 0 22px rgba(232,64,28,0.04); }
}
.pin-card {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  text-align: center;
}
.pin-card strong {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 14px; color: var(--white);
  display: block; margin-bottom: 4px;
}
.pin-card span {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 12px; color: rgba(245,242,237,0.4);
}
.map-overlay-btn {
  position: absolute; bottom: 32px; right: 32px; z-index: 3;
  background: var(--accent); color: #fff;
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 24px; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.2s;
}
.map-overlay-btn:hover { background: var(--accent-dark); }
/* ciudad labels decorativas */
.map-label {
  position: absolute; z-index: 1;
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.06);
}
 
/* ═══════════════════════════════════════════════
   FAQ rápido
═══════════════════════════════════════════════ */
.faq-section {
  /*background: var(--cream);*/
  padding: 80px 56px;
  border-top: 1px solid var(--border-c);
}
.faq-inner {
  /*display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px;
  max-width: 1100px;*/
  width: 100%;
}
.accordion-button {
    font-family: 'medium';
}
.accordion-button:not(.collapsed) {
    background-color: #E87586 !important; /* Color de fondo activo */
    color: #FFFFFF !important;            /* Color del texto activo */
    border-color: #E87586 !important;
    box-shadow: none !important;          /* Quita el resplandor azul de Bootstrap */
    font-family: 'medium';
}
.accordion-button:not(.collapsed)::after {
    /* Invierte el color (si es negro pasa a blanco) y sube el brillo */
    filter: invert(1) brightness(200%);
}
/* Forzar la eliminación de espacios entre items */
.accordion-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-top: none !important; /* Evita doble borde entre items pegados */
}

/* Asegurar que el primero sí tenga borde superior */
.accordion-item:first-of-type {
    border-top: 1px solid #dee2e6 !important; 
}

/* Si usas la versión moderna de Bootstrap, a veces el gap viene del contenedor */
.accordion {
    --bs-accordion-border-width: 1px;
    display: flex;
    flex-direction: column;
    gap: 0 !important; /* Esto elimina espacios si se activó el gap */
}


.faq-head {
  grid-column: 1 / -1;
}
.faq-head h2 {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  color: var(--accent) !important;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em; color: var(--black);
}
.faq-item {}
.faq-q {
  font-family: var(--font-black);
  font-weight: var(--w-black);
  font-size: 15px; color: var(--black);
  color: var(--accent) !important;
  margin-bottom: 10px; letter-spacing: -0.01em;
  display: flex; align-items: flex-start; gap: 12px;
}
.faq-q::before {
  content: '—'; color: var(--accent); flex-shrink: 0;
}
.faq-a {
  font-family: var(--font-light);
  font-weight: var(--w-light);
  font-size: 14px; line-height: 1.75;
  color: var(--white) !important;
  padding-left: 24px;
}
 
 
/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-body { grid-template-columns: 1fr; }
  .info-col { padding: 64px 40px; }
  .social-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  /* NAV Y HERO */
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 72px 24px 60px; }

  /* STATS */
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .page-body {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .form-col {
    padding: 40px 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .contact-form {
    width: 100% !important;
    left: 0;
    box-sizing: border-box;
    /*border: solid 1px #000;*/
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row .field {
    box-sizing: border-box;
    width: 100%;
    border-right: 1px solid rgba(0,0,0,0.12);
    border-bottom: none;
  }

  .field {
    box-sizing: border-box;
    width: 100%;
    padding: 14px 16px 12px;
  }

  /* servicios a 1 columna para evitar texto cortado */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .svc-label {
    font-size: 12px;
  }

  .radio-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .radio-pill span {
    font-size: 11px;
    padding: 5px 10px;
    white-space: nowrap;
  }

  /* SUBMIT */
  .form-submit { flex-direction: column; align-items: stretch; }
  .submit-note { max-width: 100%; padding: 12px 16px; text-align: center; }

  /* INFO COL */
  .info-col { padding: 48px 20px; }
  .social-grid { grid-template-columns: repeat(4, 1fr); }

  /* FAQ */
  .faq-section { padding: 56px 20px; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { grid-column: 1; }

  /* MAPA */
  .map-section { height: 280px; }

}