/* ========================================
   CSS Variables & Reset
======================================== */
:root {
  --orange: #efb810;
  --orange-hover: #DAA520;
  --navy: #1e293b;
  --navy-dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   Utility Classes
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-orange {
  color: var(--orange);
}

.text-left {
  text-align: left;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--orange-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background-color: var(--orange);
  color: var(--white);
}

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

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 5rem;
  height: 5rem;
  color: var(--navy);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

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

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  position: relative;
  width: 1.5rem;
  height: 2px;
  background-color: var(--navy);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  transition: var(--transition);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  padding: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 0.5rem;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background-color: var(--gray-100);
  color: var(--orange);
}

.mobile-cta {
  margin-top: 0.5rem;
  width: 100%;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  padding-top: 6.5rem;
  padding-bottom: 14rem;
  background-color: var(--gray-50);
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.hero-image-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-color: var(--orange);
  border-radius: 4px;
}

.hero-image-accent-2 {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 8px;
  background-color: var(--orange);
  border-radius: 4px;
}



/* ========================================
   Section Styles
======================================== */
.text-gold {
  color: var(--orange);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-subtitle--light {
  color: var(--gray-200);
}

.btn-gold {
  background: linear-gradient(135deg, var(--orange), #ffd76a);
  color: var(--navy-dark);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Misión & Visión Section
======================================== */
.mision-vision {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top, rgba(239, 184, 16, 0.10), transparent 25%),
    linear-gradient(180deg, #fffaf0 0%, var(--white) 100%);
}

.mv-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.mv-eyebrow--light {
  color: #ffd76a;
}

.mv-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.mv-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.mv-card--mision {
  background: linear-gradient(145deg, #ffffff 0%, #fffaf0 100%);
}

.mv-card--vision {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-color: rgba(239, 184, 16, 0.25);
}

.mv-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(239, 184, 16, 0.12);
  color: var(--orange);
  margin-bottom: 1rem;
}

.mv-card-icon svg,
.mv-card-icon--vision svg {
  width: 1.4rem;
  height: 1.4rem;
}

.mv-card-icon--vision {
  background: rgba(239, 184, 16, 0.16);
  color: #ffd76a;
}

.mv-card-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.mv-card-label--vision {
  color: #fff;
}

.mv-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.mv-card--vision .mv-card-title,
.mv-card--vision .mv-card-text {
  color: var(--white);
}

.mv-card-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.mv-values {
  display: grid;
  gap: 0.65rem;
}

.mv-values li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.mv-card--vision .mv-values li {
  color: var(--gray-100);
}

.mv-check {
  width: 1rem;
  height: 1rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.mv-check--vision {
  color: #ffd76a;
}

.mv-divider {
  display: none;
}

.valores-strip {
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.valor-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(239, 184, 16, 0.08);
  border: 1px solid rgba(239, 184, 16, 0.18);
}

.valor-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.valor-label {
  font-weight: 600;
  color: var(--navy);
}

/* ========================================
   Servicio Técnico Section
======================================== */
.servicio-tecnico {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.97) 45%, rgba(30, 41, 59, 0.98) 100%);
}

.st-header {
  text-align: center;
  margin-bottom: 2rem;
}

.st-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.st-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-100);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.st-tab:hover,
.st-tab:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.st-tab--active {
  background: linear-gradient(135deg, #ffd76a, var(--orange));
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.st-tab-icon {
  width: 1rem;
  height: 1rem;
}

.st-panels {
  display: grid;
}

.st-panel {
  display: none;
}

.st-panel--active {
  display: block;
}

.st-reparacion-grid {
  display: grid;
  gap: 1.25rem;
}

.st-rep-info,
.st-rep-badges,
.st-tut-card,
.st-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.st-panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.st-panel-text {
  font-size: 0.95rem;
  color: var(--gray-200);
  margin-bottom: 1rem;
}

.st-rep-steps {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.st-step {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
}

.st-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(239, 184, 16, 0.16);
  color: #ffd76a;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.st-step strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.st-step p {
  color: var(--gray-200);
  font-size: 0.9rem;
}

.st-rep-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.st-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 110px;
  padding: 0.9rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.st-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #ffd76a;
}

.st-badge span {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.3;
}

.st-tut-header,
.st-card-list {
  display: grid;
  gap: 0.5rem;
}

.st-card-list {
  gap: 0.75rem;
}

.st-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
}

.st-card li {
  color: var(--gray-100);
  font-size: 0.95rem;
}

/* ========================================
   Features Section
======================================== */
.features {
  padding: 4rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--orange);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   Catalog Section
======================================== */
.catalog {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.catalog-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.catalog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.catalog-content {
  padding: 1.5rem;
}

.catalog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.catalog-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.catalog-link,
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: var(--transition);
}

.catalog-link:hover,
.news-link:hover {
  gap: 0.625rem;
}

.link-arrow {
  width: 1rem;
  height: 1rem;
  transition: var(--transition);
}

/* ========================================
   News Section
======================================== */
.news {
  padding: 4rem 0;
  background-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
}

.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.25rem;
}

