/* =========================================================
   Dr. Hassan Mohamed Hassan – Specialist Dental Center
   Custom Stylesheet
   ========================================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --teal:       #0a8a80;
  --teal-dark:  #066b63;
  --teal-light: #e6f7f6;
  --gold:       #c9a84c;
  --gold-light: #fdf6e3;
  --navy:       #0f2a3f;
  --navy-mid:   #1c3f5a;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Scroll-reveal utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* =========================================================
   NAVBAR
   ========================================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 138, 128, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.nav-logo-text {
  display: flex; flex-direction: column;
}
.nav-logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-text span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover {
  background: #b8913e !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(6, 107, 99, 0.97);
  backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.12); }
.mobile-nav.open { display: flex; }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 42, 63, 0.78) 0%,
    rgba(10, 138, 128, 0.45) 60%,
    rgba(10, 42, 63, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.2s both;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeDown 0.8s ease 0.4s both;
}
.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeDown 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeDown 0.8s ease 0.8s both;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 138, 128, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.indicator.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-cue svg { width: 20px; height: 20px; }

/* =========================================================
   SECTION COMMONS
   ========================================================= */
section { padding: 96px 0; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 600px;
}
.text-center .section-desc { margin: 0 auto; }
.text-center { text-align: center; }

/* =========================================================
   STATS BAR
   ========================================================= */
#stats {
  padding: 0;
  background: var(--navy);
  min-height: 140px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item {
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =========================================================
   SERVICES
   ========================================================= */
#services { background: var(--off-white); padding-top: 120px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 54px; height: 54px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal);
  transform: scale(1.1);
}
.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* =========================================================
   GALLERY
   ========================================================= */
#gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 56px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: rgba(10, 138, 128, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.large {
  grid-column: span 2;
}
.gallery-item.large img { height: 300px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* =========================================================
   PARTNERS
   ========================================================= */
#partners { background: var(--off-white); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: center;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  min-height: 130px;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.partner-card img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}
.partner-card:hover img { filter: grayscale(0%); }

/* =========================================================
   ABOUT
   ========================================================= */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%; height: 480px;
  object-fit: contain;
  background: #ffffff;
  padding: 40px;
}
.about-badge-float {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge-float strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-float span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.about-text .section-desc { max-width: 100%; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
}
.pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pillar-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.pillar-text p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* =========================================================
   CONTACT
   ========================================================= */
#contact { background: var(--navy); }
#contact .section-label { color: var(--gold); }
#contact .section-title { color: var(--white); }
#contact .section-desc  { color: rgba(255,255,255,0.65); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact-info-item:hover {
  background: rgba(10, 138, 128, 0.2);
  border-color: rgba(10, 138, 128, 0.4);
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info-text span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.hours-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
}
.hours-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: rgba(255,255,255,0.7); }
.hours-time {
  color: var(--gold);
  font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #071e2e;
  padding: 32px 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-divider {
  width: 40px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.floating-buttons {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.float-btn svg { width: 26px; height: 26px; }

.float-whatsapp {
  background: #25d366;
}
.float-phone {
  background: var(--teal);
}

/* Tooltip */
.float-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(6px);
}
.float-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse ring */
.float-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
}
.float-whatsapp::after { color: #25d366; }
.float-phone::after    { color: var(--teal); }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.5); }
}

