/* ==========================================================================
   Protecta Lawyers — estilos base
   Paleta: azul marino #023A5B · dorado #C18E4C (logotipo)
   ========================================================================== */

:root {
  --azul: #023a5b;
  --azul-suave: #0b4a70;
  --azul-linea: #135680;
  --dorado: #c18e4c;
  --dorado-suave: #d9b47f;
  --crema: #f7f4ee;
  --blanco: #ffffff;
  --texto: #211f1a;
  --texto-suave: #5b5a54;
  --borde: #e6e1d6;

  --font-heading: 'Space Grotesk', Arial, sans-serif;
  --font-body: 'Manrope', Arial, sans-serif;

  --container: 1320px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--azul);
  line-height: 1.2;
  margin: 0 0 18px;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 16px; color: var(--texto-suave); text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--dorado);
  font-weight: 500;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 12px;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 2px;
  background: var(--dorado);
}
.eyebrow--dark { color: var(--dorado); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.btn-gold {
  background: var(--dorado);
  color: var(--azul);
}
.btn-gold:hover { background: var(--dorado-suave); transform: translateY(-2px); }
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn-gold:disabled:hover { background: var(--dorado); transform: none; }

.btn-outline {
  background: transparent;
  border-color: var(--dorado);
  color: var(--azul);
}
.btn-outline:hover { background: var(--dorado); color: var(--azul); }
.btn-outline--sm { padding: 10px 22px; font-size: 0.75rem; margin-top: 10px; }

.btn-portal {
  background: transparent;
  border-color: rgba(193,142,76,0.6);
  color: var(--azul);
  padding: 11px 22px;
  font-size: 0.72rem;
}
.btn-portal:hover { background: var(--azul); color: var(--blanco); border-color: var(--azul); }
.btn-portal i { font-size: 0.8rem; }

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13,44,36,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo { height: 44px; width: auto; max-width: none; margin-left: -8px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--azul);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--dorado);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.btn-portal--mobile { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.lang-link { color: var(--texto-suave); }
.lang-link.is-active { color: var(--azul); font-weight: 600; }
.lang-link:hover { color: var(--dorado); }
.lang-sep { color: var(--borde); }
.lang-switch--mobile { display: none; margin-top: 18px; }
.lang-switch--mobile .lang-link { color: rgba(255,255,255,0.7); }
.lang-switch--mobile .lang-link.is-active { color: var(--blanco); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { width: 26px; }
.nav-toggle span:nth-child(2) { width: 20px; margin-left: auto; }
.nav-toggle span:nth-child(3) { width: 26px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--azul);
  color: var(--blanco);
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: none;
  opacity: 0.16;
  filter: grayscale(1) brightness(3);
}
.hero-inner { position: relative; }
.hero h1 { max-width: 830px; }
.hero-subtitle { max-width: 780px; }

.hero .eyebrow { color: var(--dorado-suave); }
.hero h1 { color: var(--blanco); }
.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--dorado-suave);
  margin-bottom: 22px;
}
.hero-text { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 720px; }

/* ---------- ¿Por qué elegirnos? ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: stretch;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--borde);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list i { color: var(--dorado); font-size: 1.3rem; margin-top: 3px; width: 28px; text-align: center; flex: none; }
.why-list strong { display: block; color: var(--azul); font-size: 0.98rem; margin-bottom: 4px; }
.why-list span { color: var(--texto-suave); font-size: 0.9rem; line-height: 1.55; }

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section { position: relative; padding: 100px 0; overflow: hidden; }
.section--dark { background: var(--azul); color: var(--blanco); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--cream { background: var(--crema); }

.position-relative { position: relative; }

.section-head { max-width: 760px; margin: 0 0 56px; text-align: left; }
.section-head--tight { margin-bottom: 32px; }
.section-head--light h2 { color: var(--blanco); }
.section-head p:last-child { margin-bottom: 0; }

.section-cta { margin-top: 48px; }

/* ---------- Marca de agua difuminada del logotipo ---------- */
.bg-mark {
  position: absolute;
  top: 50%;
  width: 620px;
  max-width: 60vw;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
  filter: blur(18px);
  opacity: 0.16;
}
.bg-mark img { width: 100%; }
.bg-mark--right { right: -140px; }
.bg-mark--left { left: -140px; }
.bg-mark--cream { opacity: 0.18; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Bloques de fotografía (marcador de posición) ---------- */
.photo-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(155deg, var(--azul), var(--azul-suave));
  border: 1px solid rgba(193,142,76,0.35);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.65);
  padding: 40px;
}
.photo-frame i { font-size: 2rem; color: var(--dorado); margin-bottom: 6px; }
.photo-frame span { font-family: var(--font-heading); font-size: 1.1rem; color: var(--blanco); }
.photo-frame small { font-size: 0.75rem; letter-spacing: 0.4px; color: rgba(255,255,255,0.55); }
.photo-frame--portrait { min-height: 340px; }
.photo-frame--wide { min-height: 220px; }
.photo-frame--circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 20px;
  margin: 0 auto;
  justify-self: center;
}
.photo-frame--circle span { font-size: 0.95rem; }
.photo-frame.photo-frame--img {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--azul);
  box-shadow: 0 20px 45px rgba(2,58,91,0.16);
}
.photo-frame--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame--wide.photo-frame--img { aspect-ratio: 2 / 1; min-height: 0; }
.section--dark .photo-frame {
  background: linear-gradient(155deg, var(--azul-suave), var(--azul-linea));
  border-color: rgba(193,142,76,0.45);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 56px;
}

