/* =========================================================
   BC Pro Services - Estilo principal
   Colores de marca:
   --primary:   #F7A400 (naranja)
   --secondary: #191D88 (azul)
   --dark:      #0E104B (azul oscuro)
   --heading:   #14176C
   --body:      #3E4073
   ========================================================= */

:root {
  --primary: #F7A400;
  --primary-dark: #e09500;
  --secondary: #191D88;
  --dark: #0E104B;
  --heading: #14176C;
  --body: #3E4073;
  --light: #F6F6FF;
  --white: #ffffff;
  --border: #E6E6F2;
  --shadow: 0 10px 30px rgba(14, 16, 75, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 16, 75, 0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --font-head: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

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

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ---------- Utilidades ---------- */
.text-primary { color: var(--primary) !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.bg-light {
  background: var(--light);
}

.bg-dark {
  background: var(--dark);
}

.section-title {
  margin-bottom: 45px;
}

.section-title .sub-title {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title .title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.section-title p {
  max-width: 640px;
  margin: 0 auto;
}

.section-title.center {
  text-align: center;
}

.section-title.center p {
  margin: 0 auto;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(247, 164, 0, 0.35);
}

.btn.border-btn {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn.border-btn:hover {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(25, 29, 136, 0.3);
}

.btn.navy {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn.navy:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.btn.white {
  background: var(--white);
  border-color: var(--white);
  color: var(--secondary);
}

.btn.white:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #d9d9f0;
  font-size: 14px;
  padding: 10px 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.lang-switch a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.topbar li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar i {
  color: var(--primary);
}

.topbar a:hover {
  color: var(--primary);
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(14, 16, 75, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo img {
  height: 66px;
  width: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--primary);
}

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 90;
}

.main-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown .dropdown-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 15px;
  color: var(--body);
}

.main-nav .dropdown .dropdown-menu a:hover {
  color: var(--primary);
  background: var(--light);
}

.main-nav .dropdown > a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 13px;
}

.header-btn {
  margin-left: 16px;
}

.header-btn .btn {
  padding: 12px 26px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--heading);
  border-radius: 3px;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .mobile-head img {
  height: 54px;
}

.mobile-menu .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--heading);
  cursor: pointer;
}

.mobile-menu nav ul {
  padding: 16px 20px;
}

.mobile-menu nav > ul > li > a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  border-bottom: 1px solid var(--border);
}

.mobile-menu nav > ul > li > a:hover {
  color: var(--primary);
}

.mobile-menu .dropdown-menu {
  padding-left: 16px;
  display: none;
}

.mobile-menu .dropdown.open .dropdown-menu {
  display: block;
}

.mobile-menu .dropdown-menu a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--body);
  border-bottom: 1px dashed var(--border);
}

.mobile-menu .mobile-contact {
  padding: 16px 20px;
  font-size: 15px;
}

.mobile-menu .mobile-contact li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu .mobile-contact i {
  color: var(--primary);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 16, 75, 0.55);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #0E104B 0%, #14176C 55%, #191D88 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(247, 164, 0, 0.10);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.04);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero .sub-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.5vw, 54px);
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 18px;
  color: #d9d9f0;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .hero-img {
  position: relative;
  z-index: 2;
}

.hero .hero-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero .hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--primary);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow);
}

/* ---------- Features (3 cajas) ---------- */
.features {
  padding: 0 0 90px;
  margin-top: -2px;
  background: var(--white);
}

.features .container {
  margin-top: -45px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 3;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-card .icon {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #ffc14d);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-card p {
  margin-bottom: 0;
}

/* ---------- Stat headline ---------- */
.stat-headline {
  background: var(--light);
  padding: 80px 0 40px;
}

.stat-headline .title {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(24px, 3vw, 34px);
}

.stat-headline .title span {
  color: var(--primary);
}

/* ---------- Testimonios ---------- */
.testimonials {
  padding: 70px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card .author .name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
}

.testimonial-card .author .role {
  font-size: 13px;
}

/* ---------- Servicios (tabs) ---------- */
.services {
  padding: 90px 0;
}

.services .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 18px;
}

.tab-btn {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-tab-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.service-tab-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.service-tab-content h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.service-tab-content ul {
  margin-top: 16px;
}

.service-tab-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
}

.service-tab-content ul li i {
  color: var(--primary);
  margin-top: 5px;
}

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.gallery-grid img {
  border-radius: var(--radius);
  height: 300px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------- About ---------- */
.about {
  padding: 90px 0;
  background: var(--light);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about .about-img {
  position: relative;
}

.about .about-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about .exp-badge {
  position: absolute;
  bottom: -24px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about .exp-badge .num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about .exp-badge .lbl {
  font-size: 14px;
  margin-top: 6px;
}

.about .check-list {
  margin: 20px 0 28px;
}

.about .check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
}

.about .check-list li i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.satisfaction {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  max-width: 320px;
}

.satisfaction .num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
}

.satisfaction .lbl {
  font-weight: 600;
  color: var(--heading);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, #191D88 0%, #14176C 60%, #0E104B 100%);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 8px;
}

.cta .cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta .cta-phone .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.cta .cta-phone .lbl {
  font-size: 14px;
  color: #d9d9f0;
}

.cta .cta-phone .num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Servicios (grid 24) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
}

