@import 'theme.css';
/* ---------- Global Reset & Variables ---------- */


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--section-padding-mobile) 0;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: var(--color-bg-surface);
}

@media (max-width: 768px) {
  .navbar {
    height: var(--navbar-mobile-height);
  }

  /* On mobile, scrolled must NOT expand beyond mobile height */
  .navbar.scrolled {
    height: var(--navbar-mobile-height);
  }
}

.navbar.scrolled {
  background: rgba(var(--color-bg-surface-rgb, 243, 244, 246), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  /* Shrink navbar on desktop when scrolled; mobile heights stay unchanged via media queries */
  height: 70px;
}

[data-theme='dark'] .navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
}

.navbar .brand a {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.navbar .menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar .menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}

.navbar .menu a:hover,
.navbar .menu a.active {
  color: var(--color-text-main);
}

.navbar .menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.navbar .menu a:hover::after {
  width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--color-border-glow);
  color: var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  margin: 0 0.5rem;
}

.theme-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.navbar .btn-primary {
  background: var(--color-primary-dark);
  color: #ffffff !important;
  padding: 0.75rem 1.8rem;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .btn-primary:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #ffffff !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  margin: 6px 0;
  transition: all var(--transition-normal);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--navbar-height) + 1rem);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--color-bg-base) 0%, var(--color-bg-surface) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
  background-image: radial-gradient(
      at 0% 0%,
      rgba(59, 130, 246, 0.3) 0px,
      transparent 50%
    ),
    radial-gradient(at 100% 0%, rgba(239, 68, 68, 0.3) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(234, 179, 8, 0.3) 0px, transparent 50%);
  filter: blur(60px);
  animation: pulseBg 10s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-text-main);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.8s;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  animation: none;
  opacity: 1;
  transform: none;
}

/* ---------- Expertise (Bento Grid) ---------- */
.expertise {
  background: var(--color-bg-base);
}

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

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

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bento-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal),
    border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.bento-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.bento-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
}

[data-theme='dark'] .bento-card h3 {
  color: #fff;
}

.bento-card p {
  color: #333333;
  font-size: 1rem;
}

[data-theme='dark'] .bento-card p {
  color: #d1d5db;
}

.bento-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* ---------- About / Legacy ---------- */
.about-section {
  background: var(--color-bg-surface);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Keyframe animations for symmetrical border effects */
@keyframes borderGlow {
  0% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(59, 130, 246, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), inset 0 0 20px rgba(59, 130, 246, 0.2);
  }
  100% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(59, 130, 246, 0.1);
  }
}

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

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative rotating border frame */
.about-image::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border: 2px solid transparent;
  border-top-color: var(--color-primary);
  border-right-color: var(--color-accent);
  border-bottom-color: var(--color-highlight);
  border-left-color: var(--color-primary);
  border-radius: var(--border-radius);
  animation: rotateBorder 8s linear infinite;
  opacity: 0.5;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: floatImage 3s ease-in-out infinite, borderGlow 3s ease-in-out infinite;
  border: 2px solid rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Symmetrical glowing border effect */
.about-image::after {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius);
  z-index: 1;
  opacity: 0.4;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  animation: borderGlow 3s ease-in-out infinite;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #333333;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

[data-theme='dark'] .about-content p {
  color: #d1d5db;
}

