:root {
  --bg: #081313;
  --bg-soft: #0d1919;
  --surface: rgba(14, 29, 29, 0.68);
  --surface-strong: rgba(7, 20, 20, 0.88);
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #eefcf9;
  --muted: #b9d7d2;
  --teal: #2dd4bf;
  --teal-strong: #14b8a6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.08), transparent 32%),
    linear-gradient(180deg, #071111 0%, #0a1515 100%);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 13, 13, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(0,0,0,0.18);
}

.brand-mark svg { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 0.98rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.83rem; color: var(--muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(180deg, rgba(6, 17, 17, 0.48), rgba(6, 17, 17, 0.7)),
    url('https://upload.wikimedia.org/wikipedia/commons/9/9b/Shirley_High_Street%2C_Southampton_-_geograph.org.uk_-_7305406.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 15% 20%, rgba(94, 234, 212, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(4, 12, 12, 0.84) 0%, rgba(4, 12, 12, 0.56) 46%, rgba(4, 12, 12, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5rem;
  max-width: 760px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #e7fffb;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.eyebrow.subtle {
  color: var(--muted);
  background: rgba(8, 19, 19, 0.42);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: #99f6e4;
  display: block;
}

.hero-copy {
  max-width: 62ch;
  font-size: clamp(1.04rem, 2.2vw, 1.25rem);
  margin: 1.35rem 0 0;
  color: #ecfffb;
}

.hero-copy.secondary { color: var(--muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-1px); }

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
  color: #062222;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.8rem 0 0;
}

.hero-highlights li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(8, 19, 19, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d8f7f1;
  font-size: 0.95rem;
}

.section {
  padding: 5.5rem 0;
}

.section-intro {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.intro-grid,
.cta-panel,
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
}

.section-kicker {
  margin: 0 0 0.6rem;
  color: #7cebd8;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card,
.contact-box {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #042f2e;
  background: linear-gradient(135deg, #99f6e4, #2dd4bf);
}

.feature-card h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.15rem;
}

.feature-card p { margin: 0; }

.section-cta {
  padding-top: 1rem;
}

.cta-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(7, 20, 20, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.contact-box {
  display: grid;
  align-content: center;
}

.contact-link {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.site-footer {
  padding: 2rem 0 2.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.attribution {
  font-size: 0.86rem;
  max-width: 60ch;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid,
  .cta-panel,
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { position: static; }
  .nav-wrap {
    min-height: unset;
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 4.5rem 0 4rem;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Modal background -- new addition for ads */
.promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Hidden state */
.promo-modal.hidden {
  display: none;
}

/* Modal box */
.promo-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: fadeIn 0.4s ease;
}

/* Image */
.promo-content img {
  width: 100%;
  display: block;
}

/* Close button */
.promo-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

/* Caption */
.promo-caption {
  padding: 10px;
  font-size: 14px;
  text-align: center;
  color: #ddd;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
