@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

: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);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  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;
}

.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.is-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: 36px;
  height: 36px;
  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(255,255,255,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.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.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;
  text-decoration: none;
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nav-brand span {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.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-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.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: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  padding: 100px 32px 32px;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 500;
  min-height: 52px;
  text-align: center;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  background: linear-gradient(170deg, #ffffff 0%, #f0faf8 40%, #e8f5f3 70%, #f7fafa 100%);
  overflow: hidden;
  text-align: center;
}

/* Hero medical cross decor */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background:
    linear-gradient(to right, rgba(var(--accent-rgb), 0.07) 0%, rgba(var(--accent-rgb), 0.07) 100%) no-repeat center / 160px 2px,
    linear-gradient(to bottom, rgba(var(--accent-rgb), 0.07) 0%, rgba(var(--accent-rgb), 0.07) 100%) no-repeat center / 2px 160px;
  pointer-events: none;
  z-index: 0;
}

/* Pulse line SVG decor */
.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30 L300 30 L340 10 L360 50 L380 10 L400 50 L420 30 L1200 30' fill='none' stroke='rgba(14,138,123,0.07)' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 1200px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  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;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Evidence Wall */
.evidence-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.evidence-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.evidence-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow);
}

.evidence-number {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.evidence-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 24px;
}

.section--surface {
  background: var(--surface);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section accent line divider */
.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;
  padding: 16px 32px;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 52px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.25);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
  color: var(--accent);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: border-color var(--transition), box-shadow var(--transition), border-left-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.service-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  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.7;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 10px;
}

/* First card full-width horizontal on desktop */
.service-card--featured {
  flex-direction: row;
}

.service-card--featured .service-card-img {
  width: 45%;
  min-height: 260px;
  aspect-ratio: auto;
  border-radius: var(--radius) 0 0 var(--radius);
  flex-shrink: 0;
}

.service-card--featured .service-card-body {
  padding: 32px;
  justify-content: center;
}

.service-card--featured .service-card-body h3 {
  font-size: 1.35rem;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}

.team-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow);
}

.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-card-img img {
  transform: scale(1.03);
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card-body .team-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card-body .team-spec {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  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-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-section .btn-primary:hover {
  background: #f0faf8;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card blockquote {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

/* ===== CONTACT ===== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--border);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== STICKY BOTTOM BAR ===== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar .btn {
  min-height: 48px;
  font-size: 0.9rem;
  padding: 12px 24px;
}

/* ===== UTP BADGES ===== */
.utp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.utp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}

.utp-badge svg {
  width: 14px;
  height: 14px;
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
  padding: 120px 24px 60px;
  background: var(--surface);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ALL SERVICES (services.html) ===== */
.service-detail {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.service-detail-img {
  width: 45%;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  flex: 1;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .burger {
    display: none !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .evidence-wall {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    flex-direction: column;
  }

  .service-card--featured .service-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
  }

  .service-detail {
    flex-direction: column !important;
    gap: 24px;
  }

  .service-detail-img {
    width: 100%;
  }

  .sticky-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .sticky-bar .btn {
    width: 100%;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure tappable areas on mobile */
@media (max-width: 1023px) {
  .btn, .mobile-menu a, .nav-cta, .burger {
    min-height: 44px;
  }
}

/* Page bottom padding for sticky bar */
body {
  padding-bottom: 80px;
}

/* Contact grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Instagram link */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.instagram-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220,39,67,0.3);
  color: #fff !important;
}

/* Hover effects for decoration - pseudo elements */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius) 0 0 var(--radius);
}

.service-card {
  position: relative;
}

.service-card:hover::before {
  opacity: 1;
}

/* Section accent line dividers between cards */
.services-grid .service-card + .service-card {
  position: relative;
}

/* Hero stat cards */
.hero-stat {
  text-align: center;
}
