:root {
  --color-gold: #f0c14a;
  --color-gold-bright: #ffd54a;
  --color-gold-light: #ffe7a3;
  --color-ink: #f6f1e8;
  --color-muted: #e4d9c8;
  --shadow-soft: 0 10px 32px rgba(0, 0, 0, 0.45);
  --radius: 16px;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Crimson Text", Georgia, serif;
  font-size: 1.28rem;
  background-color: #0a0a0a;
  color: var(--color-ink);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

h1, h2 {
  color: var(--color-gold-bright);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

h2.display-4 {
  font-size: clamp(2.15rem, 4.4vw, 3.15rem);
  line-height: 1.12;
  margin-bottom: 0.45rem;
}

h3, h4 {
  color: var(--color-gold-light);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

p {
  color: var(--color-muted);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.bg-black {
  background-color: #000 !important;
}

.banner {
  background-image: url(../img/header.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.masthead-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(12, 7, 2, 0.35) 42%,
    rgba(0, 0, 0, 0.62) 100%
  );
  z-index: 0;
}

header.masthead .masthead-content {
  z-index: 1;
  position: relative;
}

@media (min-width: 992px) {
  header.masthead {
    padding-top: 3.25rem;
    padding-bottom: 0;
  }
}

@media (max-width: 991px) {
  header.masthead {
    padding-top: 1.75rem;
    padding-bottom: 0;
  }
}

.content-panel {
  background-color: rgba(8, 6, 4, 0.84);
  border: 1px solid rgba(240, 193, 74, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.tramaEgipcia {
  background-image: url(../img/fondo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.tramaEgipciaBW {
  background-image: url(../img/fondo_bw.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Barra superior: el teléfono siempre a la vista */
.top-callbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.55rem 1rem;
  background: rgba(10, 8, 6, 0.94);
  border-bottom: 1px solid rgba(240, 193, 74, 0.35);
  backdrop-filter: blur(10px);
}

.top-callbar-label,
.top-callbar-place {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.top-callbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #1a0a00;
  background: linear-gradient(135deg, #c41e3a, #e23b52);
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.35);
}

.top-callbar-phone:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.06);
}

/* Llamada principal */
.btn-call-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 420px;
  margin: 0.85rem auto 0;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #9d1830, #e23b52);
  box-shadow: 0 12px 28px rgba(180, 28, 52, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call-main:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(180, 28, 52, 0.5);
}

.btn-call-main i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.btn-call-main span {
  text-align: left;
  line-height: 1.05;
}

.btn-call-main small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
}

.btn-call-main strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-call-main-inline {
  margin-top: 0.4rem;
}

.btn-wa-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #b7f0c8;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.btn-wa-secondary:hover {
  color: #fff;
  text-decoration: none;
}

.btn-cta-phone {
  background: linear-gradient(135deg, #c41e3a, #e63950) !important;
  border: none !important;
  color: #fff !important;
}

.btn-cta-phone:hover {
  background: linear-gradient(135deg, #a71d2a, #c41e3a) !important;
  color: #fff !important;
}

.btn-cta-whatsapp {
  background: transparent !important;
  border: 1.5px solid rgba(37, 211, 102, 0.75) !important;
  color: #c8f8d8 !important;
}

.btn-cta-whatsapp:hover {
  background: rgba(37, 211, 102, 0.14) !important;
  color: #fff !important;
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid rgba(240, 193, 74, 0.7);
  color: var(--color-gold-light);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #1a0a00;
}

/* Hero */
.hero-card {
  background: rgba(8, 6, 4, 0.5);
  border: 1px solid rgba(240, 193, 74, 0.28);
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.4rem;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.titulo-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.35rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

.hero-name {
  font-family: "Chonburi", cursive;
  font-size: clamp(4.2rem, 9vw, 7.2rem);
  line-height: 0.95;
  color: var(--color-gold-bright);
  font-weight: 400;
}

.hero-kicker {
  margin-top: 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-tagline {
  margin: 0.35rem 0 0.15rem;
  color: #fff;
  font-size: 1.25rem;
  font-style: italic;
}

.hero-desc {
  margin: 0.9rem 0 0;
  font-size: 1.08rem;
  color: var(--color-muted);
}

.section-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.service-strip {
  background: #100c08;
  border-bottom: 1px solid rgba(240, 193, 74, 0.18);
}

.service-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.service-strip a {
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
  text-decoration: none;
  border: 1px solid rgba(240, 193, 74, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.service-strip a:hover {
  background: rgba(240, 193, 74, 0.14);
  color: #fff;
  text-decoration: none;
}

.section-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1.35rem;
}

.section-ctas-left {
  justify-content: flex-start;
}

.section-ctas .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.72rem 1.25rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.section-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  object-position: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 193, 74, 0.28);
}

img.shadow {
  transition: transform 0.3s, box-shadow 0.3s;
}

img.shadow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.cta-banner {
  background: linear-gradient(160deg, #1a0d06 0%, #0d0d0d 55%, #161006 100%);
  border: 1px solid rgba(240, 193, 74, 0.38);
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cta-kicker {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.cta-banner p {
  margin-bottom: 0.4rem;
}

.divider-gold {
  border-color: rgba(240, 193, 74, 0.28);
  margin: 1.25rem 0 0.4rem;
}

/* Sticky: el llamado ocupa el lugar principal */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.sticky-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px !important;
  padding: 0.55rem 1rem 0.55rem 0.7rem !important;
  box-shadow: 0 10px 26px rgba(180, 28, 52, 0.45);
  animation: pulse-glow 2.6s ease-in-out infinite;
}

.sticky-phone i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
}

.sticky-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.sticky-kicker {
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.sticky-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.sticky-wa {
  border-radius: 999px !important;
  padding: 0.45rem 0.85rem !important;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.sticky-cta .btn:hover {
  transform: translateY(-2px);
  animation: none;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 26px rgba(180, 28, 52, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(226, 59, 82, 0.18), 0 10px 26px rgba(180, 28, 52, 0.5); }
}

footer .footer-cta {
  padding: 0.5rem 0 1.75rem;
  border-bottom: 1px solid rgba(240, 193, 74, 0.16);
  margin-bottom: 1.4rem;
}

footer .footer-cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.2rem;
}

.footer-lead {
  margin-bottom: 0.35rem;
}

.medios-row {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.medios-title {
  text-align: center;
  font-size: 1.45rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.medios-title i {
  margin-right: 0.35rem;
  opacity: 0.85;
}

.medios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(240, 193, 74, 0.2);
  border-radius: var(--radius);
}

.medios-grid img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0.92);
  transition: filter 0.25s, transform 0.25s;
}

.medios-grid img:hover {
  filter: brightness(1.08);
  transform: scale(1.04);
}

.faq-section {
  background: #0c0c0c;
  padding: 3.2rem 0 4.5rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid rgba(240, 193, 74, 0.2);
  padding: 0.85rem 0.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  color: var(--color-gold-light);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-block;
  width: 1.2rem;
  color: var(--color-gold);
  font-family: "Outfit", sans-serif;
}

.faq-list details[open] summary::before {
  content: "–";
}

.faq-list details p {
  margin: 0.45rem 0 0.2rem 1.2rem;
}

.faq-list a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bordesArriba,
.bordesAbajo {
  height: 78px;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.bordesArriba {
  background-image: url(../img/bordesarriba.png);
  background-position: top center;
}

.bordesAbajo {
  background-image: url(../img/bordesabajo.png);
  background-position: bottom center;
}

.modal-content,
.modal-body,
.modal-body p,
.modal-title {
  color: #241c16;
  font-size: 0.95rem;
}

.modal-body p {
  line-height: 1.55;
}

@media only screen and (max-width: 768px) {
  .banner {
    min-height: 0;
    background-image: url(../img/portada_celu.jpg);
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
  }

  .masthead-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.78) 100%
    );
  }

  header.masthead {
    padding-top: 0.75rem;
  }

  .hero-card {
    background: rgba(8, 6, 4, 0.72);
    margin-top: 0;
    padding: 1.15rem 1rem 1rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-top: 0.65rem;
  }

  .bordesArriba,
  .bordesAbajo {
    height: 48px;
  }

  .section-img {
    max-height: none;
  }

  .hero-name {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .top-callbar-label,
  .top-callbar-place {
    display: none;
  }

  .margenMovil {
    margin-top: 1.5rem;
  }

  .sticky-cta {
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #120c08;
    border-top: 1px solid rgba(240, 193, 74, 0.25);
  }

  .sticky-phone {
    flex: 1;
    border-radius: 0 !important;
    justify-content: center;
    padding: 0.7rem 0.6rem !important;
    animation: none;
  }

  .sticky-wa {
    flex: 0 0 44%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0.95rem 0.6rem !important;
    font-size: 1.08rem;
  }

  .sticky-wa i {
    font-size: 1.7rem;
  }

  .section-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .section-ctas .btn {
    width: 100%;
  }

  .medios-grid img {
    height: 38px;
    max-width: 108px;
  }

  body {
    padding-bottom: 76px;
  }
}
