/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #fcfcfa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

strong {
  font-weight: 700;
}

/* ===== Layout ===== */
.container {
  width: calc(100% - 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.soft-surface {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.soft-surface-alt {
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 19, 32, 0.82) 0%,
    rgba(11, 19, 32, 0.52) 45%,
    rgba(11, 19, 32, 0.22) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  max-width: 820px;
  color: #ffffff;
  padding: 4rem 0;
}

.site-title {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.75;
  max-width: 70rem;
  color: rgba(255, 255, 255, 0.92);
}

.meta {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
}

/* ===== Buttons ===== */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  background: #2d6a4f;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(45, 106, 79, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(45, 106, 79, 0.32);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ===== Shared Heading Styles ===== */
.section-heading {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6a4f;
}

.section-heading h2 {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #14213d;
}

.section-heading p {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #4b5563;
  white-space: normal;
}

/* ===== Two Column Info Section ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.cardless > div {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 24px;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 16px 45px rgba(20, 33, 61, 0.06);
}

.cardless h2 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #14213d;
}

.cardless p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

.location {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #eef8f2;
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 16px;
  color: #1f2937;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.25rem;
}

.price-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
}

.price-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  color: #14213d;
}

.price-card .price {
  margin-bottom: 0.65rem;
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1b4332;
}

.price-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.price-card.presenter {
  background: linear-gradient(180deg, #eef8f2 0%, #f8fcf9 100%);
  border: 1px solid rgba(45, 106, 79, 0.24);
}

/* ===== Programme ===== */
.programme-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1.5rem;
}

.programme-day {
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
}

.programme-day-header {
  padding: 1.35rem 1.4rem 1rem;
  background: linear-gradient(135deg, #14213d 0%, #1e3557 100%);
  color: #ffffff;
}

.programme-day-header h3 {
  margin: 0 0 0.2rem;
  font-size: 1.5rem;
}

.programme-day-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.programme-table-wrap {
  overflow-x: auto;
}

.programme-table {
  width: 100%;
  border-collapse: collapse;
}

.programme-table th {
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  background: #f5f7fa;
  border-bottom: 1px solid #e5e7eb;
}

.programme-table td {
  padding: 1rem 1.1rem;
  vertical-align: top;
  border-bottom: 1px solid #eef2f7;
  color: #1f2937;
  line-height: 1.55;
}

.programme-table tbody tr:last-child td {
  border-bottom: none;
}

.programme-table td:first-child {
  width: 35%;
  white-space: nowrap;
  font-weight: 700;
  color: #14213d;
}

.break-row td {
  background: #fafbfd;
  font-weight: 600;
}

.lunch-row td {
  background: #f7fbf8;
  font-weight: 600;
}

.summary-row td {
  background: #eef8f2;
  font-weight: 700;
}

.programme-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: #eef8f2;
  border: 1px solid rgba(45, 106, 79, 0.18);
}

.programme-note p {
  margin: 0;
  color: #1f2937;
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  color: #14213d;
}

.footer-copy {
  margin: 0;
  color: #6b7280;
}

/* ===== Branded Form Pages ===== */
.form-page-hero {
  background: linear-gradient(135deg, #14213d 0%, #1e3557 100%);
  color: #ffffff;
  padding: 3.75rem 0 2.9rem;
}

.form-page-hero-inner {
  max-width: 980px;
}

.form-back-link {
  display: inline-block;
  margin-bottom: 1.3rem;
  text-decoration: none;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.form-back-link:hover {
  color: #ffffff;
}

.form-page-hero .eyebrow {
  color: rgba(214, 243, 222, 0.95);
}

.form-page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.form-page-intro {
  margin: 0;
  max-width: 66rem;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}

.form-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.form-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 1.5rem;
}

.info-card {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 24px;
  padding: 1.45rem 1.35rem;
  box-shadow: 0 16px 45px rgba(20, 33, 61, 0.06);
}

.info-card-dark {
  background: linear-gradient(135deg, #14213d 0%, #1e3557 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 18px 48px rgba(20, 33, 61, 0.2);
}

.info-card h2,
.info-card h3 {
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

.info-card h2 {
  font-size: 1.5rem;
}

.info-card h3 {
  font-size: 1.2rem;
  color: #14213d;
}

.info-card-dark h2,
.info-card-dark h3 {
  color: #ffffff;
}

.info-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
  line-height: 1.7;
  color: #475569;
}

.info-card-dark .info-list {
  color: rgba(255, 255, 255, 0.9);
}

.mini-steps {
  display: grid;
  gap: 0.85rem;
}

.mini-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.mini-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef8f2;
  color: #1b4332;
  font-weight: 800;
  font-size: 0.95rem;
}

.mini-step strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #14213d;
}

.mini-step p {
  margin: 0;
  color: #5b6778;
  line-height: 1.6;
}

.sidebar-price {
  margin: 0 0 0.5rem;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sidebar-pricing-list {
  display: grid;
  gap: 0.8rem;
}

.sidebar-pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.sidebar-pricing-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-pricing-item span {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-pricing-item strong {
  font-size: 1.35rem;
  color: #ffffff;
}

.muted-text {
  margin: 0;
  color: #5b6778;
  line-height: 1.75;
}

.muted-text-light {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.form-main {
  min-width: 0;
}

.designed-form {
  display: grid;
  gap: 1.5rem;
}

.form-block {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 28px;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 16px 45px rgba(20, 33, 61, 0.06);
}

.form-block-header {
  margin-bottom: 1.2rem;
}

.form-block-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #14213d;
}

.form-block-header p {
  margin: 0;
  color: #5b6778;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 1rem 1.1rem;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.form-stack-large {
  display: grid;
  gap: 1.1rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-control-full {
  grid-column: 1 / -1;
}

.form-control label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #243248;
}

.form-control input[type="text"],
.form-control input[type="email"],
.form-control select,
.form-control textarea {
  width: 100%;
  border: 1px solid #d5dde7;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: #1f2937;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-control textarea {
  resize: vertical;
  min-height: 148px;
}

.form-control input[type="text"]:focus,
.form-control input[type="email"]:focus,
.form-control select:focus,
.form-control textarea:focus {
  outline: none;
  border-color: #2d6a4f;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
}

.upload-groups {
  display: grid;
  gap: 1rem;
}

.upload-group-panel {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fbfcfe;
  padding: 1rem;
}

.upload-group-panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  color: #14213d;
}

.upload-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid #dde5ef;
  border-radius: 18px;
  background: #ffffff;
}

.upload-tile label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #243248;
}

