/* ======================================================
   contacto.css — Apple-like / premiable
   - No toca header/footer
====================================================== */

:root{
  --bg:#ffffff;
  --ink:#0f172a;
  --muted: rgba(15,23,42,.62);
  --line: rgba(15,23,42,.10);

  --card:#ffffff;
  --soft:#f5f5f7;

  --r: 22px;
  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow2: 0 30px 80px rgba(15,23,42,.14);

  --wrap: 1180px;

  --btn:#0f172a;
  --btnText:#fff;
}

/* Base */
body.has-fixed-header{
  padding-top: var(--hdr-h, 64px);
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cwrap{
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.cmain{ overflow-x: hidden; }

/* =========================
   HERO (micro-textura Apple)
========================= */
.c-hero{
  padding: 34px 0 22px;
}

.c-hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;

  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--r);
  box-shadow: var(--shadow);

  /* micro-textura + glow */
  background:
    radial-gradient(1100px 620px at 76% 26%, rgba(181,232,255,.55), rgba(255,255,255,0) 60%),
    radial-gradient(900px 560px at 15% 10%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
  padding: 28px;
  overflow:hidden;
}

.c-hero-grid::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.25) 1px, transparent 0);
  background-size: 16px 16px; /* micro grain */
  mix-blend-mode: overlay;
}

.c-eyebrow{
  margin: 0 0 8px;
  font-weight: 800;
  color: rgba(15,23,42,.55);
  letter-spacing: .02em;
}

.c-title{
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.c-subtitle{
  margin: 12px 0 16px;
  color: rgba(15,23,42,.62);
  font-weight: 650;
  line-height: 1.55;
  max-width: 62ch;
}

.c-chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.c-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  color: rgba(15,23,42,.86);
  font-weight: 750;
  font-size: 13px;

  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.c-chip:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

.c-hero-media{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  overflow:hidden;
  background: rgba(255,255,255,.55);
  min-height: 210px;
}

.c-hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  filter: saturate(1.02);
}

.c-hero-glass{
  position:absolute;
  inset:0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.28) 35%, rgba(255,255,255,0) 70%);
}

/* =========================
   LAYOUT
========================= */
.c-section{
  padding: 18px 0 70px;
}

.c-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
}

.c-card{
  background: var(--card);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.c-card-head{
  padding: 18px 18px 10px;
}

.c-card-head h2{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.c-card-head p{
  margin: 0;
  color: rgba(15,23,42,.60);
  font-weight: 650;
  font-size: 13px;
  line-height: 1.45;
}

/* =========================
   FORM
========================= */
.c-fields{
  padding: 10px 18px 18px;
}

.c-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.c-field label{
  display:block;
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,23,42,.78);
  margin: 0 0 6px;
}

.c-input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(245,245,247,.75);
  outline: none;

  font-weight: 650;
  color: rgba(15,23,42,.92);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.c-input:focus{
  background: #fff;
  border-color: rgba(15,23,42,.18);
  box-shadow: 0 0 0 4px rgba(0,113,227,.12);
}

.c-textarea{
  resize: vertical;
  min-height: 120px;
}

.c-error{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 650;
  color: #b42318;
  min-height: 16px; /* evita saltos */
}

/* Acciones */
.c-actions{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.c-btn{
  height: 42px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(15,23,42,.92);
  color: #fff;
  font-weight: 900;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.c-btn:hover{
  transform: translateY(-1px);
  opacity: .95;
}

.c-privacy{
  margin: 0;
  color: rgba(15,23,42,.55);
  font-weight: 650;
  font-size: 12px;
  line-height: 1.35;
}

/* =========================
   INFO
========================= */
.c-info-list{
  padding: 10px 18px 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.c-info-item{
  text-decoration:none;
  display:flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px;
  border-radius: 16px;

  background: rgba(245,245,247,.75);
  border: 1px solid rgba(15,23,42,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.c-info-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
}

.c-info-k{
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.60);
}

.c-info-v{
  font-size: 14px;
  font-weight: 800;
  color: rgba(15,23,42,.92);
}

.c-divider{
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(15,23,42,.18), transparent);
  margin: 0 18px;
}

.c-mini{
  padding: 16px 18px 18px;
}

.c-mini h3{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
}

.c-mini p{
  margin: 0;
  color: rgba(15,23,42,.62);
  font-weight: 650;
  line-height: 1.5;
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .c-hero-grid{ grid-template-columns: 1fr; }
  .c-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 700px){
  .cwrap{ padding: 0 16px; }
  .c-row{ grid-template-columns: 1fr; }
  .c-hero-grid{ padding: 18px; }
}
