/* ============================================================
   HIFASHIONS B2B WEBSITE — LUXURY REDESIGN
   Premium Editorial Design System
   ============================================================ */

/* Fonts loaded via <link> tags in HTML for better LCP performance */

/* ============================================================
   CSS VARIABLES — LUXURY DESIGN TOKENS
   ============================================================ */

:root {
  /* ── Colour Palette ── */
  --color-navy:        #0b1526;
  --color-navy-mid:    #162040;
  --color-navy-light:  #1e2d50;
  --color-teal:        #1a5f62;
  --color-teal-light:  #22797c;
  --color-gold:        #c9a84c;
  --color-gold-light:  #e8d09e;
  --color-gold-dark:   #9e7d2a;
  --color-gold-muted:  rgba(201, 168, 76, 0.10);
  --color-cream:       #f8f4ec;
  --color-warm-white:  #fdfaf5;
  --color-text:        #1e2433;
  --color-text-light:  #4a5568;
  --color-text-muted:  #8b9ab0;
  --color-bg-light:    #f8f4ec;
  --color-white:       #ffffff;
  --color-border:      #e4ddd0;
  --color-border-dark: #c8b896;

  /* ── Typography ── */
  --font-family:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --font-size-xs:   0.6875rem;   /* 11px */
  --font-size-sm:   0.8125rem;   /* 13px */
  --font-size-base: 1rem;        /* 16px */
  --font-size-lg:   1.125rem;    /* 18px */
  --font-size-xl:   1.25rem;     /* 20px */
  --font-size-2xl:  1.5rem;      /* 24px */
  --font-size-3xl:  2rem;        /* 32px */
  --font-size-4xl:  2.625rem;    /* 42px */
  --font-size-5xl:  3.5rem;      /* 56px */

  --weight-light:    300;
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* ── Spacing ── */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  /* ── Elevation ── */
  --shadow-sm:   0 1px 4px rgba(11, 21, 38, 0.07);
  --shadow-md:   0 6px 20px rgba(11, 21, 38, 0.10);
  --shadow-lg:   0 16px 40px rgba(11, 21, 38, 0.13);
  --shadow-xl:   0 28px 60px rgba(11, 21, 38, 0.18);
  --shadow-gold: 0 8px 28px rgba(201, 168, 76, 0.32);
  --shadow-none: none;

  /* ── Radius — minimal for luxury aesthetic ── */
  --radius-sm:   2px;
  --radius-md:   3px;
  --radius-lg:   4px;
  --radius-xl:   6px;
  --radius-full: 9999px;

  /* ── Motion ── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 420ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-Index ── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-fixed:    300;
  --z-floating: 999;
  --z-modal:    1000;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Headings use Playfair Display ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.015em;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.85;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover { color: var(--color-gold-dark); }

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

ul, ol { list-style-position: inside; }

/* ============================================================
   LAYOUT — CONTAINER · SECTIONS · GRIDS
   ============================================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* ── Section Title with gold underline ornament ── */
.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title h2 {
  margin-bottom: 0;
  display: inline-block;
}

.section-title h2::after,
h2.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-dark));
  margin: 1.125rem auto 0;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 580px;
  margin: var(--space-lg) auto 0;
  line-height: 1.8;
  font-weight: var(--weight-normal);
}

/* ── Grids ── */
.grid {
  display: grid;
  gap: var(--space-2xl);
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.flex         { display: flex; gap: var(--space-md); }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { flex-direction: column; }

/* ============================================================
   HEADER & NAVIGATION — Dark luxury bar
   ============================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  z-index: var(--z-fixed);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(201, 168, 76, 0.30);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-lg);
}

/* Right-side group: hamburger (mobile) + CTA button (desktop) */
.navbar-end {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo h1 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin: 0;
  font-weight: var(--weight-bold);
  letter-spacing: 0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 5px;
  transition: color var(--transition-base);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--color-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
}

/* ============================================================
   HERO — Full-height statement section
   ============================================================ */

.hero {
  margin-top: 76px;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-color: #0b1526;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Dark gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(11, 21, 38, 0.90) 0%,
    rgba(22, 32, 64, 0.72) 55%,
    rgba(26, 95, 98, 0.62) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: var(--font-size-5xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Gold accent bar beneath hero headline */
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  margin: 1.375rem auto 0;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--font-size-lg);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.85;
  font-weight: var(--weight-light);
  letter-spacing: 0.01em;
}

.hero .btn {
  margin: 0 var(--space-sm) var(--space-sm);
}

/* ── Sub-page Hero — standalone, no .hero dependency ── */
.hero-sm {
  margin-top: 76px;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(11, 21, 38, 0.90) 0%,
    rgba(26, 95, 98, 0.72) 100%
  );
  z-index: 1;
}

