:root{
  --azul:#0b1d33;
  --dorado:#c9a24d;
  --blanco:#ffffff;
  --gris:#f5f6f8;
  --negro:#111;
}

body{
  font-family:'Montserrat', sans-serif;
  color:#222;
  scroll-behavior:smooth;
}

a{text-decoration:none}

/* TOP BAR */
.topbar{
  background:var(--azul);
  color:#fff;
  font-size:14px;
  padding:6px 0;
}

/* NAV */
.nav-main{
  background:var(--azul);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}


.hero h1{
  font-size:48px;
  font-weight:700;
}

.btn-gold{
  background:var(--dorado);
  color:#000;
  padding:12px 30px;
  border-radius:4px;
}

.btn-gold:hover{
  background:#b8943f;
}

/* SECTIONS */
.section{
  padding:90px 0;
}

.section-title{
  text-align:center;
  font-weight:700;
}

/* RAMOS */
.ramo-box{
  border:1px solid #eee;
  padding:35px;
  transition:.3s;
}

.ramo-box:hover{
  border-color:var(--dorado);
  transform:translateY(-5px);
}

/* LISTAS */
.service-list{
  list-style:none;
  padding:0;
}

.service-list li{
  padding:6px 0;
  padding-left:22px;
  position:relative;
}

.service-list li::before{
  content:"✓";
  color:var(--dorado);
  position:absolute;
  left:0;
}

/* CTA */
.cta{
  background:var(--azul);
  color:#fff;
  text-align:center;
  padding:70px 20px;
}

/* GALERIA */
.gallery img{
  width:100%;
  border-radius:4px;
  margin-bottom:20px;
}

.filter-btn{
  margin:5px;
  padding:8px 20px;
  border:1px solid var(--azul);
  cursor:pointer;
}

.filter-btn.active{
  background:var(--azul);
  color:#fff;
}

/* FAQ */
.accordion-button:not(.collapsed){
  background:var(--azul);
  color:#fff;
}

/* CONTACTO */
form input, form textarea{
  width:100%;
  padding:12px;
  margin-bottom:15px;
  border:1px solid #ddd;
}

/* FOOTER */
footer{
  background:#000;
  color:#fff;
  text-align:center;
  padding:25px;
}

/* WHATSAPP */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  padding:15px 18px;
  border-radius:50%;
  font-size:22px;
}



/* ================= RAMOS ================= */
.ramos-section {
  background: #ffffff;
  padding: 90px 0;
}

.ramo-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 45px 30px;
  text-align: center;
  height: 100%;
  border: 1px solid #e9ecef;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ramo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1f3a, #0b1f3a);
  opacity: 0;
  transition: 0.4s;
  z-index: 0;
}

.ramo-card:hover::before {
  opacity: 1;
}

.ramo-card * {
  position: relative;
  z-index: 1;
}

.ramo-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a24d, #e6c97a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #0b1f3a;
  transition: all 0.4s ease;
}

.ramo-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #0b1f3a;
}

.ramo-card p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
}

/* HOVER */
.ramo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.ramo-card:hover .ramo-icon {
  background: #ffffff;
  color: #c9a24d;
}

.ramo-card:hover h4,
.ramo-card:hover p {
  color: #ffffff;
}



/* ================= NOSOTROS ================= */
.nosotros-section {
  background: #f8f9fa;
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #c9a24d;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nosotros-text {
  font-size: 16px;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 20px;
}

.nosotros-box {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.4s ease;
}

.nosotros-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.box-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a24d, #e6c97a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #0b1f3a;
  flex-shrink: 0;
}

.nosotros-box h5 {
  margin-bottom: 6px;
  font-weight: 700;
  color: #0b1f3a;
}

.nosotros-box p {
  margin: 0;
  font-size: 15px;
  color: #6c757d;
}






/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
}

/* VIDEO */
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scaleX(-1);
  z-index: 1;
}

/* OVERLAY OSCURO */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,31,58,0.85) 0%,
    rgba(11,31,58,0.55) 45%,
    rgba(11,31,58,0.25) 100%
  );
  z-index: 2;
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: #e9ecef;
  margin-bottom: 30px;
  max-width: 600px;
}

