/* ===== Salas Professional Services LLC — estilos compartidos ===== */

:root {
  --blue-900: #0a2540;
  --blue-800: #0d3366;
  --blue-700: #0f4c9c;
  --blue-600: #1663c7;
  --blue-500: #2b7de9;
  --blue-100: #e6f0fc;
  --blue-50: #f3f8fe;
  --white: #ffffff;
  --text: #1c2b3a;
  --muted: #5b6b7c;
  --border: #d9e4f0;
  --green: #25d366;
  --warn-bg: #fff8e6;
  --warn-border: #f0c95a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.2; color: var(--blue-900); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ----- Idiomas: se muestra solo el idioma activo ----- */
html[data-lang="es"] .lang-en,
html[data-lang="en"] .lang-es { display: none !important; }

/* ----- Encabezado y menú ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-900); }
.brand-logo { height: 48px; width: auto; border-radius: 8px; }
.brand-text { font-weight: 700; font-size: 1rem; line-height: 1.1; }
.brand-text small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 8px;
}
.menu a:hover { background: var(--blue-50); color: var(--blue-700); }
.menu a.active { color: var(--blue-700); background: var(--blue-100); }

.lang-btn {
  margin-left: 8px; border: 2px solid var(--blue-600); background: var(--white); color: var(--blue-700);
  font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 0.9rem;
}
.lang-btn:hover { background: var(--blue-600); color: var(--white); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--blue-900); border-radius: 2px; }

/* ----- Botones ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-white { background: var(--white); color: var(--blue-700); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-blue { background: transparent; color: var(--blue-700); border-color: var(--blue-600); }
.btn-whatsapp { background: var(--green); color: #063b1d; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----- Portada (hero) ----- */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(43, 125, 233, 0.55), transparent 45%),
              linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 90px 0 100px;
}
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.2rem; max-width: 640px; opacity: 0.92; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero .btn-row { margin-top: 28px; }
.hero-small { padding: 70px 0 70px; }

/* ----- Secciones ----- */
section { padding: 80px 0; }
.section-alt { background: var(--blue-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-700); margin-bottom: 18px;
}
.icon svg { width: 28px; height: 28px; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue-600); color: var(--white);
  font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; margin-top: 3px;
}

/* ----- Sobre mí ----- */
.about { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.about-photo {
  aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); color: var(--white);
  font-size: 5rem; font-weight: 800; box-shadow: var(--shadow);
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge {
  background: var(--blue-100); color: var(--blue-800); font-weight: 600; font-size: 0.9rem;
  padding: 6px 14px; border-radius: 999px;
}

/* ----- Estados con licencia ----- */
.states { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.state {
  min-width: 64px; text-align: center; padding: 10px 14px; border-radius: 10px;
  background: var(--white); border: 2px solid var(--blue-100); font-weight: 700; color: var(--blue-800);
}

/* ----- Avisos legales ----- */
.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-border); border-left: 6px solid var(--warn-border);
  border-radius: 10px; padding: 20px 24px; font-size: 0.95rem;
}
.notice h3 { font-size: 1rem; margin-bottom: 8px; }
.notice p:last-child { margin-bottom: 0; }

/* ----- Contacto ----- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info .btn { width: 100%; margin-bottom: 12px; }
.contact-info .btn-row { flex-direction: column; gap: 0; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.2); }
.consent { display: flex; flex-direction: row; gap: 10px; font-weight: 400; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.privacy-note {
  background: var(--blue-50); border-radius: 10px; padding: 12px 14px; font-size: 0.88rem; color: var(--blue-800);
}
.form-card .btn { width: 100%; margin-top: 8px; }
.form-msg { font-size: 0.92rem; margin-top: 10px; font-weight: 600; }
.form-msg.error { color: #b3261e; }
.form-msg.ok { color: #13703a; }

/* ----- Pie de página ----- */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.85); padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 36px; padding-top: 20px;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.6);
}

/* ----- Botón flotante de WhatsApp ----- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.wa-float svg { width: 30px; height: 30px; }

/* ----- Celular y tableta ----- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 220px; margin: 0 auto; font-size: 4rem; }
  .badges { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .menu-toggle { display: flex; }
  .menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .lang-btn { margin: 10px 0 0; align-self: flex-start; }
}

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding: 60px 0 70px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .card { padding: 24px; }
  .hero .btn-row .btn { width: 100%; }
}