.about-content a {
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

/* ---------- Gallery / Brands ---------- */
.brands-section {
  background: #f8fafc;
  overflow: hidden;
  padding: 6rem 0;
}

[data-theme='dark'] .brands-section {
  background: #000;
}

.brands-section h2 {
  color: #1f2937;
}

[data-theme='dark'] .brands-section h2 {
  color: #fff;
}

.brands-section .section-header p {
  color: #4b5563;
}

[data-theme='dark'] .brands-section .section-header p {
  color: #9ca3af;
}

.brands-slider {
  display: flex;
  gap: 2rem;
  padding: 4rem 0;
  align-items: center;
  animation: slideLeft 40s linear infinite;
  width: max-content;
  contain: content;
}

.brands-slider:hover {
  animation-play-state: paused;
}

.brand-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 120px;
  background: #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.1),
    inset -3px -3px 6px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .brand-link {
  background: #cbd5e1;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2),
    inset -4px -4px 8px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-item {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  transition: all var(--transition-normal);
}

.brand-link:hover {
  transform: translateY(-8px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .brand-link:hover {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.brand-link:hover .brand-item {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--color-bg-surface);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000000;
  transition: color var(--transition-fast);
}

[data-theme='dark'] .accordion-header {
  color: #fff;
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: #333333;
}

[data-theme='dark'] .accordion-body {
  color: #d1d5db;
}

.accordion-body p {
  padding-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

.accordion-item.active .accordion-header .arrow {
  transform: rotate(180deg);
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--color-bg-dark);
}

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

.contact-card {
  background: var(--color-bg-surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

[data-theme='dark'] .contact-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
}

.contact-card p,
.contact-card a {
  color: #333333;
  display: block;
  margin-bottom: 0.5rem;
}

[data-theme='dark'] .contact-card p,
[data-theme='dark'] .contact-card a {
  color: #d1d5db;
}

.contact-card a:hover {
  color: var(--color-primary);
}

/* ---------- Footer ---------- */
.footer {
  background: #f9fafb;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #404040;
}

[data-theme='dark'] .footer-links a {
  color: #d1d5db;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

[data-theme='dark'] .social-links a {
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #404040;
  font-size: 0.9rem;
}

[data-theme='dark'] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes pulseBg {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ---------- Service Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.area-item {
  padding: 1rem;
  background: var(--color-bg-base);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.area-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

/* ---------- Breadcrumb Navigation ---------- */
.breadcrumb {
  background: var(--color-bg-surface);
  padding: 0.3rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--color-border-glow);
  font-size: 0.85rem;
  position: sticky;
  top: var(--navbar-height);
  z-index: 10;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  /* Always reserve layout height — no max-height collapse that causes content shift */
  height: 36px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease;
  will-change: opacity;
}

/* Hidden state: visual only — layout space is still reserved so hero gap stays constant */
.breadcrumb.breadcrumb-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.breadcrumb a {
  color: var(--color-primary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Separator spans (e.g. "/") */
.breadcrumb span:not(.breadcrumb-current) {
  color: var(--color-text-muted);
  margin: 0 0.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Current page label — truncates if too long */
.breadcrumb span.breadcrumb-current,
.breadcrumb > span:last-child {
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.breadcrumb i {
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Responsive: Mobile & Tablet ---------- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-grid {
    gap: 2.5rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  .areas-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    height: var(--navbar-mobile-height);
    padding: 0 1rem;
    flex-direction: row;
  }
  .navbar .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-bg-surface);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right var(--transition-normal);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    gap: 1rem;
    font-size: 1rem;
  }

  .navbar .menu.active {
    right: 0;
  }

  .navbar .menu a {
    margin: 1rem 0;
    font-size: 1.1rem;
  }

  .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .theme-toggle {
    padding: 0.6rem 0.8rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hamburger {
    display: block;
  }

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

  .hero {
    min-height: 80vh;
    padding-top: calc(var(--navbar-mobile-height) + 1rem);
  }

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

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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

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

  .about-image {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-image::before,
  .about-image::after {
    display: none;
  }

  .about-content h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-content a {
    display: block;
    text-align: center;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    word-break: break-word;
  }

  .brand-link {
    width: 180px;
    height: 90px;
    padding: 1rem;
  }

  .accordion-item.active .accordion-body {
    max-height: 600px;
  }

  .accordion-body p {
    font-size: 0.95rem;
    padding-bottom: 1rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .area-item {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    gap: 0.35rem;
    height: 34px;
    /* top is set dynamically by JS (navbar.offsetHeight) */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}

/* ---------- Responsive: Small Mobile ---------- */
@media (max-width: 480px) {
  .navbar {
    height: var(--navbar-small-mobile-height);
    padding: 0 0.5rem;
    flex-direction: row;
  }

  /* Small mobile — scrolled must not exceed small-mobile height */
  .navbar.scrolled {
    height: var(--navbar-small-mobile-height);
  }
  .navbar .menu {
    gap: 0.5rem;
    font-size: 0.95rem;
  }
  .breadcrumb {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    gap: 0.25rem;
    height: 32px;
    /* top is set dynamically by JS (navbar.offsetHeight) */
    flex-wrap: nowrap;
    background: var(--color-bg-surface);
    z-index: 999;
  }

  .hero {
    min-height: 70vh;
    padding-top: calc(var(--navbar-small-mobile-height) + 0.5rem);
  }

  .hero h1 {
    font-size: 1.8rem; /* Normalized from 1.5rem and 1.8rem */
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .bento-card {
    padding: 1.5rem;
  }

  .bento-card h3 {
    font-size: 1.25rem;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .accordion-header {
    font-size: 0.95rem;
    padding: 1.2rem 0;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .area-item {
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }

  .brands-section {
    padding: 4rem 0;
  }

  .brands-slider {
    gap: 1rem;
    padding: 2rem 0;
  }

  .brand-link {
    width: 150px;
    height: 75px;
    padding: 0.75rem;
  }
}

