:root {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --white: #ffffff;
  --grey: #a8a8a8;
  --orange: #ffab00;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, "Segoe UI", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; position: relative; z-index: 100; }
.logo-mark { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 20px; color: var(--white); text-decoration: none; }
.logo-mark span.car { color: var(--orange); }
.logo-img { height: 42px; width: auto; display: block; }
.logo-icon { height: 34px; width: 34px; display: block; margin-right: 4px; }
nav ul { list-style: none; display: flex; gap: 28px; font-size: 14px; color: var(--grey); }
nav ul li.highlight { color: var(--orange); font-weight: 600; cursor: pointer; }
nav ul li a { color: inherit; text-decoration: none; }
.lang-switch { font-size: 13px; color: var(--grey); }
.lang-switch a { color: var(--grey); text-decoration: none; padding: 0 2px; }
.lang-switch a:hover, .lang-switch a.active { color: var(--orange); }
.btn {
  background: var(--orange); color: #1a1200; font-weight: 700;
  padding: 10px 20px; border-radius: 6px; text-decoration: none; font-size: 14px;
  border: none; cursor: pointer; display: inline-block;
}

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 0;
  padding-top: 12px; /* the gap now lives INSIDE the hoverable box, not outside it */
}
.nav-dropdown-menu-inner {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  min-width: 170px; padding: 8px; z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 13.5px;
  color: var(--grey); text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--orange); }
.nav-dropdown-menu a.menu-help {
  margin-top: 6px; border: 1px solid var(--orange); color: var(--orange); font-weight: 600; white-space: nowrap;
}
.nav-dropdown-menu a.menu-help:hover { background: var(--orange); color: #1a1200; }

/* HERO */
.hero {
  text-align: center; padding: 190px 24px 150px; position: relative; overflow: hidden;
  background: url('../assets/hero-poster.jpg') center/cover no-repeat;
  /* full-bleed: stretch edge to edge of the browser, even though the page content is narrower */
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.68) 0%, rgba(10,10,10,0.80) 65%, var(--bg) 100%);
}
.hero > *:not(.hero-video) { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero .eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 14px; }
.hero h1 span { color: var(--orange); }
.hero p { color: var(--grey); font-size: 17px; margin-bottom: 30px; }
.hero .btn { padding: 14px 30px; font-size: 15px; }
.hero .sub-btn {
  display: inline-block; margin-left: 14px; padding: 14px 30px;
  border: 1px solid var(--border); border-radius: 6px; color: var(--white);
  text-decoration: none; font-size: 15px;
}

/* SECTION HEADERS */
section { padding: 60px 0; position: relative; }
/* soft divider between sections: a faint line that fades out at both ends instead of a hard full-width rule */
section::after, footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
}
section[style*="border-top:none"]::after, section[style*="border-top: none"]::after { display: none; }
.section-tag { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--grey); font-size: 15px; margin-bottom: 36px; max-width: 560px; }

/* SERVICE PICKER */
.picker-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; text-align: center;
}
.picker-box h3 { font-size: 20px; margin-bottom: 8px; }
.picker-box p { color: var(--grey); font-size: 14px; margin-bottom: 22px; }
.picker-options { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.picker-options button {
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--white);
  padding: 14px 22px; border-radius: 8px; font-size: 14px; cursor: pointer;
}
.picker-options button:hover { border-color: var(--orange); color: var(--orange); }
.picker-options-desc { align-items: stretch; }
.picker-options-desc button {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  max-width: 220px; padding: 16px 18px;
}
.picker-options-desc .opt-title { font-weight: 700; font-size: 14px; }
.picker-options-desc .opt-desc { font-size: 12.5px; color: var(--grey); font-weight: 400; }
.picker-options-desc button:hover .opt-desc { color: var(--orange); opacity: 0.85; }
.quiz-back {
  display: inline-block; margin-top: 22px; color: var(--grey); font-size: 13px;
  cursor: pointer; text-decoration: underline;
}
.quiz-result-tag {
  color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 10px;
}

/* SERVICE CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p.desc { color: var(--grey); font-size: 13.5px; margin-bottom: 16px; flex-grow: 1; }
.card .price { color: var(--orange); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.card a { color: var(--white); font-size: 13px; text-decoration: underline; }

.help-box {
  margin-top: 20px; position: relative; overflow: hidden;
  background: linear-gradient(110deg, #1b1b1b 0%, #1a1a1a 50%, rgba(255,171,0,0.13) 100%);
  border: 1px solid rgba(255,171,0,0.35); border-radius: 16px;
  padding: 32px 38px; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.help-box::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px;
  background: var(--orange); border-radius: 0 4px 4px 0;
}
.help-box h3 { font-size: 21px; margin-bottom: 6px; }
.help-box p { color: var(--grey); font-size: 14px; }
.help-box .btn { padding: 14px 26px; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease; }
.help-box .btn::after { content: " \2192"; }
.help-box .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,171,0,0.25); }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 26px; transition: border-color .2s ease; }
.faq-item:hover, .faq-item[open] { border-color: rgba(255,171,0,0.4); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { color: var(--grey); font-size: 14.5px; line-height: 1.8; padding: 0 0 22px; }
.faq-answer p + p, .faq-answer ul + p { margin-top: 10px; }
.faq-answer ul { margin-left: 20px; }
.faq-answer a { color: var(--white); }

/* TRUST */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-grid-5 { grid-template-columns: repeat(5, 1fr); }
.trust-grid div { padding: 20px; }
.trust-grid .icon { font-size: 26px; margin-bottom: 10px; }
.trust-grid h4 { font-size: 14px; margin-bottom: 6px; }
.trust-grid p { color: var(--grey); font-size: 12.5px; }

