/* ============================================
   MAVEN ENGENHARIA - CSS PRINCIPAL
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Maven Brand Colors */
  --background: 0 0% 100%;
  --foreground: 225 45% 12%;

  --card: 0 0% 100%;
  --card-foreground: 225 45% 12%;

  /* Primary - Maven Blue #2C3494 */
  --primary: 234 55% 38%;
  --primary-foreground: 0 0% 100%;

  /* Secondary - Light gray for sections */
  --secondary: 230 20% 97%;
  --secondary-foreground: 225 45% 12%;

  --muted: 230 15% 94%;
  --muted-foreground: 220 9% 46%;

  /* Accent - Orange #FF7D05 for highlights */
  --accent: 29 100% 51%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 234 55% 38%;

  --radius: 0.75rem;

  /* Custom tokens */
  --hero-gradient: linear-gradient(135deg, hsl(234 55% 25%) 0%, hsl(234 45% 35%) 50%, hsl(234 55% 28%) 100%);
  --hero-gradient-overlay: linear-gradient(180deg, hsl(234 55% 20% / 0.9) 0%, hsl(234 55% 30% / 0.7) 100%);
  --card-shadow: 0 4px 20px -4px hsl(234 55% 38% / 0.08), 0 12px 40px -8px hsl(234 55% 38% / 0.12);
  --card-shadow-hover: 0 8px 30px -4px hsl(234 55% 38% / 0.15), 0 20px 60px -12px hsl(234 55% 38% / 0.2);
  --text-gradient: linear-gradient(135deg, hsl(234 55% 38%) 0%, hsl(234 55% 50%) 100%);
  --glass-bg: hsl(0 0% 100% / 0.8);
  --glass-border: hsl(0 0% 100% / 0.3);
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.hero-gradient {
  background: var(--hero-gradient);
}

.hero-gradient-overlay {
  background: var(--hero-gradient-overlay);
}

.card-shadow {
  box-shadow: var(--card-shadow);
}

.card-shadow-hover {
  box-shadow: var(--card-shadow-hover);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* Background Patterns */
.geometric-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, hsl(var(--primary) / 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, hsl(var(--primary) / 0.05) 0%, transparent 50%);
}

.grid-pattern {
  background-image:
    linear-gradient(hsl(var(--primary) / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary) / 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.diagonal-lines {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    hsl(var(--primary) / 0.02) 10px,
    hsl(var(--primary) / 0.02) 20px
  );
}

.dot-pattern {
  background-image: radial-gradient(hsl(var(--primary) / 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.5);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-fade-in-delay-1 {
  animation: fadeIn 0.8s ease-out 0.15s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-3 {
  animation: fadeIn 0.8s ease-out 0.45s forwards;
  opacity: 0;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background-color: hsl(234 55% 32%);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
  color: hsl(var(--primary-foreground));
}

.btn-outline-white:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.btn-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-accent:hover {
  background-color: hsl(29 100% 45%);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
}

.btn-hero {
  background-color: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero:hover {
  background-color: hsl(var(--primary-foreground) / 0.9);
}

.btn-hero-outline {
  background-color: transparent;
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
  color: hsl(var(--primary-foreground));
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero-outline:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background-color: hsl(var(--muted));
}

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

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Mobile button size adjustments */
@media (max-width: 767px) {
  .btn-xl {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-shine:hover::after {
  left: 100%;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
}

.card-hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-lift:hover {
  transform: translateY(-8px);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background-color: hsl(var(--primary) / 0.95);
  backdrop-filter: blur(20px);
}

.header.scrolled {
  background-color: hsl(var(--background) / 0.95);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

@media (min-width: 1024px) {
  .header-container {
    height: 96px;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

@media (min-width: 1024px) {
  .logo-img {
    height: 60px;
  }
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--primary-foreground) / 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.header.scrolled .logo-icon {
  background-color: hsl(var(--primary));
}

.logo-icon span {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  transition: color 0.3s ease;
}

.header.scrolled .logo-title {
  color: hsl(var(--primary));
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground) / 0.7);
  transition: color 0.3s ease;
}

.header.scrolled .logo-subtitle {
  color: hsl(var(--muted-foreground));
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / 0.9);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: white;
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.nav-link.active {
  color: white;
  background-color: hsl(var(--primary-foreground) / 0.2);
}

.header.scrolled .nav-link {
  color: hsl(var(--foreground));
}

.header.scrolled .nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
}

.header.scrolled .nav-link.active {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

/* Services Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / 0.9);
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.dropdown-trigger:hover {
  color: white;
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.header.scrolled .dropdown-trigger {
  color: hsl(var(--foreground));
}

.header.scrolled .dropdown-trigger:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
}

.dropdown-trigger.active {
  color: white;
  background-color: hsl(var(--primary-foreground) / 0.2);
}

.header.scrolled .dropdown-trigger.active {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  min-width: 220px;
  padding: 0.5rem;
  background-color: hsl(var(--card) / 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.header-cta .btn {
  background-color: white;
  color: hsl(var(--primary));
}

.header.scrolled .header-cta .btn {
  background-color: hsl(var(--primary));
  color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.header.scrolled .mobile-menu-btn {
  color: hsl(var(--foreground));
}

.header.scrolled .mobile-menu-btn:hover {
  background-color: hsl(var(--muted));
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding: 1.5rem 1rem 2rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  max-height: 600px;
  opacity: 1;
  overflow-y: auto;
}

@media (max-width: 1023px) {
  .mobile-menu {
    display: block;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.mobile-services-label {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.mobile-services-list {
  margin-left: 1rem;
}

.mobile-services-list a {
  display: block;
  padding: 0.625rem 1rem;
  color: hsl(var(--muted-foreground));
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-services-list a:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
  position: relative;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.footer-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  filter: blur(80px);
}

.footer-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--accent));
  border-radius: 50%;
  filter: blur(80px);
}

.footer-content {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 5rem 0;
  }
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon span {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-subtitle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-description {
  color: hsl(var(--background) / 0.7);
  line-height: 1.7;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--background) / 0.7);
  transition: color 0.3s ease;
}

.footer-social:hover {
  color: hsl(var(--accent));
}

/* Footer Sections */
.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section h3::before {
  content: '';
  width: 32px;
  height: 2px;
  background-color: hsl(var(--accent));
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--background) / 0.7);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: hsl(var(--background));
}

.footer-link svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.footer-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* Footer Contact */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: hsl(var(--background));
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.1);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.5);
}

.footer-credits {
  font-size: 0.75rem;
  color: hsl(var(--background) / 0.3);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 120px 0 80px;
}

@media (min-width: 768px) {
  .hero {
    padding: 140px 0 100px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 160px 0 120px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-decorative-1 {
  position: absolute;
  top: 25%;
  right: 40px;
  width: 288px;
  height: 288px;
  background-color: hsl(var(--accent) / 0.2);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 4s ease-in-out infinite;
}

.hero-decorative-2 {
  position: absolute;
  bottom: 25%;
  left: 40px;
  width: 384px;
  height: 384px;
  background-color: hsl(var(--primary) / 0.3);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    padding-left: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-left: 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary-foreground) / 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--primary-foreground) / 0.2);
  margin-bottom: 2rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--accent));
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
}

