/* ============================================
   LA ROSA & ABOGADOS - ESTILOS PRINCIPALES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --navy: #051c2c;
  --navy-mid: #0d2a40;
  --blue: #0f3f6e;
  --blue-light: #1a5a96;
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-mid: #e8ecf0;
  --gray-text: #6c7a8d;
  --text-dark: #1a2535;
  --font-body: 'Roboto', sans-serif;
  --font-head: 'Playfair Display', serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 6px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

/* ============ HEADER ============ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(5,28,44,0.97);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  gap: 20px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
}
.nav-link:hover { color: var(--gold); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--gold); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after {
  content: '▾';
  margin-left: 4px;
  font-size: 11px;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  overflow: hidden;
  z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gray-light); color: var(--blue); padding-left: 26px; }

.btn-cta-header {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-cta-header:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1a6fa8 100%);
  overflow: hidden;
  padding-top: 75px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1593115057322-e94b77572f20?w=1920&q=80') center/cover no-repeat;
  /* ↑ REEMPLAZAR con tu foto profesional */
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,28,44,0.95) 50%, rgba(5,28,44,0.6));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--gold);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}
.trust-item i { font-size: 20px; }

/* ============ SECTION TITLES ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--navy); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.8;
}
.section-dark .section-sub { color: rgba(255,255,255,0.7); }
.title-center { text-align: center; }
.title-center .section-sub { margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.title-center .divider { margin: 16px auto 28px; }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--gold);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon i { font-size: 26px; color: var(--gold); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--gray-text); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-link:hover { color: var(--gold); gap: 10px; }

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img-wrap {
  position: relative;
  perspective: 800px;
}
.why-img-wrap img.parallax-photo {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.why-img-wrap:hover img.parallax-photo {
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.why-img-wrap img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}
.why-badge .badge-num { font-size: 28px; line-height: 1; }
.why-badge .badge-text { font-size: 12px; line-height: 1.3; margin-top: 4px; }

.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-item:hover { transform: translateX(6px); }
.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon i { color: var(--gold); font-size: 20px; }
.why-item h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--gray-text); }

/* ============ CTA BAND ============ */
.cta-band {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0, rgba(255,255,255,0.022) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.022) 0, rgba(255,255,255,0.022) 1px, transparent 0, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  background-size: 26px 26px, 26px 26px, 100% 100%;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  box-shadow: 0 0 0 60px rgba(201,168,76,0.035), 0 0 0 120px rgba(201,168,76,0.018);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 36px; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text { font-size: 15px; color: var(--gray-text); line-height: 1.8; margin-bottom: 24px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}
.author-name { font-weight: 600; color: var(--navy); font-size: 15px; }
.author-detail { font-size: 13px; color: var(--gray-text); }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }

/* ============ BLOG PREVIEW ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-img i { font-size: 48px; color: rgba(255,255,255,0.25); }
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-body { padding: 24px; }
.blog-date { font-size: 12px; color: var(--gray-text); margin-bottom: 10px; }
.blog-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-body p { font-size: 14px; color: var(--gray-text); margin-bottom: 18px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-read-more:hover { color: var(--gold); }

/* ============ FOOTER ============ */
footer {
  background-color: #020e18;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-main { font-size: 22px; color: var(--gold); margin-bottom: 6px; }
.footer-brand .logo-sub { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-desc { margin-top: 16px; font-size: 14px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; }
.footer-contact-item i { color: var(--gold); margin-top: 3px; min-width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.wa-bubble:hover { transform: scale(1.1); background: #20bc5c; color: white; }
.wa-tooltip {
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ============ PAGE HERO (internas) ============ */
.page-hero {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(-55deg, transparent 0px, transparent 60px, rgba(255,255,255,0.018) 60px, rgba(255,255,255,0.018) 61px),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  background-size: auto, 100% 100%;
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 580px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ============ SERVICE DETAIL ============ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.content-body h2 {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--navy);
  margin: 36px 0 14px;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p { color: var(--gray-text); line-height: 1.85; margin-bottom: 16px; }
.content-body ul {
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-body ul li {
  display: flex;
  gap: 10px;
  color: var(--gray-text);
  font-size: 15px;
  align-items: flex-start;
}
.content-body ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.sidebar-card.gold-bg { background: var(--gold); color: var(--navy); }
.sidebar-card.gold-bg h3 { color: var(--navy); }
.sidebar-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-mid);
}
.sidebar-card.gold-bg h3 { border-color: rgba(5,28,44,0.2); }
.sidebar-services { display: flex; flex-direction: column; gap: 6px; }
.sidebar-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition);
  border: 1px solid var(--gray-mid);
}
.sidebar-services a:hover, .sidebar-services a.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.sidebar-services a i { font-size: 15px; color: var(--gold); }
.sidebar-services a:hover i, .sidebar-services a.active i { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,63,110,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-question i { transition: var(--transition); color: var(--gold); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.8;
}
.faq-item.open .faq-question { background: var(--navy); color: var(--white); }
.faq-item.open .faq-question i { color: var(--gold); transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* ============ BLOG PAGE ============ */
.blog-header-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
}
.blog-main { }
.blog-full-grid { display: flex; flex-direction: column; gap: 32px; }
.blog-full-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
}
.blog-full-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-full-img {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-full-img i { font-size: 48px; color: rgba(255,255,255,0.2); }
.blog-full-body { padding: 28px; }
.blog-full-body h2 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--navy);
  margin: 8px 0 12px;
}
.blog-full-body p { font-size: 15px; color: var(--gray-text); line-height: 1.75; margin-bottom: 16px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray-text); flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* Nosotros */
.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 56px;
}
.bio-photo {
  position: relative;
}
.bio-photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.bio-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}
.bio-photo-placeholder i { font-size: 80px; margin-bottom: 16px; }
.bio-photo-placeholder span { font-size: 14px; }
.bio-photo-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.bio-photo-badge .badge-num { font-size: 28px; font-weight: 700; line-height: 1; }
.bio-photo-badge .badge-text { font-size: 12px; font-weight: 500; }

.bio-content h2 {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 6px;
}
.bio-content .bio-title {
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
}
.bio-content p { color: var(--gray-text); line-height: 1.85; margin-bottom: 16px; }
.bio-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.bio-value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--gray-light);
  border-radius: 6px;
}
.bio-value-item i { color: var(--gold); font-size: 18px; margin-top: 2px; }
.bio-value-item span { font-size: 14px; color: var(--text-dark); font-weight: 500; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-top: 56px;
}
.contact-info-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 40px;
  color: var(--white);
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-info-card .sub { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 15px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-icon i { color: var(--gold); font-size: 18px; }
.contact-item-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; font-weight: 500; }
.contact-item-value a { color: var(--white); }
.contact-item-value a:hover { color: var(--gold); }

.form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-card .sub { color: var(--gray-text); margin-bottom: 28px; font-size: 15px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Privacy notice */
.privacy-note { font-size: 12px; color: var(--gray-text); text-align: center; margin-top: 8px; }
.privacy-note a { color: var(--blue); }

/* ============ MAP PLACEHOLDER ============ */
.map-placeholder {
  background: var(--gray-mid);
  border-radius: 10px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--gray-text);
  margin-top: 56px;
}
.map-placeholder i { font-size: 40px; color: var(--blue); }

/* ============ MOBILE NAV ============ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 75px;
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
  padding: 20px;
  max-height: calc(100vh - 75px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 24px; }
.mobile-nav .mobile-sub { padding-left: 28px; font-size: 14px; }
.mobile-nav .mobile-cta {
  margin-top: 16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  padding: 14px;
  border-bottom: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img-wrap { display: none; }
}

@media (max-width: 900px) {
  nav, .btn-cta-header { display: none; }
  .hamburger { display: flex; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-header-grid { grid-template-columns: 1fr; }
  .blog-full-card { grid-template-columns: 1fr; }
  .blog-full-img { height: 160px; }
  .form-two-col { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; }
  .cta-band-btns { flex-direction: column; align-items: center; }
  .trust-bar-inner { gap: 24px; }
  .bio-values { grid-template-columns: 1fr; }
}

/* ============ LEAD FORM + TRENDING TOPICS ============ */
.lead-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lead-form-col {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 40px,
    rgba(255,255,255,0.018) 40px,
    rgba(255,255,255,0.018) 41px
  );
  padding: 70px 56px;
  position: relative;
  overflow: hidden;
}
.lead-form-col::before {
  content: '⚖';
  font-size: 260px;
  color: rgba(255,255,255,0.025);
  position: absolute;
  bottom: -40px;
  left: -20px;
  line-height: 1;
}
.lead-form-col h2 {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--white);
  margin-bottom: 8px;
}
.lead-form-col .lead-sub {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.lead-notice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lead-form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.lead-form .form-group label { color: rgba(255,255,255,0.75); }
.lead-form .form-group input,
.lead-form .form-group select,
.lead-form .form-group textarea {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.lead-form .form-group input::placeholder,
.lead-form .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.lead-form .form-group input:focus,
.lead-form .form-group select:focus,
.lead-form .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.1);
}
.lead-form .form-group select option { background: var(--navy); color: var(--white); }
.lead-privacy { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 4px; }
.lead-privacy a { color: rgba(201,168,76,0.7); }