/* GALLERY placeholder */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ph {
  aspect-ratio: 1; background: var(--bg-alt); border: 1px dashed var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 12px; text-align: center; text-decoration: none;
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.ph:hover { border-color: var(--orange); color: var(--orange); }

/* CAROUSEL */
.carousel { position: relative; min-width: 0; }
.carousel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 86%; scroll-snap-align: start; }
.carousel-slide .ph { width: 100%; border-style: solid; }
.carousel-btn {
  position: absolute; top: calc(50% - 30px); transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(10,10,10,0.72); color: var(--white); border: 1px solid rgba(255,255,255,0.25);
  font-size: 26px; line-height: 1; padding: 0 0 3px; transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover { background: var(--orange); color: #1a1200; border-color: var(--orange); }
.carousel-btn:focus-visible, .carousel-dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #3a3a3a; transition: background .2s ease, transform .2s ease; }
.carousel-dot.active { background: var(--orange); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }
@media (max-width: 800px) { .carousel-slide { flex-basis: 90%; } .carousel-btn { width: 40px; height: 40px; } }

/* Homepage photo row: 4 visible on desktop, scroll or arrows for more */
.carousel.carousel-row .carousel-slide { flex: 0 0 calc((100% - 42px) / 4); }
.carousel.carousel-row .carousel-btn { top: 50%; }
.carousel.carousel-row .carousel-dots { display: none; }
@media (max-width: 800px) { .carousel.carousel-row .carousel-slide { flex-basis: 44%; } }

/* CARE GUIDES */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.guide-card .ph-img { height: 110px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 12px; }
.guide-card .body { padding: 18px; }
.guide-card h4 { font-size: 15px; margin-bottom: 6px; }
.guide-card p { color: var(--grey); font-size: 13px; }

/* CONTACT */
.contact-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.contact-item { font-size: 14px; }
.contact-item .label { color: var(--grey); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item a { color: var(--white); }

/* ENQUIRY FORM */
.enquiry-form {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; margin-top: 24px; display: none;
}
.enquiry-form.open { display: block; }
.enquiry-form label { display: block; font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.enquiry-form .field { margin-bottom: 18px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border); color: var(--white);
  padding: 12px 14px; border-radius: 6px; font-size: 14px; font-family: inherit;
}
.enquiry-form textarea { min-height: 90px; resize: vertical; }
.enquiry-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-group {
  display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--white);
  text-transform: none; letter-spacing: normal; cursor: pointer;
}
.checkbox-item input[type="checkbox"] { width: auto; accent-color: var(--orange); cursor: pointer; }
.enquiry-form .checkbox-item { text-transform: none; letter-spacing: normal; font-size: 14px; color: var(--white); margin-bottom: 0; }
.form-privacy { color: var(--grey); font-size: 12.5px; line-height: 1.6; margin: 4px 0 14px; }
.enquiry-form-error { color: #ff6b6b; font-size: 13px; margin-bottom: 14px; }

footer { text-align: center; color: var(--grey); font-size: 12.5px; padding: 30px 0; position: relative; line-height: 1.8; }

/* MOBILE MENU BUTTON (hidden on desktop) */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* LANGUAGE GLOBE BUTTON (phones only) */
.lang-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--white);
  align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover, nav.lang-open .lang-toggle { border-color: var(--orange); color: var(--orange); }
.lang-toggle:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- TABLET + PHONE ---------- */
@media (max-width: 800px) {
  .wrap { padding: 0 20px; }
  section { padding: 44px 0; }
  .section-title { font-size: 24px; }
  [style*="nowrap"] { white-space: normal !important; }

  /* nav: logo + Enquire + menu button, menu opens below */
  nav { flex-wrap: wrap; padding: 14px 0; column-gap: 10px; }
  nav .logo-mark { order: 1; font-size: 18px; margin-right: auto; }
  nav:not(.has-menu) ul { order: 2; font-size: 14px; }
  .logo-icon { height: 30px; width: 30px; margin-right: 2px; }
  nav.has-menu .lang-toggle { order: 2; display: flex; }
  nav.has-menu > .btn { order: 3; padding: 10px 14px; font-size: 13px; }
  nav.has-menu .nav-toggle { order: 4; display: flex; }
  nav.has-menu ul {
    order: 5; display: none; flex-basis: 100%; flex-direction: column; gap: 0;
    margin-top: 12px; border-top: 1px solid var(--border); font-size: 16px;
  }
  nav.has-menu.open ul { display: flex; }
  nav.has-menu ul > li { border-bottom: 1px solid var(--border); padding: 14px 4px; }
  nav.has-menu ul > li > a { display: block; }
  nav.has-menu ul > li.highlight { border-bottom: none; }
  .nav-dropdown-menu { display: block; position: static; padding-top: 6px; }
  .nav-dropdown-menu-inner { background: none; border: none; min-width: 0; padding: 0 0 0 14px; }
  .nav-dropdown-menu a { padding: 11px 8px; font-size: 15px; }
  .nav-dropdown-menu a.menu-help { margin-top: 8px; white-space: normal; text-align: center; }
  nav.has-menu .lang-switch { order: 6; display: none; flex-basis: 100%; padding: 14px 4px 6px; font-size: 15px; border-top: 1px solid var(--border); }
  /* language links are no longer repeated inside the open menu; the globe button covers it */
  /* language popup from the globe button (only when the main menu is closed) */
  nav.has-menu.lang-open:not(.open) .lang-switch {
    display: flex; gap: 4px; position: absolute; top: calc(100% - 6px); right: 0; z-index: 120;
    padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5); flex-basis: auto; font-size: 0; border-top: 1px solid var(--border);
  }
  nav.has-menu.lang-open:not(.open) .lang-switch a { padding: 10px 16px; font-size: 15px; border-radius: 6px; }
  nav.has-menu.lang-open:not(.open) .lang-switch a:hover { background: var(--bg-alt); }
  .lang-switch a { padding: 8px 10px; }

  /* hero */
  .hero { margin: 0 -20px; padding: 80px 20px 64px; }
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .hero p { font-size: 15px; }
  .hero .btn, .hero .sub-btn { display: block; width: 100%; max-width: 300px; margin: 10px auto 0; padding: 14px 20px; text-align: center; }

  /* quiz, help box, forms, contact */
  .picker-box { padding: 24px 16px; }
  .picker-options button { width: 100%; }
  .picker-options-desc button { max-width: none; width: 100%; }
  .help-box { padding: 22px 20px; }
  .help-box .btn { width: 100%; text-align: center; }
  /* phone tap links: small text links become proper outline buttons */
  .cards .card a, .coat-cards .coat-card a.more {
    display: block; text-align: center; margin-top: 4px; padding: 12px 16px; min-height: 44px;
    border: 1px solid rgba(255,171,0,0.55); border-radius: 8px;
    color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600;
    transition: background .2s ease, color .2s ease;
  }
  .cards .card a:active, .coat-cards .coat-card a.more:active { background: var(--orange); color: #1a1200; }
  .contact-box { flex-direction: column; padding: 24px; gap: 18px; }
  .contact-box .btn { width: 100%; text-align: center; }
  .enquiry-form { padding: 22px 18px; }
  .enquiry-form .grid-2 { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; }

  /* grids */
  .cards, .guides { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .trust-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  footer { padding: 24px 0; }
}

@media (min-width: 601px) and (max-width: 800px) {
  .trust-grid-5 > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .cards, .cards-2, .cards-4, .guides { grid-template-columns: 1fr; }
  .trust-grid, .trust-grid-5 { grid-template-columns: 1fr; gap: 4px; }
  /* trust section on phones: icon on the left, heading and text on the right */
  .trust-grid { text-align: left; }
  .trust-grid > div {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
    padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .trust-grid > div:last-child { border-bottom: none; }
  .trust-grid > div > .icon {
    grid-row: span 2; padding: 0; margin: 0; width: 44px; height: 44px; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  }
  .trust-grid > div > h4 { margin: 2px 0 4px; font-size: 15px; }
  .trust-grid > div > p { font-size: 13px; line-height: 1.6; }
}

@media (max-width: 420px) {
  nav { column-gap: 6px; }
  nav .logo-mark { font-size: 15px; gap: 4px; }
  .logo-icon { height: 24px; width: 24px; margin-right: 0; }
  nav.has-menu > .btn { padding: 8px 9px; font-size: 12px; }
  nav.has-menu .lang-toggle, nav.has-menu .nav-toggle { width: 36px; height: 36px; }
  nav.has-menu .lang-toggle svg { width: 18px; height: 18px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 27px; }
}

@media (max-width: 350px) {
  nav { column-gap: 4px; }
  nav .logo-mark { font-size: 14px; }
  .logo-icon { height: 22px; width: 22px; }
  nav.has-menu > .btn { padding: 7px 7px; font-size: 11px; }
  nav.has-menu .lang-toggle, nav.has-menu .nav-toggle { width: 32px; height: 32px; }
}