.hero-title {
  font-size: 1.875rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-title .accent {
  color: hsl(var(--accent));
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground) / 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 672px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero-stat-value {
  font-size: 2.5rem;
  font-family: inherit;
  font-weight: 700;
  color: hsl(var(--accent));
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 3rem;
  }
}

.hero-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.7);
  margin-top: 0.25rem;
}


/* Page Hero (smaller) */
.page-hero {
  position: relative;
  padding: 8rem 0 10rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 10rem 0;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 768px;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: 3rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3.75rem;
  }
}

.page-hero-description {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground) / 0.8);
  line-height: 1.7;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-bg-secondary {
  background-color: hsl(var(--secondary));
}

.section-bg-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-label-light {
  color: hsl(var(--accent));
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 672px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-description {
  margin: 0 auto;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 768px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: hsl(var(--card));
}

.service-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.95), hsl(var(--foreground) / 0.7) 50%, hsl(var(--foreground) / 0.3));
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background-color: hsl(var(--accent));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  color: hsl(var(--accent-foreground));
}

.service-card-title {
  font-size: 1.5rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}

.service-card-description {
  color: hsl(var(--primary-foreground) / 0.8);
  margin-bottom: 1rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--accent));
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-card:hover .service-card-link {
  gap: 0.75rem;
}

/* Simple Service Card */
.simple-service-card {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.simple-service-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.simple-service-card-icon {
  width: 56px;
  height: 56px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.simple-service-card-icon svg {
  width: 28px;
  height: 28px;
  color: hsl(var(--primary));
}

.simple-service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.simple-service-card-description {
  color: hsl(var(--muted-foreground));
}

/* ============================================
   VALUE CARDS
   ============================================ */
.value-card {
  background-color: hsl(var(--primary-foreground) / 0.1);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  background-color: hsl(var(--primary-foreground) / 0.2);
}

.value-card-icon {
  width: 64px;
  height: 64px;
  background-color: hsl(var(--accent) / 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.value-card:hover .value-card-icon {
  transform: scale(1.1);
}

.value-card-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--accent));
}

.value-card-title {
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.25rem;
}

.value-card-description {
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.6);
}

/* ============================================
   ABOUT CARDS (Mission, Vision, etc.)
   ============================================ */
.about-card-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 2rem;
  border-radius: 1rem;
}

.about-card-secondary {
  background-color: hsl(var(--secondary));
  padding: 2rem;
  border-radius: 1rem;
}

.about-card-accent {
  background-color: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(var(--accent) / 0.3);
  padding: 2rem;
  border-radius: 1rem;
}

.about-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.about-card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-card-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
}

.stat-card-icon {
  width: 64px;
  height: 64px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-card-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
}

