/* =========================================
   DUBAI GLOBAL PROPERTY INVESTMENT FESTIVAL
   Luxury CTA section — responsive styles
========================================= */

.festival-cta {
  --festival-navy: #071629;
  --festival-gold: #d8b36a;
  --festival-gold-light: #f1d79d;
  --festival-white: #ffffff;
  --festival-muted: #bdc7d4;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 85px 24px 25px;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgba(216, 179, 106, 0.12),
      transparent 40%
    ),
    linear-gradient(135deg, #071629 0%, #0b1d32 55%, #071322 100%);
  color: var(--festival-white);
  /* font-family: Arial, Helvetica, sans-serif; */
}

.festival-cta *,
.festival-cta *::before,
.festival-cta *::after {
  box-sizing: border-box;
}

.festival-cta-glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(216, 179, 106, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.festival-cta-glow::before,
.festival-cta-glow::after {
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(216, 179, 106, 0.08);
  border-radius: 50%;
  content: "";
}

.festival-cta-glow::after {
  inset: 60px;
}

.festival-cta-container {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 70px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.festival-cta-main {
  min-width: 0;
  max-width: 680px;
}

.festival-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--festival-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.6;
}

.eyebrow-line {
  display: inline-block;
  flex: 0 0 28px;
  height: 1px;
  background: var(--festival-gold);
}

.festival-cta-main h1 {
  margin: 0 0 24px;
  color: var(--festival-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1.2px;
  text-wrap: balance;
}

.festival-cta-main h1 span {
  display: block;
  margin-top: 7px;
  color: var(--festival-gold);
  font-style: italic;
}

.festival-description {
  max-width: 610px;
  margin: 0 0 20px;
  color: #d0d8e3;
  font-size: 15px;
  line-height: 1.9;
}

.festival-description strong {
  color: var(--festival-white);
  font-weight: 600;
}

.festival-highlights {
  max-width: 610px;
  margin: 0;
  color: var(--festival-muted);
  font-size: 13px;
  line-height: 2;
}

.festival-highlights span {
  color: var(--festival-white);
}

.festival-highlights strong {
  color: var(--festival-gold);
  font-weight: 600;
}

/* Registration button */

.festival-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 35px;
}

.festival-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 245px;
  min-height: 58px;
  padding: 17px 24px;
  border: 1px solid var(--festival-gold);
  border-radius: 2px;
  background: linear-gradient(110deg, #c9a258, #efd69b);
  color: #09182a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.festival-register-btn:hover {
  transform: translateY(-3px);
  border-color: var(--festival-white);
  background: var(--festival-white);
  color: var(--festival-navy);
  box-shadow: 0 10px 30px rgba(216, 179, 106, 0.18);
}

.festival-register-btn:focus-visible,
.festival-contact-card a:focus-visible {
  outline: 2px solid var(--festival-gold-light);
  outline-offset: 4px;
}

.register-arrow {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.festival-free-entry {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d4dce6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.free-entry-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--festival-gold);
  box-shadow: 0 0 10px rgba(216, 179, 106, 0.4);
}

/* Contact card */

.festival-contact-card {
  min-width: 0;
  padding: 32px 28px 26px;
  border: 1px solid rgba(216, 179, 106, 0.3);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.018)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 179, 106, 0.4);
  color: var(--festival-gold);
  font-size: 23px;
}

.contact-small-title {
  display: block;
  margin-bottom: 6px;
  color: var(--festival-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-card-heading h2 {
  margin: 0;
  color: var(--festival-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.contact-divider {
  height: 1px;
  margin: 25px 0;
  background: linear-gradient(
    90deg,
    rgba(216, 179, 106, 0.65),
    rgba(216, 179, 106, 0.06)
  );
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.contact-item-icon {
  display: flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(216, 179, 106, 0.22);
  color: var(--festival-gold);
  font-size: 20px;
}

.contact-item-content {
  min-width: 0;
  padding-top: 2px;
}

.contact-label {
  display: block;
  margin-bottom: 9px;
  color: var(--festival-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.contact-item-content p {
  margin: 0;
  color: #d4dce6;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.contact-item-content a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 7px;
  color: #e7edf5;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.contact-item-content a:hover {
  color: var(--festival-gold-light);
}

.festival-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--festival-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.festival-map-link span {
  font-size: 18px;
  font-weight: 400;
}

.festival-map-link:hover {
  color: var(--festival-white);
}

/* Footer line */

.festival-cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin: 75px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb9c8;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.8;
  text-align: center;
}

.footer-gold-line {
  display: inline-block;
  flex: 0 0 35px;
  width: 35px;
  height: 1px;
  background: var(--festival-gold);
}

/* Tablet */

@media (max-width: 1024px) {
  .festival-cta {
    padding-top: 65px;
  }

  .festival-cta-container {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 35px;
  }

  .festival-cta-main h1 {
    font-size: clamp(34px, 4.5vw, 48px);
  }

  .festival-contact-card {
    padding: 27px 22px 23px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .festival-cta {
    padding: 55px 20px 22px;
  }

  .festival-cta-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .festival-cta-main {
    max-width: none;
  }

  .festival-eyebrow {
    gap: 9px;
    margin-bottom: 21px;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .eyebrow-line {
    flex-basis: 19px;
  }

  .festival-cta-main h1 {
    margin-bottom: 20px;
    font-size: clamp(34px, 8vw, 45px);
    line-height: 1.18;
    letter-spacing: -0.7px;
  }

  .festival-description {
    font-size: 14px;
    line-height: 1.85;
  }

  .festival-highlights {
    font-size: 12px;
    line-height: 2;
  }

  .festival-cta-action {
    margin-top: 28px;
  }

  .festival-register-btn {
    width: 100%;
    max-width: 350px;
    min-width: 0;
    min-height: 56px;
    gap: 12px;
    padding: 16px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .festival-free-entry {
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .festival-contact-card {
    width: 100%;
    padding: 25px 20px 22px;
  }

  .contact-card-heading h2 {
    font-size: 25px;
  }

  .festival-cta-footer {
    gap: 10px;
    margin-top: 45px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .footer-gold-line {
    flex-basis: 20px;
    width: 20px;
  }
}

/* Small mobile */

@media (max-width: 380px) {
  .festival-cta {
    padding-right: 15px;
    padding-left: 15px;
  }

  .festival-cta-main h1 {
    font-size: 30px;
    letter-spacing: -0.4px;
    overflow-wrap: break-word;
  }

  .festival-contact-card {
    padding-right: 15px;
    padding-left: 15px;
  }

  .contact-item {
    gap: 11px;
  }

  .contact-item-content {
    overflow-wrap: anywhere;
  }

  .festival-free-entry {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  .festival-cta *,
  .festival-cta *::before,
  .festival-cta *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
