/* =========================
   RESET GENERAL
========================= */
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f4f6f8;
  color: #333;
}

/* =========================
   CONTENEDOR GENERAL
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.header {
  background-color: #0b1f33;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 48px;
}

.brand-name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: #c9a14a;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 120px 20px;
  text-align: center;
  color: white;
  background-image: url("images/hero.png");
  background-size: cover;
  background-position: center 27%;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   BOTÓN
========================= */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 34px;
  background: linear-gradient(135deg, #c9a227, #e6c45a);
  color: #0a2540;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,162,39,0.45);
}

/* =========================
   SERVICIOS
========================= */
.services {
  padding: 60px 20px;
  background-color: #f0f2f5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #0a2540;
}
/* =========================
   SECCIÓN SERVICIOS
========================= */
.services {
  padding: 90px 20px;
  background-color: #f8f9fb;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 50px;
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Tarjetas */
.service-card {
  background: #ffffff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card span {
  font-size: 42px;
  display: block;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  color: #0a2540;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Hover elegante */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* =========================
   TESTIMONIOS
========================= */
.testimonials {
  padding: 60px 20px;
  background-color: #f0f2f5;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #0a2540;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.testimonial-card .stars {
  font-size: 20px;
  color: #f5b301;
}
/* =========================
   MISIÓN & VISIÓN
========================= */

.mission-vision {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.mission-vision h2 {
  font-size: 34px;
  color: #0a2540;
  margin-bottom: 15px;
}

.mission-vision .intro {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mv-card {
  background-color: #f8f9fb;
  padding: 35px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.mv-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a2540;
}

.mv-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

/* =========================
   CASOS EXITOSOS
========================= */
.cases {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}

.case {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 320px; /* ✅ TAMAÑO CONTROLADO */
}

.case img {
  width: 100%;
  height: 220px; /* ✅ ALTURA FIJA */
  object-fit: cover;
  border-radius: 8px;
}

/* =========================
   ABOUT / MISIÓN
========================= */
.about {
  padding: 70px 20px;
  background-color: #f4f6f8;
}

.about h2 {
  color: #0a2540;
  margin-top: 30px;
}

.about p, .about ul {
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
}

/* =========================
   UBICACIÓN
========================= */
.location {
  padding: 60px 20px;
  background-color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.location iframe {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  border: none;
}

/* =========================
   CTA
========================= */
.cta {
  padding: 60px 20px;
  background-color: #0a2540;
  color: white;
  text-align: center;
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  padding: 14px 16px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MISIÓN Y VISIÓN
========================= */
.mission-vision {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.mv-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.mv-card h3 {
  color: #0a2540;
  margin-bottom: 10px;
}
/* =========================
   MISION Y VISION
========================= */
.mission-vision {
  padding: 70px 20px;
  background-color: #ffffff;
}

.mission-vision h2 {
  text-align: center;
  font-size: 32px;
  color: #0a2540;
  margin-bottom: 40px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.mv-box {
  background: #f4f6f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mv-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a2540;
}

.mv-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
/* =========================
   HISTORIA + VALORES
========================= */
.firm {
  padding: 70px 20px;
  background-color: #f4f6f8;
}

.firm-history {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.firm-history h2 {
  font-size: 32px;
  color: #0a2540;
  margin-bottom: 20px;
}

.firm-history p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

.firm-values h2 {
  text-align: center;
  font-size: 32px;
  color: #0a2540;
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.value-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card span {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
}

.value-card h3 {
  color: #0a2540;
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
/* =========================
   BARRA DE CONFIANZA
========================= */
.trust-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  text-align: center;
}

.trust-item {
  font-weight: 500;
  color: #0a2540;
  font-size: 15px;
}
/* =========================
   PROCESO DE CONSULTA
========================= */
.process {
  padding: 60px 20px;
  background-color: #f8fafc;
  text-align: center;
}

.process h2 {
  color: #0a2540;
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.process-step {
  background: white;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.process-step span {
  font-size: 26px;
}

.process-step h3 {
  margin: 15px 0 10px;
  color: #0a2540;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
}
/* =========================
   CTA INTERMEDIO
========================= */
.cta-mini {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0a2540, #0b1f33);
  color: white;
  text-align: center;
}

.cta-mini h2 {
  margin-bottom: 10px;
}

.cta-mini p {
  margin-bottom: 20px;
  opacity: 0.9;
}
/* =========================
   ENFOQUE LEGAL
========================= */
.legal-approach {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
}

.legal-approach h2 {
  color: #0a2540;
  margin-bottom: 20px;
}

.legal-approach p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 16px;
}
.why-us {
  padding: 70px 20px;
  background: #ffffff;
}

.why-us h2 {
  text-align: center;
  font-size: 32px;
  color: #0a2540;
  margin-bottom: 30px;
}

.why-grid {
  max-width: 700px;
  margin: auto;
}

.why-item {
  background: #f7f9fc;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-left: 4px solid #0a2540;
  border-radius: 6px;
  font-size: 15px;
}
.cta-final {
  padding: 70px 20px;
  background: #0a2540;
  color: white;
  text-align: center;
}

.cta-final h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.cta-final p {
  font-size: 16px;
  margin-bottom: 25px;
}

.cta-btn {
  background: #25d366;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}
/* =========================
   SECCIÓN CONFIANZA
========================= */
.trust {
  padding: 80px 20px;
  background-color: #ffffff;
}

.trust .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust h2 {
  font-size: 34px;
  color: #0a2540;
  margin-bottom: 20px;
  font-weight: 700;
}

.trust p {
  font-size: 18px;
  line-height: 1.7;
  color: #4a4a4a;
  max-width: 800px;
  margin: 0 auto;
}
/* =========================
   FORMULARIO DE CONTACTO
========================= */
.contact-form {
  padding: 70px 20px;
  background-color: #f4f6f8;
  text-align: center;
}

.contact-form h2 {
  color: #0a2540;
  margin-bottom: 10px;
}

.contact-form p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16px;
}

.contact-form form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
}

.contact-form .or {
  margin: 25px 0;
  font-weight: 600;
  color: #888;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}


