* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --deep: #0b2b2a;
  --forest: #1f5c50;
  --moss: #6aa84f;
  --sand: #f4f1ea;
  --ink: #1c1c1c;
  --mist: #eef3f2;
  --rose: #f5d6cc;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 240px;
  background: var(--deep);
  color: white;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  font-weight: 500;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-cta a {
  background: var(--moss);
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #0b2b2a;
}

.content {
  flex: 1;
  padding: 40px 6vw 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-image {
  background-size: cover;
  background-position: center;
  color: white;
}

.scene-cardiff {
  background-image: url("https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=1600&q=80");
}

.library-light {
  background-image: url("https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&w=1600&q=80");
}

.soft-panel {
  background: linear-gradient(120deg, #fdf5e6 0%, #f1f7f3 100%);
}

.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: var(--deep);
}

.hero-text p {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 12px 20px;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  background: var(--forest);
  color: white;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.split {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.split > div {
  flex: 1 1 280px;
}

.highlight {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.pillars {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.pillar-card {
  flex: 1 1 220px;
  background: var(--mist);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card img {
  border-radius: 14px;
  height: 160px;
  object-fit: cover;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-row {
  background: white;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.service-row strong {
  font-size: 1.1rem;
}

.service-meta {
  margin-left: auto;
  font-weight: 600;
  color: var(--forest);
}

.data-band {
  background: var(--rose);
  padding: 28px;
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.data-band h3 {
  flex: 1 1 260px;
}

.quote {
  background: var(--deep);
  color: white;
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-card {
  background: white;
  padding: 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  font-size: 1rem;
}

.inline-cta {
  color: var(--forest);
  font-weight: 600;
}

.image-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer a {
  color: var(--deep);
  text-decoration: underline;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--moss);
  color: #0b2b2a;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: white;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .reject {
  background: #e8e1d6;
}

.cookie-actions .accept {
  background: var(--forest);
  color: white;
}

@media (max-width: 900px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .sidebar-cta {
    display: none;
  }
}
