/* ===== KARISMA DENTAL — Clean Clinical ===== */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Inter:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #ffffff;
  --surface: #f7fafa;
  --accent: #0e8a7b;
  --accent-hover: #0ba392;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --accent-rgb: 14, 138, 123;
  --bg-rgb: 255, 255, 255;
  --heading-font: 'Source Serif 4', serif;
  --body-font: 'Inter', sans-serif;
  --heading-weight: 600;
  --body-weight: 400;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 4px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== TEXT SAFETY ===== */
.service-card, .team-card, .hero h1, .section-header h2 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.nav-brand-text {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.3;
}
.nav-brand-text small {
  display: block;
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--bg-rgb), 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
  min-height: 52px;
  font-size: 1rem;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--bg);
  overflow: hidden;
}

/* Hero decor - pulse line SVG */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath d='M0 200 L150 200 L200 100 L250 300 L300 150 L350 250 L400 200 L800 200' stroke='%230e8a7b' stroke-width='2' fill='none' opacity='0.07'/%3E%3Cpath d='M200 50 L200 350 M100 200 L300 200' stroke='%230e8a7b' stroke-width='1.5' fill='none' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  text-align: left;
}
.hero-stat-number {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-image {
  position: relative;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.1);
  pointer-events: none;
}

/* Floating badge on hero image */
.hero-float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(var(--bg-rgb), 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-float-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-badge-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; }
.hero-float-badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.hero-float-badge-text small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}
.section--surface {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section divider lines */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 20px auto 0;
  opacity: 0.4;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.services-grid .service-card:first-child {
  grid-column: 1 / -1;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 3px solid transparent;
}
.service-card:first-child {
  flex-direction: row;
}
.service-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card-img {
  position: relative;
  overflow: hidden;
}
.service-card:first-child .service-card-img {
  width: 45%;
  flex-shrink: 0;
}
.service-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card:first-child .service-card-img img {
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius) 0 0 var(--radius);
}
.service-card:hover .service-card-img img {
  transform: scale(1.03);
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }
.service-card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* Thin accent line between cards */
.services-grid .service-card + .service-card {
  position: relative;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.team-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-card-photo {
  width: 180px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.team-card-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.team-card-spec {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== USP / FEATURES ===== */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usp-card {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.usp-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
}
.usp-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.usp-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.usp-text h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: var(--body-font);
  font-weight: 600;
}
.usp-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Gallery category tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.gallery-tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.gallery-tab:hover,
.gallery-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== CONTACT LIST ===== */
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.contact-item:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.contact-info h4 {
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info p,
.contact-info a {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* ===== MAP CONTAINER ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--border);
  height: 360px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand-name {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer h4 {
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ===== STICKY BOTTOM BAR ===== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(var(--bg-rgb), 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-bottom-bar.visible {
  transform: translateY(0);
}
.sticky-bottom-bar .btn {
  min-height: 48px;
  font-size: 0.9rem;
  flex: 1;
  max-width: 200px;
}

/* ===== PAGE HEADER (services, gallery pages) ===== */
.page-header {
  padding: 140px 0 60px;
  background: var(--surface);
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cpath d='M0 100 L80 100 L110 40 L140 160 L170 80 L200 120 L230 100 L400 100' stroke='%230e8a7b' stroke-width='1.5' fill='none' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* ===== SERVICES PAGE — FULL CARDS ===== */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-full-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.service-full-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-full-card-img {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-full-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-full-card:hover .service-full-card-img img {
  transform: scale(1.03);
}
.service-full-card-body {
  padding: 28px;
}
.service-full-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.service-full-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== COUNTERS ROW ===== */
.counters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 60px 0;
}
.counter-item {
  padding: 32px 16px;
}
.counter-number {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== HOVER EFFECTS ===== */
.card-hover {
  transition: all var(--transition);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content { padding: 20px 0; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrapper img { height: 400px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:first-child { flex-direction: column; }
  .services-grid .service-card:first-child .service-card-img { width: 100%; }
  .services-grid .service-card:first-child .service-card-img img {
    height: 220px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .counters-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .burger { display: flex; }

  .sticky-bottom-bar { display: flex; }

  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.6rem; }
  .hero-image-wrapper img { height: 320px; }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:first-child {
    grid-column: 1;
  }

  .services-full-grid { grid-template-columns: 1fr; }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-card-photo {
    width: 160px;
    height: 213px;
  }

  .usp-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }

  .contact-list { grid-template-columns: 1fr; }

  .counters-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .counter-number { font-size: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .cta-section { padding: 60px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }

  body { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .section-header h2 { font-size: 1.5rem; }
  .hero-float-badge { left: 12px; bottom: 12px; padding: 12px; }
}
