/* ============================================================
   SwizzleServe v2 – Complete Rebuild
   Layout inspired by reference images
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --secondary-1: #832165;
  --secondary-2: #491345;
  --text-dark: #333333;
  --text-body: #555555;
  --text-muted: #888888;
  --white: #ffffff;
  --off-white: #faf9f7;
  --light-bg: #f5f3f0;
  --dark-bg: #1a1a1a;
  --border: #e8e4df;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --gradient: linear-gradient(135deg, var(--secondary-1), var(--secondary-2));
  --gradient-primary: linear-gradient(135deg, #ea580c, #f97316);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  font-family: 'Playfair Display', Georgia, serif;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: all 0.3s ease; }
section { padding: 110px 0; position: relative; }

/* ---------- Typography Utilities ---------- */
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-heading .accent {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
}

.section-desc.centered {
  margin: 0 auto;
}

/* Decorative line divider (ref2 style) */
.heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.heading-divider .line {
  width: 60px;
  height: 1px;
  background: var(--border);
}

.heading-divider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Buttons ---------- */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 36px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
}

.btn-main:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(234,88,12,0.3);
}

.btn-main-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 13px 34px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-main-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 15px 36px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 13px 34px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 16px 0;
  transition: all 0.4s ease;
  z-index: 1050;
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

/* On hero: white text. On scroll: dark text */
.navbar .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px !important;
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--white);
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary);
}

.navbar-brand img {
  height: 46px;
  width: auto;
  transition: filter 0.3s;
}

/* Invert logo on dark hero */
.navbar:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar .btn-main {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
  color: var(--white);
}

.navbar.scrolled .navbar-toggler {
  color: var(--text-dark);
}

.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO – Full-width bg image, centered bold text, 80vh
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(
      160deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.70) 50%,
      rgba(73, 19, 69, 0.50) 100%
    ),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&q=80') center center / cover no-repeat;
  background-color: var(--dark-bg); /* fallback */
}

/* Subtle grain overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.015) 2px,
    rgba(0,0,0,0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

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

/* Hero two-column row */
.hero-row {
  min-height: 80vh;
}

/* Inner wrapper */
.hero-inner {
  text-align: left;
  padding: 160px 0 100px;
  max-width: 580px;
}

/* ---------- Hero visual (phone mockup + floating icons) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ---------- Phone wrapper (icons are relative to this) ---------- */
.hero-phone {
  position: relative;
}

/* ---------- Phone frame ---------- */
.phone-frame {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1;
  transform: perspective(1200px) translateZ(0);
}

/* Notch */
.phone-notch {
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  margin: -14px auto 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-speaker {
  width: 36px;
  height: 4px;
  background: #2a2a2a;
  border-radius: 4px;
}

.phone-cam {
  width: 8px;
  height: 8px;
  background: #2a2a2a;
  border-radius: 50%;
  border: 1px solid #333;
}

/* Screen area */
.phone-screen {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 17.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Home indicator */
.phone-bar {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  margin: 10px auto 0;
}

/* ---------- Floating icons (positioned relative to .hero-phone) ---------- */
.hero-float-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  z-index: 3;
  will-change: transform;
}

.hero-float-icon i {
  font-size: 1.75rem;
  color: #ea580c;
  line-height: 1;
}

/* Icon positions — tight to phone, slightly overlapping edges */
.icon-qr       { top: 12%;    left: -22px; }
.icon-menu     { top: 45%;    right: -26px; }
.icon-mobile   { bottom: 18%; left: -24px; }
.icon-settings { bottom: 8%;  right: -22px; }

/* Overline badge */
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-overline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(234,88,12,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(234,88,12,0); }
}

/* Headline — large, bold, white */
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 30px;
  letter-spacing: -1.5px;
}

.hero-title-accent {
  position: relative;
  color: var(--primary);
  display: inline-block;
}

/* Decorative underline on accent word */
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient);
  border-radius: 3px;
  opacity: 0.5;
}

/* Subtext */
.hero-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 0 44px;
}

/* CTA row */
.hero-cta-row {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  position: relative;
  z-index: 3;
}

.btn-hero-cta {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(234,88,12,0.35);
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-hero-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 10px 36px rgba(234,88,12,0.45);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 14px 36px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.35s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

/* Trust line */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.2);
  margin-left: -8px;
}

.hero-trust-avatars span:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.hero-trust-text strong {
  color: rgba(255,255,255,0.9);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.4; height: 28px; }
}

.hero-scroll-indicator span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   PLATFORM FEATURES – Dark icon grid
   ============================================================ */
.platform-features {
  background: var(--dark-bg);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.platform-features::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,88,12,0.06) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.platform-features .section-tag {
  color: var(--primary);
}

.platform-features .section-heading {
  color: var(--white);
}

