/* The Cruise Limited Group, shared stylesheet */
:root {
  --black: #000;
  --ink: #111;
  --ink-2: #1a1a1a;
  --line: #2a2a2a;
  --white: #fff;
  --muted: #9a9a9a;
  --accent: #dfff00;
  --maxw: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; color: var(--ink); font-family: 'Poppins', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .section-title, .nav-toggle {
  font-family: 'Teko', 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
p { line-height: 1.65; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.accent-bar { width: 64px; height: 4px; background: var(--accent); margin-bottom: 18px; }

/* Top sister-sites bar */
.topbar {
  background: #000; color: #bdbdbd; font-size: 12px;
  border-bottom: 1px solid #151515;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #bdbdbd; margin-right: 14px; transition: color .15s; }
.topbar a:hover { color: var(--accent); }
.topbar a.active { color: var(--accent); }
.topbar-right a { margin-right: 0; margin-left: 14px; }

/* Header */
.header {
  background: #000; color: #fff;
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid #111;
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.header .brand img { height: 72px; width: auto; display: block; }
.header nav ul { display: flex; gap: 28px; list-style: none; }
.header nav a { font-family: 'Teko', sans-serif; font-size: 20px; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.header nav a:hover, .header nav a.active { border-color: var(--accent); color: var(--accent); }
.header .phone { font-family: 'Teko', sans-serif; font-size: 22px; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
@media (max-width: 880px) {
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #000; border-top: 1px solid #111; padding: 16px 0; }
  .header nav.open { display: block; }
  .header nav ul { flex-direction: column; padding: 0 24px; gap: 12px; }
  .nav-toggle { display: block; }
  .header .phone { display: none; }
}

/* Hero */
.hero { position: relative; background: #000 center/cover no-repeat; color: #fff; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); z-index: 2; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 96px 24px 72px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-copy .eyebrow { color: var(--accent); font-family: 'Teko', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; font-size: 18px; margin-bottom: 8px; }
.hero-copy h1 { color: #fff; margin-bottom: 16px; }
.hero-copy p { color: #cfcfcf; max-width: 520px; margin-bottom: 24px; }
.hero-form { background: #0d0d0d; border: 1px solid #1d1d1d; border-radius: 8px; padding: 16px; }
.hero-form .label { font-family: 'Teko', sans-serif; font-size: 26px; color: #fff; margin-bottom: 6px; }
.hero-form .sub { font-size: 13px; color: #9c9c9c; margin-bottom: 12px; }
/* Custom enquiry form */
.enquiry-form { display: grid; gap: 12px; }
.enquiry-form label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #9c9c9c; font-family: 'Poppins', sans-serif; font-weight: 500; }
.enquiry-form input, .enquiry-form textarea { width: 100%; margin-top: 6px; background: #111; color: #fff; border: 1px solid #2a2a2a; border-radius: 6px; padding: 12px 14px; font: inherit; font-family: 'Poppins', sans-serif; font-size: 15px; transition: border-color .15s, background .15s; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 0; border-color: var(--accent); background: #0a0a0a; }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form button[type=submit] { margin-top: 6px; }
.enquiry-form .honeypot { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-status { font-size: 14px; margin-top: 10px; min-height: 20px; font-weight: 500; }
.form-status.ok, .form-status.err { padding: 10px 14px; border-radius: 6px; }
.form-status.ok { background: #eaffd0; color: #1a6b1f; border: 1px solid #cdeda1; }
.form-status.err { background: #fdecec; color: #a82424; border: 1px solid #f5c5c5; }
.enquiry-form:not(.enquiry-form--light) .form-status.ok { background: rgba(223,255,0,0.14); color: var(--accent); border-color: rgba(223,255,0,0.35); }
.enquiry-form:not(.enquiry-form--light) .form-status.err { background: rgba(255,107,107,0.12); color: #ff9696; border-color: rgba(255,107,107,0.3); }
.enquiry-form[data-loading=true] button { opacity: .6; pointer-events: none; }
.enquiry-form--light label { color: #555; }
.enquiry-form--light input, .enquiry-form--light textarea { background: #fff; color: #111; border-color: #e3e3e3; }
.enquiry-form--light input:focus, .enquiry-form--light textarea:focus { border-color: #000; background: #fff; }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; padding: 48px 24px; } }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #000; padding: 14px 22px; font-family: 'Teko', sans-serif; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 4px; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #eaff4a; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #000; }

/* Sections */
section { padding: 80px 0; }
section.dark { background: #000; color: #fff; }
section.dark h2 { color: #fff; }
section.dark p { color: #cfcfcf; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .accent-bar { margin: 0 auto 16px; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: #555; font-size: 15px; }

.card-dark { background: #111; border-color: #1c1c1c; color: #fff; }
.card-dark p { color: #bcbcbc; }

/* Brand cards (group site) */
.brand-card { display: block; background: #0a0a0a; color: #fff; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid #1b1b1b; transition: transform .2s, border-color .2s; }
.brand-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.brand-card .thumb { aspect-ratio: 16/10; background: #000 center/cover no-repeat; }
.brand-card .body { padding: 22px; }
.brand-card .tag { color: var(--accent); font-family: 'Teko', sans-serif; letter-spacing: 0.15em; font-size: 14px; text-transform: uppercase; }
.brand-card h3 { margin: 4px 0 8px; color: #fff; }
.brand-card p { color: #bcbcbc; font-size: 14px; margin-bottom: 14px; }
.brand-card .go { color: var(--accent); font-family: 'Teko', sans-serif; letter-spacing: 0.1em; font-size: 16px; }

/* Services list */
.service { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border: 1px solid #eaeaea; border-radius: 8px; background: #fff; }
.service .num { font-family: 'Teko', sans-serif; font-size: 42px; color: var(--accent); line-height: 1; min-width: 48px; -webkit-text-stroke: 1px #000; }
.service h3 a { transition: color .15s; }
.service h3 a:hover { color: var(--accent) !important; }

/* Portfolio */
.port { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #eaeaea; }
.port img { aspect-ratio: 4/3; object-fit: cover; }
.port .body { padding: 20px; }
.port .meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 6px; }

/* Footer */
footer { background: #000; color: #bcbcbc; padding: 56px 0 24px; border-top: 4px solid var(--accent); }
footer .grid-4 { gap: 32px; }
footer h4 { color: #fff; font-size: 22px; margin-bottom: 14px; }
footer a { color: #bcbcbc; }
footer a:hover { color: var(--accent); }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer .brand img { height: 96px; margin-bottom: 14px; }
footer .legal { border-top: 1px solid #151515; margin-top: 40px; padding-top: 20px; font-size: 12px; color: #6a6a6a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer .cert-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-items: flex-start; }
footer .cert-row a { background: #fff; border-radius: 5px; padding: 2px 5px; display: inline-flex; align-items: center; justify-content: center; height: 56px; transition: transform .15s, box-shadow .15s; }
footer .cert-row a:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
footer .cert-row a img { max-height: 100%; max-width: 110px; width: auto; height: auto; display: block; object-fit: contain; }
footer .registered { margin-top: 36px; padding-top: 20px; border-top: 1px solid #151515; font-size: 11px; color: #7a7a7a; line-height: 1.7; text-align: center; }
footer .registered strong { color: #9a9a9a; font-weight: 600; }
footer .registered + .legal { margin-top: 16px; padding-top: 0; border-top: 0; }
footer .addr-block { font-style: normal; line-height: 1.55; }
footer .addr-block strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #9a9a9a; font-weight: 600; margin-bottom: 2px; }

/* Utilities */
.center { text-align: center; }
.lede { font-size: 18px; color: #555; max-width: 760px; margin: 0 auto; }
section.dark .lede { color: #cfcfcf; }
.page-hero { position: relative; background: #000 center/cover no-repeat; color: #fff; padding: 120px 0 96px; border-bottom: 4px solid var(--accent); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.8)); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .accent-bar { margin-bottom: 14px; }
.page-hero p { color: #e4e4e4; max-width: 720px; margin-top: 10px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #000; color: #fff; padding: 32px; border-radius: 10px; }
.contact-card h3 { color: #fff; margin-bottom: 16px; }
.contact-card a { color: var(--accent); }
.contact-card .row { padding: 10px 0; border-bottom: 1px solid #1c1c1c; font-size: 15px; }
.contact-card .row:last-child { border-bottom: 0; }

.enquire-panel { background: #fff; border: 1px solid #eaeaea; border-radius: 10px; padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.enquire-panel h3 { margin-bottom: 18px; }
/* Nav dropdown + service page extras, appended to main styles */

/* Dropdown menus in the header nav */
.header nav .has-dropdown { position: relative; }
.header nav .has-dropdown > a::after {
  content: '▾'; display: inline-block; margin-left: 4px; font-size: 14px; opacity: 0.6;
  transition: transform .2s, opacity .2s;
}
.header nav .has-dropdown:hover > a::after,
.header nav .has-dropdown:focus-within > a::after { opacity: 1; transform: translateY(1px); }
.header nav .dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #0a0a0a; border: 1px solid #1b1b1b; border-top: 2px solid var(--accent);
  min-width: 280px; padding: 10px 0;
  list-style: none; margin: 8px 0 0;
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
  border-radius: 6px;
  z-index: 30;
}
.header nav .has-dropdown:hover > .dropdown,
.header nav .has-dropdown:focus-within > .dropdown { display: block; }
.header nav .dropdown li { list-style: none; }
.header nav .dropdown a {
  display: block; padding: 9px 18px; font-family: 'Poppins', sans-serif;
  font-size: 14px; text-transform: none; letter-spacing: 0;
  color: #d0d0d0; border-bottom: 0; white-space: nowrap;
}
.header nav .dropdown a:hover, .header nav .dropdown a.active {
  background: #151515; color: var(--accent);
}

/* Mobile: dropdown collapses by default, taps on the parent toggle it open. */
@media (max-width: 880px) {
  .header nav .dropdown {
    display: none; position: static; background: transparent;
    border: 0; border-top: 1px dashed #222; border-radius: 0;
    margin: 6px 0 10px; padding: 6px 0 6px 12px;
    box-shadow: none; min-width: 0;
  }
  .header nav .has-dropdown.open > .dropdown { display: block; }
  .header nav .has-dropdown > a::after {
    content: '\25BE';                 /* down-pointing triangle */
    display: inline-block;
    margin-left: 8px;
    transition: transform .18s ease;
    opacity: 0.7;
  }
  .header nav .has-dropdown.open > a::after { transform: rotate(180deg); opacity: 1; }
  .header nav .dropdown a { padding: 6px 0; font-size: 14px; }
}

/* Check-list used on service sub-pages */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding: 10px 0 10px 34px;
  border-bottom: 1px solid #ececec; font-size: 15.5px; line-height: 1.55;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px; border-radius: 4px; background: var(--accent);
  box-shadow: inset 0 0 0 2px #000;
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 21px;
  width: 8px; height: 4px;
  border-left: 2px solid #000; border-bottom: 2px solid #000;
  transform: rotate(-45deg);
}

/* Detail split layout on service sub-pages */
section.detail { padding: 88px 0; }
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail-copy .accent-bar { margin-bottom: 18px; }
.detail-copy h2 { margin-bottom: 22px; }
.detail-copy p { margin-bottom: 14px; font-size: 16.5px; line-height: 1.72; color: #2b2b2b; }
.detail-copy p:last-child { margin-bottom: 0; }
.detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 44px rgba(0,0,0,0.08); }
/* Alternate: odd service pages get image on the right (default), even on the left */
.detail.alt .detail-split { direction: rtl; }
.detail.alt .detail-split > * { direction: ltr; }
@media (max-width: 880px) {
  .detail-split { grid-template-columns: 1fr; gap: 28px; }
  section.detail { padding: 56px 0; }
}

/* Header sub-logo strip */
.header-subs { background: #0a0a0a; border-top: 1px solid #161616; border-bottom: 1px solid #161616; }
.header-subs .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 0; padding-bottom: 0; }
.header-subs a { display: flex; align-items: center; justify-content: center; padding: 12px 12px; border-right: 1px solid #161616; transition: background .2s, transform .15s; position: relative; }
.header-subs a:last-child { border-right: 0; }
.header-subs a img { height: 38px; width: auto; opacity: 0.7; transition: opacity .2s; filter: saturate(0.9); }
.header-subs a:hover { background: #131313; }
.header-subs a:hover img { opacity: 1; filter: saturate(1.1); }
.header-subs a.active img { opacity: 1; filter: saturate(1.1); }
.header-subs a.active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--accent); }
@media (max-width: 880px) {
  .header-subs { display: none; }
  .header nav .mobile-subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 16px 24px 4px; margin-top: 8px; border-top: 1px solid #161616; }
  .header nav .mobile-subs a { background: #0a0a0a; border: 1px solid #161616; border-radius: 6px; padding: 12px; display: flex; align-items: center; justify-content: center; }
  .header nav .mobile-subs a img { height: 32px; width: auto; opacity: 0.85; }
  .header nav .mobile-subs a.active { border-color: var(--accent); }
  .header nav .mobile-subs a.active img { opacity: 1; }
}
@media (min-width: 881px) { .header nav .mobile-subs { display: none; } }

/* Footer sub-logo strip */
.footer-subs { border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 28px 0; margin: 8px 0 32px; }
.footer-subs .label { text-align: center; font-family: 'Teko', sans-serif; letter-spacing: 0.25em; font-size: 13px; color: #777; text-transform: uppercase; margin-bottom: 18px; }
.footer-subs .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.footer-subs .row a { display: flex; align-items: center; justify-content: center; padding: 8px; opacity: 0.75; transition: opacity .2s, transform .15s; }
.footer-subs .row a:hover { opacity: 1; transform: translateY(-2px); }
.footer-subs .row a img { height: 44px; width: auto; max-width: 100%; }
@media (max-width: 720px) { .footer-subs .row { grid-template-columns: repeat(2, 1fr); gap: 16px; } .footer-subs .row a img { height: 36px; } }

/* Cookie banner */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: #0d0d0d; color: #f1f1f1;
  border: 1px solid #2a2a2a; border-left: 4px solid var(--accent);
  border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,0.45);
  padding: 18px 22px; max-width: 1100px; margin: 0 auto;
  animation: cookieBannerIn .25s ease-out;
}
@keyframes cookieBannerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#cookie-banner .cookie-banner-inner { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
#cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: #d6d6d6; }
#cookie-banner a { color: var(--accent); text-decoration: underline; }
#cookie-banner .cookie-banner-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
#cookie-banner .btn { padding: 10px 20px; font-size: 17px; }
#cookie-banner .btn-link {
  background: transparent; border: 0; color: #d6d6d6; cursor: pointer;
  font-family: 'Teko', sans-serif; font-size: 17px; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 10px 8px; transition: color .15s;
}
#cookie-banner .btn-link:hover { color: var(--accent); }
@media (max-width: 600px) {
  #cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  #cookie-banner .cookie-banner-actions { width: 100%; justify-content: flex-end; }
}
