/* ============================================
   Stomatologia 32 -- Clean Clinical Design
   Palette: White + Teal Accent (#0e8a7b)
   Typography: Source Serif 4 + Inter
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #ffffff;
  --surface: #f7fafa;
  --accent: #0e8a7b;
  --accent-hover: #0ba392;
  --accent-light: rgba(14,138,123,0.08);
  --accent-glow: rgba(14,138,123,0.15);
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --border-light: #f0f4f8;
  --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.10);
  --shadow-xl: 0 16px 48px rgba(26,35,50,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  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); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

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.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.text-muted { color: var(--text-muted); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  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-light);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
}

.logo:hover img { border-color: var(--accent); }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.header-cta .btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
  position: absolute;
}

.burger span:nth-child(1) { transform: translateY(-7px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(7px); }

.burger.active span:nth-child(1) { transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 999;
  padding: 100px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nav-mobile.open { right: 0; }

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,35,50,0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-mobile-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile ul {
  list-style: none;
  margin-bottom: 32px;
}

.nav-mobile li { margin-bottom: 4px; }

.nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-mobile-contacts {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.nav-mobile-contacts .btn {
  width: 100%;
  margin-bottom: 12px;
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 48px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(14,138,123,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,138,123,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  min-height: 44px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(14,138,123,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(14,138,123,0.05) 0%, transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f7fafa 40%, #eef5f4 100%);
}

/* Subtle geometric pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(30deg, var(--accent) 1px, transparent 1px),
    linear-gradient(150deg, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating decorative elements */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(14,138,123,0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(14,138,123,0.12);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.12;
}

.hero h1 .accent { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero visual -- floating photo composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-photo-main {
  width: 320px;
  height: 400px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-photo-float {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

.hero-photo-float-1 {
  width: 160px;
  height: 200px;
  top: 10%;
  left: -10%;
  z-index: 3;
  animation: float-gentle 6s ease-in-out infinite;
}

.hero-photo-float-2 {
  width: 140px;
  height: 180px;
  bottom: 5%;
  right: -5%;
  z-index: 1;
  animation: float-gentle 6s ease-in-out infinite 2s;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Decorative ring behind hero photos */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 2px dashed rgba(14,138,123,0.12);
  z-index: 0;
  animation: spin-slow 60s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-surface {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================
   SERVICE CARDS (photo-top)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(14,138,123,0.2);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-price {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 12px;
  transition: gap var(--transition);
}

.service-card-link:hover { gap: 10px; }

/* ============================================
   ADVANTAGES / TRUST BLOCKS
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(14,138,123,0.15);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.advantage-text h4 {
  margin-bottom: 6px;
}

.advantage-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.team-card-body {
  padding: 20px;
}

.team-card-body h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.team-card-body p {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
}

/* Stars */
.review-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ============================================
   GALLERY (horizontal-scroll)
   ============================================ */
.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 20px 20px;
  margin: 0 -20px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border);
}

.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--border-light); border-radius: 3px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(26,35,50,0.7));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ============================================
   CTA INLINE SECTIONS
   ============================================ */
.cta-inline {
  background: linear-gradient(135deg, var(--accent) 0%, #0a6b5f 100%);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-inline::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-inline h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.cta-inline p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
}

.cta-inline .btn-white {
  position: relative;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info-card {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-item-text h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-text p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.contact-item-text a {
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.schedule-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.schedule-table td:first-child {
  color: var(--text-muted);
  font-weight: 400;
}

.schedule-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand .logo img {
  border-color: rgba(255,255,255,0.15);
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links ul {
  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 {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.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;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   PAGE HERO (non-home pages)
   ============================================ */
.page-hero {
  padding: 120px 0 48px;
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(30deg, var(--accent) 1px, transparent 1px),
    linear-gradient(150deg, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero h1 {
  position: relative;
  margin-bottom: 12px;
}

.page-hero p {
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   FLOATING CTA (mobile)
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  gap: 10px;
}

.floating-cta .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-height: 50px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { flex: 0 0 320px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 960px) {
  .container { padding: 0 40px; }

  .burger { display: none; }

  .nav-desktop { display: flex; }
  .header-cta { display: block; }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-text { max-width: none; }

  .section { padding: 100px 0; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }

  .floating-cta { display: none; }

  .cta-inline {
    padding: 64px 48px;
  }

  .hero-photo-float-1 { left: -15%; }
  .hero-photo-float-2 { right: -10%; }

  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Large desktop */
@media (min-width: 1200px) {
  .services-grid { gap: 28px; }
  .hero-photo-main { width: 380px; height: 460px; }
  .hero-photo-float-1 { width: 180px; height: 230px; }
  .hero-photo-float-2 { width: 160px; height: 210px; }
}

/* ============================================
   SERVICE DETAIL PAGE CARDS
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}

.service-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-detail-text h3 {
  margin-bottom: 12px;
}

.service-detail-text p {
  color: var(--text-muted);
  line-height: 1.7;
}

.service-detail-text ul {
  list-style: none;
  margin: 16px 0;
}

.service-detail-text ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

@media (min-width: 768px) {
  .service-detail-item { grid-template-columns: 1fr 1.2fr; }
  .service-detail-item:nth-child(even) { direction: rtl; }
  .service-detail-item:nth-child(even) > * { direction: ltr; }
  .service-detail-img { height: 340px; }
}

/* ============================================
   INSTALLMENT BANNER
   ============================================ */
.installment-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.installment-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.installment-banner-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.installment-banner-text h4 {
  margin-bottom: 4px;
}

.installment-banner-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
