/* ===== HERO estilo corporativo (claro, pill dorado, imagen con sombra) ===== */

.contact-hero {
    --gold: #c6a15b;
    --gold-25: rgba(198,161,91,.25);
    --ink: #111;
    --muted: #555;
    --bg-cream: #faf7f1;
  
    background: linear-gradient(180deg,#fff, #fff 40%, var(--bg-cream) 140%);
    padding: clamp(32px, 5vw, 64px) 0;
  }
  
  .contact-hero-grid {
    display: grid;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    grid-template-columns: 1fr;   /* mobile */
    max-width: min(1200px, 92vw);
    margin: 0 auto;
  }
  
  .contact-hero-copy { padding-inline: clamp(16px, 3vw, 24px); }
  
  .contact-kicker {
    display: inline-block;
    font: 600 14px/1.1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
    color: #ffffff;
    background: var(--gold);
    padding: 10px 16px;
    border-radius: 14px;
    letter-spacing: .3px;
    box-shadow: 0 6px 16px var(--gold-25);
    margin-bottom: 18px;
  }
  
  .contact-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    line-height: .96;
    color: var(--ink);
    font-size: clamp(36px, 4.2vw, 64px);
    margin: 0 0 14px;
    max-width: 24ch; /* 2 líneas cómodas en desktop */
  }
  
  .contact-sub {
    color: var(--muted);
    font: 400 clamp(16px, 1.1vw, 18px)/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    margin: 0 0 18px;
  }
  
  .contact-cta { display:flex; gap:12px; flex-wrap:wrap; }
  
  .btn-gold {
    background: var(--gold);
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px var(--gold-25);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px var(--gold-25); }
  
  .btn-ghost {
    border: 1.5px solid #ddd3bf;
    color: var(--ink);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(2px);
  }
  
  .contact-hero-media {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
    height: min(46vh, 360px);
    margin-inline: clamp(16px, 3vw, 24px);
  }
  .contact-hero-media img { width:100%; height:100%; object-fit:cover; }
  
  /* Desktop: dos columnas y “bleed” a la derecha como corporativo */
  @media (min-width: 980px) {
    .contact-hero-grid {
      grid-template-columns: 1.1fr 1.1fr;
      gap: clamp(28px, 3vw, 48px);
    }
    .contact-hero-media {
      height: min(72vh, 640px);
      margin-right: max(-4vw, -40px);
      margin-left: 0;
    }
    .br-desk { display:inline; }
  }
  @media (max-width: 979px) { .br-desk { display:none; } }
  
  
  /* ===== FORMULARIO (tarjeta clara coherente) ===== */
  
  .contact-section {
    background: #faf7f1;
    color: #1b1b1c;
    padding: clamp(40px, 6vw, 72px) 0;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }
  
  .contact-h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 3.5vw, 42px); /* antes 26–38px */
    margin: 0 0 12px;
    line-height: 1.1;
    color: #1b1b1c;
  }
  
  .contact-lead {
    color: #4a4a4d;
    line-height: 1.6;
    font-size: clamp(17px, 1.2vw, 19px); /* antes 16–18px */
    margin-bottom: 18px;
  }
  
  .contact-details {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    font-size: clamp(16px, 1.2vw, 18px); /* ligeramente más grande */
    line-height: 1.7;
  }
  
  .contact-details li {
    margin-bottom: 10px;
    color: #2a2a2d;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* Card/form */
  .contact-form {
    display: flex; flex-direction: column; gap: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 20px;
    padding: clamp(20px, 2.6vw, 28px);
    box-shadow: 0 12px 28px rgba(99,86,48,.08);
  }
  
  .contact-form label { font-weight:700; font-size:14px; color:#7A5E2A; }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d8e3dd;
    background: #fff;
    color: #111;
    font: 500 15px Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: #c6a15b; outline: none;
  }
  
  .row { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .col { display:flex; flex-direction:column; gap:8px; }
  
  .contact-form .btn-gold { align-self:flex-start; margin-top:6px; }
  
  /* Responsive */
  @media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .row { grid-template-columns: 1fr; }
  }
  
  /* Activa estado en nav solo en esta página (opcional) */
  .navlist a.is-active { color: #c6a15b; }

  html { scroll-behavior: smooth; }
#formulario { scroll-margin-top: 90px; } /* ajusta a la altura real de tu header */

/* ===== Animaciones ===== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variaciones opcionales */

.fade-delayed-1 {
  transition-delay: .3s;
}

.fade-delayed-2 {
  transition-delay: .6s;
}

.fade-delayed-3 {
  transition-delay: .9s;
}