/* ============================================
   FONDACIJA HAMIDIJE — Design System
   Premium, modern, glassmorphism theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --color-primary: #0B6E4F;
  --color-primary-light: #12946A;
  --color-primary-dark: #074A35;
  --color-primary-glow: rgba(11, 110, 79, 0.3);

  /* Accent */
  --color-accent: #C9A84C;
  --color-accent-light: #E0C56E;
  --color-accent-dark: #A88A32;

  /* Background */
  --color-bg-primary: #0A0F1C;
  --color-bg-secondary: #111827;
  --color-bg-tertiary: #1A2332;
  --color-bg-card: rgba(255, 255, 255, 0.03);

  /* Text */
  --color-text-primary: #F1F5F9;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-text-accent: var(--color-accent-light);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: 20px;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0F1C 0%, #0B3D2E 50%, #0A0F1C 100%);
  --gradient-card: linear-gradient(145deg, rgba(11, 110, 79, 0.08) 0%, rgba(201, 168, 76, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent-light) 100%);
  --gradient-text: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 30px var(--color-primary-glow);
  --shadow-glow-accent: 0 0 30px rgba(201, 168, 76, 0.2);

  /* Layout */
  --max-width: 1280px;
  --navbar-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

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

/* ---------- Utility / Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.section-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Background Decorations ---------- */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--primary {
  background: var(--color-primary-glow);
  width: 500px;
  height: 500px;
}

.bg-glow--accent {
  background: rgba(201, 168, 76, 0.08);
  width: 400px;
  height: 400px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  z-index: 1001;
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-bg-primary);
  font-weight: 800;
  box-shadow: var(--shadow-glow-accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--color-text-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 1001;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-toggle .flag {
  font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero / Carousel ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

.carousel__slide.active .carousel__slide-image {
  transform: scale(1.08);
}

.carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 28, 0.4) 0%,
    rgba(10, 15, 28, 0.2) 40%,
    rgba(10, 15, 28, 0.6) 75%,
    rgba(10, 15, 28, 0.95) 100%
  );
  z-index: 1;
}

/* Hero Content Overlay */
.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 0 var(--space-4xl) 0;
}

.hero__content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__title .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.9s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-glow-accent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn__icon {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* Carousel Navigation */
.carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  z-index: 20;
  pointer-events: none;
}

.carousel__arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  pointer-events: all;
  color: var(--color-text-primary);
  font-size: 1.3rem;
}

.carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.carousel__arrow:active {
  transform: scale(0.95);
}

.carousel__arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* Carousel Dots */
.carousel__dots {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 20;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel__dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

/* Carousel Progress Bar */
.carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.carousel__progress-bar {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.3s linear;
  width: 0%;
}

.carousel__progress-bar.animating {
  transition: width 5s linear;
  width: 100%;
}

/* ---------- About Section ---------- */
.about {
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about__image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 110, 79, 0.15) 0%, transparent 60%);
  z-index: 1;
  border-radius: var(--radius-xl);
}

.about__image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__image-wrapper:hover .about__image {
  transform: scale(1.03);
}

.about__stats-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.about__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.about__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.about__content {
  padding-left: var(--space-xl);
}

.about__text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-2xl);
}

.about__date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--color-accent-light);
  font-weight: 500;
}

.about__date-icon {
  font-size: 1rem;
}

/* ---------- Services Section ---------- */
.services {
  position: relative;
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.services__header .section-subtitle {
  margin: 0 auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition-base);
  overflow: hidden;
  group: service;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: var(--shadow-xl), var(--shadow-glow-accent);
}

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

.service-card__icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(11, 110, 79, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-xl);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.service-card__title {
  position: relative;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.service-card__description {
  position: relative;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Number decorations */
.service-card__number {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  transition: color var(--transition-base);
}

.service-card:hover .service-card__number {
  color: rgba(201, 168, 76, 0.06);
}

/* ---------- Gallery Section ---------- */
.gallery {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.gallery__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.gallery__header .section-subtitle {
  margin: 0 auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery__item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__item-image {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 15, 28, 0.85) 0%,
    rgba(10, 15, 28, 0) 60%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-caption {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.active .lightbox__image {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: white;
  font-size: 1.3rem;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ---------- Contact Section ---------- */
.contact {
  position: relative;
}

.contact__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.contact__header .section-subtitle {
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: rgba(11, 110, 79, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-card__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Clickable contact cards */
a.contact-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.contact-card--link:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(6px);
}

/* WhatsApp card — special premium treatment */
.contact-card--whatsapp {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, var(--glass-bg) 100%);
  border-color: rgba(37, 211, 102, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-card--whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

.contact-card--whatsapp:hover::before {
  opacity: 1;
}

.contact-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.contact-card__arrow {
  margin-left: auto;
  font-size: 1.3rem;
  color: #25D366;
  opacity: 0.6;
  transition: all var(--transition-fast);
  align-self: center;
}

.contact-card--whatsapp:hover .contact-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

.contact__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 360px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: none;
  filter: grayscale(0.3) brightness(0.85) contrast(1.1);
  transition: filter var(--transition-base);
}

.contact__map:hover iframe {
  filter: grayscale(0) brightness(0.9) contrast(1);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.cta-section__inner {
  position: relative;
  padding: var(--space-4xl);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  text-align: center;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(11, 110, 79, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.cta-section__text {
  position: relative;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--glass-border);
  background: var(--color-bg-secondary);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer__brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-bg-primary);
  font-weight: 800;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer__social-link svg {
  fill: var(--color-text-secondary);
  transition: fill var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-accent);
}

.footer__social-link:hover svg {
  fill: var(--color-accent-gold);
}

.footer__social-link--whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.footer__social-link--whatsapp:hover svg {
  fill: #25D366;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__content {
    padding-left: 0;
  }

  .about__stats-card {
    right: var(--space-xl);
    bottom: -20px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .navbar__links.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar__links .navbar__link {
    font-size: 1.3rem;
    font-weight: 600;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero mobile fixes */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__content {
    padding-bottom: var(--space-xl);
  }

  .hero__badge {
    margin-bottom: var(--space-md);
    padding: 6px 14px;
    font-size: 0.7rem;
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: var(--space-md);
  }

  .hero__description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__cta-group {
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .carousel__arrow svg {
    width: 16px;
    height: 16px;
  }

  .carousel__nav {
    top: 45%;
  }

  .carousel__dots {
    bottom: auto;
    top: calc(var(--navbar-height) + 12px);
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .cta-section__inner {
    padding: var(--space-2xl);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .carousel__nav {
    padding: 0 var(--space-md);
  }

  .about__stats-card {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: var(--space-lg);
  }
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--color-text-primary);
}