.service-card:hover .icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- Why us ---------- */
.why-us {
  padding: 90px 0;
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us .why-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.why-list li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-list .icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-list h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.why-list p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Contadores ---------- */
.counters {
  padding: 80px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-item {
  text-align: center;
}

.counter-item .num {
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.counter-item .lbl {
  margin-top: 10px;
  font-weight: 600;
  color: var(--heading);
}

/* ---------- Aliado (tabs content) ---------- */
.ally {
  padding: 90px 0;
  background: var(--light);
}

.ally-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.ally-panel {
  display: none;
}

.ally-panel.active {
  display: block;
}

.ally-panel p {
  max-width: 640px;
}

.ally-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
  margin-top: 20px;
}

.ally-panel ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ally-panel ul li i {
  color: var(--primary);
}

/* ---------- Breadcrumb ---------- */
.page-hero {
  background: linear-gradient(120deg, #0E104B, #14176C 60%, #191D88);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 45px solid rgba(255, 255, 255, 0.05);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
}

.page-hero .breadcrumb {
  margin-top: 12px;
  font-size: 15px;
  color: #c9c9ea;
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb a {
  color: var(--primary);
}

/* ---------- Contenido de página ---------- */
.article {
  padding: 80px 0;
}

.article .container {
  max-width: 900px;
}

.article h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 34px 0 16px;
  color: var(--heading);
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 22px;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.article p {
  margin-bottom: 16px;
}

.article ul.doc-list,
.article ol.doc-list {
  margin: 14px 0 22px;
  padding-left: 4px;
}

.article ul.doc-list li,
.article ol.doc-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px dashed var(--border);
}

.article ol.doc-list li {
  padding-left: 6px;
  margin-left: 20px;
}

.article ul.doc-list li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 9px;
}

.article ul.doc-list li ul,
.article ul.doc-list li ol {
  margin-top: 8px;
}

.article .note-box {
  background: #fff8e6;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.article .note-box p {
  margin: 0;
}

.article .warn-box {
  background: #fdf1f1;
  border-left: 4px solid #d94848;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.article .info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
}

.article .info-table th,
.article .info-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.article .info-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-head);
}

.article .info-table tr:nth-child(even) td {
  background: var(--light);
}

.article strong {
  color: var(--heading);
}

/* ---------- Formularios ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-layout .form-side p {
  font-size: 16px;
}

.form-info-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-top: 24px;
}

.form-info-box h4 {
  margin-bottom: 14px;
}

.form-info-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.form-info-box li i {
  color: var(--primary);
  width: 20px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-card h3 {
  margin-bottom: 6px;
}

.form-card .form-intro {
  font-size: 14.5px;
  color: var(--body);
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 7px;
}

.form-group label .req {
  color: #d94848;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--body);
  background: var(--white);
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 164, 0, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a5a6c8;
}

.form-group .radio-group,
.form-group .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 6px;
}

.form-group .radio-group label,
.form-group .check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}

.form-group input[type="radio"],
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-group input[type="file"] {
  padding: 10px;
}

.form-submit {
  margin-top: 6px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
}

.form-status.ok {
  display: block;
  background: #eafaf1;
  color: #1e7a45;
  border: 1px solid #bfe8d0;
}

.form-status.err {
  display: block;
  background: #fdf1f1;
  color: #b33b3b;
  border: 1px solid #f0c4c4;
}

/* ---------- Contacto ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-card h4 {
  font-size: 18px;
}

.contact-card p {
  margin: 0;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}

.faq-item .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  font-size: 17px;
}

.faq-item .faq-q i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--body);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-cta {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #c9c9ea;
  padding: 80px 0 0;
  position: relative;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer .logo img {
  height: 58px;
  margin-bottom: 18px;
}

.footer p {
  font-size: 15px;
}

.footer h4 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 22px;
}

.footer ul li {
  padding: 6px 0;
}

.footer ul li a {
  font-size: 15px;
  color: #c9c9ea;
}

.footer ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer .footer-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer .footer-info i {
  color: var(--primary);
  margin-top: 6px;
}

.footer .social {
  display: flex;
  gap: 12px;
}

.footer .social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer .social a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-4px);
}

.footer .disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: #9a9bc4;
}

.footer .disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(247, 164, 0, 0.10);
  border: 1px solid rgba(247, 164, 0, 0.35);
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  margin: 8px 0 20px;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #f0e9d2;
}

.footer .disclaimer::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.4;
  flex: 0 0 auto;
}
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px;
  font-size: 14px;
  text-align: center;
}

.footer .copyright a {
  color: var(--primary);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 120;
  transition: transform 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* ---------- Botón volver arriba ---------- */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 110;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary);
}

/* ---------- Preloader (loading) ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
}

.preloader-inner img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 14px;
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid rgba(247, 164, 0, 0.15);
  border-top-color: var(--primary);
  animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---------- Contador de visitas ---------- */
.visits-counter {
  padding: 14px 0 20px;
  text-align: center;
  font-size: 14px;
  color: #9a9bc4;
}

.visits-counter i {
  color: var(--primary);
  margin-right: 6px;
}

.visits-counter span {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
}

/* ---------- Animación de aparición (reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .main-nav,
  .header-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .hero-actions {
    justify-content: center;
  }

  .hero .hero-img {
    max-width: 480px;
    margin: 20px auto 0;
  }

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

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about .container,
  .why-us .container {
    grid-template-columns: 1fr;
  }

  .about .about-img {
    max-width: 520px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-tab-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar ul {
    gap: 12px;
    justify-content: center;
  }

  .lang-switch {
    margin-left: 10px;
    padding-left: 10px;
  }

  .lang-switch a {
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
  }

  .section-pad {
    padding: 60px 0;
  }

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

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

  .form-card {
    padding: 24px 20px;
  }

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

  .ally-panel ul {
    grid-template-columns: 1fr;
  }
}
