/* FulTank Universal Layout: variables, reset, navbar, mega menu, footer */
:root {
  --brand: #CC5500;
  --brand-dark: #A64500;
  --brand-light: #E6731A;
  --blue: #005F6A;
  --teal: #005F6A;
  --success: #39A48A;
  --danger: #DC2626;
  --ink: #111827;
  --ink-80: rgba(10,14,26,0.80);
  --ink-40: rgba(10,14,26,0.40);
  --ink-10: rgba(10,14,26,0.06);
  --cream: #F8FAFC;
  --white: #FFFFFF;
  --slate: #E5E7EB;
  --muted: #6B7280;
  --green: #39A48A;
  --rule: rgba(10,14,26,0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 2px 12px rgba(10,14,26,0.07), 0 1px 3px rgba(10,14,26,0.04);
  --shadow-elevated: 0 12px 48px rgba(10,14,26,0.12), 0 4px 16px rgba(10,14,26,0.06);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration:none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(204,85,0,0.38); outline-offset: 3px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.label::before {
  content: ""; width: 26px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
}
.highlight { color: var(--brand); }
.label-on-dark { color: #FFBD82; }
.accent-light { color: var(--brand-light); }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-divider {
  width: 1px; height: 18px;
  background: var(--rule);
  margin: 0 6px; flex-shrink: 0;
}

.nav-links > a,
.dropdown-toggle {
  font-size: 14px; font-weight: 500; color: #111827;
  padding: 7px 14px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links > a:hover,
.dropdown-toggle:hover {
  color: var(--brand);
  background: var(--ink-10);
}

.nav-links > a.active,
.nav-dropdown.active .dropdown-toggle {
  color: var(--ink);
  background: var(--ink-10);
  font-weight: 600;
}

.nav-right { display: flex; align-items: center; gap: 8px; }

.btn-ghost {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink); padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--rule); background: var(--white);
  cursor: pointer; transition: 0.2s;
}
.btn-ghost:hover { border-color: rgba(10,14,26,0.18); }

.btn-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  min-width:150px;
  height:44px;

  padding:0 20px;

  border-radius:999px;

  font-size:14px;
  font-weight:800;
  text-align:center;

  color:#111827;
  background:#fff;

  border:1px solid rgba(17,24,39,.12);

  transition:.22s ease;
}

.btn-login:hover{
  color:#cc5500;
  border-color:rgba(204,85,0,.25);
  background:#fff8f3;
}

.btn-primary {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: #fff; padding: 9px 20px; border-radius: var(--radius-sm);
  background: var(--brand); border: none; cursor: pointer;
  transition: 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ── DESKTOP MEGA DROPDOWN ── */
.nav-dropdown { position: relative; }
.dropdown-toggle {
  background: transparent; border: none;
  font-family: var(--font-body);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
}
.dropdown-arrow { font-size: 11px; transition: transform 0.25s ease; opacity: 0.6; }

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(720px, calc(100vw - 96px));
  transform: translate(-50%, 10px);
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--rule);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(10,14,26,0.16), 0 1px 0 rgba(255,255,255,0.72) inset;
  padding: 14px;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-panel {
  border-radius: 18px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(230,115,26,0.42), transparent 34%),
    linear-gradient(135deg, #0B1220, #111827 55%, #005F6A);
  overflow: hidden;
  position: relative;
}

.mega-panel::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -72px;
  bottom: -72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.mega-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #ffbd82;
  margin-bottom: 18px;
}

.mega-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-light);
}

.mega-panel h4 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.mega-panel p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
}

.mega-links {
  display: grid;
  gap: 8px;
}

.mega-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 17px;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.mega-item:hover {
  background: rgba(204,85,0,0.06);
  border-color: rgba(204,85,0,0.14);
  transform: translateY(-1px);
}

.mega-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(204,85,0,0.10);
  color: var(--brand);
  flex: 0 0 auto;
}

.mega-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.mega-item small {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* ─── MOBILE NAV ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: transparent; border: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(10,14,26,0.52);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 900;
}

.mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: min(88vw, 390px); height: 100vh;
  background: rgba(255,255,255,0.98);
  border-left: 1px solid var(--rule);
  box-shadow: -28px 0 70px rgba(10,14,26,0.22);
  transform: translateX(104%);
  transition: transform .28s cubic-bezier(.2,.9,.2,1);
  z-index: 950; padding: 22px;
  display: flex; flex-direction: column;
}

