/* ─────────────────────────────────────
   ROOT VARIABLES
───────────────────────────────────── */
:root {
  --bg:          #F8F6F0;
  --hero-bg:     #0A0B14;
  --dark-bg:     #111827;
  --text:        #1A1A2E;
  --text-muted:  #666666;
  --text-light:  #888888;
  --gold:        #C9A84C;
  --gold-light:  #E8D5A3;
  --gold-dark:   #A07830;
  --gold-tint:   rgba(201,168,76,0.08);
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
}

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
canvas { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─────────────────────────────────────
   SCROLL PROGRESS BAR
───────────────────────────────────── */
#progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  z-index: 9999;
  pointer-events: none;
}

/* ─────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 580px;
}

.gold-text { color: var(--gold); }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.82rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
  padding: 0.82rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(248,246,240,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(201,168,76,0.2), var(--shadow-sm);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  gap: 2px;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo-g,
.logo-t {
  background: linear-gradient(110deg, #A07830 0%, #C9A84C 28%, #EDD98A 50%, #C9A84C 72%, #A07830 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logo-shine 3.5s linear infinite;
}
.logo-t { animation-delay: -0.8s; }

.logo-sym {
  font-family: 'Playfair Display', serif;
  font-size: 1.15em;
  font-weight: 400;
  color: var(--gold);
  margin-left: 0.18em;
  display: inline-block;
  animation: sym-pulse 2.8s ease-in-out infinite;
}

.logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.47rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-left: 1px;
  transition: color var(--transition);
}

/* Nav links white over dark hero, dark after scroll */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* After scroll: dark text */
#navbar.scrolled .nav-links a {
  color: var(--text);
}
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active { color: var(--gold); }

/* CTA button in nav */
.btn-cta {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* Over dark hero: outline style for CTA */
/* (Once scrolled, it becomes gold fill which is fine) */

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  padding: 0.25rem;
  transition: color var(--transition);
}

#navbar.scrolled .nav-toggle { color: var(--text); }
#navbar.scrolled .logo-tagline { color: var(--text-muted); }

/* ─────────────────────────────────────
   HERO SECTION (HOME)
───────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: var(--hero-bg);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Full-screen canvas background */
#ribbon-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Text at bottom, centered — § animates in upper area with clear gradient separation */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 2rem 5rem;
  color: #fff;
  text-align: center;
}

/* Legacy: ensure old overlay never shows */
.hero-overlay { display: none !important; }

.hero-pretitle {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}

.hero-brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-brand .gold { color: var(--gold); }

.hero-sub {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero-lead {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.72;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  color: rgba(255,255,255,0.52);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 500;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.32);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  position: relative;
  margin-bottom: 4px;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease infinite;
}

@keyframes scroll-dot {
  0%   { top: 5px; opacity: 1; }
  100% { top: 17px; opacity: 0; }
}

/* ─────────────────────────────────────
   PAGE HERO (Subpages)
───────────────────────────────────── */
.page-hero {
  background: var(--hero-bg);
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '§';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.05;
  pointer-events: none;
  line-height: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ─────────────────────────────────────
   CONTAINERS & LAYOUT
───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.9);
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

.section-tint { background: var(--gold-tint); }

.section-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
}

/* ─────────────────────────────────────
   STATS STRIP
───────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-suffix {
  font-size: 0.55em;
  color: var(--gold-dark);
  font-weight: 600;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─────────────────────────────────────
   HOME: SERVICES PREVIEW
───────────────────────────────────── */
.services-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.service-card-home {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card-home:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.3);
}

.service-card-home:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gold-tint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.service-card-home:hover .service-icon-wrap {
  background: rgba(201,168,76,0.18);
}

.service-card-home h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.service-card-home p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.6rem; }

/* ─────────────────────────────────────
   PROMO BANNER
───────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--hero-bg) 0%, #1a1440 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '§';
  position: absolute;
  left: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 28rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.promo-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.promo-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.promo-title span { color: var(--gold); }

.promo-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.6;
}

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid rgba(201,168,76,0.35);
  color: var(--text-muted);
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.google-reviews-link:hover {
  border-color: var(--gold);
  color: var(--text);
  box-shadow: 0 2px 16px rgba(201,168,76,0.15);
}

.testimonial-card > p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─────────────────────────────────────
   CTA SECTION
───────────────────────────────────── */
.cta-section {
  background: var(--white);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 5rem 0;
  text-align: center;
}

.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-subtitle { margin: 0 auto 2.5rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────
   USLUGI (Services) PAGE
───────────────────────────────────── */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,0.12);
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.3);
}

.service-detail-card .sdc-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.service-detail-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-detail-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  padding: 0.35rem 0;
  padding-left: 1.4em;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-detail-card ul li::before {
  content: '§';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 0.85em;
}

/* ─────────────────────────────────────
   O NAS (About) PAGE
───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-text p:first-child {
  font-size: 1.15rem;
  color: var(--text);
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cert-card {
  background: var(--gold-tint);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cert-card .cert-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value-card .val-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   CENNIK (Pricing) PAGE
───────────────────────────────────── */
.pricing-highlight {
  background: linear-gradient(135deg, var(--hero-bg), #1a1440);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.pricing-highlight::after {
  content: '§';
  position: absolute;
  right: -2%;
  bottom: -15%;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  color: var(--gold);
  opacity: 0.05;
  pointer-events: none;
}

.pricing-highlight h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pricing-highlight p {
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.pricing-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.factor-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.factor-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-gold);
}

.factor-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.factor-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.factor-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ─────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info h3 { font-size: 1.4rem; margin-bottom: 1.75rem; }

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--gold); }

.contact-badge {
  margin-top: 2rem;
  background: var(--gold-tint);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.contact-badge p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────
   USP GRID (About/Home)
───────────────────────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.usp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.usp-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
}

.usp-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.usp-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
#footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-tagline { color: rgba(255,255,255,0.35); }

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item span:first-child { flex-shrink: 0; font-size: 1rem; }

.footer-contact-item a,
.footer-contact-item p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-cert {
  font-size: 0.78rem;
  color: rgba(201,168,76,0.6);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────
   LOGO ANIMATIONS
───────────────────────────────────── */
@keyframes logo-shine {
  0%   { background-position: -220% center; }
  100% { background-position: 220% center; }
}

@keyframes sym-pulse {
  0%, 100% { transform: translateY(0) scale(1);       opacity: 1; }
  50%       { transform: translateY(-2px) scale(1.14); opacity: 0.75; }
}

/* ─────────────────────────────────────
   SCROLL REVEAL CLASSES
───────────────────────────────────── */
.reveal, .reveal-left, .reveal-right { opacity: 0; }

/* ─────────────────────────────────────
   MOBILE NAV
───────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(248,246,240,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    color: var(--text);
    font-size: 1.1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(201,168,76,0.12);
    width: 100%;
  }

  .nav-links a:hover { color: var(--gold); }
  .nav-links a::after { display: none; }

  .btn-cta { display: none; }
  .nav-toggle { display: block; z-index: 1001; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-home-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .pricing-factors { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .promo-inner { flex-direction: column; text-align: center; }

  /* Hero on mobile — animation visible at 50% opacity so text stays readable */
  #hero { min-height: 100svh; align-items: flex-end; }
  #ribbon-canvas { opacity: 0.5; }
  .hero-content { padding: 2rem 1.5rem 4.5rem; text-align: center; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(201,168,76,0.1); }
  .values-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-brand { font-size: clamp(2rem, 10vw, 3.5rem); white-space: normal; }
  .hero-lead { font-size: 0.88rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero::after { display: none; }
}
