/* ═══════════════════════════════════════════════
   Resort Blue — Stom Clinic
   Premium dental clinic aesthetic
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --dark-section: #1a2a3a;
  --accent: #2a8fbd;
  --accent-hover: #238aab;
  --text: #1a2a3a;
  --text-muted: #6b7c8a;
  --text-on-dark: #ffffff;
  --text-muted-on-dark: #9aacba;
  --border: #e2e8f0;
  --accent-light: #e8f4f8;
  --accent-rgb: 42, 143, 189;
  --bg-rgb: 255, 255, 255;
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --accent-font: 'Playfair Display', 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 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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 {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.accent-serif {
  font-family: var(--accent-font);
  font-style: italic;
  color: var(--accent);
}

/* Text overflow protection */
.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(--dark-section);
  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;
}

.preloader-logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.05em;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  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;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(42,143,189,0.3);
  flex-shrink: 0;
}

.nav-logo span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-on-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav.scrolled .nav-logo span {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--text);
}

.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::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: none;
  border: none;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  transition: all 0.3s ease;
  display: block;
}

.nav.scrolled .burger span {
  background: var(--text);
}

.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;
  inset: 0;
  background: var(--dark-section);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-on-dark);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2a3a 40%, #1e3a52 70%, #0d1b2a 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(42,143,189,0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(42,143,189,0.1), transparent),
    radial-gradient(circle at 50% 50%, rgba(42,143,189,0.05), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--text-on-dark);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(42,143,189,0.15);
  border: 1px solid rgba(42,143,189,0.3);
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted-on-dark);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual — round photo collage */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.hero-photo-main {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decor-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.hero-decor-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decor-circle:nth-child(2) {
  width: 140px;
  height: 140px;
  top: 10px;
  left: -30px;
  border: 3px solid #fff;
  z-index: 3;
}

.hero-decor-circle:nth-child(3) {
  width: 120px;
  height: 120px;
  bottom: 20px;
  right: -20px;
  border: 3px solid var(--accent);
  z-index: 3;
}

.hero-decor-circle:nth-child(4) {
  width: 100px;
  height: 100px;
  top: -10px;
  right: 40px;
  border: 3px solid rgba(255,255,255,0.5);
  z-index: 1;
}

.hero-decor-circle:nth-child(5) {
  width: 80px;
  height: 80px;
  bottom: 60px;
  left: -50px;
  border: 3px solid var(--accent);
  z-index: 1;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42,143,189,0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42,143,189,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 100px 24px;
}

.section.dark {
  background: var(--dark-section);
  color: var(--text-on-dark);
}

.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, 3.5vw, 2.8rem);
  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;
}

.dark .section-header p {
  color: var(--text-muted-on-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══ SERVICES GRID ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.service-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-price {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 12px;
}

.service-card-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ═══ ABOUT SECTION ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-collage {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-circle:nth-child(1) {
  width: 280px;
  height: 280px;
  border: 4px solid #fff;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
}

.about-circle:nth-child(2) {
  width: 220px;
  height: 220px;
  border: 3px solid var(--accent);
  z-index: 2;
  top: 10%;
  right: 5%;
}

.about-circle:nth-child(3) {
  width: 180px;
  height: 180px;
  border: 3px solid #fff;
  z-index: 1;
  bottom: 5%;
  right: 15%;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ═══ TEAM GRID ═══ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: border-color var(--transition), transform var(--transition);
}

.team-card:hover .team-card-photo {
  border-color: var(--accent);
  transform: scale(1.05);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card .specialization {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ═══ GALLERY GRID ═══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42,143,189,0.0);
  transition: background 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover::after {
  background: rgba(42,143,189,0.4);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.4s ease;
}

.gallery-item:hover .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item .zoom-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  background: linear-gradient(135deg, var(--dark-section) 0%, #1e3a52 100%);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(42,143,189,0.15), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-on-dark);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted-on-dark);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══ CONTACT LIST ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-info h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info a,
.contact-info p {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--accent);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--dark-section);
  color: var(--text-on-dark);
  padding: 60px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted-on-dark);
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-on-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--text-on-dark);
}

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2a3a 40%, #1e3a52 70%, #0d1b2a 100%);
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(42,143,189,0.12), transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-on-dark);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted-on-dark);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* ═══ SERVICES PAGE ═══ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ═══ PROMO BANNER ═══ */
.promo-banner {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.promo-banner span {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-photo-main {
    width: 260px;
    height: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-collage {
    min-height: 320px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 70px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-card-photo {
    width: 150px;
    height: 150px;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-photo-main {
    width: 200px;
    height: 200px;
  }

  .hero-decor-circle:nth-child(2) {
    width: 100px;
    height: 100px;
    left: 0;
  }

  .hero-decor-circle:nth-child(3) {
    width: 90px;
    height: 90px;
    right: 0;
  }

  .hero-decor-circle:nth-child(4) {
    width: 70px;
    height: 70px;
  }

  .hero-decor-circle:nth-child(5) {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-hero {
    padding: 130px 20px 60px;
  }

  .about-circle:nth-child(1) {
    width: 200px;
    height: 200px;
  }

  .about-circle:nth-child(2) {
    width: 150px;
    height: 150px;
  }

  .about-circle:nth-child(3) {
    width: 120px;
    height: 120px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .btn {
    min-height: 48px;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}
