/* =============================================
   Enlaces Turísticos MTM — Custom Stylesheet
   Colors: Navy #1E1B3A  |  Honey Gold #FFC30B
   ============================================= */

:root {
  --navy: #1E1B3A;
  --navy-light: #2A2650;
  --navy-dark: #14122B;
  --gold: #FFC30B;
  --gold-dark: #D9A600;
  --gold-light: #FFD54F;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--gray-800);
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

section { position: relative; }

/* ---------- Utility ---------- */
.text-gold { color: var(--gold) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-gold { background-color: var(--gold) !important; }

.section-padding { padding: 6rem 0; }
.section-padding-sm { padding: 4rem 0; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border: none;
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

/* ---------- Navbar ---------- */
.navbar-mtm {
  background: rgba(30, 27, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.navbar-mtm.scrolled {
  padding: 0.4rem 0;
  border-bottom-color: var(--gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.navbar-mtm .navbar-brand img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: var(--transition);
}
.navbar-mtm.scrolled .navbar-brand img {
  height: 42px;
}

/* Desktop nav links */
.navbar-mtm .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.02em;
}
.navbar-mtm .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.navbar-mtm .nav-link:hover,
.navbar-mtm .nav-link.active {
  color: var(--gold) !important;
}
.navbar-mtm .nav-link:hover::after,
.navbar-mtm .nav-link.active::after {
  width: 60%;
}

/* Desktop right-side extras (phone, socials) */
.nav-extras {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 1.5rem;
}
.nav-extras a {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}
.nav-extras a:hover {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}
.nav-extras .nav-phone {
  width: auto;
  border: none;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  gap: 0.4rem;
}
.nav-extras .nav-phone:hover {
  background: none;
  color: var(--gold-light);
}

/* ---- Hamburger button (animated) ---- */
.hamburger-btn {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  padding: 0;
  z-index: 10001;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 4px auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Mobile Offcanvas Panel ---- */
.mobile-panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,30,0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-panel-overlay.show {
  display: block;
  opacity: 1;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.mobile-panel.open {
  right: 0;
}

/* Panel header */
.mobile-panel .mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-panel .mp-header img {
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.mobile-panel .mp-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.mobile-panel .mp-close:hover { color: var(--gold); }

/* Panel nav links */
.mobile-panel .mp-nav {
  list-style: none;
  padding: 1.5rem 0;
  margin: 0;
  flex: 1;
}
.mobile-panel .mp-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-panel .mp-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.8rem;
  color: rgba(255,255,255,0.85);
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
}
.mobile-panel .mp-nav a i {
  font-size: 1.15rem;
  color: var(--gold);
  width: 24px;
  text-align: center;
}
.mobile-panel .mp-nav a:hover,
.mobile-panel .mp-nav a.active {
  color: var(--gold);
  background: rgba(255,195,11,0.06);
  padding-left: 2.2rem;
}

/* Panel contact info */
.mobile-panel .mp-contact {
  padding: 1.2rem 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-panel .mp-contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-panel .mp-contact a i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}
.mobile-panel .mp-contact a:hover { color: var(--gold); }

/* Panel social icons */
.mobile-panel .mp-social {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 1.8rem 2rem;
}
.mobile-panel .mp-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.mobile-panel .mp-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* CTA button inside panel */
.mobile-panel .mp-cta {
  margin: 0 1.8rem 1rem;
  display: block;
  text-align: center;
}

/* ---- Hide/show based on breakpoint ---- */
@media (min-width: 992px) {
  .hamburger-btn { display: none !important; }
  .mobile-panel, .mobile-panel-overlay { display: none !important; }
}
@media (max-width: 991.98px) {
  .hamburger-btn { display: flex; align-items: center; justify-content: center; }
  .navbar-mtm .navbar-collapse { display: none !important; }
  .nav-extras { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Hero con imagen de fondo */
.hero.hero-bg { background: none; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Overlay oscuro sobre la imagen para legibilidad */
.hero.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 18, 43, 0.88) 0%,
    rgba(30, 27, 58, 0.78) 40%,
    rgba(30, 27, 58, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFC30B' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 60px rgba(255,195,11,0.2);
  margin-bottom: 2rem;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.hero h1 span { color: var(--gold); }

.hero .lead {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-tagline {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}
.hero-tagline::before,
.hero-tagline::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-tagline::before { right: 100%; }
.hero-tagline::after { left: 100%; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--gold);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,195,11,0.25);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--gold);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,195,11,0.25);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  transition: var(--transition);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFC30B' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.page-header h1,
.page-header p,
.page-header .divider,
.page-header .btn,
.page-header a {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
}

/* ---------- About / Empresa ---------- */
.about-section { background: var(--gray-100); }

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30,27,58,0.1);
}
.value-card:hover::before { transform: scaleX(1); }

.value-card .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  transition: var(--transition);
}
.value-card:hover .icon-wrapper {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.value-card h4 { margin-bottom: 1rem; }
.value-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.06);
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30,27,58,0.12);
}
.service-card .card-icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  font-size: 4rem;
  color: var(--gold);
}
.service-card .card-body { padding: 2rem; }
.service-card .card-body h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.service-card .card-body p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,195,11,0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ---------- Gallery / Portfolio Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,27,58,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay .category {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.gallery-item .overlay .name {
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Placeholder for images not yet added */
.gallery-item .placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.gallery-item .placeholder-icon span {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ---------- Routes / Destinations Cards ---------- */
.route-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
}
.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(30,27,58,0.1);
}
.route-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.route-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.route-card ul li {
  padding: 0.35rem 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.4rem;
}
.route-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  top: 0.35rem;
}

/* ---------- Destination Section with tabs ---------- */
.dest-tab {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.3rem;
  background: var(--gray-200);
  color: var(--gray-800);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dest-tab.active,
.dest-tab:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- Contact & Forms ---------- */
.form-section {
  background: var(--navy);
}
.form-section h2,
.form-section h3 { color: var(--white); }
.form-section .form-label { color: rgba(255,255,255,0.85); font-weight: 500; }

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(255,195,11,0.25);
}

.contact-info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  color: var(--white);
  height: 100%;
}
.contact-info-card h5 {
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-info-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
      font-size: 0.7rem

}
.contact-info-card a {
  color: var(--gold);
}
.contact-info-card a:hover {
  color: var(--gold-light);
}

/* ---------- Values List (horizontal) ---------- */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.values-strip .value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.values-strip .value-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  padding: 3rem 0 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer a {
  color: rgba(255,255,255,0.6);
}
.footer a:hover {
  color: var(--gold);
}
.footer .footer-brand img {
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,195,11,0.3);
}
.footer .footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer hr {
  border-color: rgba(255,255,255,0.08);
  margin: 1.5rem 0;
}

