/* ============================================================
   ULTIFIX — Global Stylesheet
   Accent: #E63946 (red)  |  Dark: #1A1D23  |  Font: Montserrat
   ============================================================ */

:root {
  --red: #E63946;
  --red-dark: #C1121F;
  --red-glow: rgba(230, 57, 70, 0.25);
  --dark: #1A1D23;
  --dark-2: #252B35;
  --dark-card: #2E3542;
  --dark-border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #aaaaaa;
  --off-white: #f5f7fa;
  --font: 'Montserrat', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.15; }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ── Red Square Tag ── */
.red-square {
  width: 9px;
  height: 9px;
  background-color: var(--red);
  flex-shrink: 0;
  display: inline-block;
}

.red-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Shared dashboard sidebar footer used by standalone workflow pages. */
.sidebar-footer { padding: 14px 16px; border-top: 1px solid var(--dark-border); flex-shrink: 0; }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sidebar-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(230,57,70,.1); border: 1px solid rgba(230,57,70,.2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--red); flex-shrink: 0; overflow: hidden; }
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-name { font-size: 13px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: var(--red); font-weight: 600; text-transform: uppercase; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--red-dark);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  transition: transform 0.4s ease;
}
.btn-primary:hover::before { transform: scaleX(1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--red);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.more-btn::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0%;
  background-color: #000;
  z-index: -1;
  border-radius: var(--radius-pill);
  transition: height 0.4s ease;
}
.more-btn:hover::before { height: 100%; }

/* ── Section header pattern ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}
.section-header-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-header h2 {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.15;
}

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: var(--dark-border);
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   TOP HEADER BAR
   ============================================================ */
.top-bar {
  background-color: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  border-bottom: 1px solid var(--dark-border);
  font-size: 13px;
  color: var(--light-gray);
}
.top-bar a {
  color: var(--red);
  font-weight: 600;
  transition: opacity 0.2s;
}
.top-bar a:hover { opacity: 0.8; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.download-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: var(--red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.3s;
}
.download-badge:hover { background-color: var(--red-dark); }
.download-badge i { font-size: 14px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background-color: rgba(26, 29, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--dark-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 62px;
  width: auto;
  filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.3) drop-shadow(0 0 14px rgba(255,255,255,0.22));
}
.nav-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span em {
  font-style: normal;
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background-color: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.call-us {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--dark-card);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.call-us:hover { background-color: rgba(255,255,255,0.1); }
.call-us i {
  background-color: var(--red);
  padding: 8px;
  border-radius: 50%;
  font-size: 14px;
  margin-left: -12px;
}

/* Auth dropdown */
.auth-dropdown { position: relative; }

.auth-dropdown-toggle {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.auth-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
  overflow: hidden;
}

.auth-dropdown:hover .auth-dropdown-menu,
.auth-dropdown.open .auth-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.auth-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.2s, color 0.2s;
}

.auth-dropdown-menu a:last-child { border-bottom: none; }

.auth-dropdown-menu a:hover {
  background: rgba(230,57,70,0.1);
  color: var(--white);
}

.auth-dropdown-menu a i {
  color: var(--red);
  width: 16px;
  text-align: center;
}

.auth-chevron {
  font-size: 11px;
  transition: transform 0.2s;
}

.auth-dropdown:hover .auth-chevron,
.auth-dropdown.open .auth-chevron { transform: rotate(180deg); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  width: 22px; height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--dark-2);
  border-radius: var(--radius);
  padding: 16px;
  gap: 4px;
  position: absolute;
  top: 100%; left: 0; right: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,29,35,0.92) 40%, rgba(230,57,70,0.15) 100%);
  z-index: 0;
}
.hero-wrapper > * { position: relative; z-index: 1; }

.hero-content {
  padding: 0 80px 80px;
  max-width: 800px;
}

/* Craftsman figure — transparent PNG anchored to the right of the hero */
.hero-craftsman {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 88%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
}
.hero-craftsman img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(-16px 0 50px rgba(0,0,0,0.55));
  animation: craftsman-rise 1.1s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: 0.3s;
}
@keyframes craftsman-rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .hero-craftsman { display: none; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.3);
  color: #ff8a8a;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-content h1 span { color: var(--red); }

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px;
  background: rgba(37, 43, 53, 0.7);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--dark-border);
}
.hero-stats {
  display: flex;
  gap: 60px;
}
.hero-stat h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}
.hero-stat p {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 2px;
}
.hero-email {
  font-size: 14px;
  color: var(--light-gray);
}
.hero-email a { color: var(--red); }

/* ============================================================
   TRUST BADGES BAR
   ============================================================ */