.platform-features .section-desc {
  color: rgba(255,255,255,0.55);
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.4s ease;
  text-align: center;
}

.pf-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(234,88,12,0.3);
  transform: translateY(-4px);
}

.pf-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(234,88,12,0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.pf-card h5 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pf-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   ACTION BAR – Floating strip (ref1 "Book a Table" style)
   ============================================================ */
.action-bar {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  padding: 0;
}

.action-bar-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.action-item .action-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(234,88,12,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.action-item h6 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text-dark);
}

.action-item p {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-muted);
}

.action-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================================
   INTRO – Centered heading with decorative divider (ref2)
   ============================================================ */
.intro-section {
  background: var(--white);
  text-align: center;
}

.intro-section .section-heading {
  max-width: 700px;
  margin: 0 auto 20px;
}

/* ============================================================
   ABOUT / STORY – Image left, text right (ref1+ref2)
   ============================================================ */
.story-section {
  background: var(--white);
  padding: 110px 0;
}

.story-img-wrapper {
  position: relative;
}

.story-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Accent overlay box (ref1 style decorative element) */
.story-accent-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.story-accent-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1;
}

.story-accent-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.story-content .section-heading {
  margin-bottom: 24px;
}

.story-text {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.story-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
}

.story-list li i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ============================================================
   DARK SHOWCASE – Full dark bg section (ref1 style)
   ============================================================ */

/* ============================================================
   HOW IT WORKS – Horizontal steps + gradient progress bar
   ============================================================ */
.hiw {
  background: #ffffff;
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hiw-hd {
  margin-bottom: 72px;
}

/* ---------- Track wrapper ---------- */
.hiw-track {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* ---------- Gradient progress bar (icon-center to icon-center) ---------- */
.hiw-bar {
  position: absolute;
  top: 55px;
  left: calc(16.66%);
  right: calc(16.66%);
  height: 3px;
  background: #ebe7e3;
  border-radius: 3px;
  z-index: 0;
  overflow: hidden;
}

.hiw-bar-fill {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #832165, #ea580c, #491345);
  background-size: 200% 100%;
  animation: hiwGradientMove 6s linear infinite;
  will-change: transform;
}

@keyframes hiwGradientMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Steps row ---------- */
.hiw-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* ---------- Individual step ---------- */
.hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  opacity: 0.4;
  transition: opacity 0.45s ease;
}

.hiw-step.is-active,
.hiw-step.is-completed {
  opacity: 1;
}

/* ---------- Step number ---------- */
.hiw-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.hiw-step.is-active .hiw-num {
  opacity: 1;
}

/* ---------- Round icon ---------- */
.hiw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f4f1ee;
  margin-bottom: 28px;
  position: relative;
  transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.hiw-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.4s ease;
}

.hiw-icon i {
  font-size: 1.5rem;
  color: #aaa;
  line-height: 1;
  transition: color 0.4s ease;
}

/* Active state */
.hiw-step.is-active .hiw-icon {
  background: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.28);
}

.hiw-step.is-active .hiw-icon::after {
  border-color: rgba(234, 88, 12, 0.18);
}

.hiw-step.is-active .hiw-icon i {
  color: #fff;
}

/* Completed state */
.hiw-step.is-completed .hiw-icon {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.15);
}

.hiw-step.is-completed .hiw-icon::after {
  border-color: rgba(234, 88, 12, 0.12);
}

.hiw-step.is-completed .hiw-icon i {
  color: #fff;
}

/* Hover preview state (desktop only, set via JS) */
.hiw-step.is-hover-preview {
  opacity: 0.8;
}

.hiw-step.is-hover-preview .hiw-icon {
  background: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.2);
}

.hiw-step.is-hover-preview .hiw-icon::after {
  border-color: rgba(234, 88, 12, 0.12);
}

.hiw-step.is-hover-preview .hiw-icon i {
  color: #fff;
}

/* ---------- Step text ---------- */
.hiw-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.hiw-desc {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 240px;
  transition: color 0.3s ease;
}

.hiw-step.is-active .hiw-desc,
.hiw-step.is-completed .hiw-desc {
  color: #666;
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .hiw {
    padding: 80px 0;
  }

  .hiw-hd {
    margin-bottom: 56px;
  }

  .hiw-icon {
    width: 60px;
    height: 60px;
  }

  .hiw-icon i {
    font-size: 1.3rem;
  }

  .hiw-step {
    padding: 0 12px;
  }

  .hiw-desc {
    font-size: 0.82rem;
    max-width: 200px;
  }
}

