/* ==========================================================================
   Abogados Asociados — Hoja de estilos principal
   Paleta: Azul marino profundo, blanco cálido y acentos dorado/ámbar
   ========================================================================== */

:root {
  --navy-950: #0a1529;
  --navy-900: #10213e;
  --navy-800: #183059;
  --navy-700: #254375;

  --gold-600: #a87e2c;
  --gold-500: #c59b45;
  --gold-400: #dab666;
  --gold-100: #f6eedc;

  --cream-50: #faf8f5;
  --cream-100: #f3efe8;
  --white: #ffffff;

  --slate-900: #161e2e;
  --slate-700: #3d485c;
  --slate-500: #667085;
  --border-soft: #e2ddd3;

  --success-bg: #ecf7f0;
  --success-text: #14532d;
  --error-text: #b42318;
  --whatsapp: #1fa855;
  --whatsapp-dark: #168542;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 4px 14px rgba(16, 33, 62, 0.06);
  --shadow-md: 0 14px 36px rgba(16, 33, 62, 0.1);
  --shadow-lg: 0 24px 56px rgba(10, 21, 41, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --container-max: 1160px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: min(100% - 2.25rem, var(--container-max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 221, 211, 0.75);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 155, 69, 0.55);
  box-shadow: 0 4px 12px rgba(10, 21, 41, 0.14);
  background: var(--navy-950);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--navy-900);
}

.nav-list a.nav-cta {
  background: var(--navy-900);
  color: var(--white);
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-list a.nav-cta:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.88rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(16, 33, 62, 0.2);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(10, 21, 41, 0.35);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 10px 26px rgba(197, 155, 69, 0.28);
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero (Portada principal con retrato de la Dra. Gloria Esperanza Mican Romero)
   ========================================================================== */

.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(197, 155, 69, 0.18), transparent 44%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: var(--white);
  padding: 4.5rem 0 4.75rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(5, 11, 24, 0.88);
  border: 1px solid rgba(218, 182, 102, 0.55);
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  line-height: 1.08;
  margin-bottom: 1.15rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.07rem;
  max-width: 58ch;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-metrics strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-400);
  line-height: 1.1;
}

.hero-metrics span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.hero-portrait-card {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(218, 182, 102, 0.55);
}

.hero-portrait-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-800);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait-caption {
  padding: 1.25rem 1.5rem 1.4rem;
  border-top: 3px solid var(--gold-500);
}

.portrait-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.25rem;
}

.hero-portrait-caption h2 {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.hero-portrait-caption p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-700);
}

/* ==========================================================================
   Perfil Profesional, Biografía y Pilares
   ========================================================================== */

.firma-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.profile-bio-main {
  max-width: 860px;
}

.profile-bio-main h2 {
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
}

.profile-lead {
  color: var(--navy-900);
  font-size: 1.06rem;
  font-weight: 500;
  margin-bottom: 0.95rem;
}

.profile-text {
  color: var(--slate-700);
  font-size: 0.97rem;
  margin-bottom: 0.9rem;
}

.credential-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.credential-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--gold-100);
  border: 1px solid rgba(197, 155, 69, 0.45);
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
}

.consulta-section {
  background: var(--cream-50);
  border-bottom: 1px solid var(--border-soft);
  padding: 3.6rem 0;
}

.pillars-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  padding: 3.8rem 0;
}

.profile-bio-side {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.consulta-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-soft);
}

.profile-bio-side h2,
.profile-bio-side h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0;
}

.check-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-900);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-600);
  font-weight: 700;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--cream-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--slate-700);
  margin: 0;
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */

.section {
  padding: 4.8rem 0;
}

.section-alt {
  background: var(--cream-100);
}

.section-navy {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.45rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
}

.section-header p {
  color: var(--slate-700);
  font-size: 1.02rem;
  margin: 0;
}

.section-header-light .section-kicker {
  color: var(--gold-400);
}

.section-header-light h2 {
  color: var(--white);
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Practice Areas
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.practice-card-featured {
  border-top: 3px solid var(--gold-500);
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 0.6rem;
}

.practice-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.practice-card p {
  font-size: 0.94rem;
  color: var(--slate-700);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.practice-list {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.practice-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.91rem;
  line-height: 1.45;
  color: var(--slate-700);
}

.practice-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 700;
}

.card-link {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   Single Lawyer Spotlight (Gloria Esperanza Mican Romero)
   ========================================================================== */

.lawyer-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 410px) 1fr;
  gap: 2.75rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.lawyer-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(218, 182, 102, 0.55);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: var(--navy-800);
}

.lawyer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lawyer-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.lawyer-bio h3 {
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin-bottom: 0.9rem;
}

.lawyer-bio-text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.15rem;
}

.bio-placeholder-note {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 69, 0.12);
  border-left: 3px solid var(--gold-400);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  margin-bottom: 1.35rem;
}

.bio-placeholder-note strong {
  color: var(--gold-400);
}

.lawyer-highlights {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.lawyer-highlights li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.lawyer-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-400);
  font-weight: 700;
}

.lawyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.step-badge {
  display: inline-block;
  background: var(--navy-900);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--slate-700);
  margin: 0;
}

/* ==========================================================================
   Cases & Testimonials
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.trajectory-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
}

.trajectory-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-950);
  background: var(--gold-400);
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}

.trajectory-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.trajectory-card p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

/* ==========================================================================
   Contact & Form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.75rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.contact-info > p {
  color: var(--slate-700);
  margin-bottom: 1.75rem;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin: 0 0 1.75rem;
}

.contact-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-600);
  margin-bottom: 0.15rem;
}

.contact-details dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-details dd.contact-alt {
  margin-top: 0.25rem;
}

.contact-details a {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 3px;
}

.urgency-box {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
}

.urgency-box strong {
  display: block;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.urgency-box p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-md);
}

.case-form h3 {
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.38rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--cream-50);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--error-text);
}

.field-error {
  font-size: 0.8rem;
  color: var(--error-text);
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--navy-900);
}

.checkbox-field label {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--slate-700);
  margin: 0;
}

.form-actions {
  margin-top: 0.75rem;
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #b7e4c7;
}

.feedback-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.form-feedback p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.feedback-summary {
  margin: 0 0 0.9rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid #ccebd7;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate-900);
  white-space: pre-wrap;
  word-break: break-word;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feedback-actions .btn {
  flex: 1 1 180px;
}

/* ==========================================================================
   Footer & WhatsApp Floating Button
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(218, 182, 102, 0.45);
  background: var(--navy-950);
  flex-shrink: 0;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  display: block;
}

.footer-brand p {
  max-width: 58ch;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--gold-400);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.footer-legal p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--whatsapp);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 118, 57, 0.34);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid,
  .profile-bio-block,
  .contact-grid,
  .lawyer-spotlight {
    grid-template-columns: 1fr;
  }

  .hero-portrait-card {
    max-width: 420px;
  }

  .lawyer-photo-frame {
    max-width: 360px;
  }

  .cards-grid,
  .steps-grid,
  .cases-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .nav-list a {
    display: block;
    padding: 0.45rem 0;
  }

  .nav-list a.nav-cta {
    text-align: center;
  }

  .hero {
    padding: 3.25rem 0 3.75rem;
  }

  .hero-metrics,
  .check-list-grid,
  .cards-grid,
  .steps-grid,
  .cases-grid,
  .pillars-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .lawyer-spotlight {
    padding: 1.5rem;
    gap: 1.75rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.8rem;
  }
}