.trust-bar {
  background-color: var(--red);
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.trust-item i { font-size: 18px; opacity: 0.85; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background-color: var(--white);
  padding: 100px 80px;
}

.about-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 70px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.about-top-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-top-left h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 80%;
  margin: 0 auto;
}
.about-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-col:nth-child(2) { margin-top: 40px; }
.about-col:nth-child(3) { margin-top: 80px; }

.about-col-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-col-icon {
  width: 48px;
  height: 48px;
  background-color: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-col-icon i {
  font-size: 22px;
  color: var(--white);
}
.about-col-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.about-col-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}
.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 80px;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 35, 0.88);
  z-index: 0;
}
.stats-section > * { position: relative; z-index: 1; }

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.stats-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}
.stats-header h2 {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: rgba(230,57,70,0.4);
  transform: translateY(-4px);
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--light-gray);
}
.stat-card hr {
  border: none;
  height: 1px;
  background-color: var(--dark-border);
  margin: 0;
}
.count-number {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background-color: var(--off-white);
  padding: 100px 80px;
}
.services-section .section-tag { color: #999; }
.services-section h2 { color: #1a1a1a; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #eee;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background-color: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: rgba(230,57,70,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px var(--red-glow);
}
.service-icon i {
  font-size: 24px;
  color: var(--white);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  flex: 1;
}
.service-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-top: 6px;
  transition: gap 0.3s;
}
.service-card:hover .service-arrow { gap: 12px; }

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-section {
  background-color: var(--dark);
  padding: 100px 80px;
}

.how-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 60px;
  background: var(--dark-2);
  padding: 6px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.how-tab {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--light-gray);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.how-tab.active {
  background-color: var(--red);
  color: var(--white);
}

.how-steps {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.how-steps.active {
  display: grid;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 35px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--red), rgba(230,57,70,0.2));
  z-index: 0;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.how-step:hover .step-num {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 30px var(--red-glow);
}
.how-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  background-color: var(--white);
  padding: 100px 80px;
}
.why-section .section-tag { color: #999; }
.why-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  width: 82%;
  margin: 0 auto;
}
.why-img {
  position: relative;
}
.why-img img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 24px;
}
.why-floating-card {
  position: absolute;
  bottom: -20px;
  right: -30px;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.why-floating-card .card-stat {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
}
.why-floating-card p { font-size: 13px; color: var(--light-gray); }

.why-features {
  display: flex;
  flex-direction: column;
}
.why-features h2 {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 12px;
}
.why-features > p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 36px;
}
.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid #eee;
  transition: opacity 0.3s;
}
.feature-item:first-of-type { border-top: 1px solid #eee; }
.feature-item:hover { opacity: 0.75; }
.feature-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.feature-item:hover .feature-icon {
  border-color: var(--red);
  background: rgba(230,57,70,0.06);
}
.feature-icon i { font-size: 20px; color: #1a1a1a; }
.feature-item:hover .feature-icon i { color: var(--red); }
.feature-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
}

/* ============================================================
   CTA BANNER (Artisan join)
   ============================================================ */
.artisan-cta {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  padding: 120px 80px;
  overflow: hidden;
}
.artisan-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,29,35,0.95) 50%, rgba(230,57,70,0.3) 100%);
  z-index: 0;
}
.artisan-cta > * { position: relative; z-index: 1; }
.artisan-cta-inner {
  max-width: 700px;
}
.artisan-cta h2 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.artisan-cta h2 span { color: var(--red); }
.artisan-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}
.artisan-perks {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.artisan-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.artisan-perk i { color: var(--red); font-size: 16px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background-color: var(--dark-2);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1px 1.8fr;
  gap: 0;
  align-items: center;
  min-height: 550px;
}
.test-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 70px;
}
.rating-score {
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stars { display: flex; gap: 4px; }
.stars i { font-size: 22px; color: var(--red); }
.rating-note { font-size: 14px; color: var(--gray); }

.test-divider {
  width: 1px;
  background: var(--dark-border);
  align-self: stretch;
}
.test-right {
  padding-left: 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}
.testimonial-slider { position: relative; min-height: 220px; overflow: hidden; }
.testimonial-slide {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.quote-icon { font-size: 60px; color: var(--red); }
.quote-text {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.55;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
}
.testimonial-author h4 { font-size: 16px; font-weight: 700; color: var(--white); }
.testimonial-author span { font-size: 13px; color: var(--gray); }
.test-nav { display: flex; gap: 10px; justify-content: flex-end; }
.nav-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.nav-arrow:hover { border-color: var(--red); color: var(--red); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background-color: var(--dark);
  padding: 100px 80px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
  width: 78%;
  margin: 0 auto;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-left h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}
.info-block { display: flex; flex-direction: column; gap: 5px; }
.info-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-block p, .info-block a {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.info-block a:hover { color: var(--red); }

.contact-divider { height: 1px; background: var(--dark-border); }

.book-call { display: flex; flex-direction: column; gap: 10px; }
.book-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  transition: opacity 0.3s;
}
.book-link:hover { opacity: 0.8; }
.book-call p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.agent-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.agent-info img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
}
.agent-info h4 { font-size: 14px; font-weight: 700; color: var(--white); }
.agent-info span { font-size: 12px; color: var(--gray); }

.contact-form-card {
  background: var(--dark-2);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--dark-border);
}
.contact-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-align: center;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-group textarea {
  border-radius: var(--radius);
  resize: vertical;
  min-height: 120px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}