/* BOTÓN */
.btn-gold {
  background: linear-gradient(135deg, #c9a24d, #e6c97a);
  color: #0b1f3a;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: #ffffff;
  color: #0b1f3a;
  transform: translateY(-3px);
}


.hero h1,
.hero p,
.hero .btn-gold {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ================= SERVICIOS ================= */
.servicio-section {
  padding: 100px 0;
}

.servicio-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 35px;
}

.servicios-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.servicio-card {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 22px 25px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.4s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.servicio-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a24d, #e6c97a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #0b1f3a;
  flex-shrink: 0;
}

.servicio-info h5 {
  margin-bottom: 6px;
  font-weight: 700;
  color: #0b1f3a;
}

.servicio-info p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6c757d;
}

.service-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #111;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .3s ease;
  height: 100%;
}

.service-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.service-icon {
  font-size: 42px;
  color: #d4af37;
  flex-shrink: 0;
}

.service-content h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-content p {
  font-size: .95rem;
  color: #bbb;
  line-height: 1.4;
  margin: 0;
}


/* ================= CTA VIDEO ================= */

.cta-video-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* VIDEO */
.cta-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.cta-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* OVERLAY DIFUMINADO */
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.15) 75%,
    rgba(0,0,0,0) 100%
  );
}

/* TEXTO */
.cta-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.cta-content h2 {
  font-size: 2.6rem;
  font-weight: 700;
}

.cta-content span {
  color: #c9a24d;
}

.cta-content p {
  margin: 20px 0 30px;
  max-width: 520px;
}

/* MOBILE */
@media (max-width: 768px) {
  .cta-video {
    width: 100%;
  }

  .cta-overlay {
    background: rgba(0,0,0,0.75);
  }

  .cta-content {
    text-align: center;
  }
}


/* ================= GALERÍA ================= */

.gallery-filters .filter-btn {
  background: transparent;
  border: 2px solid #c9a24d;
  color: #0b1c2d;
  padding: 8px 20px;
  margin: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filters .filter-btn.active,
.gallery-filters .filter-btn:hover {
  background: #c9a24d;
  color: #fff;
}

/* GRID PINTEREST */
.gallery-grid {
  column-count: 4;
  column-gap: 20px;
}

/* Laptop */
@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 3;
  }
}

/* Tablet + Mobile (Pinterest real) */
@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }

  .gallery-item {
    margin-bottom: 14px;
  }
}

/* ITEMS */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

/* HOVER LIMPIO */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}


.modal.fade .modal-dialog {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
  transform: scale(1);
}



/* ================= CONTACTO ================= */

.contact-section {
  background: #f8f9fa;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
}

.contact-form .form-control {
  padding: 14px;
  border-radius: 10px;
}

.contact-form textarea {
  resize: none;
}

.contact-widget {
  background: #0b1c2d;
  color: #fff;
  padding: 35px;
  border-radius: 16px;
  height: 100%;
}

.cw-item {
  margin-bottom: 30px;
}

.cw-item h5 {
  color: #c9a24d;
  font-weight: 600;
  margin-bottom: 10px;
}

.cw-item a {
  color: #fff;
  text-decoration: none;
}

.contact-map {
  border-radius: 18px;
  overflow: hidden;
}


/* ================= TOP BAR ================= */

.topbar {
  height: var(--topbar-height);
  background: #0b1c2d;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
}

.topbar .top-info {
  font-weight: 500;
}

.topbar .top-social a {
  color: #c9a24d;
  margin-left: 15px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.topbar .top-social a:hover {
  opacity: 0.8;
}


@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .navbar.fixed-top {
    top: 0;
  }
}

.hero {
  padding-top: calc(var(--topbar-height) + 80px); /* 80px ≈ navbar */
}

:root {
  --topbar-height: 38px;
}


.navbar.fixed-top {
  top: var(--topbar-height);
  z-index: 1090;
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .navbar.fixed-top {
    top: 0;
  }

  .hero {
    padding-top: 80px;
  }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


