/* ================================================
   HCG UK EUROPE DMC – Shared Stylesheet
   Fonts: Lora (headings) + Roboto (body)
   Colors: Navy #001e3c | Orange #d25a1e | White #fff
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Roboto:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #001e3c;
  --navy-mid:    #002d5c;
  --navy-light:  #003b78;
  --orange:      #c9962a;
  --orange-light:#d4a535;
  --orange-pale: rgba(201,150,42,0.12);
  --white:       #ffffff;
  --off-white:   #f7f6f4;
  --light-grey:  #edecea;
  --text:        #1a1a2e;
  --text-muted:  #5a5a72;
  --border:      #dddbd6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Lora', serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 36px; }
.section-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.15; color: var(--navy);
}
.section-sub {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.75; max-width: 540px; margin-top: 16px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--orange); color: #fff;
  padding: 15px 36px; border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.25s; border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(210,90,30,0.35);
}
.btn-outline-white {
  display: inline-block;
  background: transparent; color: #fff;
  padding: 15px 36px; border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.55); transition: all 0.25s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-navy {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 14px 34px; border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--navy); transition: all 0.25s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: transparent; color: #fff;
  padding: 11.5px 30px; border: 2px solid rgba(255,255,255,0.55); border-radius: 6px;
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.25s; cursor: pointer;
}
.btn-whatsapp i { font-size: 18px; line-height: 1; }
.btn-whatsapp:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

/* ===== NAV ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999; padding: 22px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(0,20,48,0.97);
  backdrop-filter: blur(14px);
  padding: 13px 0;
  box-shadow: 0 2px 24px rgba(0,10,30,0.45);
}
.navbar.scrolled .nav-link { color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-link:hover { color: var(--orange); }
.navbar.scrolled .nav-logo-white { display: block !important; }
.navbar.scrolled .nav-logo-color { display: none !important; }
.nav-logo-white { display: block; }
.nav-logo-color { display: none; }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 36px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo img { height: 56px; width: auto; background: transparent; filter: drop-shadow(0 0 6px rgba(0,14,35,0.9)); }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-link:hover { color: var(--orange-light); }
.nav-link.active { color: var(--orange-light) !important; font-weight: 600; }
.navbar.scrolled .nav-link.active { color: var(--orange) !important; }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 11px 26px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0; width: 44px; height: 44px;
  align-items: center; justify-content: flex-end;
  -webkit-tap-highlight-color: transparent;
}
/* burger bars always solid white — overrides any inline fill attribute */
.hamburger svg rect, .hamburger svg path, .hamburger svg line { fill: #fff; stroke: #fff; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 1000;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  flex-direction: column; padding: 90px 36px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .m-link {
  font-family: 'Lora', serif; font-size: 30px; font-weight: 700;
  color: var(--navy); padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .m-link:hover { color: var(--orange); }
.mobile-close {
  position: fixed;
  top: 22px; right: 28px; z-index: 2;
  background: none; border: none; font-size: 26px;
  color: var(--navy); cursor: pointer;
}

/* ===== TICKER ===== */
.ticker { background: var(--navy); padding: 13px 0; overflow: hidden; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 36px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: #030d1e; padding: 80px 0 36px; color: rgba(255,255,255,0.45); }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 52px; margin-bottom: 60px;
}
.footer-logo { height: 110px; width: auto; background: transparent; display: block; margin-left: 0; margin-right: auto; filter: drop-shadow(0 0 6px rgba(0,14,35,0.9)); }
.footer-about { font-size: 13.5px; line-height: 1.75; margin-top: 18px; max-width: 290px; }
.footer-org { font-size: 12px; color: rgba(255,255,255,0.36); margin-top: 10px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-col h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff; margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-ci { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; }
.footer-ci i { color: var(--orange); flex-shrink: 0; margin-top: 3px; font-size: 13px; }
.footer-ci a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-ci a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 12px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
  .navbar { padding: 14px 0; }
  .navbar.scrolled { padding: 10px 0; }
  .nav-logo img { height: 50px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-logo { height: 80px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 54px !important; }
  .navbar { padding: 14px 0; }
  .navbar.scrolled { padding: 12px 0; }
  .nav-logo { padding: 4px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-logo { height: 70px; }
  .footer { padding: 48px 0 28px; }
  .footer-about { max-width: 100%; font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal { gap: 14px; }
  .footer-col h3 { font-size: 13px; margin-bottom: 20px; }
  .section-label { font-size: 10px; letter-spacing: 0.1em; }
  h2 { font-size: clamp(22px, 7vw, 32px); }
  .btn-primary, .btn-outline-white, .btn-outline-navy { padding: 13px 22px; font-size: 13px; }
}

/* ===== QUOTE MODAL (shared) ===== */
.qm-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,15,35,0.62); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.qm-overlay.open { display: flex; animation: qmFade 0.25s ease; }
@keyframes qmFade { from { opacity: 0; } to { opacity: 1; } }
.qm-card {
  background: #fff; border-radius: 22px; width: 100%; max-width: 560px;
  padding: 40px; position: relative; margin: auto;
  box-shadow: 0 24px 80px rgba(0,20,50,0.35);
  animation: qmPop 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes qmPop { from { transform: translateY(24px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.qm-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.qm-close:hover { color: var(--navy); }
.qm-head h3 { font-size: 26px; color: var(--navy); font-weight: 700; margin-bottom: 7px; }
.qm-head p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
.qm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qm-field { display: flex; flex-direction: column; gap: 6px; }
.qm-field.full { grid-column: span 2; }
.qm-field label { font-family: 'Roboto', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.qm-card input, .qm-card textarea {
  background: var(--off-white); border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 15px; font-size: 14px; font-family: 'Roboto', sans-serif; color: var(--text);
  outline: none; width: 100%; transition: all 0.2s;
}
.qm-card input:focus, .qm-card textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(201,150,42,0.12); }
.qm-card textarea { resize: vertical; min-height: 96px; }
.qm-submit { width: 100%; margin-top: 4px; }
.qm-note { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.qm-success { display: none; text-align: center; padding: 20px 10px 6px; }
.qm-check { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: rgba(34,197,94,0.12); display: flex; align-items: center; justify-content: center; }
.qm-check i { font-size: 38px; color: #16a34a; }
.qm-success h3 { font-size: 25px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.qm-success p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }
.qm-hidden { display: none !important; }
@media (max-width: 600px) {
  .qm-card { padding: 28px 20px; border-radius: 18px; }
  .qm-grid { grid-template-columns: 1fr; }
  .qm-field.full { grid-column: auto; }
  .qm-overlay { padding: 20px 12px; }
}

/* ===== SKIP TO CONTENT (accessibility) ===== */
.skip-link {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0; z-index: 2000;
  width: auto; height: auto; margin: 0; padding: 13px 24px;
  overflow: visible; clip: auto; clip-path: none;
  background: var(--navy); color: #fff;
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  border-bottom-right-radius: 6px;
  outline: 2px solid var(--orange); outline-offset: -2px;
}
#main:focus { outline: none; }

/* ===== DESTINATIONS MEGA MENU ===== */
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-caret { font-size: 9px; opacity: 0.7; transition: transform 0.3s ease; }
.nav-drop:hover .nav-caret,
.nav-drop:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }

.mega {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(1000px, calc(100vw - 40px));
  background: rgba(0,18,42,0.985);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,150,42,0.55);
  box-shadow: 0 30px 70px rgba(0,8,24,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 120;
}
.nav-drop:hover .mega,
.nav-drop:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* pointer bridge from the nav link down to the panel */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }

.mega-grid { display: grid; grid-template-columns: 1fr 286px; }
.mega-lists { padding: 32px 34px; column-count: 3; column-gap: 30px; }
.mega-region { break-inside: avoid; margin-bottom: 24px; }
.mega-region:last-child { margin-bottom: 0; }
.mega-region .mega-label {
  font-family: 'Roboto', sans-serif; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 11px;
}
.mega-region a {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.9);
  padding: 5px 0;
  transition: color 0.25s ease, transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.mega-region a:hover { color: var(--orange-light); }
.mega-region a.pending { color: rgba(255,255,255,0.48); }
.mega-region a.pending:hover { color: rgba(255,255,255,0.8); }
.mega-flag {
  width: 19px; height: 13px; object-fit: cover; flex-shrink: 0;
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
}
.mega-region a.pending .mega-flag { opacity: 0.5; }

.mega-feature { position: relative; overflow: hidden; display: flex; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,14,32,0.94) 8%, rgba(0,14,32,0.34) 70%);
}
.mega-feature-body { position: relative; z-index: 2; align-self: flex-end; padding: 26px 24px; }
.mega-feature-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 8px;
}
.mega-feature-body .mf-title {
  font-family: 'Lora', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.mega-feature-body p { font-size: 12.5px; color: rgba(255,255,255,0.66); line-height: 1.6; margin-bottom: 14px; }
.mega-feature-body a {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid rgba(201,150,42,0.7); padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mega-feature-body a:hover { color: var(--orange-light); border-color: var(--orange-light); }

/* Hover movement — pointer devices only, transform so nothing reflows */
@media (hover: hover) and (pointer: fine) {
  .mega-region a:hover { transform: translateX(5px); }
  .mega-feature-body a { display: inline-block; transition: color 0.2s ease, border-color 0.2s ease, transform 0.28s cubic-bezier(0.4,0,0.2,1); }
  .mega-feature-body a:hover { transform: translateX(4px); }
}

@media (max-width: 1150px) {
  .mega-grid { grid-template-columns: 1fr; }
  .mega-feature { min-height: 150px; }
  .mega-lists { column-count: 3; }
}

/* mobile disclosure list */
.m-drop > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.m-drop > summary::-webkit-details-marker { display: none; }
.m-drop > summary::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 13px; color: var(--orange); transition: transform 0.25s ease;
}
.m-drop[open] > summary::after { transform: rotate(180deg); }
.m-sub { display: flex; flex-direction: column; padding: 14px 0 18px 10px; }
.m-sub a { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--navy); padding: 12px 0; min-height: 44px; }
.m-sub a:hover { color: var(--orange); }
.m-sub a.pending { color: var(--text-muted); }
.m-sub .mega-flag { box-shadow: 0 0 0 1px rgba(0,20,50,0.16); }
.m-sub .m-sub-head {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); margin: 16px 0 5px;
}
.m-sub .m-sub-head:first-of-type { margin-top: 0; }

/* ===== MOBILE FORM FIELDS =====
   iOS Safari auto-zooms any focused field below 16px and does not zoom back out.
   Lifting to 16px on small screens keeps the form usable without changing desktop. */
@media (max-width: 600px) {
  input, select, textarea,
  .qm-card input, .qm-card textarea { font-size: 16px; }
}

/* Lock the page behind the mobile menu so the menu itself scrolls,
   not the content underneath. Scoped below 960px so rotating to a
   wide viewport (where the menu is hidden) can never leave body locked. */
@media (max-width: 960px) {
  html.nav-open, html.nav-open body { overflow: hidden; }
}

/* ===== FLOATING ENQUIRY BUTTON (all pages) ===== */
/* Sits below the navbar (999), mobile menu (1000) and quote modal (3000). */
.enquiry-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--orange); color: #fff;
  border: none; cursor: pointer; user-select: none;
  padding: 15px 26px; border-radius: 100px;
  font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 30px rgba(0,20,50,0.26);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  animation: fabIn 0.5s ease 1.2s backwards;
}
.enquiry-fab i { font-size: 16px; }
.enquiry-fab:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(201,150,42,0.40);
}
.enquiry-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes fabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .enquiry-fab { animation: none; }
  .enquiry-fab:hover { transform: none; }
}
/* phones: compact circle, label hidden */
@media (max-width: 600px) {
  .enquiry-fab {
    right: 16px; bottom: 16px;
    width: 56px; height: 56px; padding: 0;
    border-radius: 50%; justify-content: center;
  }
  .enquiry-fab span { display: none; }
  .enquiry-fab i { font-size: 19px; }
}