.send-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s;
  margin-top: 6px;
}
.send-btn::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0%;
  background: #000;
  z-index: -1;
  border-radius: var(--radius-pill);
  transition: height 0.4s ease;
}
.send-btn:hover::before { height: 100%; }

/* ============================================================
   MARQUEE + FOOTER
   ============================================================ */
.last-wrap {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 60px 0 0;
}
.last-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,29,35,0.85);
  z-index: 0;
}
.last-wrap > * { position: relative; z-index: 1; }

.marquee-wrap { overflow: hidden; padding: 50px 0; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
}
.marquee-star { color: var(--red) !important; opacity: 0.9; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer {
  background: rgba(15, 17, 22, 0.95);
  padding: 80px 80px 40px;
  border-radius: 20px 20px 0 0;
  margin: 0 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 30px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 48px; width: auto; filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.3); }
.footer-logo span { font-size: 20px; font-weight: 800; color: var(--white); }
.footer-logo span em { font-style: normal; color: var(--red); }
.footer-brand p { font-size: 14px; color: var(--light-gray); line-height: 1.7; max-width: 240px; }
.follow-label { font-size: 13px; color: var(--gray); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: all 0.3s;
}
.social-links a:hover { background: var(--red); border-color: var(--red); }

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--light-gray);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--gray); }
.footer-bottom strong { color: var(--light-gray); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--gray); transition: color 0.3s; }
.footer-legal a:hover { color: var(--red); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background-color: var(--red);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px var(--red-glow);
  transition: background 0.3s, transform 0.3s;
}
.scroll-top:hover {
  background-color: var(--red-dark);
  transform: translateY(-3px);
}

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  background-color: var(--dark-2);
  padding: 80px 80px 70px;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.12) 0%, transparent 70%);
}
.page-hero > * { position: relative; }
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}
.page-hero h1 span { color: var(--red); }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate[data-dir="up"]    { transform: translateY(60px); }
.animate[data-dir="down"]  { transform: translateY(-60px); }
.animate[data-dir="left"]  { transform: translateX(-80px); }
.animate[data-dir="right"] { transform: translateX(80px); }
.animate.slide-in {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-content h1 { font-size: 60px; }
  .about-grid, .stats-grid { width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .top-bar { padding: 8px 20px; font-size: 12px; }
  .top-bar-right { gap: 10px; }

  .nav {
    padding: 14px 20px;
    flex-wrap: wrap;
    position: relative;
  }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-wrapper { min-height: auto; }
  .hero-content { padding: 60px 20px 40px; max-width: 100%; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-bottom-bar { padding: 20px; flex-direction: column; gap: 20px; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 26px; }

  .trust-bar { padding: 14px 20px; gap: 20px; justify-content: flex-start; }
  .trust-item { font-size: 12px; }

  .about-section { padding: 60px 20px; }
  .about-top { flex-direction: column; gap: 20px; width: 100%; margin-bottom: 40px; }
  .about-top-left h2 { font-size: 34px; }
  .about-grid { grid-template-columns: 1fr; width: 100%; }
  .about-col:nth-child(2), .about-col:nth-child(3) { margin-top: 0; }
  .about-img img { height: 260px; }

  .stats-section { padding: 60px 20px; }
  .stats-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }

  .services-section { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  .how-section { padding: 60px 20px; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .how-steps::before { display: none; }

  .why-section { padding: 60px 20px; }
  .why-body { grid-template-columns: 1fr; width: 100%; gap: 40px; }
  .why-img img { height: 320px; }
  .why-floating-card { position: relative; bottom: auto; right: auto; }
  .why-features h2 { font-size: 32px; }

  .artisan-cta { padding: 70px 20px; }
  .artisan-cta h2 { font-size: 36px; }

  .testimonials-section {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 30px;
    min-height: auto;
  }
  .test-divider { width: 100%; height: 1px; }
  .test-left { padding-right: 0; }
  .test-right { padding-left: 0; }
  .quote-text { font-size: 17px; }

  .contact-section { padding: 60px 20px; }
  .contact-inner { grid-template-columns: 1fr; width: 100%; gap: 40px; }

  .footer { padding: 50px 20px 30px; margin: 0 10px; border-radius: 14px 14px 0 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .page-hero { padding: 60px 20px 50px; }
  .page-hero h1 { font-size: 38px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 32px; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
