/* ============================================
   PURETEC Components CSS
   All component styles merged from CSS Modules
   with prefixed class names to avoid conflicts
   ============================================ */

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: height var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-primary);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  height: 64px;
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.navbar-logo-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.navbar.scrolled .navbar-logo-wrapper {
  width: 42px;
  height: 42px;
}

.navbar-brand-divider {
  width: 2px;
  height: 32px;
  background: var(--gradient-gold);
  margin: 0 0.75rem 0 0.5rem;
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.navbar.scrolled .navbar-brand-divider {
  height: 26px;
  margin: 0 0.6rem 0 0.4rem;
}

.navbar-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.08);
}

.navbar-brand-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  background: var(--gradient-gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.navbar-brand-tagline {
  color: var(--text-tertiary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.navbar-desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.navbar-link {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0;
  border-radius: 8px;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
}

.navbar-link .underline {
  position: absolute;
  bottom: 5px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: var(--radius-full);
  transition: transform 0.25s ease;
}

.navbar-link:hover .underline,
.navbar-link.active .underline {
  transform: scaleX(1);
}

.navbar-divider {
  width: 1px;
  height: 20px;
  background: var(--border-primary);
  flex-shrink: 0;
  margin: 0 var(--space-xs);
}

.navbar-mobile-controls {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-hamburger {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-primary);
  color: var(--accent-gold);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.navbar-hamburger:hover {
  background: var(--accent-gold-subtle);
}

/* Mobile Overlay */
.navbar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  backdrop-filter: blur(4px);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-overlay.show {
  display: block;
  opacity: 1;
}

/* Mobile Drawer */
.navbar-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: rgba(11, 11, 10, 0.96);
  backdrop-filter: blur(22px);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-primary);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-drawer.open {
  transform: translateX(0);
}

.navbar-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-primary);
}

.navbar-drawer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-drawer-brand .navbar-brand-name {
  font-size: 1rem;
}

.navbar-drawer-brand .navbar-logo {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
}

.navbar-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.navbar-close-btn:hover {
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
}

.navbar-drawer-links {
  flex: 1;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.navbar-drawer-link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-drawer-link:hover,
.navbar-drawer-link.active {
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
}

.navbar-drawer-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--border-primary);
}

.navbar-drawer-tagline {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-style: italic;
  text-align: center;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .navbar-desktop-nav { display: none; }
  .navbar-mobile-controls { display: flex; }
}

@media (max-width: 480px) {
  .navbar-brand-text { display: none; }
}

/* Light Theme */
[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar-overlay { background: rgba(0, 0, 0, 0.25); }
[data-theme="light"] .navbar-drawer { background: rgba(248, 246, 241, 0.96); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08); }


/* ====== THEME TOGGLE ====== */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 14px;
  border: 1.5px solid var(--border-gold);
  background: var(--bg-tertiary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle[data-active="true"] .theme-toggle-thumb {
  transform: translateX(24px);
}

.theme-toggle-icon {
  font-size: 0.7rem;
  color: #000;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(212, 168, 67, 0.045) 0%, transparent 24%),
    linear-gradient(205deg, rgba(255, 255, 255, 0.026) 0%, transparent 34%),
    var(--bg-primary);
  padding: calc(var(--navbar-height) + 2.8rem) 0 3rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, rgba(212, 168, 67, 0.035) 0%, transparent 28%),
    linear-gradient(250deg, rgba(255, 255, 255, 0.025) 0%, transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 30%),
    linear-gradient(to bottom, transparent 70%, var(--bg-primary) 100%);
  pointer-events: none;
}

.hero-gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 14% 7% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.38), transparent);
  opacity: 0.8;
}

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

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-xl);
  max-width: 980px;
  margin-top: 0;
}

.hero-eyebrow {
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

.hero-cover-logo-wrapper {
  position: relative;
  width: min(660px, 86vw);
  height: clamp(170px, 20vw, 235px);
  margin-bottom: var(--space-md);
  padding: 0;
}

.hero-cover-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(212, 168, 67, 0.22));
  transform: translate(-50%, -50%);
}

.hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112%;
  height: 130%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.13), transparent 62%);
  animation: heroPulseGlow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroPulseGlow {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.02); }
}

