/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ============================================= */
/* GLOBAL ROOT — keep 16px for header/footer/TW  */
/* ============================================= */
/* Marketing pages use their own sizing; contact uses px, coming soon scopes html in its template. */
html {
  font-size: 100%;
}

/* Large desktop — scale site chrome + marketing pages together */
@media (min-width: 1600px) {
  body > header,
  body > footer,
  .gb-contact-page,
  .gb-home-page {
    zoom: 1.15;
  }
}
@media (min-width: 1920px) {
  body > header,
  body > footer,
  .gb-contact-page,
  .gb-home-page {
    zoom: 1.32;
  }
}

/* ============================================= */
/* FIGMA DESIGN SYSTEM - GARIBAICH */
/* ============================================= */

/* Typography System from Figma */
:root {
  /* Colors */
  --primary-black: #231f20;
  --primary-white: #ffffff;
  --primary-red: #de1b22;
  --figma-maroon: #9b121a;
  --figma-header-bg: #231f20;
  --figma-footer-bg: #231f20;
  --gray-light: #f5f5f5;
  --gray-medium: rgba(60, 60, 60, 0.6);
  --overlay-dark: rgba(0, 0, 0, 0.6);

  /* Figma variable aliases (auth modals + shared) */
  --main-red: #9b121a;
  --main-black: #000000;
  --main-white: #ffffff;
  --gray-20: rgba(0, 0, 0, 0.2);
  --gray-40: rgba(0, 0, 0, 0.4);
  --gray-60: rgba(0, 0, 0, 0.6);
  --gray-80: rgba(0, 0, 0, 0.8);
  --shadow-modal: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  --radius-modal: 20px;
  --radius-control: 5px;
  --shadow-input-focus: 0px 4px 4px 0px #9b121a;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-card: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
  --shadow-card-active: 0px 5px 10px 0px rgba(222, 27, 34, 0.3);
  --shadow-category: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-card: 16px;
  --radius-button: 10px;
  --radius-pill: 100px;
  --radius-category: 8px;
}

/* Base Typography - Global Font Family */
* {
  font-family: var(--font-family);
}