/* ---------- Image Showcase (3-column strip) ---------- */
.img-showcase { overflow: hidden; }

.showcase-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-item:hover img { transform: scale(1.1); }

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,27,58,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  pointer-events: none;
}
.showcase-overlay span {
  color: var(--gold);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

/* Placeholder visible hasta que se suba la imagen real */
.showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,195,11,0.35);
  font-size: 3rem;
  gap: 0.5rem;
  pointer-events: none;
}
.showcase-placeholder small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
}
/* Oculta placeholder cuando la img carga bien */
.showcase-item img[src]:not([src=""]) ~ .showcase-placeholder { display: none; }

/* ---------- CTA con imagen de fondo (parallax) ---------- */
.cta-image-banner {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.cta-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,18,43,0.9), rgba(30,27,58,0.82));
  z-index: 1;
}
.cta-image-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 0.5rem; }
.cta-image-banner p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 2rem; }

.cta-image-placeholder {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  z-index: 3;
  color: rgba(255,195,11,0.25);
  font-size: 0.75rem;
  font-family: monospace;
}

/* ---------- Info + Image row (text left, image right) ---------- */
.info-image-row {
  display: flex;
  align-items: stretch;
  min-height: 400px;
  overflow: hidden;
}
.info-image-row .info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
}
.info-image-row .info-col .btn {
  align-self: flex-start;
}
.info-image-row .image-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}
.info-image-row .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-image-row .image-col .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  color: var(--gray-600);
  font-size: 3rem;
  gap: 0.5rem;
}
.info-image-row .image-col .img-placeholder small {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--gray-600);
}

.info-image-row.reverse { flex-direction: row-reverse; }

.info-image-row.dark-bg .info-col {
  background: var(--navy);
  color: var(--white);
}
.info-image-row.dark-bg .info-col h3 { color: var(--gold); }
.info-image-row.dark-bg .info-col p { color: rgba(255,255,255,0.75); }

/* ---------- Page Header with background image ---------- */
.page-header-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-header.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(20,18,43,0.92), rgba(30,27,58,0.85));
  z-index: 1;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 120px; height: 120px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .page-header { padding: 8rem 0 3rem; }
  .page-header h1 { font-size: 2rem; }
  .info-image-row,
  .info-image-row.reverse { flex-direction: column; }
  .info-image-row .info-col { padding: 2rem 1.5rem; }
  .info-image-row .image-col { min-height: 250px; }
  .showcase-item { height: 200px; }
  .cta-image-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