.hero-title {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.75vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 var(--space-lg);
  color: #d8c892;
  background: linear-gradient(180deg, #f3e7bd 0%, #d4b650 56%, #9d7d28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 8px 18px rgba(212, 168, 67, 0.08));
  opacity: 0.9;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: var(--space-md);
}

.hero-meta span {
  position: relative;
  color: var(--text-secondary);
  padding-left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold);
  transform: translateY(-50%);
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 690px;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  letter-spacing: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta-btn {
  min-width: 180px;
  padding: 0.9rem 1.35rem;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.hero-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: var(--space-lg);
  color: var(--text-tertiary);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-proof-strip span { position: relative; }

.hero-proof-strip span:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.8rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.55);
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--navbar-height) + 2rem); }
  .hero-cover-logo { width: 100%; }
  .hero-cover-logo-wrapper { width: min(460px, 90vw); height: clamp(135px, 38vw, 180px); padding: 0; }
  .hero-description { font-size: 0.95rem; padding: 0; }
  .hero-cta { flex-direction: column; width: 100%; padding: 0 var(--space-md); }
  .hero-cta-btn { width: 100%; }
  .hero-title { font-size: clamp(1.55rem, 7.5vw, 2.25rem); }
  .hero-proof-strip span:not(:last-child)::after { display: none; }
}

[data-theme="light"] .hero-gradient-overlay {
  background:
    linear-gradient(120deg, rgba(184, 146, 46, 0.035) 0%, transparent 30%),
    linear-gradient(250deg, rgba(255, 255, 255, 0.24) 0%, transparent 36%),
    linear-gradient(to bottom, transparent 70%, var(--bg-primary) 100%);
}
[data-theme="light"] .hero-cover-logo { filter: drop-shadow(0 4px 30px rgba(184, 146, 46, 0.15)); }
[data-theme="light"] .hero-logo-glow { background: linear-gradient(120deg, transparent, rgba(184, 146, 46, 0.08), transparent); }
[data-theme="light"] .hero-noise-overlay { opacity: 0.02; }


/* ====== SECTION HEADER ====== */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header.centered { text-align: center; }

.section-header-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  transform-origin: left center;
}

.section-header.centered .section-header-line {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center center;
}

.section-header-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.section-header-title.light {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  color: var(--text-primary);
}

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

.section-header.centered .section-header-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* ====== PRODUCT CARD ====== */
.product-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: default;
}

.product-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.product-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.product-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-placeholder-icon { font-size: 3rem; opacity: 0.3; }

.product-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  background: var(--gradient-gold);
  border-radius: 7px;
  z-index: 2;
}

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

.product-card-content {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.product-card-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-card-description {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price-row {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-primary);
}

.product-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.product-card-action-row {
  padding: 0 var(--space-xl) var(--space-xl);
  margin-top: 16px;
}

.product-card-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent-gold) 60%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.product-card:hover .product-card-border-glow { opacity: 0.5; }

[data-theme="light"] .product-card-image-overlay { background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%); }
[data-theme="light"] .product-card { box-shadow: var(--shadow-sm); }


/* ====== SERVICE CARD (same structure as product card) ====== */
.service-card { position: relative; background: var(--gradient-card); border: 1px solid var(--border-primary); border-radius: 8px; overflow: hidden; transition: all var(--transition-base); cursor: default; }
.service-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.service-card .product-card-image-wrapper { position: relative; width: 100%; height: 220px; overflow: hidden; }
[data-theme="light"] .service-card { box-shadow: var(--shadow-sm); }


/* ====== FEEDBACK CARD ====== */
.feedback-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.feedback-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.feedback-card-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.feedback-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.feedback-card-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-xl);
}

.star-filled { font-size: 0.9rem; color: var(--accent-gold); }
.star-empty { font-size: 0.9rem; color: var(--bg-tertiary); }

.feedback-card-customer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-primary);
}

.feedback-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-subtle);
  flex-shrink: 0;
}

