/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1f2a;
  color: #f2f2f2;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

p {
  opacity: 0.9;
}

a {
  color: #7dd3c7;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: rgba(11, 31, 42, 0.75);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.main-nav a {
  margin-left: 2rem;
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 400;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* ===== HERO (overlay text) ===== */
.contact-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  margin-top: 72px;
  /* offset fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* The image is in the same directory as this CSS file */
  background-image: url('licensing-hero.webp');
  background-size: cover;
  background-position: center;
  /* Fallback color – visible if the image doesn't load */
  background-color: #1a3b4c;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.6));
}

.contact-hero .hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 720px;
  padding: 0 1rem;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.contact-hero .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== INTRO (below hero – now unique) ===== */
.contact-intro {
  max-width: 760px;
  margin: 3rem auto 2rem;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-line {
  margin-top: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn-license {
  display: inline-block;
  font-weight: 600;
  color: #d4af37;
  text-decoration: none;
  border: 1px solid #d4af37;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.btn-license:hover {
  background: #d4af37;
  color: #0b1f2a;
  opacity: 1;
}

/* ===== GRID ===== */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== CARDS ===== */
.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.75rem;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.contact-card p {
  line-height: 1.6;
}

.contact-card .contact-line {
  margin-top: 1rem;
}

.contact-card .contact-line a {
  font-weight: 600;
  color: #7dd3c7;
}

/* ===== CLOSING ===== */
.contact-closing {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.contact-closing a {
  color: #7dd3c7;
  text-decoration: none;
}

.contact-closing .contact-line {
  margin-top: 1rem;
}

.contact-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav a {
    margin-left: 1.2rem;
    font-size: 0.9rem;
  }

  .contact-hero {
    min-height: 320px;
    height: 50vh;
  }

  .contact-grid {
    padding: 1.5rem 1rem 2rem;
  }

  .contact-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .main-nav a {
    margin: 0 0.6rem;
    font-size: 0.8rem;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
  }
}