/**
 * [BRAND_NAME] — global visual foundation plus homepage sections
 * Header, footer, tokens, type, buttons, containers,
 * slider, article, form, tables, gallery.
 */

:root {
  --color-red: #d0121a;
  --color-red-hover: #b10f16;
  --color-yellow: #f9da56;
  --color-yellow-hover: #f0cc3d;
  --color-yellow-active: #e4be2a;
  --color-text: #333333;
  --color-muted: #555555;
  --color-white: #ffffff;
  --color-footer: #333333;
  --color-footer-text: #f9f9f9;
  --color-footer-muted: #e8e8e8;
  --color-footer-accent: #fecd04;
  --color-border: #e6e6e6;
  --color-stripe: #eeeeee;
  --color-input-border: #cccccc;
  --color-link: #1a73e8;
  --color-dark: #333333;
  --color-dark-hover: #111111;
  --color-focus: #1f1f1f;

  --font-sans: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.8125rem;
  --font-size-sm: 0.9375rem;
  --font-size-body: 0.9375rem;
  --font-size-nav: 0.9375rem;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-logo: clamp(1.2rem, 0.5vw + 1.05rem, 1.45rem);
  --line-body: 1.65;
  --line-heading: 1.25;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --container-width: 1365px;
  --container-pad: 25px;
  --header-height: 72px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  background: var(--color-white);
  line-height: var(--line-body);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: var(--line-heading);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--color-yellow);
  color: var(--color-text);
  padding: var(--space-2) var(--space-4);
  font-weight: var(--weight-bold);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
  outline: 2px solid var(--color-text);
}

.container {
  width: min(100% - (var(--container-pad) * 2), var(--container-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header
   -------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-5);
  min-height: var(--header-height);
}

.logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
  color: var(--color-red);
}

.logo img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 220px;
  object-fit: contain;
}

.logo:hover {
  color: var(--color-red-hover);
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  color: var(--color-text);
  font-size: var(--font-size-nav);
  font-weight: var(--weight-bold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-yellow);
}

.main-nav a[aria-current="page"] {
  font-weight: var(--weight-bold);
}

.header-cta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}

.btn-email {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 18px;
  height: 14px;
  margin: 0 auto;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons
   -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--weight-bold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-text);
}

.btn-primary:hover,
.btn-yellow:hover {
  background: var(--color-yellow-hover);
}

.btn-primary:active,
.btn-yellow:active {
  background: var(--color-yellow-active);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-dark-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* Page shell (placeholder inner pages)
   -------------------------------------------------- */

.page-shell {
  padding: var(--space-7) 0 var(--space-8);
}

.page-shell h1 {
  margin: 0 0 var(--space-4);
}

.page-shell p,
.page-shell li {
  color: var(--color-muted);
}

.page-shell p + p {
  margin-top: var(--space-4);
}

.note {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: #f7f7f7;
  border-left: 4px solid var(--color-yellow);
  color: var(--color-text);
}

/* Footer
   -------------------------------------------------- */

.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
  padding: 36px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.25fr;
  gap: 36px 32px;
  align-items: start;
}

.footer-heading {
  margin: 12px 0 20px;
  padding: 0;
  display: block;
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: var(--weight-bold);
  color: var(--color-white);
  border: 0;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 8px;
  background: var(--color-footer-accent);
}

.footer-logo {
  display: inline-block;
  margin: 0 0 16px;
  text-decoration: none;
}

.footer-wordmark,
.footer-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 180px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  object-fit: contain;
}

.footer-about p {
  max-width: 320px;
  text-align: justify;
}

.footer-about p,
.site-footer p {
  margin: 0;
  color: var(--color-footer-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 12px;
}

.site-footer a {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--color-footer-accent);
}

.footer-logo:hover,
.footer-logo:hover .footer-wordmark {
  color: var(--color-white);
}

.footer-contact p + p {
  margin-top: 14px;
}

.footer-contact strong {
  color: var(--color-footer-accent);
  font-weight: var(--weight-bold);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #3a3a3a;
}

.disclaimer {
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-footer-muted);
  line-height: 1.6;
}