.services-head-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.services-head-grid .section-head { margin-bottom: 0; }

.enfoque-head-grid {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

/* ---------- Declaración institucional (statement) ---------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(160deg, var(--azul), #051726);
  text-align: center;
}
.statement-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.statement-bg img {
  width: 900px;
  max-width: none;
  filter: blur(2px) grayscale(1) brightness(6);
  opacity: 0.16;
}
.statement-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
.statement .eyebrow { color: var(--dorado-suave); }
.statement-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--blanco);
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  line-height: 1.35;
  margin-bottom: 20px;
  white-space: nowrap;
}
.statement-sub { color: rgba(255,255,255,0.7); max-width: 660px; margin: 0 auto; }

@media (max-width: 700px) {
  .statement-quote { white-space: normal; }
}

/* ---------- Quienes somos ---------- */
.legal-quote {
  display: flex;
  gap: 30px;
  align-items: center;
  background: var(--crema);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 56px;
}
.legal-quote-icon {
  flex: none;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--dorado);
  border: 3px solid var(--dorado);
}
.legal-quote-text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--azul);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

.philosophy {
  border-left: 3px solid var(--dorado);
  padding-left: 28px;
  margin-bottom: 56px;
}

.audience-intro { margin-bottom: 24px; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13,44,36,0.08); }
.audience-card i { color: var(--dorado); font-size: 1.6rem; margin-bottom: 16px; }
.audience-card h4 { margin-bottom: 10px; }
@media (min-width: 992px) { .audience-card h4 { min-height: 2.4em; } }
.audience-card p { margin: 0; font-size: 0.9rem; }

.subsection-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dorado);
  margin: 0 0 24px;
}
.section--dark .subsection-label { color: var(--dorado-suave); }

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 34px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover { border-color: var(--dorado); transform: translateY(-4px); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(193,142,76,0.12);
  color: var(--dorado);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.service-card h3 { color: var(--blanco); font-size: 1.2rem; }
.service-card p { margin: 0; font-size: 0.9rem; }

/* ---------- Enfoque ---------- */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.approach-step {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--blanco);
}
.approach-step--portal {
  background: var(--azul);
  border-color: var(--azul);
}
.approach-step--portal h3,
.approach-step--portal .approach-number { color: var(--blanco); }
.approach-step--portal p { color: rgba(255,255,255,0.75); }
.approach-step--portal .btn-outline { color: var(--dorado-suave); border-color: var(--dorado); }
.approach-step--portal .btn-outline:hover { background: var(--dorado); color: var(--azul); }
.approach-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--dorado);
  margin-bottom: 12px;
}
.approach-step h3 { margin-bottom: 12px; }
.approach-step p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 28px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--texto); }
.contact-details i { color: var(--dorado); width: 18px; text-align: center; }
.contact-placeholder-note {
  font-size: 0.78rem;
  color: var(--texto-suave);
  opacity: 0.8;
  font-style: italic;
}
.contact-placeholder-note i { color: var(--dorado); margin-right: 4px; }

.contact-form {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(13,44,36,0.06);
}
.form-row { margin-bottom: 20px; }
.form-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-row--half .form-row { margin-bottom: 0; }
label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--azul);
  margin-bottom: 8px;
  font-weight: 500;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--borde);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--texto);
  background: var(--crema);
  transition: border-color 0.2s ease, background 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--dorado);
  background: var(--blanco);
}
textarea { resize: vertical; }