.stat-card-value {
  font-size: 2.5rem;
  font-family: inherit;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.stat-card-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  background-color: hsl(var(--secondary) / 0.8);
  transform: translateY(-4px);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background-color: hsl(var(--primary));
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
  transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon svg {
  color: hsl(var(--primary-foreground));
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-text {
  color: hsl(var(--muted-foreground));
  white-space: pre-line;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem;
  background-color: hsl(var(--background));
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Form select styling */
.form-input select,
select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Form messages */
.form-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  font-weight: 500;
}

.form-message svg {
  flex-shrink: 0;
}

.form-message-success {
  background-color: hsl(142 76% 95%);
  color: hsl(142 76% 30%);
  border: 1px solid hsl(142 76% 80%);
}

.form-message-success svg {
  stroke: hsl(142 76% 36%);
}

.form-message-error {
  background-color: hsl(0 84% 95%);
  color: hsl(0 84% 35%);
  border: 1px solid hsl(0 84% 80%);
}

.form-message-error svg {
  stroke: hsl(0 84% 50%);
}

/* Loading spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Button disabled state */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Map */
.map-container {
  height: 500px;
  background-color: hsl(var(--secondary));
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-filter {
  position: sticky;
  top: 80px;
  z-index: 40;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
  .gallery-filter {
    top: 96px;
  }
}

.gallery-filter-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-filter-inner::-webkit-scrollbar {
  height: 4px;
}

.gallery-filter-inner::-webkit-scrollbar-track {
  background: hsl(var(--muted));
  border-radius: 4px;
}

.gallery-filter-inner::-webkit-scrollbar-thumb {
  background: hsl(var(--primary) / 0.3);
  border-radius: 4px;
}

.gallery-filter-inner::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.5);
}

.gallery-filter-icon {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}

.gallery-filter-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.9), hsl(var(--foreground) / 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

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

.gallery-item-content {
  padding: 1.5rem;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-content {
  transform: translateY(0);
}

.gallery-item-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--accent));
  background-color: hsl(var(--accent) / 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.gallery-item-title {
  color: hsl(var(--primary-foreground));
  font-size: 1.125rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: hsl(var(--foreground) / 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: hsl(var(--primary-foreground) / 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background-color: hsl(var(--primary-foreground) / 0.2);
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 1rem;
}

/* ============================================
   BLOG
   ============================================ */
.blog-card {
  background-color: hsl(var(--card));
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground));
  background-color: hsl(var(--primary) / 0.9);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-meta svg {
  width: 16px;
  height: 16px;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: hsl(var(--primary));
}

.blog-card-excerpt {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-weight: 600;
  transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.75rem;
}

/* ============================================
   BENEFITS LIST
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 672px;
  margin: 0 auto 2.5rem;
}

.cta-section-light .cta-description {
  color: hsl(var(--primary-foreground) / 0.8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================
   NORMS CARDS
   ============================================ */
.norm-card {
  background-color: hsl(var(--primary));
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.norm-card-title {
  font-size: 1.5rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.5rem;
}

.norm-card-description {
  color: hsl(var(--primary-foreground) / 0.8);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20BD5A;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--card-shadow);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--secondary));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--primary) / 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.5);
}

/* Selection styling */
::selection {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}

/* ============================================
   HIDDEN UTILITY
   ============================================ */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   POST PAGE STYLES
   ============================================ */
.post-hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .post-hero {
    padding: 12rem 0 8rem;
  }
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.post-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.7);
  margin-bottom: 1.5rem;
}

.post-breadcrumb a {
  transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
  color: hsl(var(--primary-foreground));
}

.post-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.post-title {
  font-size: 2rem;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .post-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .post-title {
    font-size: 3rem;
  }
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: hsl(var(--primary-foreground) / 0.8);
}

.post-meta-item svg {
  opacity: 0.7;
}

/* Post Article */
.post-article {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .post-article {
    padding: 6rem 0;
  }
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .post-content-wrapper {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}

/* Post Content */
.post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: hsl(var(--foreground));
}

.post-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: hsl(var(--foreground));
}

.post-content h3 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
  color: hsl(var(--foreground));
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content ul li {
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: hsl(var(--secondary));
  border-left: 4px solid hsl(var(--primary));
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: hsl(var(--muted-foreground));
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.post-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: hsl(234 55% 30%);
}

/* Post Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .post-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.post-share-card,
.post-cta-card {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

.post-share-card h3,
.post-cta-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.post-share-buttons {
  display: flex;
  gap: 0.75rem;
}

.post-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.post-share-btn.whatsapp {
  background-color: #25D366;
  color: white;
}

.post-share-btn.whatsapp:hover {
  background-color: #20BD5A;
}

.post-share-btn.facebook {
  background-color: #1877F2;
  color: white;
}

.post-share-btn.facebook:hover {
  background-color: #166FE5;
}

.post-share-btn.linkedin {
  background-color: #0A66C2;
  color: white;
}

.post-share-btn.linkedin:hover {
  background-color: #095196;
}

.post-share-btn.copy {
  background-color: hsl(var(--secondary));
  color: hsl(var(--foreground));
}

.post-share-btn.copy:hover {
  background-color: hsl(var(--muted));
}

.post-cta-card p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
