/* MediaCuba.com — Main Styles */

:root {
  --mc-blue: #0f2c85;
  --mc-red: #d92d44;
  --ink-strong: #13213f;
  --ink: #30405f;
  --ink-soft: #6d7891;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #eef3ff;
  --line: rgba(15, 44, 133, 0.12);
  --line-strong: rgba(15, 44, 133, 0.2);
  --shadow-lg: 0 28px 70px rgba(19, 33, 63, 0.14);
  --shadow-md: 0 14px 34px rgba(19, 33, 63, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 45, 68, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 44, 133, 0.15), transparent 36%),
    linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  min-height: 100vh;
}

a {
  color: var(--mc-blue);
}

a:hover {
  color: #0b2060;
}

.site-shell {
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  opacity: 0.35;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */

.navbar {
  background: rgba(11, 23, 58, 0.82) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1rem;
}

.navbar > .container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 1rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.58);
}

.navbar-nav {
  gap: 0.25rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.7rem 1rem !important;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(217, 45, 68, 0.92), rgba(121, 23, 42, 0.96));
  transform: translateY(-1px);
  text-decoration: none;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(217, 45, 68, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Page header ─────────────────────────────────────────────────────────── */

.page-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4.75rem 0 3.1rem;
  margin-bottom: 2.2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #091739 0%, #0f2c85 55%, #d92d44 140%);
}

.page-header::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-header-copy {
  max-width: 48rem;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.page-header h1 {
  font-family: 'Spectral', serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

.page-header p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

.page-header-meta {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-header-meta span {
  display: block;
}

.page-header-meta .label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.page-header-meta .value {
  margin-top: 0.35rem;
  font-size: 0.96rem;
  color: #fff;
}

/* ── Cards & panels ──────────────────────────────────────────────────────── */

main.container {
  position: relative;
  z-index: 1;
}

.surface-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.section-panel {
  padding: clamp(1.35rem, 2vw, 2rem);
}

/* ── Contact form ────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  max-width: 880px;
  margin: 0 auto;
}

.contact-info {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.92), rgba(255, 255, 255, 0.92));
  border: 1px solid var(--line);
}

.contact-info h2,
.contact-form-panel h2 {
  font-family: 'Spectral', serif;
  font-size: 1.7rem;
  color: var(--ink-strong);
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--ink);
  line-height: 1.7;
}

.contact-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.contact-point {
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 44, 133, 0.08);
}

.contact-point strong {
  display: block;
  color: var(--ink-strong);
  margin-bottom: 0.15rem;
}

.contact-form-panel {
  padding: 1.6rem;
}

.form-label {
  font-weight: 700;
  color: var(--ink-strong);
}

.form-control {
  border-radius: 14px;
  border: 1px solid rgba(15, 44, 133, 0.15);
  padding: 0.85rem 1rem;
  color: var(--ink-strong);
  background-color: rgba(255, 255, 255, 0.92);
}

.form-control:focus {
  border-color: rgba(15, 44, 133, 0.34);
  box-shadow: 0 0 0 0.25rem rgba(15, 44, 133, 0.1);
}

.btn-submit {
  background: linear-gradient(135deg, #d92d44, #a81c31);
  border: none;
  color: #fff;
  padding: 0.85rem 1.55rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(169, 28, 49, 0.26);
  transition: background 0.18s ease;
}

.btn-submit:hover,
.btn-submit:focus {
  background: linear-gradient(135deg, #bf2137, #851324);
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  padding: 0 0 2.5rem;
  margin-top: 3rem;
}

.footer-shell {
  background: rgba(9, 23, 57, 0.94);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.2rem 1.4rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 0.9rem;
}

.footer-shell strong {
  color: #fff;
  font-weight: 700;
}

footer a {
  color: rgba(255, 255, 255, 0.88);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 991px) {
  .navbar > .container {
    border-radius: 28px;
    padding: 0.7rem 0.85rem;
  }

  .brand-mark {
    display: none;
  }

  .page-header {
    padding-top: 4.2rem;
  }

  .page-header-content,
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-header-meta {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 3.7rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: 2.35rem;
  }

  .page-header p {
    font-size: 0.98rem;
  }

  .surface-card {
    border-radius: 22px;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding-inline: 0.55rem;
  }

  .navbar-nav .nav-link {
    border-radius: 14px;
  }

  .page-eyebrow {
    letter-spacing: 0.14em;
  }

  .section-panel,
  .contact-info,
  .contact-form-panel {
    padding: 1.15rem;
  }
}