.copyright {
  margin: 0;
  font-size: var(--font-size-xs);
  color: #9a9a9a;
}

/* Homepage — hero with overlay form
   -------------------------------------------------- */

.hero-apply {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(100vh, 760px);
  overflow: hidden;
  background: #141414;
}

.hero-apply-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-apply-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-apply-panel {
  position: relative;
  z-index: 2;
  width: min(92%, 980px);
  margin: 36px auto;
  padding: 34px 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
}

.hero-form-title {
  margin: 0 0 26px;
  color: var(--color-white);
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.7rem);
  font-weight: var(--weight-bold);
  text-align: center;
  line-height: 1.3;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px 20px;
}

.hero-form .form-field {
  margin: 0;
}

.hero-form .form-field input,
.hero-form .form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  appearance: none;
}

.hero-form .form-field input::placeholder,
.hero-form .form-field select {
  color: #6f6f6f;
}

.hero-form .form-field select {
  background-image: none;
  cursor: pointer;
}

.hero-form .form-field input:focus,
.hero-form .form-field select:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.hero-form .form-field.is-invalid input,
.hero-form .form-field.is-invalid select {
  box-shadow: 0 0 0 2px #c8102e;
}

.hero-form .field-error {
  display: none;
  margin: 6px 4px 0;
  color: #ffd7d7;
  font-size: 0.75rem;
  line-height: 1.35;
}

.hero-form .form-field.is-invalid .field-error {
  display: block;
}

.hero-gender {
  grid-column: 1;
}

.btn-hero-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 168px;
  min-height: 44px;
  margin: 28px auto 0;
  padding: 10px 46px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #000000, #434343);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero-submit:hover {
  background: linear-gradient(135deg, #434343, #000000);
}

/* Homepage — image slider below hero
   -------------------------------------------------- */

.home-slider {
  position: relative;
  background: #2a2a2a;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1365 / 450;
  height: auto;
}

.slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 100%;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-btn:hover {
  color: #222;
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

/* Homepage — article and benefits
   -------------------------------------------------- */

.home-article,
.apply-section,
.conclusion,
.tables-section,
.gallery-section {
  padding: 20px 0 0;
}

.home-article {
  padding-top: 24px;
  padding-bottom: var(--space-4);
}

.home-article h1 {
  margin: 0 0 12px;
  max-width: none;
  font-size: 32px;
  color: var(--color-text);
}

.home-article p {
  margin: 0 0 12px;
  max-width: none;
  color: var(--color-text);
  font-size: 15px;
}

.home-article a {
  color: var(--color-link);
}

.benefits {
  margin-top: var(--space-5);
}

.benefits h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.benefits-sub {
  margin: 0 0 12px;
  color: var(--color-text);
  font-size: 15px;
}

.benefits ul {
  margin: 0;
  padding-left: 20px;
}

.benefits li {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 15px;
}

.benefits li strong {
  font-weight: var(--weight-bold);
}

/* Homepage — application form
   -------------------------------------------------- */

.apply-section {
  padding-top: 20px;
  padding-bottom: 30px;
}

.apply-kicker {
  margin: 20px 0;
  font-size: 28px;
  color: var(--color-text);
}

.apply-title {
  margin: 0 auto 20px;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.6px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.enquiry-form {
  width: min(100%, 800px);
  margin: 0 auto;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
  padding-left: 4px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.req {
  color: var(--color-red);
}

.form-field input {
  width: 100%;
  min-height: 50px;
  padding: 6px 12px;
  border: 1px solid var(--color-input-border);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
}

.form-field input::placeholder {
  color: #9a9a9a;
}

.form-field-empty {
  display: block;
}

.franchise-type {
  margin: var(--space-6) 0 0;
  padding: 0;
  border: 0;
}

.franchise-type legend {
  padding: 0;
  margin: 0 0 6px;
  padding-left: 4px;
  font-size: 14px;
  font-weight: var(--weight-medium);
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 0 0 10px;
  font-size: 14px;
  color: #333333d4;
  cursor: pointer;
}

.radio-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-text);
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-submit {
  min-width: 250px;
  min-height: 44px;
  padding: 8px 15px;
  font-size: 18px;
  letter-spacing: 0.6px;
  font-weight: var(--weight-medium);
  border-radius: var(--radius-md);
}

/* Homepage — conclusion, tables, gallery
   -------------------------------------------------- */

.conclusion {
  padding-top: 24px;
  padding-bottom: var(--space-2);
  background: var(--color-white);
}

.conclusion h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: 1.25;
}

.conclusion p:not(.table-note) {
  margin: 0 0 16px;
  max-width: none;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.conclusion .tables-grid {
  margin-top: 20px;
}

.conclusion .table-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: var(--font-size-xs);
  line-height: 1.5;
}

.tables-section {
  padding-top: var(--space-6);
}

.tables-section-metrics {
  padding-top: var(--space-5);
}

.tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.data-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid #cccccc63;
  border-radius: 6px;
  background: var(--color-white);
}

.data-card-title {
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: var(--color-text);
}

.data-card table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #ccccccb2;
  border-radius: 6px;
  overflow: hidden;
}

.data-card .col-label {
  width: 42%;
}

.data-card .col-value {
  width: 58%;
}

.data-card th,
.data-card td {
  padding: 12px;
  border: 0;
  border-bottom: 1px solid #ccccccb2;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.4px;
  line-height: 1.4;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.data-card th {
  font-weight: 500;
  color: var(--color-text);
  border-right: 1px solid #ccccccb2;
}

.data-card td {
  font-weight: var(--weight-regular);
  color: var(--color-text);
}

.data-card tbody tr:last-child th,
.data-card tbody tr:last-child td {
  border-bottom: 0;
}

.data-card tbody tr:nth-child(odd) {
  background: var(--color-white);
}

.data-card tbody tr:nth-child(even) {
  background: var(--color-stripe);
}

.table-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: var(--font-size-xs);
}

.gallery-section {
  padding-top: 20px;
  padding-bottom: var(--space-8);
}

.gallery-section h2 {
  margin: 10px 0 15px;
  font-size: 28px;
  color: var(--color-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 10px;
}

.gallery-item {
  display: block;
  margin: 0;
  height: auto;
  padding: 6px;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 0.3) 0 1px 2px 0, rgba(60, 64, 67, 0.15) 0 2px 6px 2px;
}

.gallery-grid img,
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  transition: transform 1.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* About Us page (scoped — homepage, header, footer unchanged)
   -------------------------------------------------- */

.about-banner {
  background: #333333;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px var(--container-pad);
  text-align: center;
}

.about-banner-inner {
  width: min(100%, var(--container-width));
}

.about-banner-title {
  margin: 0;
  color: var(--color-white);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}

.about-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.about-crumbs li {
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.about-crumbs li:first-child {
  margin-right: 8px;
}

.about-crumbs li:first-child::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-style: solid;
  border-color: var(--color-footer-accent);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  vertical-align: 1px;
}

.about-crumbs a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.4s ease;
}

.about-crumbs a:hover {
  color: var(--color-footer-accent);
}

.about-page {
  background: var(--color-white);
  padding: 0 0 48px;
}

.about-container {
  width: min(100% - (var(--container-pad) * 2), 1140px);
  margin-inline: auto;
}

.about-page h1 {
  margin: 24px auto;
  max-width: none;
  text-align: center;
  font-size: 32px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.about-page h2 {
  margin: 20px 0 12px;
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.about-page p {
  margin: 0 0 12px;
  max-width: none;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.about-page a {
  color: var(--color-link);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  align-items: start;
  margin: 12px 0 8px;
}

.about-media {
  padding: 8px 4px;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
}

.about-block {
  margin: 16px 0;
}

.about-list {
  margin: 0 0 16px;
  padding-left: 1.35rem;
  list-style: none;
}

.about-list li {
  position: relative;
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.65;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.48em;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--color-text);
}

/* Privacy Policy page (scoped — homepage, About, header, footer unchanged)
   -------------------------------------------------- */

.privacy-banner {
  background: #333333;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px var(--container-pad);
  text-align: center;
}

.privacy-banner-inner {
  width: min(100%, var(--container-width));
}

.privacy-banner-title {
  margin: 0;
  color: var(--color-white);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}

.privacy-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-crumbs li {
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.privacy-crumbs li:first-child {
  margin-right: 8px;
}

.privacy-crumbs li:first-child::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-style: solid;
  border-color: var(--color-footer-accent);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  vertical-align: 1px;
}

.privacy-crumbs a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.4s ease;
}

.privacy-crumbs a:hover {
  color: var(--color-footer-accent);
}

.privacy-page {
  background: var(--color-white);
  padding: 0 0 48px;
}

.privacy-container {
  width: min(100% - (var(--container-pad) * 2), 1140px);
  margin-inline: auto;
}

.privacy-page h1 {
  margin: 24px auto;
  max-width: none;
  text-align: center;
  font-size: 32px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.privacy-page h2 {
  margin: 20px 0 12px;
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.privacy-page p {
  margin: 0 0 16px;
  max-width: none;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 575px) {
  .privacy-banner {
    min-height: 140px;
    padding: 22px var(--container-pad);
  }

  .privacy-banner-title {
    font-size: 26px;
  }

  .privacy-page {
    padding-bottom: 36px;
  }

  .privacy-page h1 {
    margin: 20px auto 16px;
    font-size: 28px;
  }

  .privacy-page h2 {
    font-size: 22px;
  }

  .about-banner {
    min-height: 140px;
    padding: 22px var(--container-pad);
  }

  .about-banner-title {
    font-size: 26px;
  }

  .about-page {
    padding-bottom: 36px;
  }

  .about-page h1 {
    margin: 20px auto 16px;
    font-size: 28px;
  }

  .about-page h2 {
    font-size: 22px;
  }

  .about-split {
    grid-template-columns: 1fr;
  }
}

/* Contact Us page (scoped — homepage, About, header, footer unchanged)
   -------------------------------------------------- */

.contact-banner {
  background: #333333;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px var(--container-pad);
  text-align: center;
}

.contact-banner-inner {
  width: min(100%, var(--container-width));
}

.contact-banner-title {
  margin: 0;
  color: var(--color-white);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}

.contact-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.contact-crumbs li {
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.contact-crumbs li:first-child {
  margin-right: 8px;
}

.contact-crumbs li:first-child::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-style: solid;
  border-color: var(--color-footer-accent);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  vertical-align: 1px;
}

.contact-crumbs a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.4s ease;
}

.contact-crumbs a:hover {
  color: var(--color-footer-accent);
}

.contact-page {
  background: var(--color-white);
  padding: 0 0 48px;
}

.contact-container {
  width: min(100% - (var(--container-pad) * 2), 1140px);
  margin-inline: auto;
}

.contact-page h1 {
  margin: 24px auto;
  max-width: none;
  text-align: center;
  font-size: 32px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.contact-page h2 {
  margin: 20px 0 16px;
  font-size: 28px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.contact-intro {
  margin: 0 auto 28px;
  max-width: none;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 48px;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  padding: 22px 24px 20px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-yellow);
  background: var(--color-white);
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.contact-info-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
}

.contact-info-card a {
  color: var(--color-link);
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-form-section {
  margin: 0;
}

.contact-form-section h2,
.contact-info h2 {
  margin-top: 0;
}

.contact-form {
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.contact-page .form-field {
  margin: 0;
}

.contact-page .form-field input,
.contact-page .form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 6px 12px;
  border: 1px solid var(--color-input-border);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
}

.contact-page .form-field textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

.contact-page .form-field input::placeholder,
.contact-page .form-field textarea::placeholder {
  color: #9a9a9a;
}

.contact-page .form-field input:focus,
.contact-page .form-field textarea:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.contact-page .form-field input:focus-visible,
.contact-page .form-field textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.contact-message-field {
  grid-column: 1 / -1;
}

.contact-page .field-error {
  display: none;
  margin: 6px 4px 0;
  color: #c8102e;
  font-size: 0.75rem;
  line-height: 1.35;
}

.contact-page .form-field.is-invalid .field-error {
  display: block;
}

.contact-page .form-field.is-invalid input,
.contact-page .form-field.is-invalid textarea {
  border-color: #c8102e;
}

.contact-status {
  display: none;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eef8f1;
  color: #1a5d32;
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  text-align: center;
  line-height: 1.45;
}

.contact-status.is-visible {
  display: block;
}

.contact-status.is-error,
.form-status.is-error,
.login-status.is-error,
.apply-status.is-error {
  background: #fdeeee;
  color: #8a1f1f;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eef8f1;
  color: #1a5d32;
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  text-align: center;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.hero-form .form-status {
  margin-top: 16px;
}

.login-status {
  display: none;
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #eef8f1;
  color: #1a5d32;
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  line-height: 1.45;
}

.login-status.is-visible {
  display: block;
}

.login-field.is-invalid input {
  border-color: #c8102e;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-message-field {
    grid-column: auto;
  }
}

@media (max-width: 575px) {
  .contact-banner {
    min-height: 140px;
    padding: 22px var(--container-pad);
  }

  .contact-banner-title {
    font-size: 26px;
  }

  .contact-page {
    padding-bottom: 36px;
  }

  .contact-page h1 {
    margin: 20px auto 16px;
    font-size: 28px;
  }

  .contact-page h2 {
    font-size: 22px;
  }

  .contact-info-card {
    padding: 18px 16px 16px;
  }
}

/* Agent Login / Check Status page (scoped)
   -------------------------------------------------- */

.login-page {
  background: var(--color-white);
  min-height: calc(100vh - var(--header-height));
  padding: 56px 0 120px;
}

.login-inner {
  width: min(100% - (var(--container-pad) * 2), 1140px);
  margin-inline: auto;
}

.login-page h1 {
  margin: 0 auto 12px;
  text-align: center;
  font-size: 32px;
  font-weight: var(--weight-bold);
  line-height: 1.25;
  color: var(--color-text);
}

.login-subtitle {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  font-size: 16px;
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: var(--color-text);
}

.login-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 22px 0 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.login-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
  margin: 88px 0 0;
}

.login-field {
  min-width: 0;
}

.login-field input {
  width: 100%;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.login-field input::placeholder {
  color: #6c757d;
  opacity: 1;
}

.login-field input:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.login-field input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 108px;
  min-height: 42px;
  padding: 8px 22px;
  border: 1px solid #007bff;
  border-radius: 4px;
  background: #007bff;
  color: var(--color-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: var(--weight-medium);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.login-submit:hover {
  background: #0069d9;
  border-color: #0062cc;
}

.login-submit:active {
  background: #0062cc;
  border-color: #005cbf;
}

@media (max-width: 960px) {
  .login-page {
    padding: 36px 0 72px;
  }

  .login-page h1 {
    font-size: 28px;
  }

  .login-subtitle {
    font-size: 15px;
  }

  .login-form {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 14px;
  }

  .login-submit {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .login-page {
    padding: 28px 0 56px;
  }

  .login-page h1 {
    font-size: 26px;
  }

  .login-subtitle {
    font-size: 14px;
  }
}

/* Apply page (scoped — other pages unchanged)
   -------------------------------------------------- */

.apply-page {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  padding: 40px 0 56px;
  overflow: hidden;
  background: #141414;
}

.apply-page-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.apply-page-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.apply-page-inner {
  position: relative;
  z-index: 2;
  width: min(92%, 880px);
  margin: 0 auto;
  padding: 0 16px;
}

.apply-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.apply-card-header {
  margin: 0;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.75);
  text-align: center;
}

.apply-card-header h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.15rem, 1vw + 0.95rem, 1.5rem);
  font-weight: var(--weight-bold);
  line-height: 1.35;
}

.apply-form {
  padding: 24px 28px 28px;
}

.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.apply-page .form-field {
  margin: 0;
}

.apply-page .form-field input,
.apply-page .form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  appearance: none;
}

.apply-page .form-field input::placeholder,
.apply-page .form-field select {
  color: #6f6f6f;
}

.apply-page .form-field select {
  background-image: none;
  cursor: pointer;
}

.apply-page .form-field input:focus,
.apply-page .form-field select:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.apply-page .form-field.is-invalid input,
.apply-page .form-field.is-invalid select {
  box-shadow: 0 0 0 2px #c8102e;
}

.apply-gender {
  grid-column: 1;
}

.apply-franchise-type {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 0;
  border: 0;
}

.apply-franchise-type legend {
  padding: 0;
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
}

.apply-franchise-type .radio-row {
  color: rgba(255, 255, 255, 0.92);
}

.apply-franchise-type.is-invalid {
  box-shadow: none;
}

.apply-franchise-type.is-invalid legend {
  color: #ffd7d7;
}

.apply-page .field-error {
  display: none;
  margin: 6px 4px 0;
  color: #ffd7d7;
  font-size: 0.75rem;
  line-height: 1.35;
}

.apply-page .form-field.is-invalid .field-error {
  display: block;
}

.apply-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 168px;
  min-height: 44px;
  margin: 28px auto 0;
  padding: 10px 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #000000, #434343);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.apply-submit:hover {
  background: linear-gradient(135deg, #434343, #000000);
}

.apply-status {
  display: none;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a5d32;
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  text-align: center;
  line-height: 1.45;
}

.apply-status.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .apply-form-grid {
    grid-template-columns: 1fr;
  }

  .apply-gender,
  .apply-franchise-type {
    grid-column: auto;
  }

  .apply-page {
    padding: 28px 0 40px;
  }

  .apply-page-inner {
    width: min(94%, 720px);
    padding: 0 8px;
  }

  .apply-form {
    padding: 20px 16px 22px;
  }
}

@media (max-width: 600px) {
  .apply-card-header {
    padding: 14px 16px;
  }

  .apply-card-header h1 {
    font-size: 1.1rem;
  }

  .apply-submit {
    width: min(100%, 220px);
  }
}

/* Responsive
   -------------------------------------------------- */

@media (max-width: 1240px) {
  :root {
    --header-height: 64px;
    --container-pad: 20px;
  }

  .header-inner {
    gap: var(--space-3);
  }

  .logo img {
    height: 42px;
    max-width: 180px;
  }

  .btn-email {
    font-size: 0.75rem;
    padding: 10px 12px;
    max-width: min(52vw, 240px);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: var(--space-3) var(--container-pad) var(--space-5);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a {
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 960px) {
  :root {
    --container-pad: 16px;
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-about p {
    max-width: none;
  }

  .home-article h1 {
    max-width: none;
    font-size: 28px;
  }

  .form-grid,
  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .tables-grid {
    gap: 30px;
  }

  .data-card {
    padding: 0;
    border: 0;
    overflow-x: auto;
  }

  .data-card-title {
    font-size: 1.125rem;
    margin-bottom: 16px;
  }

  .data-card th,
  .data-card td {
    padding: 10px 8px;
    font-size: 14px;
  }

  .hero-gender {
    grid-column: auto;
  }

  .hero-apply {
    min-height: min(100vh, 640px);
    padding: 28px 0;
  }

  .hero-apply-panel {
    width: min(94%, 720px);
    padding: 24px 20px 22px;
  }

  .form-field-empty {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .enquiry-form {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 8px;
  }

  .logo img {
    height: 36px;
    max-width: 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding: var(--space-6) 0 var(--space-7);
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 32px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .hero-form-title {
    font-size: 1.15rem;
  }

  .btn-hero-submit {
    width: min(100%, 220px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .apply-title {
    font-size: 1.15rem;
  }

  .btn-submit {
    width: 100%;
    min-width: 0;
  }

  .home-article,
  .apply-section,
  .conclusion,
  .tables-section,
  .gallery-section {
    padding-top: 20px;
  }

  .tables-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .conclusion .tables-grid {
    margin-top: 16px;
  }

  .data-card th,
  .data-card td {
    display: block;
    width: 100%;
    text-align: center;
    border-right: 0;
  }

  .data-card .col-label,
  .data-card .col-value {
    width: 100%;
  }

  .data-card tbody tr {
    padding: 10px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .slider-track {
    transition: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}