.trending-col {
  background: var(--gray-light);
  padding: 70px 56px;
}
.trending-col h2 {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
}
.trending-col .trend-sub {
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 36px;
}
.trending-list { display: flex; flex-direction: column; }
.trending-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-mid);
  text-decoration: none;
  transition: var(--transition);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { transform: translateX(5px); }
.trending-item:hover .trend-title { color: var(--blue); }
.trend-tag {
  display: inline-flex;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-bottom: 6px;
}
.trend-title {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: var(--transition);
}
.trend-date { font-size: 12px; color: var(--gray-text); }
.trend-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trend-icon i { color: var(--gold); font-size: 18px; }

@media (max-width: 900px) {
  .lead-section { grid-template-columns: 1fr; }
  .lead-form-col, .trending-col { padding: 50px 28px; }
}

/* ============ FEATURED SERVICES BAND ============ */
.featured-band {
  background-color: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative;
  z-index: 1;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.featured-item {
  padding: 44px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.featured-item:last-child { border-right: none; }
.featured-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.featured-item:hover::before { transform: scaleX(1); }
.featured-item:hover { background: rgba(255,255,255,0.03); }
.featured-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.featured-item h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.featured-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 22px;
}
.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: var(--transition);
}
.featured-link:hover { gap: 14px; color: var(--gold-light); }
.featured-icon-bg {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 100px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .featured-item:last-child { border-bottom: none; }
}

/* ============ PRESTIGE LOGOS ============ */
.prestige-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.prestige-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 36px;
}
.prestige-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.prestige-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  min-width: 150px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
}
.prestige-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.15);
  transform: translateY(-3px);
}
.prestige-badge .pb-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prestige-badge .pb-icon i { color: var(--gold); font-size: 22px; }
.prestige-badge .pb-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.prestige-badge .pb-sub {
  font-size: 10px;
  color: var(--gray-text);
  line-height: 1.3;
}
@media (max-width: 600px) {
  .prestige-grid { gap: 10px; }
  .prestige-badge { min-width: 130px; padding: 16px 14px; }
}

/* ============ CONTENT IMAGES ============ */
.content-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin: 28px 0 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  display: block;
}
.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.blog-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ TRAMADOS / PATTERNS ============ */

/* Hero: stripes diagonales sutiles encima del overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 60px,
    rgba(255,255,255,0.025) 60px,
    rgba(255,255,255,0.025) 61px
  );
  pointer-events: none;
  z-index: 0;
}

/* Featured band: globo/círculo dorado en última columna (efecto red JURIS) */
.featured-item:last-child::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  box-shadow:
    0 0 0 28px rgba(201,168,76,0.05),
    0 0 0 56px rgba(201,168,76,0.025),
    0 0 0 84px rgba(201,168,76,0.01);
  pointer-events: none;
  z-index: 0;
}

/* Section alt (servicios, blog, etc): diagonal sutil en fondos grises */
.section-alt {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 60px,
    rgba(0,0,0,0.012) 60px,
    rgba(0,0,0,0.012) 61px
  );
}

/* Trust bar: diagonal oscura sutil */
.trust-bar {
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 20px,
    rgba(5,28,44,0.07) 20px,
    rgba(5,28,44,0.07) 21px
  );
}

/* Prestige section: dots azules muy sutiles */
.prestige-section {
  background-image: radial-gradient(circle, rgba(15,63,110,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Section dark (testimonios, etc): dot grid */
.section-dark {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
