/* ============================================================
   DENTAL ORTEGAS — Premium Dark Clinical Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #080d05;
  --bg-secondary: #101808;
  --bg-card: #141f0d;
  --bg-card-hover: #1a2910;
  --olive: #8a9d42;
  --olive-light: #a8be50;
  --olive-dark: #6b7a33;
  --olive-glow: rgba(138, 157, 66, 0.15);
  --olive-glow-strong: rgba(138, 157, 66, 0.3);
  --gold: #c9a43c;
  --gold-light: #e0ba54;
  --gold-glow: rgba(201, 164, 60, 0.2);
  --text-primary: #e8f0d5;
  --text-secondary: #c5d4a8;
  --text-muted: #7a8a6a;
  --text-faint: #4a5a3a;
  --border-subtle: rgba(138, 157, 66, 0.12);
  --border-glow: rgba(138, 157, 66, 0.35);
  --shadow-olive: 0 0 40px rgba(138, 157, 66, 0.12);
  --shadow-olive-strong: 0 0 60px rgba(138, 157, 66, 0.2);
  --shadow-gold: 0 0 40px rgba(201, 164, 60, 0.15);
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--olive-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--olive); }

/* ---------- Typography Utilities ---------- */
.font-display { font-family: 'Unbounded', sans-serif; }
.font-body { font-family: 'Figtree', sans-serif; }

.text-gradient-olive {
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive) 60%, #6a7d30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, #a07c28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-olive { color: var(--olive); }
.text-olive-light { color: var(--olive-light); }
.text-gold { color: var(--gold); }
.text-text-primary { color: var(--text-primary); }
.text-text-muted { color: var(--text-muted); }

/* ---------- Section Components ---------- */
.section-eyebrow {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1px;
  background: var(--olive);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header { position: relative; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive) 100%);
  color: var(--bg-primary);
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c0d860 0%, var(--olive-light) 100%);
  opacity: 0;
  transition: opacity var(--transition-med);
  z-index: -1;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--olive-glow-strong); }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-primary.btn-glow {
  box-shadow: 0 0 30px var(--olive-glow-strong), 0 4px 20px rgba(0,0,0,0.4);
}

.btn-primary.btn-glow:hover {
  box-shadow: 0 0 50px var(--olive-glow-strong), 0 8px 32px rgba(0,0,0,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
}

.btn-outline:hover {
  background: var(--olive-glow);
  border-color: var(--olive);
  color: var(--olive-light);
  transform: translateY(-2px);
}

.btn-outline.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ---------- Reveal Animations ---------- */
.reveal-item {
  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-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(8, 13, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transition: transform var(--transition-med);
  transform-origin: left;
}

.nav-link:hover {
  color: var(--olive-light);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-med);
}

#menu-btn.open .hamburger-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
#menu-btn.open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-btn.open .hamburger-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  background: rgba(8, 13, 5, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
}

.mobile-menu.open {
  max-height: 500px;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--olive-light);
  padding-left: 0.5rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: var(--bg-primary);
  position: relative;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 157, 66, 0.12) 0%, transparent 70%);
  top: -100px;
  left: -200px;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 164, 60, 0.08) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.rotated-label {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.accent-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--olive), transparent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--olive-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  align-self: center;
}

/* Hero Image */
.hero-image-container {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 80px var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border-subtle), var(--shadow-olive-strong);
  aspect-ratio: 4/5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-frame:hover .hero-img {
  transform: scale(1.04);
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(8, 13, 5, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.badge-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--olive-light);
  line-height: 1;
}

.badge-text {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.hero-corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, var(--olive-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--olive-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--text-faint);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--olive);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg-secondary);
}

.services-bg-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(138, 157, 66, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-med);
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-med);
  border-radius: inherit;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--border-glow), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-olive-strong), 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card--featured {
  background: linear-gradient(135deg, rgba(138, 157, 66, 0.1) 0%, var(--bg-card) 60%);
  border-color: rgba(138, 157, 66, 0.25);
}

.service-card--gold {
  background: linear-gradient(135deg, rgba(201, 164, 60, 0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(201, 164, 60, 0.2);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--olive-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-med);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon-wrap {
  background: var(--olive-glow-strong);
  box-shadow: 0 0 20px var(--olive-glow);
}

.service-card--gold .service-icon-wrap {
  background: var(--gold-glow);
  border-color: rgba(201, 164, 60, 0.3);
}

.service-icon {
  color: var(--olive);
  position: relative;
  z-index: 1;
}

.service-card--gold .service-icon { color: var(--gold); }

.service-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-arrow {
  color: var(--olive);
  margin-top: 0.5rem;
  transform: translateX(-4px);
  transition: transform var(--transition-fast);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-arrow { transform: translateX(0); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-primary);
}

.about-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(138, 157, 66, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.about-images {
  min-height: 500px;
}

.about-img-main {
  width: 85%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border-subtle);
  position: relative;
  z-index: 2;
}

.about-img-secondary {
  width: 55%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border-subtle);
  position: absolute;
  bottom: -30px;
  right: 0;
  z-index: 3;
  border: 3px solid var(--bg-primary);
}

.about-years-badge {
  position: absolute;
  top: 30px;
  right: -10px;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 4;
  box-shadow: 0 8px 32px rgba(138, 157, 66, 0.4);
}

.years-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-primary);
  line-height: 1;
}