.feedback-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feedback-card-avatar-initial { font-size: 1.1rem; font-weight: 700; color: var(--accent-gold); }
.feedback-card-customer-info { display: flex; flex-direction: column; }
.feedback-card-customer-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.feedback-card-company { font-size: 0.8rem; color: var(--text-tertiary); }

[data-theme="light"] .feedback-card { box-shadow: var(--shadow-sm); }


/* ====== FOOTER ====== */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)),
    var(--bg-secondary);
  padding-top: var(--space-4xl);
}

.footer-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.4;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
}

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

.footer-brand { margin-bottom: var(--space-lg); }

.footer-cover-logo {
  width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(212, 168, 67, 0.16));
}

.footer-description {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-social-links { display: flex; gap: var(--space-sm); }

.footer-social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social-link:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.footer-column-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-divider {
  width: 32px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  margin: var(--space-md) 0 var(--space-lg);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0;
  margin: 0;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.88rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: var(--space-xs) 0;
}

.footer-link:hover {
  color: var(--accent-gold);
  padding-left: var(--space-sm);
}

.footer-link-arrow {
  font-size: 0.75rem;
  color: var(--accent-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer-link:hover .footer-link-arrow { opacity: 1; }

.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-md); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.88rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
  overflow-wrap: anywhere;
}

.footer-contact-item:hover { color: var(--accent-gold); }
.footer-contact-icon { color: var(--accent-gold); font-size: 0.9rem; flex-shrink: 0; }

.footer-bottom-bar {
  margin-top: var(--space-3xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.018);
}

.footer-bottom-bar .footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .footer-column:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-cover-logo { width: 200px; }
  .footer-bottom-bar .footer-container { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

[data-theme="light"] .footer-cover-logo { filter: drop-shadow(0 2px 12px rgba(184, 146, 46, 0.1)); }


/* ====== WHATSAPP BUTTON ====== */
.whatsapp-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
}

.whatsapp-button {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  cursor: pointer;
  flex-shrink: 0;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-icon { position: relative; z-index: 2; font-size: 1.6rem; }

.whatsapp-pulse,
.whatsapp-pulse2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2s ease-out infinite;
}

.whatsapp-pulse2 { animation-delay: 1s; }

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

.whatsapp-tooltip {
  position: relative;
  background: white;
  color: #333;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 220px;
  margin-bottom: var(--space-sm);
  display: none;
}

.whatsapp-tooltip.show { display: block; animation: fadeIn 0.3s ease; }

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid white;
}

.whatsapp-tooltip-text { font-size: 0.85rem; color: #333; line-height: 1.4; margin: 0; padding-right: var(--space-md); }

.whatsapp-tooltip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  font-size: 0.8rem;
}

.whatsapp-tooltip-close:hover { color: #333; }

@media (max-width: 768px) {
  .whatsapp-wrapper { bottom: 20px; right: 20px; }
  .whatsapp-button { width: 54px; height: 54px; }
  .whatsapp-tooltip { display: none !important; }
}


/* ====== CONTACT FORM ====== */
.contact-form { display: flex; flex-direction: column; gap: var(--space-xl); }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-form-field { display: flex; flex-direction: column; }
.contact-form-submit { align-self: flex-start; min-width: 200px; padding: 1rem 2.5rem; font-size: 1rem; }
.contact-form-spinner { width: 20px; height: 20px; border: 2px solid rgba(0, 0, 0, 0.2); border-top-color: #000; border-radius: 50%; animation: spin 0.6s linear infinite; display: inline-block; }

@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form-submit { width: 100%; }
}


/* ====== SCROLL ANIMATIONS ====== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-40px);
}

.animate-on-scroll.from-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(40px);
}

.animate-on-scroll.from-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.95);
}

.animate-on-scroll.scale-in.animated {
  transform: scale(1);
}

/* Staggered delays for grid children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }


/* ====== TOAST NOTIFICATION ====== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 400px;
  animation: toastSlideIn 0.3s ease;
  box-shadow: var(--shadow-md);
}

.toast.success .toast-icon { color: #D4A843; }
.toast.error .toast-icon { color: #ff4444; }
.toast-icon { font-size: 1.1rem; }

.toast.hiding { animation: toastSlideOut 0.3s ease forwards; }

@keyframes toastSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastSlideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