/* Casilla de autorización: anula el estilo global de input/label (ancho completo, mayúsculas) */
.form-consent { display: flex; align-items: flex-start; gap: 12px; }
.form-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--azul);
  cursor: pointer;
}
.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}
.form-consent label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  color: var(--texto-suave);
  cursor: pointer;
}
.form-consent.is-invalid label { color: #a33; }

.form-feedback {
  margin: 14px 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--azul);
  text-align: center;
}
.form-feedback.is-error { color: #a33; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--azul); color: rgba(255,255,255,0.8); }

.footer-inner {
  padding: 64px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 40px 56px;
}
.footer-brand { justify-self: start; }
.footer-logo { height: 40px; width: auto; margin: 0 0 16px -8px; }
.footer-brand p { max-width: 320px; font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 0; }

.footer-center { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  min-height: 40px;
}
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.78); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--dorado); }
.footer-hook {
  position: relative;
  margin: 0;
  padding-top: 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(0.92rem, 1.3vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--dorado);
  white-space: nowrap;
}
.footer-hook::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 2px;
  background: var(--dorado);
}

.footer-contact {
  justify-self: end;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.78); }
.footer-contact i { color: var(--dorado); width: 16px; text-align: center; flex: none; }
.footer-contact span { overflow-wrap: anywhere; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-bottom p { margin: 0; color: inherit; }

@media (max-width: 1199px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-center { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); padding: 52px 24px 40px; gap: 34px; }
  .footer-center { grid-column: auto; grid-row: auto; }
  .footer-contact { justify-self: start; padding-top: 0; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .footer-hook { white-space: normal; text-wrap: balance; }
}

/* ==========================================================================
   Menú de contacto flotante (speed dial)
   ========================================================================== */
.contact-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(2,20,35,0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.7);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.fab-item:hover { transform: translateY(0) scale(1.08); }
.contact-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.contact-fab.is-open .fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.contact-fab.is-open .fab-item:nth-child(1) { transition-delay: 0.02s; }
.contact-fab.is-open .fab-item:nth-child(2) { transition-delay: 0.07s; }
.contact-fab.is-open .fab-item:nth-child(3) { transition-delay: 0.12s; }
.contact-fab.is-open .fab-item:nth-child(4) { transition-delay: 0.17s; }

.fab-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--dorado);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  animation: fab-pulse 2.6s infinite;
}
.fab-toggle:hover { transform: scale(1.06); }
.fab-toggle i { transition: transform 0.3s ease; }
.contact-fab.is-open .fab-toggle i { transform: rotate(45deg); }
.contact-fab.is-open .fab-toggle { animation: none; }

.terminos { grid-template-columns: 1fr; }


@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(2,58,91,0.4), 0 10px 30px rgba(0,0,0,0.28); }
  70% { box-shadow: 0 0 0 14px rgba(2,58,91,0), 0 10px 30px rgba(0,0,0,0.28); }
  100% { box-shadow: 0 0 0 0 rgba(2,58,91,0), 0 10px 30px rgba(0,0,0,0.28); }
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .hero-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .legal-quote { flex-direction: column; text-align: center; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-head-grid { grid-template-columns: 1fr; gap: 28px; }
  .enfoque-head-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-frame--circle { width: 200px; height: 200px; }
  .photo-frame--portrait { min-height: 220px; }
  .photo-frame--portrait.photo-frame--img { min-height: 0; aspect-ratio: 16 / 10; }
  .photo-frame--wide { min-height: 180px; }
  .statement-bg img { width: 640px; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--azul);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 900;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .nav-link { color: var(--blanco); font-size: 1rem; }
  .btn-portal--mobile { display: inline-flex; margin-top: 34px; border-color: var(--dorado); color: var(--blanco); }
  .nav-toggle { display: flex; }
  .header-actions .btn-portal { display: none; }
  .header-actions .lang-switch { display: none; }
  .lang-switch--mobile { display: flex; }
}

@media (max-width: 640px) {
  .brand-logo { height: 36px; margin-left: -7px; }
  .services-grid { grid-template-columns: 1fr; }
  .photo-frame--portrait.photo-frame--img { aspect-ratio: 4 / 3; }
  .hero-subtitle { font-size: 1.1rem; }
  .service-card { padding: 26px 22px; }
  .approach-step { padding: 28px 24px; }
  .audience-card { padding: 26px 22px; }
  .section-head { margin-bottom: 40px; }
  .section { padding: 72px 0; }
  .hero { padding: 76px 0 64px; }
  .legal-quote { padding: 26px; }
  .contact-form { padding: 26px; }
  .form-row--half { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.7rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn { padding: 14px 22px; letter-spacing: 1px; }
}