/* ---------- Mobile: vertical stack ---------- */
@media (max-width: 767.98px) {
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 44px;
  }

  .hiw-step {
    opacity: 1;
    padding: 0;
  }

  .hiw-bar {
    display: none;
  }

  .hiw-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: var(--primary);
    transform: none;
    box-shadow: none;
  }

  .hiw-icon::after {
    display: none;
  }

  .hiw-icon i {
    font-size: 1.25rem;
    color: #fff;
  }

  .hiw-desc {
    color: #666;
    max-width: 320px;
  }

  .hiw-num {
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  .hiw-title {
    font-size: 1.08rem;
  }

  .hiw-desc {
    font-size: 0.84rem;
  }

  .hiw-icon {
    width: 48px;
    height: 48px;
  }

  .hiw-icon i {
    font-size: 1.1rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hiw-icon,
  .hiw-icon::after,
  .hiw-step,
  .hiw-num,
  .hiw-bar-fill {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   FEATURES – Grouped card grid layout
   ============================================================ */
#features {
  background: var(--off-white);
}

.feature-group {
  margin-bottom: 56px;
}

.feature-group:last-child {
  margin-bottom: 0;
}

.feature-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-group-header i {
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-group-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.feature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card-icon i {
  font-size: 1.4rem;
  color: var(--primary);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-body);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   GALLERY – Grid of feature previews (ref1 gallery style)
   ============================================================ */
.gallery-section {
  background: var(--white);
  padding: 110px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.4s;
  position: relative;
}

.gallery-item-inner .gallery-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.gallery-item-inner .gallery-label {
  text-align: center;
}

.gallery-item-inner .gallery-label h6 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.gallery-item-inner .gallery-label span {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.gallery-item:hover .gallery-item-inner {
  transform: scale(1.03);
}

/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  background: var(--off-white);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-ribbon {
  position: absolute;
  top: 22px;
  right: -32px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 42px;
  transform: rotate(45deg);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-plan-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-amount .period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
}

.pricing-features li i.bi-check2 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-features li i.bi-x-lg {
  color: #d1d5db;
  font-size: 0.85rem;
}

.pricing-features li.disabled {
  color: #c5c5c5;
}

.pricing-card .btn-main,
.pricing-card .btn-main-outline {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   TESTIMONIALS (ref2 style)
   ============================================================ */
#testimonials {
  background: var(--white);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-quote {
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
  font-family: Georgia, serif;
}

.testimonial-card .review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info h6 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.testimonial-info span {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ============================================================
   STATS BAR – Horizontal numbers (ref2 awards style)
   ============================================================ */
.stats-bar {
  background: var(--off-white);
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-block {
  text-align: center;
  padding: 10px 20px;
}

.stat-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-block p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* ============================================================
   CTA BANNER – Full-width gradient (ref2 red banner)
   ============================================================ */
.cta-banner {
  background: var(--gradient);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -300px;
  right: -200px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -200px;
  left: -100px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  font-family: 'Inter', sans-serif;
}

.cta-banner .btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--white);
}

.contact-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(234,88,12,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-card h6 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-wrapper .form-control {
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--off-white);
  transition: all 0.3s;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.08);
  background: var(--white);
}

.contact-form-wrapper .form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form-wrapper textarea {
  min-height: 130px;
  resize: vertical;
}

/* ============================================================
   FOOTER – Dark multi-column (ref1 style)
   ============================================================ */
.site-footer {
  background: var(--dark-bg);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-brand-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.footer-logo {
  height: 42px;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  margin-top: 60px;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-title { font-size: 3.4rem; }
  .hero-subtext { font-size: 1.1rem; margin: 0 auto 44px; }
  .hero-inner { padding: 140px 0 90px; text-align: center; max-width: 820px; margin: 0 auto; }
  .hero-cta-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .section-heading { font-size: 2.2rem; }
  .cta-banner h2 { font-size: 2.2rem; }

  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    box-shadow: var(--shadow-lg);
  }

  .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--primary) !important;
  }

  .action-bar-inner {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 28px;
  }

  .action-divider { display: none; }
  .action-item { min-width: 45%; }


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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 160px);
  }

  .gallery-item.span-2 { grid-column: span 1; }

  section { padding: 80px 0; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.6rem; letter-spacing: -0.5px; }
  .hero-subtext { font-size: 1rem; }
  .hero-inner { padding: 130px 0 80px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row a { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .hero-scroll-indicator { display: none; }
  .section-heading { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.8rem; }


  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 140px);
  }

  .pf-grid { grid-template-columns: 1fr; }

  .pricing-card { padding: 32px 24px; }
  .contact-form-wrapper { padding: 30px 24px; }

  .stat-block h3 { font-size: 2rem; }
  .stats-bar { padding: 50px 0; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.2rem; }
  .hero-overline { font-size: 0.65rem; padding: 8px 16px; letter-spacing: 1.5px; }
  .navbar-brand img { height: 36px; }

  .action-item { min-width: 100%; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid .gallery-item { height: 160px; }

  .feature-card { padding: 24px 20px; }
  .feature-group-header h3 { font-size: 1.2rem; }
}