.news-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.5rem 0;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ========================================
   Footer
======================================== */
.footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.logo-footer .logo-icon {
  color: var(--white);
  filter: invert(100%);
}

.logo-footer .logo-text {
  color: var(--white);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--orange);
}

.footer-form-wrapper {
  background-color: var(--navy);
  padding: 1.5rem;
  border-radius: 1rem;
}

.footer-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--gray-300);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background-color: var(--navy-dark);
  border: 1px solid var(--gray-700);
  border-radius: 0.5rem;
  color: var(--white);
  transition: var(--transition);
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-700);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-socials {
  display: none;
}

/* ========================================
   Floating Social Buttons
======================================== */
.social-float {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1050;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-decoration: none;
}

.social-link.whatsapp { background: #25D366; }
.social-link.facebook { background: #1877F2; }
.social-link.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-link.tiktok { background: #010101; }

.social-link .social-icon {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

.social-link:hover,
.social-link:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  outline: none;
}

.social-link:focus {
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}

@media (max-width: 600px) {
  
  .social-float {
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    bottom: 0.9rem;
    gap: 0.4rem;
    padding: 0.25rem 0.4rem;
    background: rgba(0,0,0,0.04);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .social-link {
    width: 40px;
    height: 40px;
  }
  .social-link .social-icon {
    width: 18px;
    height: 18px;
  }
  /* hide floating group on small screens (use footer buttons instead) */
  .social-float { display: none; }
  .footer-socials {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.6rem;
  }
  .footer-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #ffffff;
  }
  .footer-social-link.whatsapp { background: #25D366; }
  .footer-social-link.facebook { background: #1877F2; }
  .footer-social-link.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976 40%, #962fbf 60%, #4f5bd5 90%); }
  .footer-social-link.tiktok { background: #000000; }
  .footer-social-link .social-icon { width: 18px; height: 18px; filter: brightness(0) invert(1); }
}

@media (max-width: 400px) {
  .social-link {
    width: 44px;
    height: 44px;
  }
  .social-link .social-icon {
    width: 20px;
    height: 20px;
  }
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.social-link.whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: transparent;
}

.social-link.facebook {
  background-color: #1877f2;
  color: #ffffff;
  border-color: transparent;
}

.social-link.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976 40%, #962fbf 60%, #4f5bd5 90%);
  color: #ffffff;
  border-color: transparent;
}

.social-link.tiktok {
  background-color: #000000;
  color: #ffffff;
  border-color: transparent;
}

/* removed redundant mobile overrides to keep layout consistent */

/* ========================================
   Scroll to Top Button
======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 4rem; /* No change here, keeping for context */
  width: 3rem;
  height: 3rem;
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: var(--transition);
  z-index: 1100; /* Updated z-index */
}

.scroll-to-top:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ========================================
   Media Queries
======================================== */

/* Tablet */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .catalog-card-featured {
    grid-column: span 2;
  }

  .catalog-card-featured .catalog-image {
    height: 280px;
  }

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

  .news-grid .news-card:first-child {
    grid-column: span 2;
  }

  .news-grid .news-card:first-child .news-image {
    height: 240px;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
  .scroll-to-top {
    right: 1rem; /* Adjusted right offset for mobile */
  }


@media (min-width: 601px) {
  /* ensure scroll button doesn't overlap right-side social float */
  .scroll-to-top {
    right: calc(1rem + 56px); /* Adjusted right offset for larger screens */
  }
}
  .hero {
    padding-top: 12rem;
    padding-bottom: 14rem;
  }

  .hero-container {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-image-wrapper {
    flex: 1;
  }

  .hero-image {
    max-width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .catalog-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

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

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

  .catalog-card-featured {
    grid-column: 1;
    grid-row: span 2;
  }

  .catalog-card-featured .catalog-image {
    height: 300px;
  }

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

  .news-grid .news-card:first-child {
    grid-column: 1;
  }

  .news-grid .news-card:first-child .news-image {
    height: 180px;
  }

  .footer-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

/* XL Desktop */
@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

/* ========================================
   Map Section
======================================== */
.map-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}

#map {
  height: 420px;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 0;
  border: 2px solid var(--gray-200);
}

.map-info-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--gray-200);
}

.map-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.map-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #fff7ed;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
}

.map-info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.map-info-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.map-directions-btn {
  margin-top: 0.5rem;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .map-wrapper {
    grid-template-columns: 1fr;
  }

  #map {
    height: 320px;
  }
}
