/* ===== VMD SRLS - Design System ===== */
/* Modern, Premium, Responsive CSS */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  /* Colors */
  --color-primary: #1B3A5C;
  --color-primary-light: #2E5C8A;
  --color-primary-dark: #0F2640;
  --color-accent: #E8722A;
  --color-accent-light: #F08A4A;
  --color-accent-dark: #C85E1E;
  --color-bg: #F8F9FA;
  --color-bg-alt: #FFFFFF;
  --color-dark: #0D1B2A;
  --color-text: #2D3748;
  --color-text-light: #718096;
  --color-text-muted: #A0AEC0;
  --color-border: #E2E8F0;
  --color-success: #28A745;
  --color-white: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1B3A5C 0%, #2E5C8A 100%);
  --gradient-accent: linear-gradient(135deg, #E8722A 0%, #F08A4A 100%);
  --gradient-dark: linear-gradient(135deg, #0D1B2A 0%, #1B3A5C 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(27,58,92,0.85) 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px -8px rgba(0,0,0,0.12);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --shadow-glass: 0 8px 32px 0 rgba(31,38,135,0.12);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition: 300ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 500ms cubic-bezier(0.4,0,0.2,1);

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-light { color: var(--color-text-light); }
.text-center { text-align: center; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,114,42,0.12) 0%, rgba(232,114,42,0.06) 100%);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(232,114,42,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,114,42,0.45);
  color: var(--color-white);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(27,58,92,0.35);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27,58,92,0.45);
  color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.1em;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.top-bar-item a {
  color: rgba(255,255,255,0.85);
}
.top-bar-item a:hover {
  color: var(--color-accent-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-social {
  display: flex;
  align-items: center;
}

.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}

.top-bar-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.top-bar-social svg {
  width: 32px;
  height: 32px;
}

.top-bar-ebay-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  padding: 0 20px;
  height: 64px;
  border-radius: var(--radius-full);
  margin-left: 10px;
  transition: all var(--transition-fast) !important;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.top-bar-ebay-pill:hover {
  transform: scale(1.08) !important;
  background: #f7f9fa !important;
  box-shadow: var(--shadow);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-logo img {
  height: 55px;
  width: auto;
  transition: transform var(--transition);
}

.navbar-logo:hover img {
  transform: scale(1.03);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  position: relative;
  padding: 0.6rem 1.15rem;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: transform var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-cta {
  display: none;
}

.navbar-cta .btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 380px);
  height: 100vh;
  background: var(--color-white);
  z-index: 205;
  padding: 6rem 2rem 2rem;
  transition: right var(--transition-slow);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  overflow-y: auto;
}

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

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-accent);
  padding-left: 0.5rem;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: block; }
  .menu-toggle { display: none; }
}

/* ===== Hero Slideshow ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  width: 100%;
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,114,42,0.2);
  border: 1px solid rgba(232,114,42,0.3);
  color: var(--color-accent-light);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease both;
}

.hero h1 {
  color: var(--color-white);
  max-width: 700px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 550px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

.hero-indicators button {
  width: 40px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  transition: all var(--transition);
}

.hero-indicators button.active {
  background: var(--color-accent);
  width: 55px;
}

/* ===== Page Hero (Internal Pages) ===== */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: var(--gradient-dark);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,114,42,0.12) 0%, transparent 70%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,92,138,0.15) 0%, transparent 70%);
}

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

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}
.page-hero .breadcrumb a:hover {
  color: var(--color-accent-light);
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== About / Cosa Facciamo ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content .section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,114,42,0.12) 0%, rgba(232,114,42,0.06) 100%);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-visual {
  position: relative;
}

.about-visual .brands-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.brand-logo-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-logo-card img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* ===== Feature Cards ===== */
.feature-card {
  position: relative;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(232,114,42,0.2);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(232,114,42,0.12) 0%, rgba(232,114,42,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Brand Section ===== */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

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

.brand-card-header {
  background: var(--color-bg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border-bottom: 1px solid var(--color-border);
}

.brand-card-header img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-card-body {
  padding: 1.75rem;
}

.brand-card-body h3 {
  margin-bottom: 0.75rem;
}

.brand-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Marchi Overview (Home) ===== */
.marchi-overview {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.marchi-overview img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

.marchi-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.marchi-logos .brand-logo-card {
  flex: 0 0 auto;
}

/* ===== Testimonials ===== */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #FBBF24;
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--color-text);
}

.testimonial-controls button:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(232,114,42,0.3);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(232,114,42,0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--color-accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-primary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232,114,42,0.15);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(46,92,138,0.2);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  box-shadow: 0 4px 20px rgba(232,114,42,0.5);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,114,42,0.3);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(232,114,42,0.12) 0%, rgba(232,114,42,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--color-dark);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--color-dark);
  font-weight: 500;
}
.contact-card a:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  margin-bottom: 0.5rem;
}