/* =========================================================
   MOBILE BOTTOM NAV BAR  (app-like, visible only on mobile)
   ========================================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 42, 63, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--transition);
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  min-width: 52px;
}
.mbn-item.active,
.mbn-item:hover {
  color: var(--gold);
}
.mbn-item svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mbn-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE — Tablet  (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid         { grid-template-columns: 1fr; gap: 48px; }
  .about-img-main img { height: 360px; }
  .about-badge-float  { right: 0; bottom: -20px; }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; }
  .gallery-item.large img { height: 240px; }
}

/* =========================================================
   RESPONSIVE — Mobile  (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  /* --- Global --- */
  body { overflow-x: hidden; }

  /* Navbar: hide desktop links, show hamburger */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Sections: tighter padding, extra bottom for bottom nav */
  section { padding: 64px 0 64px; }
  #home   { padding: 0; }        /* hero is full-screen, no extra padding */

  /* --- Stats bar: 2×2 grid --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 28px 16px;
  }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)    { border-bottom: none; }
  .stat-num  { font-size: 2rem; }
  .stat-label { font-size: 0.78rem; }

  /* --- Services grid: 2 cols on tablet/large mobile --- */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 36px;
  }
  .service-card { padding: 22px 18px; }
  .service-icon { width: 46px; height: 46px; font-size: 22px; }
  .service-name { font-size: 0.9rem; }

  /* --- Gallery: 2 cols --- */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 36px; }
  .gallery-item img { height: 160px; }
  .gallery-item.large { grid-column: span 1; }
  .gallery-item.large img { height: 160px; }

  /* --- Partners: 2 cols --- */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 36px;
  }
  .partner-card { min-height: 100px; padding: 20px 16px; }
  .partner-card img { max-height: 60px; }

  /* --- About --- */
  .about-pillars  { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .about-img-main img { height: 280px; }
  .about-badge-float { right: 0; bottom: -16px; padding: 14px 18px; }
  .about-badge-float strong { font-size: 1.8rem; }

  /* --- Contact --- */
  .contact-grid { gap: 28px; margin-top: 36px; }
  .hours-card   { padding: 22px 18px; }
  .hours-row    { font-size: 0.82rem; flex-wrap: wrap; gap: 4px; }

  /* --- Footer: add bottom padding for mobile nav bar --- */
  footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* --- Floating buttons: reposition above bottom nav --- */
  .floating-buttons {
    bottom: calc(80px + env(safe-area-inset-bottom) + 12px);
    right: 16px;
    gap: 10px;
  }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 22px; height: 22px; }

  /* --- Show mobile bottom nav --- */
  .mobile-bottom-nav { display: flex; }

  /* Section spacing adjustments */
  #services  { padding-top: 64px; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-desc  { font-size: 0.95rem; }
}

/* =========================================================
   RESPONSIVE — Small Mobile  (≤480px)
   ========================================================= */
@media (max-width: 480px) {
  /* --- Navbar logo: shorten text --- */
  .nav-logo-text strong { font-size: 0.82rem; }
  .nav-logo-text span   { display: none; }
  .nav-logo-icon        { width: 36px; height: 36px; font-size: 18px; }

  /* --- Hero --- */
  .hero-badge    { font-size: 0.7rem; padding: 5px 14px; }
  .hero-title    { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-actions  { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; }
  .btn-primary, .btn-outline { justify-content: center; width: 100%; padding: 14px 20px; }
  .scroll-cue    { display: none; }

  /* --- Services: single column --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
  }
  .service-icon { margin-bottom: 0; flex-shrink: 0; width: 42px; height: 42px; font-size: 20px; }
  .service-name { font-size: 0.92rem; }

  /* --- Gallery: single column --- */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img,
  .gallery-item.large img { height: 200px; }

  /* --- Partners: single column --- */
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* --- About pillars: stack --- */
  .about-pillars { grid-template-columns: 1fr; }
  .about-badge-float { position: static; margin-top: 16px; border-radius: var(--radius-sm); }

  /* --- Stats: single column --- */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item  {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 22px 24px;
  }
  .stat-item:last-child { border-bottom: none !important; }

  /* --- Contact --- */
  .hours-row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 0; }

  /* --- Section labels / titles --- */
  .section-label { font-size: 0.72rem; }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* --- Mobile bottom nav labels tighter --- */
  .mbn-label { font-size: 0.58rem; }
  .mbn-item  { padding: 6px 8px; min-width: 44px; }
}
