/* ══════════════════════════════════════════════════════════════════
   contacto.css — CSS específico de contacto.php
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  background: var(--dark);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 60%, rgba(18,227,188,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(18,227,188,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .6s var(--ease) .1s forwards;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); display: block; }
.hero h1 {
  font-size: clamp(3rem,5.5vw,5rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.05; color: var(--white);
  opacity: 0; animation: fadeUp .6s var(--ease) .2s forwards;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg,var(--mint) 0%,#05c4a0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-right { opacity: 0; animation: fadeUp .6s var(--ease) .3s forwards; }
.hero-lead { font-size: 1.05rem; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 32px; }
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-canales { display: flex; flex-direction: column; gap: 12px; }
.hero-canal { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: rgba(255,255,255,.5); }
.hero-canal svg { width: 16px; height: 16px; stroke: var(--mint); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero-canal a { color: var(--mint); font-weight: 600; transition: color .2s; }
.hero-canal a:hover { color: var(--white); }

/* ── FORMULARIO ── */
.contacto-sec { background: var(--off); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contacto-info { position: sticky; top: 110px; }
.info-items { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.info-item { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.info-item:first-child { border-top: 1px solid var(--line); }
.info-item-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--mint-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item-icon svg { width: 18px; height: 18px; stroke: var(--mint-dim); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info-item-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); margin-bottom: 4px; }
.info-item-value { font-size: .62rem; font-weight: 400; color: var(--mid); line-height: 1.5; }
.info-item-value a { color: var(--mint-dim); transition: color .2s; }
.info-item-value a:hover { color: var(--mint); }
.info-note { margin-top: 28px; padding: 20px 22px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-md); font-size: .82rem; color: var(--mid); line-height: 1.7; }
.info-note strong { color: var(--ink); font-weight: 700; }

/* ── FORM CARD ── */
.form-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 44px 48px; box-shadow: 0 8px 40px rgba(9,16,14,.06); }
.form-card-header { margin-bottom: 32px; }
.form-card-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-bottom: 8px; }
.form-card-sub { font-size: .85rem; color: var(--mid); line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.form-label span { color: var(--mint-dim); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: .88rem; color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(81,104,96,.4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(18,227,188,.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23516860' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-checks { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--mint); cursor: pointer; }
.form-check-label { font-size: .78rem; color: var(--mid); line-height: 1.5; }
.form-check-label a { color: var(--mint-dim); text-decoration: underline; }
.form-submit {
  width: 100%; padding: 15px;
  background: var(--ink); color: var(--white);
  font-family: inherit; font-size: .92rem; font-weight: 700;
  border: none; border-radius: 50px; cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--ink-soft); }
.form-submit:active { transform: scale(.98); }
.form-badges { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.form-badge { display: flex; align-items: center; gap: 5px; font-size: .7rem; color: var(--mid); }
.form-badge svg { width: 13px; height: 13px; stroke: var(--mint-dim); fill: none; stroke-width: 2; stroke-linecap: round; }

/* ── MENSAJE DE ÉXITO INLINE ── */
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 40px 0; }
.form-success.show { display: flex; }
.form-content.hide { display: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mint-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.success-icon svg { width: 28px; height: 28px; stroke: var(--mint-dim); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.form-success p { font-size: .88rem; color: var(--mid); line-height: 1.7; }

/* ── CHARLAS ── */
.charlas { background: var(--ink-soft); clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); margin-top: -60px; margin-bottom: -60px; padding: 160px 0; }
.charlas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.charlas .sec-label { color: rgba(18,227,188,.7); }
.charlas .sec-label::before { background: var(--mint); }
.charlas .sec-title { color: var(--white); }
.charlas .sec-lead { color: rgba(255,255,255,.45); max-width: 460px; }
.charlas-card { background: rgba(18,227,188,.05); border: 1px solid rgba(18,227,188,.12); border-radius: var(--r-lg); padding: 36px 40px; }
.charlas-card p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.8; margin-bottom: 24px; }
.charlas-card p strong { color: rgba(255,255,255,.75); font-weight: 600; }
/* btn-outline-light definido en main.css */

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid, .contacto-grid, .charlas-inner { grid-template-columns: 1fr; gap: 48px; }
  .contacto-info { position: static; }
}
@media (max-width: 600px) {
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 80px; }
}