.contact-form .form-subtitle {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(46,92,138,0.15);
  background: var(--color-white);
}

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

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

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Map */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===== Catalog Section ===== */
.catalog-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .catalog-showcase {
    grid-template-columns: 1fr 1.2fr;
  }
}

.catalog-preview {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.catalog-preview img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-height: 400px;
  object-fit: contain;
}

.catalog-info h2 {
  margin-bottom: 1rem;
}

.catalog-info p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.catalog-features {
  list-style: none;
  margin-bottom: 2rem;
}

.catalog-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--color-text);
}

.catalog-features li svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ===== Blog Preview ===== */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--color-dark);
}
.blog-card-body h3 a:hover {
  color: var(--color-accent);
}

.blog-card-body p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social a {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 40px;
  height: 40px;
}

.footer-ebay-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  padding: 0 28px;
  height: 84px;
  border-radius: var(--radius-md);
  margin-left: 10px;
  transition: all var(--transition-fast) !important;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.footer-ebay-pill:hover {
  transform: translateY(-3px) scale(1.05) !important;
  background: #f7f9fa !important;
  box-shadow: var(--shadow-md);
}

.footer-column h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 0.4rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
}
.footer-contact-item a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Keyframe Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

/* ===== Responsive ===== */

/* Mobile Small (320px) */
@media (max-width: 479px) {
  :root {
    --container-padding: 1rem;
  }

  .hero {
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .top-bar-left {
    display: none;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

/* Tablet (480-767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero h1 {
    font-size: 2.25rem;
  }

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

/* Desktop Small (768-991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    min-height: 80vh;
  }
}

/* Desktop Large (1024+) */
@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    min-height: 90vh;
  }
}

/* ===== Utility Classes ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===== Custom Layout for eBay Grid (5 categories) ===== */
.ebay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .ebay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .ebay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .ebay-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== Spinner Animation for Blog RSS ===== */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Article Detail Page ===== */
.article-detail-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.article-detail-cover {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-detail-cover {
    height: 320px;
  }
}

.article-detail-body {
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .article-detail-body {
    padding: 4rem 3.5rem;
  }
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.article-meta-badge {
  background: var(--color-primary-light);
  color: var(--color-white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-meta-date, .article-meta-source {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.article-main-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 2.5rem;
}

.article-main-content {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-main-content p {
  margin-bottom: 1.5rem;
}

.article-main-content h3 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1.25rem 0;
  color: var(--color-dark);
}

.article-main-content ul, .article-main-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.article-main-content li {
  margin-bottom: 0.75rem;
}

.article-main-content strong {
  color: var(--color-dark);
}

.article-detail-back {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ===== Other Brands Section ===== */
.other-brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .other-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .other-brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .other-brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.other-brand-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.other-brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.other-brand-logo {
  background: var(--color-bg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all var(--transition);
}

.other-brand-logo img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}



.other-brand-card:hover .other-brand-logo {
  border-color: var(--color-primary-light);
  background: var(--color-white);
}

.other-brand-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
  font-weight: 700;
}

.other-brand-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

.other-brand-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.cat-idro {
  background-color: rgba(66, 153, 225, 0.15);
  color: #2b6cb0;
}

.cat-clima {
  background-color: rgba(72, 187, 120, 0.15);
  color: #276749;
}

.cat-risc {
  background-color: rgba(237, 137, 54, 0.15);
  color: #dd6b20;
}

/* ===== eBay Featured Products Carousel ===== */
.products-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 10px;
}

.products-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0.5rem;
}

.products-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-slow);
  will-change: transform;
}

/* Product Card */
.product-card {
  flex: 0 0 100%; /* Default mobile: 1 item */
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-card {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 items on tablet */
  }
}

@media (min-width: 1024px) {
  .product-card {
    flex: 0 0 calc((100% - (24px * 3)) / 4); /* 4 items on desktop */
  }
}

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

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.product-image-container {
  position: relative;
  height: 180px;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: 1rem;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent);
}

.product-buy-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.product-card:hover .product-buy-btn {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Carousel controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border);
}

.carousel-control:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-md);
}

.carousel-control.prev-btn {
  left: -15px;
}

.carousel-control.next-btn {
  right: -15px;
}

@media (max-width: 767px) {
  .carousel-control {
    display: none; /* Hide buttons on mobile, swipe / dots are enough */
  }
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-text-muted);
  transition: all var(--transition-fast);
  opacity: 0.5;
}

.carousel-dot.active {
  background: var(--color-accent);
  width: 25px;
  opacity: 1;
}

