/* ========================================
   3D Dental — Clean Clinical Style
   ======================================== */

@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;
  --accent-light: rgba(14, 138, 123, 0.07);
  --accent-line: rgba(14, 138, 123, 0.15);
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.12);
  --shadow-nav: 0 1px 2px rgba(26, 35, 50, 0.04);
  --shadow-nav-scroll: 0 4px 20px rgba(26, 35, 50, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-hover); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section alternating backgrounds --- */
section {
  padding: 80px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--surface);
}

section:nth-child(odd) {
  background: var(--bg);
}

/* --- Accent line dividers inside sections --- */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-nav-scroll);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white) !important;
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(14, 138, 123, 0.3);
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 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);
}

/* ========================================
   HERO — Split-Half
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, #ffffff 0%, #f0faf8 50%, #e8f7f5 100%);
  position: relative;
  overflow: hidden;
}

/* Hero pulse-line SVG decor */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 200px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' fill='none'%3E%3Cpath d='M0 100 L200 100 L250 40 L280 160 L310 60 L340 140 L370 80 L400 100 L1200 100' stroke='%230e8a7b' stroke-width='1.5' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

/* Abstract medical cross decor */
.hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 180px;
  height: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180' fill='none'%3E%3Crect x='65' y='20' width='50' height='140' rx='6' stroke='%230e8a7b' stroke-width='1.2' stroke-opacity='0.07'/%3E%3Crect x='20' y='65' width='140' height='50' rx='6' stroke='%230e8a7b' stroke-width='1.2' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 138, 123, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  min-height: 48px;
  min-width: 44px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(14, 138, 123, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(14, 138, 123, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--white);
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========================================
   SERVICES CARDS — Photo-Left, 2-col grid
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services-grid .service-card:first-child {
  grid-column: 1 / -1;
}

.service-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
  border-radius: 0 2px 2px 0;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: transparent;
  transform: translateY(-2px);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card-img {
  width: 220px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.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.05);
}

.service-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Full-width first card layout */
.services-grid .service-card:first-child .service-card-img {
  width: 380px;
  min-height: 280px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 10px;
}

/* ========================================
   TEAM — Grid, 3:4 ratio
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card-role {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: 'Source Serif 4', serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-author-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   GALLERY — Masonry + Before/After Slider
   ======================================== */
.gallery-ba-wrapper {
  margin-bottom: 48px;
}

.before-after-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16/9;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-after {
  clip-path: inset(0 50% 0 0);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.ba-slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8a7b' stroke-width='2'%3E%3Cpath d='M8 4l-6 8 6 8M16 4l6 8-6 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 16px;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  z-index: 5;
}

.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

.gallery-masonry {
  columns: 2;
  column-gap: 20px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-masonry-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery-masonry-item figcaption {
  padding: 14px 18px;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   CTA — Inline Sections
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0a6e62 100%) !important;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--accent);
}

.cta-section .btn-primary:hover {
  background: var(--white);
  color: var(--accent-hover);
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255,255,255,0.3);
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: scale(1.03);
}

/* ========================================
   CONTACTS PAGE
   ======================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details h3 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-col p {
  font-size: 0.88rem;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   SCROLL REVEAL — Scale-Up
   ======================================== */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 138, 123, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(14, 138, 123, 0); }
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-reveal elements — visible by default, enhanced with JS */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  animation: scaleUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .services-grid .service-card:first-child .service-card-img {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 0;
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 16px;
    justify-content: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-img-float {
    width: 130px;
    height: 130px;
    left: -10px;
    bottom: -20px;
  }

  section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
  }

  .service-card-img,
  .services-grid .service-card:first-child .service-card-img {
    width: 100%;
    min-height: 200px;
    max-height: 240px;
  }

  .service-card-body {
    padding: 20px 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    columns: 1;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-col p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   OVERLAY for mobile menu
   ======================================== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   PAGE-SPECIFIC: Interior/About section
   ======================================== */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.about-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}

.about-feature-icon svg {
  width: 26px;
  height: 26px;
}

.about-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICES PAGE — Extended
   ======================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-detail-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: transparent;
}

.service-detail-card:hover::before {
  transform: scaleY(1);
}

.service-detail-img {
  width: 300px;
  min-height: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-detail-body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .service-detail-card {
    flex-direction: column;
  }

  .service-detail-img {
    width: 100%;
    min-height: 200px;
    max-height: 250px;
  }

  .service-detail-body {
    padding: 24px;
  }
}

/* --- Free consultation banner --- */
.free-consult-banner {
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(14, 138, 123, 0.04) 100%);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.free-consult-banner h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.free-consult-banner p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