.years-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bg-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  opacity: 0.8;
}

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

/* About Stats */
.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1rem;
  transition: all var(--transition-med);
}

.about-stat-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-olive);
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--olive-light);
  line-height: 1;
}

.about-stat-suffix {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--olive);
  margin-right: 0.5rem;
}

.about-stat-label {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  background: var(--bg-secondary);
}

.team-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-med);
}

.team-main-card:hover {
  box-shadow: var(--shadow-olive-strong);
}

.team-main-img-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.team-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.team-main-card:hover .team-main-img {
  transform: scale(1.04);
}

.team-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

.team-main-info {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  background: var(--olive-glow);
  border: 1px solid var(--border-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.team-specialty {
  font-size: 0.88rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.credential-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* Team Side */
.team-group-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.team-group-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8,13,5,0.9) 0%, transparent 100%);
  padding: 1.5rem;
}

.team-values {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--olive-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  margin-top: 0.1rem;
}

.value-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.value-desc {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 0.15rem;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(138, 157, 66, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Unbounded', sans-serif;
  font-size: 8rem;
  color: var(--olive-glow);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-olive);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(138,157,66,0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(138,157,66,0.2);
}

.testimonial-card--gold {
  background: linear-gradient(135deg, rgba(201,164,60,0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(201,164,60,0.15);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.author-service {
  font-size: 0.75rem;
  color: var(--olive);
  margin-top: 0.1rem;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--transition-med);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-olive-strong), 0 16px 40px rgba(0,0,0,0.4);
  transform: scale(1.01);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,13,5,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:focus .gallery-overlay { opacity: 1; }

.gallery-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-light);
  background: rgba(138,157,66,0.15);
  border: 1px solid rgba(138,157,66,0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.gallery-overlay svg {
  color: var(--text-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 3, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  padding: 1rem;
}

.lightbox-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px var(--border-subtle);
  transition: opacity 0.25s ease;
}

.lightbox-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  transform: rotate(90deg);
}

.lightbox-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.lightbox-arrow:hover {
  background: var(--olive-glow);
  border-color: var(--border-glow);
  color: var(--olive-light);
}

.lightbox-counter {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg-primary);
}

.contact-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at left center, rgba(138, 157, 66, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--olive-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  line-height: 1.4;
}

a.contact-value:hover { color: var(--olive-light); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-olive);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--text-faint); }
.form-input:focus {
  border-color: var(--olive);
  background: rgba(138, 157, 66, 0.05);
  box-shadow: 0 0 0 3px var(--olive-glow);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.form-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-secondary);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(138, 157, 66, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 164, 60, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-faint);
  line-height: 1.65;
  max-width: 240px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--olive-glow);
  border-color: var(--border-glow);
  color: var(--olive-light);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-faint);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--olive-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

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

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--olive);
  margin-top: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 500;
}

/* Chat Toggle Button */
.chat-toggle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive) 100%);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(138, 157, 66, 0.4);
  transition: all var(--transition-med);
  position: relative;
}

.chat-toggle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(138, 157, 66, 0.5);
}

.chat-toggle-btn:active { transform: scale(0.96); }

/* WhatsApp Button */
.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-med);
  position: relative;
}

.whatsapp-btn:hover {
  background: #1db954;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active { transform: scale(0.96); }

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   CHAT PANEL
   ============================================================ */
.chat-panel {
  position: fixed;
  bottom: 10rem;
  right: 2rem;
  width: 340px;
  max-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), var(--shadow-olive-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 499;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-med);
  transform-origin: bottom right;
}

.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(138,157,66,0.15) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.chat-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.chat-close-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 2px; }

/* Message Bubbles */
.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.87rem;
  line-height: 1.5;
  animation: bubbleIn 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble--assistant {
  background: rgba(138,157,66,0.1);
  border: 1px solid rgba(138,157,66,0.2);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble--user {
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive) 100%);
  color: var(--bg-primary);
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: rgba(138,157,66,0.08);
  border: 1px solid rgba(138,157,66,0.15);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 80px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
  animation: typingBounce 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Chat Input */
.chat-input-wrap {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  transition: border-color var(--transition-fast);
}

.chat-form:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 2px var(--olive-glow);
}

.chat-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Figtree', sans-serif;
  font-size: 0.87rem;
  min-width: 0;
}

.chat-input::placeholder { color: var(--text-faint); }

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive) 100%);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--olive-glow-strong);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-image-container { order: -1; }
  .hero-frame { aspect-ratio: 16/9; max-height: 400px; }
  .hero-title { font-size: clamp(2.2rem, 6vw, 3.5rem); }
  .team-grid { grid-template-columns: 1fr !important; }
  .about-images { min-height: 380px; }
}

@media (max-width: 768px) {
  .about-img-main { width: 100%; height: 280px; }
  .about-img-secondary { display: none; }
  .about-years-badge { top: 16px; right: 16px; }
  .contact-form-wrap { padding: 1.75rem; }
  .chat-panel { width: calc(100vw - 2rem); right: 1rem; bottom: 9rem; }
  .floating-buttons { bottom: 1.5rem; right: 1.5rem; }
  .hero-stats { gap: 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .rotated-label { display: none; }
  .hero-stats { flex-wrap: wrap; }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
