/* =================================================
   Hudson's Holdings Co Limited — Global Stylesheet
   ================================================= */

:root {
  --navy: #14346e;
  --navy-dark: #0a1f47;
  --navy-deep: #071634;
  --navy-light: #1d4590;
  --gold: #d09b2f;
  --gold-light: #e6bc5c;
  --gold-soft: rgba(208, 155, 47, 0.12);
  --ink: #1b2536;
  --muted: #5c6b80;
  --line: #e5e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 16px rgba(10, 31, 71, 0.07), 0 24px 48px rgba(10, 31, 71, 0.08);
  --shadow-soft: 0 2px 8px rgba(10, 31, 71, 0.06);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 52, 110, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo { transform: scale(1.05); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--navy); background: var(--gold-soft); }
.nav-links a.active { color: var(--navy); background: var(--gold-soft); font-weight: 600; }

.nav-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff !important;
  padding: 0.6rem 1.35rem !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 14px rgba(20, 52, 110, 0.25);
  transition: box-shadow 0.25s, transform 0.25s !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 52, 110, 0.32);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse at 15% -10%, rgba(29, 69, 144, 0.55), transparent 55%),
    radial-gradient(ellipse at 110% 15%, rgba(208, 155, 47, 0.28), transparent 45%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy-dark) 55%, #123061 100%);
  color: #fff;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 155, 47, 0.16), transparent 65%);
  top: -140px;
  right: -80px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(208, 155, 47, 0.12);
  border: 1px solid rgba(208, 155, 47, 0.35);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  max-width: 16ch;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}

.hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-logo-panel {
  background: linear-gradient(160deg, #ffffff 0%, #f2f5fb 100%);
  border-radius: 26px;
  padding: 2.6rem;
  box-shadow:
    0 30px 70px rgba(4, 14, 34, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-logo-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 27px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(230, 188, 92, 0.8), rgba(230, 188, 92, 0) 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-logo-panel img {
  max-width: 340px;
  width: 100%;
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(208, 155, 47, 0.22), transparent 50%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy-dark) 60%, #123061 100%);
  color: #fff;
  padding: 4.5rem 0 3.8rem;
  text-align: center;
}

.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.7rem; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 60ch; margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, color 0.22s, border-color 0.22s;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(208, 155, 47, 0.35);
}

.btn-gold:hover { box-shadow: 0 10px 26px rgba(208, 155, 47, 0.45); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(208, 155, 47, 0.08); }

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 52, 110, 0.28);
}

.btn-navy:hover { box-shadow: 0 10px 26px rgba(20, 52, 110, 0.38); }

/* ---------- Sections ---------- */

.section { padding: 5.5rem 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 64ch; margin: 0 auto 3.2rem; }

.section-kicker {
  font-size: 0.73rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.9rem;
  background: var(--gold-soft);
  border-radius: 999px;
}

.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); }

/* ---------- Cards / Grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.7rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(208, 155, 47, 0.4);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 14px rgba(20, 52, 110, 0.22);
}

.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  transition: color 0.2s;
}

.card-link:hover { color: var(--gold); }

/* ---------- Stats band ---------- */

.stats-band {
  background:
    radial-gradient(ellipse at 50% 130%, rgba(208, 155, 47, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 3.4rem 0;
}

.stats-band .grid-4 { text-align: center; }

.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.stat-label {
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }

.split-panel {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(208, 155, 47, 0.22), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 2.7rem 2.3rem;
  box-shadow: var(--shadow);
}

.split-panel h3 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 1rem; }

.check-list { list-style: none; }

.check-list li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.97rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(208, 155, 47, 0.2);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.check-list-dark li { color: var(--muted); }
.check-list-dark li::before { background: var(--gold-soft); color: var(--gold); }

/* ---------- Values ---------- */

.value-row {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.value-num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--gold-soft);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.value-row h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.value-row p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(ellipse at 50% -40%, rgba(208, 155, 47, 0.25), transparent 55%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy-dark) 60%, #123061 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 55ch; margin: 0 auto 2rem; }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-field label .req { color: #c0392b; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(208, 155, 47, 0.15);
  background: #fff;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

.form-error {
  display: none;
  color: #c0392b;
  font-size: 0.8rem;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: #c0392b; }

.form-field.invalid .form-error { display: block; }

/* ---------- Contact ---------- */

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.1rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }

.contact-item .card-icon { margin-bottom: 0; width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; }

.contact-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.94rem; text-decoration: none; }
.contact-item a:hover { color: var(--navy); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #050f24 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
  font-size: 0.93rem;
  border-top: 3px solid var(--gold);
}

.site-footer .brand-logo {
  background: #fff;
  padding: 7px;
  border-radius: 12px;
  height: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--gold-light); }

.footer-brand p { margin-top: 0.9rem; max-width: 34ch; color: rgba(255, 255, 255, 0.65); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo-panel img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Thank-you page ---------- */

.thanks-wrap {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.thanks-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid rgba(208, 155, 47, 0.4);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  margin: 0 auto 1.4rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-logo-panel { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 0.92rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.9rem 0.5rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .nav-links .nav-cta {
    margin: 0.8rem 0;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { padding: 3.8rem 0 4rem; }
  .hero-logo-panel { padding: 1.8rem; }
  .section { padding: 3.6rem 0; }
  .brand-logo { height: 40px; }
  .brand-tag { display: none; }
  .form-card { padding: 1.7rem; }
}