.hero-sm .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-sm h1 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-sm h1::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  margin: 0.875rem auto 0;
}

.hero-sm p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--weight-medium);
  margin: 0;
}

/* ============================================================
   STATS BAR — Gold numbers on deep navy
   ============================================================ */

.stats-bar {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
}

.stats-bar::before,
.stats-bar::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

.stats-bar::before { top: 0; }
.stats-bar::after  { bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(201, 168, 76, 0.20);
}

.stat-number {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: var(--font-size-5xl);
  font-weight: var(--weight-bold);
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: var(--weight-semibold);
}

/* ============================================================
   CARDS — Gold top-bar reveal on hover
   ============================================================ */

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-xl);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Gold accent that sweeps in from left on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-slow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.card h3 {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-bold);
}

.card p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   PRODUCT CARDS — Image zoom + gold bottom reveal
   ============================================================ */

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
}

/* Gold bar slides from left on hover */
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-slow);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: transparent;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.product-name {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: var(--font-size-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.product-specs {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.product-specs span {
  display: block;
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.product-specs span:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-specs strong {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--color-text-light);
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background-color: var(--color-gold-muted);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  color: var(--color-gold-light);
  border-color: var(--color-navy);
}

/* ============================================================
   TABLES
   ============================================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
}

thead {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  color: var(--color-white);
}

th {
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-family: var(--font-family);
  font-weight: var(--weight-semibold);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.88);
}

th:first-child {
  border-left: 3px solid var(--color-gold);
}

td {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

tbody tr:nth-child(even) {
  background-color: var(--color-cream);
}

tbody tr:hover {
  background-color: var(--color-gold-muted);
}

/* ============================================================
   PROCESS FLOW
   ============================================================ */

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  position: relative;
  padding: var(--space-2xl) 0;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  z-index: 0;
  opacity: 0.5;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 56px;
  height: 56px;
  background-color: var(--color-warm-white);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}

.process-step h4 {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
  font-family: var(--font-family);
  font-weight: var(--weight-semibold);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.875rem var(--space-lg);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-white);
  transition: all var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.13);
}

textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.75;
}

select {
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  appearance: none;
}

/* ============================================================
   BUTTONS — Uppercase, letter-spaced, premium feel
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-weight: var(--weight-semibold);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background-color: var(--color-navy-mid);
  color: var(--color-gold-light);
  border-color: var(--color-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  border-color: transparent;
  font-weight: var(--weight-bold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d4b55e 0%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--color-navy);
}

.btn-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--color-white);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Nav CTA — compact gold button in header */
.nav-cta {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
}

/* ============================================================
   FOOTER — Rich dark with gold accents
   ============================================================ */

.footer {
  background: linear-gradient(180deg, var(--color-navy) 0%, #060e1a 100%);
  color: var(--color-white);
  padding: 0;
  margin-top: var(--space-4xl);
  position: relative;
}

/* Gold rule at footer top edge */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

.footer-inner {
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: var(--space-2xl);
}

/* Brand column */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  text-decoration: none;
}

.footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-brand .footer-logo span {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--font-size-sm);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.footer-wa {
  display: inline-block;
  margin-top: var(--space-xs);
}

/* Contact column */
.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.70);
  transition: color var(--transition-base);
}

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

.footer-col h4 {
  font-family: var(--font-family);
  color: var(--color-gold);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.50);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
  letter-spacing: 0.01em;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.30);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.fade-in.visible { opacity: 1; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 2rem; left: 2rem;
  width: 54px; height: 54px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  z-index: var(--z-floating);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 24px; height: 24px;
  fill: #ffffff;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.52);
  color: var(--color-white);
}

.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: var(--font-size-lg);
  font-weight: var(--weight-bold);
  cursor: pointer;
  z-index: var(--z-floating);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.48);
  color: var(--color-navy);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center { text-align: center; }
.text-white  { color: var(--color-white); }
.text-navy   { color: var(--color-navy); }
.text-teal   { color: var(--color-teal); }
.text-gold   { color: var(--color-gold); }
.text-muted  { color: var(--color-text-muted); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }
.mb-6 { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mt-6 { margin-top: var(--space-3xl); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.py-1 { padding-top: var(--space-sm);  padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md);  padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg);  padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl);  padding-bottom: var(--space-xl); }