.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 18px;
}
.mobile-drawer-logo img { height: 44px; width: auto; display: block; }

.drawer-close {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--rule); background: var(--white);
  color: var(--ink); font-size: 25px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}

.mobile-drawer-links { display: flex; flex-direction: column; gap: 10px; }
.mobile-drawer-links a,
.mobile-dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px; border-radius: 16px;
  background: #f8fafc; border: 1px solid rgba(10,14,26,0.06);
  color: var(--ink); font-size: 15px; font-weight: 700; transition: .2s ease;
  width: 100%;
  font-family: var(--font-body);
  cursor: pointer;
}
.mobile-drawer-links a:hover,
.mobile-drawer-links a.active,
.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.active {
  background: rgba(204,85,0,0.10); border-color: rgba(204,85,0,0.20); color: var(--brand-dark);
}
.mobile-drawer-links a.drawer-cta {
  justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent; box-shadow: 0 14px 30px rgba(204,85,0,0.24);
}

.mobile-dropdown { width: 100%; }
.mobile-submenu { display: none; padding: 8px 0 4px 12px; }
.mobile-submenu a {
  display: block !important; padding: 11px 14px !important;
  font-size: 14px !important; font-weight: 600 !important;
  border-radius: 12px !important; margin-bottom: 4px;
}
.mobile-submenu.active { display: block; }

body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open .mobile-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
body.mobile-menu-open .mobile-drawer { transform: translateX(0); }
body.mobile-menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.mobile-menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.mobile-menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ─── */
.footer { background: #0B1220; color: rgba(255,255,255,0.5); padding: 80px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 32px;
}
.footer-logo-img {
  height: 52px; width: auto; display: block; margin-bottom: 18px;
  filter: brightness(0) invert(1); opacity: 0.90; transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }
.footer p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 14px; transition: 0.2s;
}
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.55); margin-bottom: 11px; transition: 0.2s;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-apply-btn {
  display: block; background: var(--brand); color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-md);
  text-align: center; margin-top: 8px; transition: 0.2s;
}
.footer-apply-btn:hover { background: var(--brand-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-legal{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.footer-legal a{
  font-size:13px;
  color:rgba(255,255,255,0.52);
  transition:.2s ease;
}

.footer-legal a:hover{
  color:#fff;
}

.footer-legal span{
  color:rgba(255,255,255,0.24);
}

/* ─── FORM ALERTS ─── */

.form-alert{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:22px;
  padding:16px 18px;
  border-radius:16px;
  font-size:14px;
  line-height:1.6;
}

.form-alert i{
  flex-shrink:0;
  margin-top:3px;
  font-size:18px;
}

.form-alert div{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.form-alert strong{
  font-size:15px;
  font-weight:900;
}

.form-alert span{
  font-size:14px;
}

.form-alert-success{
  color:#065f46;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
}

.form-alert-success i{
  color:#059669;
}

.form-alert-error{
  color:#991b1b;
  background:#fef2f2;
  border:1px solid #fecaca;
}

.form-alert-error i{
  color:#dc2626;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1020px) {
  .nav-links > a,
  .dropdown-toggle { padding-left: 10px; padding-right: 10px; }
  .nav { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .mobile-drawer-links .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: unset;

    gap: 8px;
    height: 52px;

    text-align: center;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
.btn-ghost.clienthub-unavailable-trigger,
.btn-login.clienthub-unavailable-trigger {
  font: inherit;
  cursor: pointer;
}

.site-modal[hidden] {
  display: none;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(5px);
}

.site-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 38px 32px 32px;
  border: 1px solid rgba(204, 85, 0, 0.25);
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 28px 80px rgba(10, 14, 26, 0.28);
  text-align: center;
}

.site-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.site-modal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(204, 85, 0, 0.12);
  color: #cc5500;
  font-size: 24px;
}

.site-modal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
}

.site-modal-card p {
  margin: 0 auto 24px;
  max-width: 420px;
  color: #4b5563;
  line-height: 1.7;
}

.site-modal-card p a {
  color: #cc5500;
  font-weight: 700;
}

.site-modal-action {
  display: inline-flex;
}

body.site-modal-open {
  overflow: hidden;
}

.footer-link-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