body {
  font-family: var(--font-family);
  color: var(--primary-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all headings use Inter */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
}

/* Sell page progress bar — gradient + car (unlayered so it wins over global rules) */
.sell-page .sell-progress-track {
  background: linear-gradient(90deg, #9b121a 0%, #000000 100%);
}

.sell-page .sell-progress-car {
  width: 50px;
  height: 50px;
  transition: left 0.35s ease;
}

/* Sell page section titles — spans inside headings need Playfair too (* { Inter } targets every element) */
.sell-page .sell-section-heading,
.sell-page .sell-section-heading *,
.sell-page h1.sell-section-heading,
.sell-page h1.sell-section-heading *,
.sell-page h2.sell-section-heading,
.sell-page h2.sell-section-heading * {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0;
}

/* Figma: Main Cover Photo — Playfair ExtraBold 14, Main White */
.sell-page .sell-photo-cover__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0;
  color: #ffffff;
}

/* Ensure all inputs and buttons use Inter */
input, button, textarea, select {
  font-family: var(--font-family);
}

/* Figma Typography Classes */
.text-hero {
  font-size: 34px;
  line-height: 48px;
  font-weight: 600;
}

.text-section {
  font-size: 20px;
  line-height: 40px;
  font-weight: 600;
}

.text-card-title {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}

.text-body-lg {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.text-body {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.text-small {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

/* Custom utilities for the car marketplace */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth animations */
* {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Enhanced focus states */
.btn:focus,
.input:focus,
.select:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Figma Card Styles */
.car-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--primary-white);
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.car-card.active,
.car-card.selected {
  box-shadow: var(--shadow-card-active);
  border-color: var(--primary-red);
}

/* Category Card Styles from Figma */
.category-card {
  border-radius: var(--radius-category);
  box-shadow: var(--shadow-category);
  transition: all 0.3s ease;
  background: var(--primary-white);
  border: 0.5px solid rgba(35, 31, 32, 0.5);
}

.category-card:hover {
  box-shadow: var(--shadow-card-active);
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.category-card.active {
  border: 0.5px solid var(--primary-red);
  box-shadow: var(--shadow-card-active);
}

/* Button Styles from Figma */
.btn-primary {
  background: var(--primary-red);
  color: var(--primary-white);
  border-radius: var(--radius-button);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #c51820;
  box-shadow: 0 4px 12px rgba(222, 27, 34, 0.3);
  transform: translateY(-1px);
}

/* Filter Button Styles from Figma */
.filter-btn {
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 0.5px solid var(--gray-medium);
  background: var(--primary-white);
  color: var(--gray-medium);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--primary-black);
  color: var(--primary-black);
}

.filter-btn.active {
  background: var(--primary-black);
  color: var(--primary-white);
  border-color: var(--primary-black);
}

/* Badge Styles from Figma */
.badge-overlay {
  background: var(--overlay-dark);
  color: var(--primary-white);
  border-radius: 16777200px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

/* Image loading state */
.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Enhanced prose styling */
.prose {
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Kaminari Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #374151;
  background-color: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  min-width: 2.5rem;
  height: 2.5rem;
}

.pagination a:hover {
  background-color: #0ea5e9;
  color: white;
  border-color: #0ea5e9;
  transform: translateY(-1px);
}

.pagination .current {
  background-color: #0ea5e9;
  color: white;
  border-color: #0ea5e9;
  font-weight: 600;
}

.pagination .gap {
  border: none;
  background: none;
  color: #9ca3af;
  cursor: default;
}

.pagination .gap:hover {
  background: none;
  color: #9ca3af;
  transform: none;
}

.pagination .first,
.pagination .prev,
.pagination .next,
.pagination .last {
  font-weight: 600;
}

.pagination .first a,
.pagination .prev a,
.pagination .next a,
.pagination .last a {
  padding: 0.5rem 1rem;
}

.pagination .prev a::before {
  content: "← ";
}

.pagination .next a::after {
  content: " →";
}

.pagination .first a::before {
  content: "«« ";
}

.pagination .last a::after {
  content: " »»";
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  @apply bg-gray-100;
}

::-webkit-scrollbar-thumb {
  @apply bg-gray-300 rounded-full;
}

::-webkit-scrollbar-thumb:hover {
  @apply bg-gray-400;
}

/* ============================================= */
/* MODERN HEADER STYLES */
/* ============================================= */

/* Sticky Top Bar with Logo */
.header-modern {
  backdrop-filter: blur(8px);
  background: rgba(59, 130, 246, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-modern.scrolled {
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Compact Logo Animation */
.logo-compact {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Info Animation */
.sliding-info {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Navigation (Non-sticky) */
.main-nav {
  position: relative;
  z-index: 40;
  margin-top: 0;
}

/* Ensure proper spacing after sticky header */
body {
  padding-top: 0;
}

/* Top Info Bar */
.top-info-bar {
  position: relative;
  overflow: hidden;
  background: inherit;
}

.top-info-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.info-item {
  white-space: nowrap;
}

.social-bubble {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-bubble:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modern Logo */
.logo-modern {
  text-decoration: none;
}

.logo-icon-container {
  position: relative;
}

.logo-modern:hover h1 {
  background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4, #8b5cf6);
  background-size: 300% 300%;
  animation: gradientShift 2s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Enhanced Search Bar */
.search-section {
  position: relative;
}

.search-wrapper {
  position: relative;
}

.search-wrapper.focused {
  transform: scale(1.02);
}

.search-wrapper.focused .search-input {
  color: #1f2937;
}

.search-input {
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: none;
  outline: none;
}

.search-btn {
  border: none;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.search-btn:hover::before {
  left: 100%;
}

/* Navigation Links */
.nav-links {
  gap: 1rem;
}

.nav-link-modern {
  display: flex;
  align-items: center;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.3s ease;
}

.nav-link-modern:hover::before {
  left: 100%;
}

.nav-icon-bg {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: transparent;
}

.nav-link-modern:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-1px);
}

/* Dropdown Menu */
.dropdown-menu {
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* User Actions */
.user-actions {
  gap: 1rem;
}

.user-avatar-btn {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.user-avatar-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.user-avatar-btn:hover::before {
  left: 100%;
}

.avatar-container {
  position: relative;
}

.user-dropdown-modern {
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-dropdown-modern::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.dropdown-item-modern {
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dropdown-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.3s ease;
}

.dropdown-item-modern:hover::before {
  left: 100%;
}

/* Action Buttons */
.sell-btn-modern,
.signup-btn-modern {
  text-decoration: none;
  position: relative;
  border: none;
  cursor: pointer;
}

.auth-link-modern {
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.auth-link-modern:hover {
  background: rgba(59, 130, 246, 0.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

.hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: #374151;
  border-radius: 1px;
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 6px;
}

.hamburger-line:nth-child(3) {
  top: 12px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
  top: 6px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
  top: 6px;
}

/* Mobile Menu */
.mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-item-modern {
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.3s ease;
}

.mobile-nav-item-modern:hover::before {
  left: 100%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .search-section {
    max-width: 24rem;
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  .logo-modern h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .user-actions {
    gap: 0.75rem;
  }
  
  .top-info-bar {
    display: none;
  }
}

@media (max-width: 640px) {
  .user-avatar-btn .hidden {
    display: none !important;
  }
  
  .logo-modern h1 {
    font-size: 1.75rem;
  }
  
  .search-section {
    margin: 0 1rem;
  }
}

/* ============================================= */
/* LEGACY HEADER STYLES (PRESERVED) */
/* ============================================= */

/* Global focus styles */
* {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

input:focus, textarea:focus, button:focus, select:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Header logo glow effect */
.header-logo-glow {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Header search bar styling */
.header-search-bar {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-search-bar:focus-within {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Header navigation links */
.header-nav-link {
  position: relative;
  padding: 0.5rem 1rem;
}

.header-nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transition: width 0.3s ease;
}

.header-nav-link:hover::before {
  width: 100%;
}

/* User dropdown styling */
.user-dropdown {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.95);
}

/* Mobile menu animations */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

#mobileMenu.hidden {
  opacity: 0;
  transform: translateY(-10px);
}

#mobileMenu:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  animation: slideDown 0.3s ease-out;
}

/* Button gradient effects */
.btn-gradient,
input.btn-gradient[type="submit"],
button.btn-gradient {
  background: linear-gradient(135deg, #de1b22, #c51820) !important;
  background-color: #de1b22 !important;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient-green {
  background: linear-gradient(135deg, #059669, #10b981);
  position: relative;
  overflow: hidden;
}

.btn-gradient-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-gradient-green:hover::before {
  left: 100%;
}

/* Professional Form Field Styling */
select.appearance-none {
  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='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.appearance-none:disabled {
  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='%239CA3AF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  cursor: not-allowed;
}

/* Form input focus states */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(222, 27, 34, 0.1);
}

/* Social icons */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

/* Search container effects */
.search-container {
  position: relative;
}

.search-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-container:focus-within::before {
  opacity: 1;
}

/* Logo container effects */
.logo-container {
  transition: all 0.3s ease;
}

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

.logo-icon {
  transition: all 0.3s ease;
}

.logo-container:hover .logo-icon {
  transform: rotate(10deg) scale(1.1);
}

/* Navigation item effects */
.nav-item {
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  transform: translateY(-1px);
}

.nav-item i {
  transition: all 0.3s ease;
}

.nav-item:hover i {
  transform: scale(1.1);
}

/* Mobile navigation items */
.mobile-nav-item {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.mobile-nav-item:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateX(4px);
}

/* Pagination styling */
.pagination {
  margin: 2rem 0;
}

.pagination a, .pagination span {
  transition: all 0.2s ease;
}

.pagination a {
  text-decoration: none;
}

.pagination .current {
  font-weight: 600;
}

.pagination .gap {
  cursor: default;
}

.pagination .disabled {
  opacity: 0.5;
}

/* Car card styling */
.car-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image gallery styling */
.image-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.image-gallery-main img {
  transition: transform 0.3s ease;
}

.image-gallery-main:hover img {
  transform: scale(1.05);
}

.image-thumbnail {
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-thumbnail.active {
  border: 2px solid #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .header-logo h1 {
    font-size: 1.5rem;
  }

  .header-logo p {
    font-size: 0.625rem;
  }
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Backdrop blur for header */
.backdrop-blur-header {
  backdrop-filter: blur(10px);
}

/* Glass effect utility */
.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Body and layout */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Header sticky behavior */
.header-sticky {
  transition: all 0.3s ease;
}

.header-sticky.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Footer enhancements */
.footer-stat {
  transition: all 0.3s ease;
}

.footer-stat:hover {
  transform: translateY(-2px);
}

.footer-stat:hover .text-3xl,
.footer-stat:hover .text-4xl {
  transform: scale(1.1);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer social icons */
.footer-social-icon {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.footer-social-icon:hover::before {
  left: 100%;
}

.footer-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Footer links */
.footer-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.3s ease;
}

.footer-link:hover::before {
  left: 100%;
}

.footer-link:hover {
  transform: translateX(4px);
}

.footer-link:hover i {
  transform: scale(1.1);
}

/* Newsletter section */
.newsletter-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer styling */
footer {
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  animation: footerGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes footerGlow {
  0% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Footer pattern */
.footer-pattern {
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

/* Footer headings */
footer h4 {
  position: relative;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 1px;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
  .footer-stat {
    text-align: center;
  }

  .footer-social-icon {
    padding: 0.5rem;
  }

  footer h4 {
    font-size: 1rem;
  }
}

/* Footer input focus states */
footer input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

/* Modern form element styling for filters */
.modern-form-element {
  transition: all 0.2s ease-in-out;
  position: relative;
}

.modern-form-element:hover {
  transform: translateY(-1px);
}

.modern-form-element:focus-within {
  transform: translateY(-1px);
}

/* Custom select styling */
select.appearance-none {
  background-image: none;
}

select::-ms-expand {
  display: none;
}

/* Modern dropdown arrow */
.modern-dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af;
  font-size: 12px;
  transition: color 0.2s ease;
}

.modern-form-element:focus-within .modern-dropdown-arrow {
  color: #3b82f6;
}

/* Enhanced gradient backgrounds */
.form-gradient-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.form-gradient-bg:hover {
  background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
}

.form-gradient-bg:focus {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

/* Enhanced shadow effects for form elements */
.form-shadow {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-shadow:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-shadow:focus {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Ring effect for form elements */
.form-ring-focus:focus {
  ring-width: 4px;
  ring-color: rgba(59, 130, 246, 0.2);
  ring-offset-width: 0px;
}

/* Enhanced Top Info Bar Styles */
.top-info-bar-enhanced {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e2a5e 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.top-info-bar-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmerSweep 4s infinite;
}

@keyframes shimmerSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.info-item-enhanced {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.info-item-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.info-item-enhanced:hover::before {
  left: 100%;
}

.info-item-enhanced:hover {
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.icon-container {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.icon-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.3s ease;
}

.group:hover .icon-container::before {
  left: 100%;
}

.social-icon-enhanced {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icon-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.3s ease;
}

.social-icon-enhanced:hover::before {
  left: 100%;
}

.social-icon-enhanced:hover {
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section div {
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section div::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.3s ease;
}

.cta-section div:hover::before {
  left: 100%;
}

.cta-section div:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Responsive adjustments for enhanced top bar */
@media (max-width: 768px) {
  .contact-info {
    gap: 1rem;
  }
  
  .info-item-enhanced {
    padding: 0.5rem 0.75rem;
  }
  
  .info-item-enhanced div:last-child {
    display: none;
  }
  
  .top-info-bar-enhanced {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .social-links-enhanced {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .top-info-bar-enhanced {
    text-align: left;
  }
  
  .info-item-enhanced {
    padding: 0.5rem 1rem;
    width: 100%;
  }
  
  .cta-section {
    display: none !important;
  }
}

/* Dealer portal — override DaisyUI / theme base that darkens native inputs on data-theme pages */
.dealer-app input[type="text"],
.dealer-app input[type="email"],
.dealer-app input[type="tel"],
.dealer-app input[type="password"],
.dealer-app input[type="url"],
.dealer-app input[type="search"],
.dealer-app input[type="number"],
.dealer-app textarea,
.dealer-app select {
  background-color: #ffffff !important;
  color: #231f20 !important;
}

.dealer-app input::placeholder,
.dealer-app textarea::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}

/* Home hero — soft mesh / noise layer over gradient (Figma Main) */
.gb-hero-mesh {
  background-image:
    radial-gradient(ellipse 90% 55% at 12% 28%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 70% 45% at 82% 12%, rgba(255, 210, 210, 0.14), transparent 52%),
    radial-gradient(ellipse 50% 40% at 55% 88%, rgba(0, 0, 0, 0.12), transparent 55%);
}

/* Figma Main hero — tab notch pointing into the search bar */
.gb-hero-tab {
  position: relative;
}
.gb-hero-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid rgb(153 27 27); /* tailwind red-800 */
  z-index: 25;
  pointer-events: none;
}

/* Advance search — Figma filter pills (active state via aria-selected, not JS className) */
.gb-adv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.gb-adv-pill:hover {
  border-color: rgba(0, 0, 0, 0.55);
}
.gb-adv-pill[aria-selected="true"] {
  background: rgb(153 27 27);
  border-color: rgb(153 27 27);
  color: #fff;
}
.gb-adv-pill img {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
}
.gb-adv-pill[aria-selected="true"] img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Hero price — dual range (Figma: gray track + red selected segment + white thumbs) */
.gb-hero-dual-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.gb-hero-dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}
.gb-hero-dual-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid rgb(153 27 27);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  cursor: grab;
}
.gb-hero-dual-range input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}
.gb-hero-dual-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid rgb(153 27 27);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  cursor: grab;
}

/* Figma public header — dropdowns */
.gb-nav-details > summary {
  list-style: none;
}
.gb-nav-details > summary::-webkit-details-marker {
  display: none;
}
.gb-nav-details[open] > summary .gb-nav-chevron {
  transform: rotate(180deg);
}

/* Grouped selects — Popular / Other optgroup headings (Figma-style) */
.gb-grouped-select optgroup {
  font-weight: 700;
  font-size: 0.75rem;
  color: #374151;
  font-style: normal;
}
.gb-grouped-select option {
  font-weight: 400;
  font-size: 0.8125rem;
  color: #111827;
  padding: 0.25rem 0.5rem;
}
.gb-grouped-select option:checked {
  background-color: #ebf2ff;
  color: #2563eb;
}

/* Homepage layout — Figma 1280: 40px page gutter, content at x=118 (+78px inset) */
.gb-home-page {
  width: 100%;
}

.gb-home-shell {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .gb-home-shell {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.gb-home-shell--adv {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .gb-home-shell--adv {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.gb-home-shell--hero-title {
  padding-top: 9rem;
  pointer-events: none;
}
@media (min-width: 640px) {
  .gb-home-shell--hero-title {
    padding-top: 10.5rem;
  }
}
@media (min-width: 768px) {
  .gb-home-shell--hero-title {
    padding-top: 12rem;
  }
}

.gb-home-chrome-bar {
  display: flex;
  min-height: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gb-home-chrome-nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: #262626;
}

.gb-home-chrome-footer-main {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .gb-home-chrome-footer-main {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}

.gb-home-chrome-footer-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
}
@media (min-width: 1024px) {
  .gb-home-chrome-footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gb-home-content-inset {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .gb-home-content-inset {
    padding-left: 78px;
    padding-right: 78px;
  }
}

.gb-home-content-inset--below-blogs {
  margin-bottom: 4rem;
}

/* Tab panels: [hidden] must win over layout display (flex/grid) */
[role="tabpanel"][hidden] {
  display: none !important;
}

.gb-home-filter-tablist {
  margin-left: 3%;
}

/* Advance-search tab panels — centered row, consistent % gap */
.gb-home-filter-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  column-gap: 5%;
  row-gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.gb-home-filter-panel--nowrap {
  flex-wrap: nowrap;
}
@media (max-width: 767px) {
  .gb-home-filter-panel--nowrap {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Model tab — 8 tiles per row, centered grid */
.gb-home-model-row {
  display: grid;
  grid-template-columns: repeat(2, 96px);
  justify-content: center;
  justify-items: center;
  column-gap: 5%;
  row-gap: 31px;
}
@media (min-width: 640px) {
  .gb-home-model-row {
    grid-template-columns: repeat(4, 96px);
  }
}
@media (min-width: 768px) {
  .gb-home-model-row {
    grid-template-columns: repeat(8, 96px);
  }
}

.gb-home-category-tile {
  display: flex;
  width: 100px;
  max-width: 100px;
  height: 106px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: #fff;
  padding: 8px 4px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}
.gb-home-category-tile:hover {
  border-color: rgba(153, 27, 34, 0.4);
}
.gb-home-category-tile__icon {
  width: 38px;
  height: 40px;
  margin-top: 15%;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-category-tile .gb-home-make-tile__logo {
  height: 32px;
}
.gb-home-category-tile .gb-home-make-tile__logo-img {
  max-height: 28px;
  max-width: 3.5rem;
}
.gb-home-category-tile .gb-home-body-tile__icon {
  width: 56px;
  height: 42px;
}
.gb-home-category-tile .gb-home-body-tile__icon-img {
  width: 56px;
  height: 42px;
}

/* Shared label + accent (Category, Budget, Make, …) */
.gb-home-filter-tile__label {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  text-align: center;
  color: #000;
}
.gb-home-filter-tile__accent {
  display: block;
  width: 25px;
  height: 2px;
  flex-shrink: 0;
  background: #9b121a;
  border-radius: 9999px;
}

/* Make tab — logo area inside category-sized tile */
.gb-home-make-tile__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.5rem;
  flex-shrink: 0;
}
.gb-home-make-tile__logo-img {
  max-height: 2.25rem;
  max-width: 4.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-make-tile__logo-initial {
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #231f20;
  opacity: 0.7;
}

/* Body type tab — Figma icon frame 70×53 */
.gb-home-body-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 53px;
  flex-shrink: 0;
}
.gb-home-body-tile__icon-img {
  width: 70px;
  height: 53px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

/* Budget tab — Figma: 96×48 box, 0.5px black/40% stroke */
.gb-home-budget-tile {
  display: flex;
  width: 96px;
  height: 48px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.4);
  background: #fff;
  padding: 4px 3px;
  text-decoration: none;
  box-sizing: border-box;
}
.gb-home-budget-tile:hover {
  border-color: rgba(155, 18, 26, 0.55);
}

.gb-home-make-card {
  display: flex;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  padding: 0.5rem 0.375rem 0.375rem;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  box-sizing: border-box;
}
.gb-home-make-card:hover {
  border-color: rgba(153, 27, 34, 0.45);
}
.gb-home-make-card__logo {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.gb-home-make-card__logo-img {
  max-height: 2.5rem;
  max-width: 5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-make-card__logo-initial {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #231f20;
  opacity: 0.7;
}
.gb-home-make-card__name {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  color: #000;
  flex-shrink: 0;
}

.gb-home-carousel {
  position: relative;
  overflow: visible;
}

.gb-home-carousel-track {
  display: flex;
  gap: 21px;
}

.gb-home-carousel-track--listing {
  gap: 23px;
}

/* Carousel frame — arrows sit half on first/last card edge */
.gb-home-carousel__frame {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.gb-home-carousel__frame--make {
  width: min(100%, calc(9 * 96px + 8 * 21px));
}
.gb-home-carousel__frame--listing {
  width: min(100%, calc(4 * 282px + 3 * 23px));
}
.gb-home-carousel__frame--reviews {
  width: 100%;
}

.gb-home-carousel-track--reviews {
  gap: 21px;
}

/* Figma Review1 — 279×257 */
.gb-home-review-card {
  display: flex;
  width: 279px;
  height: 257px;
  flex-shrink: 0;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 22px 26px 19px 14px;
}
.gb-home-review-card__quote-mark {
  width: 40px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
}
.gb-home-review-card__text {
  width: 230px;
  max-width: 100%;
  max-height: 55px;
  margin: 21px 0 0 11px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.gb-home-review-card__divider {
  width: 228px;
  max-width: calc(100% - 9px);
  height: 0;
  margin: 28px 0 0 9px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
}
.gb-home-review-card__rating-row {
  display: flex;
  align-items: center;
  margin: 11px 0 0 9px;
  gap: 13px;
}
.gb-home-review-card__stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gb-home-review-card__star {
  width: 21px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-review-card__score {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #000;
}
.gb-home-review-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 21px;
  padding-left: 10px;
  gap: 8px;
}
.gb-home-review-card__author {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.gb-home-review-card__avatar {
  display: flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #d9d9d9;
}
.gb-home-review-card__avatar-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-review-card__author-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.gb-home-review-card__name {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: #000;
}
.gb-home-review-card__city {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: normal;
  color: rgba(0, 0, 0, 0.6);
}
.gb-home-review-card__date {
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.gb-home-make-carousel__viewport,
.gb-home-listing-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.gb-home-make-carousel__viewport::-webkit-scrollbar,
.gb-home-listing-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.gb-home-carousel-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 20;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #231f20;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s;
  cursor: pointer;
}
.gb-home-carousel-nav:hover {
  background: #fafafa;
}
@media (min-width: 1024px) {
  .gb-home-carousel__frame .gb-home-carousel-nav {
    display: flex;
  }
}

.gb-home-carousel__frame .gb-home-carousel-nav--prev {
  left: 0;
  transform: translateY(-50%) translateX(-50%);
}

.gb-home-carousel__frame .gb-home-carousel-nav--next {
  right: 0;
  transform: translateY(-50%) translateX(50%);
}

/* Figma Article listing card — 282×393 (image 219px + body 174px) */
.gb-home-listing-card {
  display: flex;
  width: 282px;
  max-width: 282px;
  height: 393px;
  flex-shrink: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.gb-home-listing-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.gb-home-listing-card__media {
  position: relative;
  height: 219px;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #f5f5f5;
}
.gb-home-listing-card__badge {
  position: absolute;
  left: 11px;
  top: 11px;
  z-index: 10;
  display: flex;
  height: 28px;
  min-width: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.gb-home-listing-card__body {
  display: flex;
  height: 174px;
  flex-shrink: 0;
  flex-direction: column;
  padding: 16px 31px 0;
  box-sizing: border-box;
}
.gb-home-listing-card__title {
  margin: 0;
  min-height: 44px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  color: #020617;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.gb-home-listing-card__title:hover {
  color: #991b1b;
}
.gb-home-listing-card__specs {
  margin-top: 4px;
  flex: 1;
  min-height: 0;
  padding-top: 12px;
}
.gb-home-listing-card__specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 4px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #020617;
}
.gb-home-listing-card__spec-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gb-home-listing-card__spec-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
}
.gb-home-listing-card__footer {
  display: flex;
  flex-shrink: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  min-height: 46px;
  box-sizing: border-box;
}
.gb-home-listing-card__price {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  color: #020617;
}
.gb-home-listing-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
  color: #991b1b;
  text-decoration: none;
  flex-shrink: 0;
}
.gb-home-listing-card__detail:hover {
  color: #7f1d1d;
}
.gb-home-listing-card__detail-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ============================================= */
/* FIGMA AUTH MODALS — Login / Signup */
/* ============================================= */

.gb-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}

.gb-auth-overlay[hidden] {
  display: none !important;
}

.gb-auth-panel {
  position: relative;
  width: 100%;
  max-width: 565px;
  max-height: min(90vh, 700px);
  overflow-y: auto;
  background: var(--main-white);
  border: 0.5px solid var(--gray-20);
  border-radius: var(--radius-modal);
  box-shadow: var(--shadow-modal);
}

.gb-auth-panel__inner {
  padding: 1.5rem 3.125rem 1.75rem;
}

.gb-auth-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: var(--main-red);
  text-align: center;
}

.gb-auth-illustration {
  display: block;
  margin: 0.125rem auto 0;
  max-height: 160px;
  width: auto;
  max-width: 271px;
  object-fit: contain;
}

.gb-auth-illustration--signup {
  margin: 0 auto;
  max-height: 120px;
  max-width: 240px;
}

.gb-auth-panel__inner--signup {
  padding: 1rem 3.125rem 1.25rem;
}

.gb-auth-panel__inner--signup .gb-auth-field,
.gb-auth-panel__inner--signup .gb-auth-field-row {
  margin-bottom: 0.625rem;
}

.gb-auth-panel__inner--signup .gb-auth-field-row .gb-auth-field {
  margin-bottom: 0;
}

.gb-auth-panel__inner--signup .gb-auth-form {
  margin-top: 0.375rem;
}

.gb-auth-panel__inner--signup .gb-auth-terms {
  margin-bottom: 0.625rem;
}

.gb-auth-panel__inner--signup .gb-auth-divider {
  margin: 0.75rem 0 0.625rem;
}

.gb-auth-panel__inner--signup .gb-auth-footer {
  margin-top: 0.75rem;
}

.gb-auth-form {
  margin-top: 0.5rem;
}

.gb-auth-field {
  position: relative;
  margin-bottom: 1rem;
}

.gb-auth-field--half {
  width: calc(50% - 0.5rem);
}

.gb-auth-field-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gb-auth-field-row .gb-auth-field {
  position: relative;
  margin-bottom: 0;
}

.gb-auth-input {
  display: block;
  width: 100%;
  height: 37px;
  padding: 0 2.75rem 0 2.25rem;
  border: 0.5px solid var(--gray-20);
  border-radius: var(--radius-control);
  font-size: 12px;
  font-weight: 500;
  color: var(--main-black);
  background: var(--main-white);
  transition: box-shadow 0.15s ease;
}

.gb-auth-input::placeholder {
  color: var(--gray-60);
}

.gb-auth-input:focus {
  outline: none;
  box-shadow: var(--shadow-input-focus);
}

.gb-auth-input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--gray-60);
  pointer-events: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-auth-toggle-password {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gray-60);
  cursor: pointer;
  font-size: 12px;
}

.gb-auth-forgot {
  display: block;
  margin: -0.25rem 0 0.75rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--main-red);
  text-decoration: none;
}

.gb-auth-forgot:hover {
  text-decoration: underline;
}

.gb-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 37px;
  border: none;
  border-radius: var(--radius-control);
  background: linear-gradient(90deg, #9b121a 2.32%, #000000 100%);
  font-size: 14px;
  font-weight: 600;
  color: var(--main-white);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.gb-auth-submit:hover {
  opacity: 0.95;
}

.gb-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

.gb-auth-divider__line {
  flex: 1;
  height: 1px;
  background: var(--gray-20);
}

.gb-auth-divider__text {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-60);
  white-space: nowrap;
}

.gb-auth-oauth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.gb-auth-oauth-form {
  margin: 0;
  display: block;
  min-width: 0;
}

.gb-auth-oauth-form .gb-auth-oauth-btn {
  width: 100%;
}

.gb-auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 43px;
  width: 100%;
  border: 0.5px solid var(--gray-40);
  border-radius: var(--radius-control);
  background: var(--main-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-80);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.gb-auth-oauth-btn:hover {
  background: #fafafa;
}

.gb-auth-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--main-black);
}

.gb-auth-footer-link {
  color: var(--main-red);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.gb-auth-footer-link:hover {
  text-decoration: underline;
}

.gb-auth-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--gray-60);
  cursor: pointer;
}

.gb-auth-close:hover {
  color: var(--main-black);
  background: rgba(0, 0, 0, 0.04);
}

.gb-auth-alert {
  margin-bottom: 1rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-control);
  border: 1px solid #fecaca;
  background: #fef2f2;
  font-size: 12px;
  color: #991116;
}

.gb-auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--main-black);
}

.gb-auth-terms input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--main-red);
}

.gb-auth-terms a {
  color: var(--main-red);
  text-decoration: none;
}

.gb-auth-terms a:hover {
  text-decoration: underline;
}

/* ============================================= */
/* FIGMA CONTACT PAGE */
/* ============================================= */

.gb-contact-page {
  background: #fdf9f8;
  color: #000;
  overflow-x: clip;
}

/* Full-width shell — fluid gutters (Figma 39px / 94px at 1280), no fixed canvas box */
.gb-contact-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: clamp(1rem, 3.05vw, 39px);
  padding-right: clamp(1rem, 7.34vw, 94px);
}

.gb-contact-hero {
  position: relative;
  width: 100%;
  height: 279px;
  overflow: visible;
  background: linear-gradient(to right, #9b121a, #000);
}
.gb-contact-hero__stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  height: 279px;
  padding: 0 clamp(1rem, 3.05vw, 39px);
  box-sizing: border-box;
}
.gb-contact-hero__phone {
  position: absolute;
  left: 50%;
  top: 96px;
  z-index: 0;
  width: 272px;
  height: 198px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  pointer-events: none;
}
.gb-contact-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 67px;
  text-align: center;
  pointer-events: none;
}
.gb-contact-hero__title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 3.3rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}
.gb-contact-hero__title-main {
  color: #fff;
}
.gb-contact-hero__title-accent {
  color: #9b121a;
}
.gb-contact-hero__subtitle {
  margin: 0.375rem 0 0;
  max-width: 28rem;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
}
@media (max-width: 767px) {
  .gb-contact-hero,
  .gb-contact-hero__stage {
    height: auto;
    min-height: 254px;
    padding-bottom: 1.5rem;
  }
  .gb-contact-hero__copy {
    padding-top: 2rem;
  }
  .gb-contact-hero__title {
    font-size: 2.25rem;
  }
  .gb-contact-hero__phone {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem auto 0;
  }
}

.gb-contact-section-title {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.125rem, 1.72vw, 1.375rem);
  font-weight: 600;
  line-height: normal;
}
.gb-contact-section-title__bar {
  width: 3px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #9b121a;
}
.gb-contact-section-title__black {
  color: #000;
}
.gb-contact-section-title__red {
  color: #9b121a;
}

.gb-contact-touch {
  background: #fdf9f8;
  padding: 2.06rem 0 3.3rem;
}
.gb-contact-touch .gb-contact-section-title {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  margin-bottom: 1.925rem;
}
.gb-contact-touch__grid {
  display: grid;
  gap: 2.2rem;
  min-width: 0;
}
.gb-contact-touch__grid > * {
  min-width: 0;
}
@media (min-width: 1024px) {
  .gb-contact-touch__grid {
    grid-template-columns: minmax(0, 568px) minmax(352px, 561px);
    column-gap: clamp(2.2rem, 10.4vw, 133px);
    align-items: start;
    justify-content: space-between;
    width: 100%;
  }
}
.gb-contact-touch__info {
  max-width: 568px;
}
.gb-contact-touch__info .gb-contact-info-list,
.gb-contact-touch__info .gb-contact-info-divider {
  padding-left: 62px;
}
.gb-contact-info-divider {
  width: 506px;
  max-width: 100%;
  height: 0;
  margin: 3.55rem 0 0;
  border: 0;
  border-top: 1px solid rgba(37, 37, 37, 0.25);
}
.gb-contact-info-item__icon-img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  pointer-events: none;
}
.gb-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.gb-contact-info-item {
  display: flex;
  gap: 0.825rem;
  align-items: flex-start;
}
.gb-contact-info-item__icon {
  display: flex;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.gb-contact-info-item__title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: normal;
  color: #000;
}
.gb-contact-info-item__line {
  margin: 0.275rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: rgba(0, 0, 0, 0.7);
}
.gb-contact-info-item__line a {
  color: inherit;
  text-decoration: none;
}
.gb-contact-info-item__line a:hover {
  color: #9b121a;
}
.gb-contact-social {
  margin-top: 1.375rem;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gb-contact-social__label {
  display: block;
  margin-bottom: 0.825rem;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}
.gb-contact-social__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.825rem;
}
.gb-contact-social__link {
  display: flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: border-color 0.15s;
}
.gb-contact-social__link:hover {
  border-color: rgba(155, 18, 26, 0.45);
}
.gb-contact-social__link img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

.gb-contact-form-card {
  width: 100%;
  max-width: 561px;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
  border-radius: 22px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 1.65rem 1.375rem 1.925rem;
}
@media (min-width: 640px) {
  .gb-contact-form-card {
    padding: 1.925rem 1.65rem 2.2rem;
  }
}
.gb-contact-form-card__title {
  margin: 0 0 1.375rem;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: #000;
  text-align: center;
}
.gb-contact-form-card__title-accent {
  color: #9b121a;
}
.gb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.gb-contact-form__row {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .gb-contact-form__row--split {
    grid-template-columns: 1fr 1fr;
  }
}
.gb-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4125rem;
}
.gb-contact-field__label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}
.gb-contact-field__required {
  color: #9b121a;
}
.gb-contact-field__input,
.gb-contact-field__select,
.gb-contact-field__textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 4px 4px rgba(155, 18, 26, 0.12);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}
.gb-contact-field__input,
.gb-contact-field__select {
  height: 41px;
  padding: 0 0.825rem;
}
.gb-contact-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000' stroke-opacity='0.6' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.825rem center;
  padding-right: 2.2rem;
}
.gb-contact-field__textarea {
  min-height: 108px;
  padding: 0.6875rem 0.825rem;
  resize: vertical;
}
.gb-contact-field__input:focus,
.gb-contact-field__select:focus,
.gb-contact-field__textarea:focus {
  outline: 2px solid rgba(155, 18, 26, 0.35);
  outline-offset: 0;
}
.gb-contact-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #000;
}
.gb-contact-form__terms input {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #9b121a;
  border: 1px solid #9b121a;
  border-radius: 2px;
}
.gb-contact-form__terms a {
  color: #9b121a;
  text-decoration: none;
}
.gb-contact-form__terms a:hover {
  text-decoration: underline;
}
.gb-contact-form__submit {
  width: 100%;
  height: 41px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(to right, #9b121a, #000);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s;
}
.gb-contact-form__submit:hover {
  opacity: 0.92;
}

.gb-contact-why {
  background: #fefdfc;
  padding: 2.75rem 0 3.3rem;
}
.gb-contact-why .gb-contact-section-title {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  margin-bottom: 1.925rem;
}
.gb-contact-why__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gb-contact-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .gb-contact-why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.875rem;
  }
}
.gb-contact-feature-card {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  border-radius: 11px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 1.03rem 1.03rem 1.1rem;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .gb-contact-feature-card {
    max-width: 315px;
    min-height: 176px;
  }
}
.gb-contact-feature-card__icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.gb-contact-feature-card__icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}
.gb-contact-feature-card__title {
  margin: 0 0 0.6875rem;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: #000;
}
.gb-contact-feature-card__text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: #000;
}

.gb-contact-cta {
  position: relative;
  background: #fdf9f8;
  padding: 2.75rem 0 4.4rem;
  overflow: hidden;
}
.gb-contact-cta__panel {
  position: relative;
  z-index: 1;
  max-width: 741px;
  margin: 0 auto;
  border-radius: 11px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: rgba(250, 251, 251, 0.25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 2.2rem 1.65rem 2.475rem;
  text-align: center;
}
@media (min-width: 768px) {
  .gb-contact-cta__panel {
    padding: 3.3rem 2.2rem 2.75rem;
  }
}
.gb-contact-cta__title {
  margin: 0 0 0.825rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: normal;
  color: #000;
}
.gb-contact-cta__line {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}
.gb-contact-cta__line + .gb-contact-cta__line {
  margin-top: 0.4125rem;
}
.gb-contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.03125rem;
  margin-top: 1.925rem;
}
.gb-contact-cta__btn {
  display: inline-flex;
  width: 189px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.15s;
}
.gb-contact-cta__btn:hover {
  opacity: 0.92;
}
.gb-contact-cta__btn--outline {
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #000;
}
.gb-contact-cta__btn--primary {
  border: 0;
  background: linear-gradient(to right, #9b121a, #2a1a1b);
  color: #fff;
}
.gb-contact-cta__art {
  display: none;
  position: absolute;
  right: 0;
  bottom: 2.75rem;
  width: auto;
  height: 250px;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
@media (min-width: 1100px) {
  .gb-contact-cta__art {
    display: block;
  }
}
@media (max-width: 1023px) {
  .gb-contact-form-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .gb-contact-shell,
  .gb-contact-hero__stage {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gb-contact-touch__info .gb-contact-info-list,
  .gb-contact-touch__info .gb-contact-info-divider {
    padding-left: 0;
  }

  .gb-contact-info-divider {
    width: 100%;
  }

  .gb-contact-touch__info {
    max-width: 100%;
  }

  .gb-contact-hero__phone {
    width: min(272px, 100%);
    height: auto;
    aspect-ratio: 272 / 198;
  }

  .gb-contact-form {
    min-width: 0;
  }

  .gb-contact-field__input,
  .gb-contact-field__select,
  .gb-contact-field__textarea {
    max-width: 100%;
  }

  .gb-contact-cta__btn {
    width: 100%;
    max-width: 20rem;
  }
}
