
:root {
  --primary: #102c46;
  --primary-2: #173a59;
  --accent: #d6ac5e;
  --accent-2: #f2e4c2;
  --dark: #0c1926;
  --text: #314355;
  --muted: #6c7a89;
  --light: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(16, 44, 70, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }
.section-padding { padding: 90px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(214, 172, 94, 0.12);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.85);
}
.topbar a, .topbar span { color: rgba(255,255,255,.85); }
.site-navbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.brand-logo { width: 150px; max-width: 100%; transition: all 0.3s ease;}
.site-navbar.scrolled .brand-logo {
    width: 100px;
	max-width: 100%;
}
.navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 600;
  padding: .9rem 1rem !important;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--accent); }
.btn-brand {
  background: linear-gradient(135deg, var(--accent), #be8d37);
  border: 0;
  color: var(--dark);
  font-weight: 800;
  border-radius: 999px;
  padding: .9rem 1.35rem;
  box-shadow: 0 15px 30px rgba(214,172,94,.3);
}
.btn-brand:hover { color: var(--dark); transform: translateY(-2px); }
.btn-outline-brand {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  border-radius: 999px;
  padding: .9rem 1.35rem;
  font-weight: 700;
}
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(12,25,38,.92) 15%, rgba(12,25,38,.72) 50%, rgba(12,25,38,.50) 100%),
    url('../images/ui/hero-secondary.jpg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -18% auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(214,172,94,.38), transparent 70%);
  filter: blur(10px);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 1.02;
  font-weight: 800;
  max-width: 9.8ch;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.84);
  max-width: 640px;
}
.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  color: #fff;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-badge {
  padding: .8rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
}
.hero-photo-stack { position: relative; min-height: 420px; }
.hero-photo-main, .hero-photo-float {
  position: absolute;
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.92);
}
.hero-photo-main { width: min(100%, 470px); right: 0; top: 0; }
.hero-photo-float { width: 220px; left: 0; bottom: 0; }
.stat-card, .feature-card, .service-card, .info-card, .gallery-card, .testimonial-card, .contact-card, .value-card {
  background: #fff;
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  height: auto;
}
.stat-number { color: var(--primary); font-size: 2.2rem; font-weight: 800; }
.stat-label { color: var(--muted); font-weight: 600; }
.section-title h2 {
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 1rem 0;
}
.section-title p { color: var(--muted); max-width: 720px; }
.feature-icon, .service-icon, .contact-icon, .value-icon {
  width: 62px; height: 62px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 20px; background: rgba(214,172,94,.16); color: var(--primary); font-size: 1.55rem;
  margin-bottom: 1rem;
}
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover, .gallery-card:hover { transform: translateY(-8px); }
.service-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.service-card a { color: var(--primary); font-weight: 700; }
.cta-band {
  background: linear-gradient(135deg, var(--primary), #214d74);
  color: #fff;
  border-radius: 34px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.gallery-card {
  overflow: hidden;
  padding: 0;
}
.gallery-card img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform .55s ease;
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card .gallery-body { padding: 1.1rem 1.2rem 1.25rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.filter-pill {
  border: 1px solid rgba(16,44,70,.12);
  background: #fff;
  color: var(--primary);
  padding: .8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.filter-pill.active, .filter-pill:hover { background: var(--primary); color: #fff; }
.page-hero {
  padding: 140px 0 85px;
  background: linear-gradient(135deg, rgba(16,44,70,.96), rgba(23,58,89,.86)), url('../images/ui/hero-main.jpg') center/cover no-repeat;
  color: #fff;
}
.page-hero h1 { font-size: clamp(2.3rem, 4vw, 4.2rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 780px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.info-list li {
  display: flex; gap: .8rem; align-items: flex-start; color: var(--text);
}
.info-list i { color: var(--accent); font-size: 1.1rem; margin-top: .2rem; }
.payment-list { display: flex; flex-wrap: wrap; gap: .8rem; }
.payment-badge, .footer-pill {
  padding: .7rem .95rem; background: rgba(214,172,94,.15); color: var(--primary); border-radius: 999px; font-weight: 700;
}
.footer-pill { background: rgba(255,255,255,.08); color: #fff; }
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
}
.site-footer h5 { color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--accent); margin-top: .2rem; }
.footer-logo { width: 240px; }
.social-placeholders { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-placeholders span {
  padding: .6rem .85rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: .92rem;
}
.floating-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 1080;
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent);
  color: var(--dark); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.mega-menu { min-width: 820px; border-radius: 24px; }
.mega-menu-intro { background: linear-gradient(135deg, var(--primary), #214d74); color: #fff; }
.mega-menu-intro h3 { font-size: 1.8rem; margin: 1rem 0 .75rem; font-weight: 800; }
.mega-link {
  display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 20px;
  background: var(--light); color: var(--primary); transition: .25s ease;
}
.mega-link span { display: block; font-weight: 800; margin-bottom: .45rem; }
.mega-link small { color: var(--muted); display: block; line-height: 1.5; }
.mega-link:hover { background: rgba(214,172,94,.16); transform: translateY(-3px); }
.mobile-nav .accordion-button:not(.collapsed), .mobile-nav .accordion-button { background: #fff; color: var(--primary); font-weight: 700; }
.mobile-link, .mobile-sublink, .mobile-contact a {
  display: block; padding: .8rem 1rem; border-radius: 18px; color: var(--primary); font-weight: 700;
}
.mobile-link { background: var(--light); }
.mobile-sublink { font-weight: 600; }
.mobile-contact { display: grid; gap: .6rem; }
.badge-trust {
  display: inline-flex; align-items: center; gap: .55rem; background: rgba(16,44,70,.06); color: var(--primary);
  border-radius: 999px; padding: .55rem .85rem; font-size: .92rem; font-weight: 700;
}
.map-wrap iframe { width: 100%; min-height: 380px; border: 0; border-radius: 28px; box-shadow: var(--shadow); }
.form-control, .form-select {
  border-radius: 18px; padding: .95rem 1rem; border: 1px solid rgba(16,44,70,.12);
}
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 .2rem rgba(214,172,94,.22); border-color: rgba(214,172,94,.6); }
.notice-box {
  border-radius: 24px; padding: 1rem 1.15rem; background: rgba(31,155,90,.1); color: #146c43; border: 1px solid rgba(20,108,67,.15);
}
.notice-box.error { background: rgba(220,53,69,.08); color: #842029; border-color: rgba(220,53,69,.15); }
.testimonial-card { background: linear-gradient(180deg, #fff, #f9fbfc); }
@media (max-width: 1199.98px) {
  .mega-menu { display: none !important; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-photo-stack { min-height: 340px; margin-top: 2rem; }
}
@media (max-width: 767.98px) {
  .section-padding { padding: 70px 0; }
  .hero h1 { max-width: 11ch; }
  .hero-badges { gap: .5rem; }
  .hero-badge { width: 100%; }
  .hero-photo-main { position: relative; width: 100%; }
  .hero-photo-float { display: none; }
  .page-hero { padding: 120px 0 70px; }
  .gallery-card img { height: 235px; }
}
/* ===== CENTRAR MEGAMENU ===== */

.mega-dropdown {
    position: static;
}

.mega-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1100px, calc(100% - 24px));
    margin-top: 0;
}