.upload-tile p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.upload-tile input[type="file"] {
  width: 100%;
  border: 1px solid #d5dde7;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.75rem 0.8rem;
  font: inherit;
  color: #334155;
}

.checkbox-panel {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1rem 1rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fbfcfe;
  line-height: 1.7;
  color: #243248;
}

.checkbox-panel input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #2d6a4f;
}

.form-help-panel {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #eef8f2;
  border: 1px solid rgba(45, 106, 79, 0.16);
  color: #1f2937;
  line-height: 1.7;
}

.form-submit-row {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-start;
}

.result {
  margin-top: 1rem;
}

.result.success {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #eef8f2;
  border: 1px solid rgba(45, 106, 79, 0.25);
  color: #1b4332;
  font-weight: 500;
}

.result.error {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #fff1f2;
  border: 1px solid rgba(185, 28, 28, 0.25);
  color: #7f1d1d;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 4rem 0;
  }

  .pricing-grid,
  .programme-days,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .site-title {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .form-block {
    padding: 1.25rem 1rem;
    border-radius: 22px;
  }

  .info-card {
    border-radius: 20px;
  }

  .upload-tile {
    border-radius: 16px;
  }

  .form-page-hero {
    padding: 3rem 0 2.3rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero-copy {
    padding: 3.5rem 0;
  }

  .site-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .programme-day,
  .price-card,
  .cardless > div {
    border-radius: 20px;
  }

  .programme-table th,
  .programme-table td {
    padding: 0.85rem 0.9rem;
  }

  .programme-table td:first-child {
    width: 40%;
  }

  .footer-inner {
    flex-direction: column;
  }
}