/* ═══════════════════════════════════════════════════════
   MAGIC SMILE — Dark Elegance
   Ultra-dark with warm gold. Oval photos, geometric wireframe,
   serif headings. Like an expensive spa-boutique by candlelight.
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg: #0d0b09;
  --surface: #181614;
  --accent: #c9a96e;
  --accent-hover: #d4b87a;
  --text: #e8dcc8;
  --text-muted: #8a8078;
  --border: #2a2520;

  --accent-rgb: 201, 169, 110;
  --bg-rgb: 13, 11, 9;

  --heading-font: 'Playfair Display', serif;
  --body-font: 'Cormorant Garamond', serif;
  --label-font: 'Lato', sans-serif;
  --heading-weight: 700;
  --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: 17px;
  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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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);
}

/* ─── Word Break for Russian ─── */
.service-card,
.team-card,
.hero h1,
.section-header h2,
h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s 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;
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.nav-brand span {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 11, 9, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: var(--heading-weight);
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(201,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,169,110,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--body-font);
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1.2;
}

.hero-stat .stat-label {
  font-family: var(--label-font);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Photo — Oval */
.hero-photo {
  flex: 0 0 auto;
  position: relative;
}

.hero-photo-oval {
  width: 360px;
  height: 460px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 0 80px rgba(201,169,110,0.1), 0 0 160px rgba(201,169,110,0.05);
  position: relative;
  z-index: 2;
}

.hero-photo-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Geometric Wireframe Decor */
.hero-wireframe {
  position: absolute;
  z-index: 1;
  opacity: 0.06;
}

.hero-wireframe--top-right {
  top: -30px;
  right: -40px;
  width: 200px;
  height: 200px;
}

.hero-wireframe--bottom-left {
  bottom: -20px;
  left: -30px;
  width: 160px;
  height: 160px;
}

/* Gold glow behind oval */
.hero-photo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.1) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  min-height: 52px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(201,169,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(201,169,110,0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(201,169,110,0.08);
  color: var(--accent-hover);
}

/* ─── Sections ─── */
.section {
  padding: 100px 5%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header p {
  font-family: var(--body-font);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-divider::before {
  margin-right: 20px;
}

.section-divider::after {
  margin-left: 20px;
}

.section-divider span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Services Grid: 3+2 flex layout ─── */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  flex: 0 0 calc(33.333% - 27px);
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  border-color: rgba(201,169,110,0.3);
  box-shadow: 0 0 40px rgba(201,169,110,0.08);
  transform: translateY(-4px);
}

.service-card-photo {
  width: 160px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 0 40px rgba(201,169,110,0.15);
  transition: box-shadow var(--transition);
}

.service-card:hover .service-card-photo {
  box-shadow: 0 0 60px rgba(201,169,110,0.25);
}

.service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-link {
  font-family: var(--label-font);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.service-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.service-card:hover .service-card-link::after {
  width: 100%;
}

/* ─── Team Grid ─── */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  flex: 0 0 auto;
}

.team-card-photo {
  width: 200px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 0 40px rgba(201,169,110,0.15);
  transition: box-shadow var(--transition);
}

.team-card:hover .team-card-photo {
  box-shadow: 0 0 60px rgba(201,169,110,0.25);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.team-card .team-role {
  font-family: var(--label-font);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.team-card .team-spec {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Gallery Grid ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.0) 0%, rgba(201,169,110,0.0) 100%);
  transition: background var(--transition);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  background: linear-gradient(135deg, rgba(201,169,110,0.15) 0%, rgba(201,169,110,0.05) 100%);
}

/* ─── Testimonials ─── */
.testimonials-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-card {
  padding: 36px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201,169,110,0.3);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--heading-font);
  font-size: 4rem;
  color: rgba(201,169,110,0.15);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card p {
  font-family: var(--body-font);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  padding-left: 20px;
  border-left: 2px solid rgba(201,169,110,0.3);
}

/* ─── UTP / Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-2px);
}

.feature-number {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card p {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 80px 5%;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-family: var(--body-font);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── Floating WhatsApp ─── */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: all var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ─── Contact List ─── */
.contact-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.contact-item:hover {
  border-color: rgba(201,169,110,0.3);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-item .contact-label {
  font-family: var(--label-font);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item .contact-value {
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--text);
}

.contact-item a.contact-value {
  color: var(--accent);
}

/* ─── Map ─── */
.map-container {
  max-width: 1100px;
  margin: 40px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(92%) contrast(90%);
}

/* ─── Footer ─── */
.footer {
  padding: 48px 5%;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--label-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  background: rgba(201,169,110,0.08);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  transition: fill var(--transition);
}

.footer-social a:hover svg {
  fill: var(--accent);
}

/* ─── Services Page Detail ─── */
.service-detail {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto 64px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.service-detail:hover {
  border-color: rgba(201,169,110,0.3);
}

.service-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.service-detail-photo {
  flex: 0 0 240px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 0 40px rgba(201,169,110,0.15);
}

.service-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  flex: 1;
}

.service-detail-content h3 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-detail-content p {
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-promo {
  display: inline-block;
  font-family: var(--label-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 6px 16px;
  margin-bottom: 16px;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: 140px 5% 60px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 40%, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-family: var(--body-font);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── Responsive: Mobile First ─── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-photo-oval {
    width: 260px;
    height: 340px;
  }

  .hero-wireframe {
    display: none;
  }

  .service-card {
    flex: 0 0 calc(50% - 20px);
  }

  .service-detail {
    flex-direction: column !important;
    text-align: center;
    padding: 28px 20px;
    gap: 28px;
  }

  .service-detail-photo {
    flex: 0 0 auto;
    width: 180px;
    height: 220px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 5% 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .services-grid {
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 8px;
    left: 16px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 64px 5%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .map-container {
    height: 260px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .page-hero {
    padding: 110px 5% 40px;
  }
}

/* ─── Geometric wireframe background for sections ─── */
.section--with-wireframe {
  position: relative;
}

.section--with-wireframe::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='50' y1='50' x2='150' y2='20' stroke='%23c9a96e' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='150' y1='20' x2='250' y2='80' stroke='%23c9a96e' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='250' y1='80' x2='200' y2='180' stroke='%23c9a96e' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='200' y1='180' x2='100' y2='200' stroke='%23c9a96e' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='100' y1='200' x2='50' y2='50' stroke='%23c9a96e' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='50' cy='50' r='2' fill='%23c9a96e' opacity='0.08'/%3E%3Ccircle cx='150' cy='20' r='2' fill='%23c9a96e' opacity='0.08'/%3E%3Ccircle cx='250' cy='80' r='2' fill='%23c9a96e' opacity='0.08'/%3E%3Ccircle cx='200' cy='180' r='2' fill='%23c9a96e' opacity='0.08'/%3E%3Ccircle cx='100' cy='200' r='2' fill='%23c9a96e' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.5;
}