.px-1 { padding-left: var(--space-sm);  padding-right: var(--space-sm); }
.px-2 { padding-left: var(--space-md);  padding-right: var(--space-md); }
.px-3 { padding-left: var(--space-lg);  padding-right: var(--space-lg); }
.px-4 { padding-left: var(--space-xl);  padding-right: var(--space-xl); }

.hidden       { display: none !important; }
.block        { display: block; }
.inline-block { display: inline-block; }
.inline       { display: inline; }

.w-full { width: 100%; }
.w-half { width: 50%; }

.bg-navy  { background-color: var(--color-navy); }
.bg-teal  { background-color: var(--color-teal); }
.bg-gold  { background-color: var(--color-gold); }
.bg-light { background-color: var(--color-bg-light); }

/* ============================================================
   RESPONSIVE — TABLET  (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.75rem;
    --font-size-4xl: 2.125rem;
    --space-4xl:     5rem;
    --space-3xl:     3.5rem;
  }

  .container { padding: 0 var(--space-lg); }
  .section   { padding: var(--space-4xl) 0; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .process-flow::before { display: none; }

  .hero    { min-height: 70vh; background-attachment: scroll; }
  .hero-sm { min-height: 260px; }

  .hero h1    { font-size: var(--font-size-4xl); }
  .hero-sm h1 { font-size: var(--font-size-3xl); }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.125rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --space-3xl:     2.5rem;
    --space-4xl:     3.5rem;
  }

  .container { padding: 0 var(--space-lg); }
  .section   { padding: var(--space-3xl) 0; }

  /* Header — show hamburger */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 76px;
    flex-direction: column;
    background: var(--color-navy);
    width: 100%;
    text-align: center;
    transition: right var(--transition-slow);
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);
    padding: var(--space-2xl) 0;
    z-index: var(--z-dropdown);
  }

  .nav-menu.active { right: 0; }

  .nav-menu ul {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .nav-menu a { font-size: var(--font-size-sm); }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .footer-grid  { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }

  .stat-item:not(:last-child)::after { display: none; }

  /* Hero */
  .hero    { min-height: 80vh; background-attachment: scroll; }
  .hero-sm { min-height: 220px; }
  .hero h1 { font-size: var(--font-size-3xl); }
  .hero p  { font-size: var(--font-size-base); }
  .hero-sm h1 { font-size: var(--font-size-2xl); }

  .btn        { width: 100%; margin: var(--space-sm) 0; }
  .stat-number { font-size: var(--font-size-3xl); }

  table    { font-size: var(--font-size-sm); }
  th, td   { padding: var(--space-md); }

  .whatsapp-float { width: 48px; height: 48px; bottom: 1.5rem; left: 1.5rem; }
  .back-to-top    { width: 40px; height: 40px; bottom: 1.5rem; right: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
  :root {
    --font-size-3xl: 1.25rem;
    --font-size-2xl: 1.125rem;
    --space-2xl:     1.75rem;
    --space-3xl:     2rem;
    --space-4xl:     2.5rem;
  }

  body { font-size: var(--font-size-sm); }

  .section { padding: var(--space-2xl) 0; }

  .section-title h2 { font-size: var(--font-size-2xl); }
  .section-title p  { font-size: var(--font-size-sm); }

  .hero    { min-height: 70vh; }
  .hero h1 { font-size: var(--font-size-2xl); }

  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-lg); }

  .card    { padding: var(--space-lg); }
  .card h3 { font-size: var(--font-size-base); }

  .product-img { height: 180px; }

  .stats-grid  { grid-template-columns: 1fr; }
  .stat-number { font-size: var(--font-size-2xl); }

  .filter-btn {
    padding: 0.4rem 0.875rem;
    font-size: 0.625rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  textarea,
  select {
    padding: 0.7rem var(--space-md);
    font-size: var(--font-size-sm);
  }

  .btn   { padding: 0.75rem 1.5rem; font-size: 0.625rem; }
  label  { font-size: 0.625rem; }
}

/* ============================================================
   TIMELINE — About page journey section
   ============================================================ */

.timeline {
  position: relative;
  max-width: 760px;
  margin: var(--space-3xl) auto 0;
  padding-left: 48px;
}

/* Vertical connecting line */
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), rgba(201,168,76,0.15));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-3xl);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Gold dot */
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-content {
  background: var(--color-white);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 8px 8px 0;
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-era {
  display: inline-block;
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.timeline-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

.timeline-content p {
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 36px;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-dot {
    left: -32px;
    width: 12px;
    height: 12px;
  }

  .timeline-content {
    padding: var(--space-lg);
  }
}

/* ============================================================
   REDUCED MOTION — Accessibility
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero {
    background-attachment: scroll;
  }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */
