:root {
  --header-bg: #d7b7a3;
  --text-dark: #33435b;
  --accent: #8f17e8;
  --btn-bg: #2f3642;
  --header-border: rgba(0, 0, 0, 0.09);
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  color: #1f2733;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: 100%;
  margin: 0;
  min-height: var(--header-height);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.brand {
  text-decoration: none;
  min-width: 132px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(44px, 4.2vw, 62px);
  object-fit: contain;
}

.brand-text {
  font-size: clamp(42px, 4vw, 56px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #efd6c7 0%, #d69f7f 48%, #3a3c46 49%, #4e5059 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(51, 67, 91, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  padding: 0 12px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #223248;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 8px 6px 16px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-link:hover {
  color: #1d2840;
}

.enquire-btn {
  text-decoration: none;
  color: #ffffff;
  background: var(--btn-bg);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.enquire-btn:hover {
  background: #252c37;
  transform: translateY(-1px);
}

.enquire-btn-mobile {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 930;
  background: rgba(9, 16, 27, 0.5);
  backdrop-filter: blur(4px);
}

.hero-slider {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: calc(var(--header-height) + 22px) 0 22px;
}

.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 300px;
  max-height: 620px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 26, 36, 0.75);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(20, 26, 36, 0.9);
}

.slider-arrow-prev {
  left: 36px;
}

.slider-arrow-next {
  right: 36px;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 41, 57, 0.35);
  padding: 0;
  cursor: pointer;
}

.slider-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #202939;
}

.site-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(11, 17, 27, 0.72);
  z-index: 2500;
}

.site-modal.is-open {
  display: flex;
}

.site-modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  width: min(760px, 92vw);
  max-height: 92vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
}

.site-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(19, 37, 61, 0.08);
  color: #17325a;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.site-modal-aside {
  padding: 24px 22px;
  background:
    linear-gradient(145deg, rgba(22, 38, 61, 0.97), rgba(53, 77, 107, 0.94)),
    #1b2c44;
  color: #ffffff;
}

.site-modal-logo-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.site-modal-logo {
  width: min(148px, 70%);
  height: auto;
  display: block;
}

.site-modal-kicker {
  margin: 0 0 8px;
  color: #dcc2ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.site-modal-heading {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.1;
}

.site-modal-copy {
  margin: 0;
  color: rgba(235, 241, 248, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.site-modal-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.site-modal-point {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.site-modal-point span {
  display: block;
  margin-bottom: 6px;
  color: rgba(220, 230, 241, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-modal-point a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.site-modal-form {
  display: grid;
  gap: 12px;
  padding: 24px 22px 22px;
}

.site-modal-title {
  margin: 0;
  color: #16253c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.site-modal-form-copy {
  margin: -2px 0 4px;
  color: #5a6778;
  font-size: 14px;
  line-height: 1.6;
}

.site-modal-field {
  display: grid;
  gap: 8px;
}

.site-modal-field span {
  color: #223041;
  font-size: 13px;
  font-weight: 600;
}

.site-modal-form input,
.site-modal-form textarea {
  width: 100%;
  border: 1px solid #d7dfe8;
  background: #f8fafc;
  color: #1f1f1f;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-modal-form textarea {
  min-height: 88px;
  resize: vertical;
}

.site-modal-form input:focus,
.site-modal-form textarea:focus {
  border-color: #8f6f58;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(143, 111, 88, 0.12);
}

.site-modal-form button[type="submit"] {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d2d43 0%, #8c6a52 100%);
  color: #ffffff;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1;
  text-transform: uppercase;
  padding: 13px 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-modal-form button[type="submit"]:disabled,
.contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

.site-modal-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(44, 55, 72, 0.18);
}

.lead-form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.lead-form-status.is-success {
  background: #e8f6ee;
  border: 1px solid #b8ddc3;
  color: #215c35;
}

.lead-form-status.is-error {
  background: #fff1f0;
  border: 1px solid #f1c1bd;
  color: #8a2c23;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 82px;
  }

  .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    height: clamp(42px, 8vw, 56px);
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 22px 18px 32px;
    background: rgba(250, 246, 242, 0.98);
    border-left: 1px solid rgba(51, 67, 91, 0.1);
    box-shadow: -18px 0 40px rgba(21, 31, 45, 0.16);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 950;
    overflow-y: auto;
  }

  .nav-link {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(51, 67, 91, 0.08);
    font-size: 15px;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .enquire-btn {
    padding: 11px 18px;
    font-size: 13px;
  }

  .header-inner > .enquire-btn {
    margin-left: auto;
  }

  .enquire-btn-mobile {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
  }

  .hero-slider {
    padding-top: calc(var(--header-height) + 18px);
  }

  .slider-arrow-prev {
    left: 22px;
  }

  .slider-arrow-next {
    right: 22px;
  }

  .site-modal-dialog {
    grid-template-columns: 1fr;
  }

  .site-modal-aside {
    padding: 22px 20px 16px;
  }

  .site-modal-form {
    padding: 14px 20px 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand-logo {
    height: 42px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .header-inner > .enquire-btn {
    display: none;
  }

  .main-nav {
    width: 100%;
    top: var(--header-height);
    padding: 18px 16px 28px;
  }

  .hero-slider {
    padding-top: calc(var(--header-height) + 14px);
  }

  .slider-track {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    border-radius: 12px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .slider-arrow-prev {
    left: 18px;
  }

  .slider-arrow-next {
    right: 18px;
  }

  .site-modal-dialog {
    width: 95vw;
    border-radius: 22px;
  }

  .site-modal-title {
    font-size: 24px;
  }

  .site-modal-form input,
  .site-modal-form textarea {
    font-size: 16px;
    padding: 12px 12px;
  }

  .site-modal-form button[type="submit"] {
    width: 100%;
    justify-self: stretch;
  }
}
