/*
Theme Name: Mandate Engineering Theme
Theme URI: https://mandateengineering.co.zw
Author: Engineering Digital Systems
Description: High-end industrial engineering theme optimized for heat transfer, boiler servicing, and custom metal fabrication in Willowvale, Harare.
Version: 2.0.0
Text Domain: mandate-engineering
*/

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════ */
:root {
  /* Brand palette — tuned to Mandate Engineering corporate logo colors */
  --brand-emerald: #2ECC71;
  --brand-emerald-dim: #169653;
  --brand-emerald-light: #76D799;
  --brand-emerald-glow: rgba(46, 204, 113, 0.35);
  --brand-navy-deep: #0A1A33;
  --brand-navy: #112E5A;
  --brand-navy-mid: #1A3A6B;
  --brand-navy-light: #23457E;
  --brand-amber: #FFB300;
  --brand-blue-accent: #629FD8;

  /* Surfaces */
  --surface-glass: rgba(17, 46, 90, 0.65);
  --surface-glass-light: rgba(255, 255, 255, 0.04);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --surface-card: rgba(17, 46, 90, 0.80);
  --surface-card-hover: rgba(26, 58, 107, 0.90);

  /* Text */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;
  --text-dark-secondary: #475569;

  /* Misc */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════════════
   BASE & RESET
   ═══════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background-color: var(--brand-navy-deep);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--brand-emerald);
  color: var(--brand-navy-deep);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--brand-emerald-glow), 0 0 60px rgba(46, 204, 113, 0.1); }
  50%      { box-shadow: 0 0 30px var(--brand-emerald-glow), 0 0 80px rgba(46, 204, 113, 0.2); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(46, 204, 113, 0.3); }
  50%      { border-color: rgba(46, 204, 113, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(15px) rotate(-2deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes counterSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes blueprintPan {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

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

@keyframes revealLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Scroll-triggered animation base class.
   Content is only hidden when JS is active (.js flag added in header);
   if JS fails, everything stays visible. */
.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

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

/* ═══════════════════════════════════════════════════════
   BLUEPRINT GRID PATTERN (SVG background)
   ═══════════════════════════════════════════════════════ */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(46, 204, 113, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 204, 113, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: blueprintPan 20s linear infinite;
}

.blueprint-grid-dark {
  background-image:
    linear-gradient(rgba(46, 204, 113, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 204, 113, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  transition: all 0.4s var(--transition-smooth);
  background: transparent;
  padding-top: 1.5rem !important;
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 1rem !important;
  }
}

body:not(.home) .site-header,
.site-header.is-scrolled {
  background: rgba(10, 26, 51, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(46, 204, 113, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
  padding-top: 0.875rem !important;
  padding-bottom: 0.875rem !important;
}

/* Navigation links */
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a,
.primary-menu li > a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--transition-smooth);
  position: relative;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-emerald);
  transition: all 0.3s var(--transition-smooth);
  transform: translateX(-50%);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: #FFFFFF;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
  width: 60%;
}

/* The Capabilities dropdown is nested inside .primary-menu, so exclude its
   links from the main-menu underline effect. */
.primary-menu .services-submenu a::after {
  content: none;
}

/* Logo glow */
.logo-link:hover .logo-svg {
  filter: drop-shadow(0 0 12px var(--brand-emerald-glow));
  transition: filter 0.3s ease;
}

.logo-svg {
  transition: filter 0.3s ease;
}

/* ═══════════════════════════════════════════════════════
   CAPABILITIES DROPDOWN
   ═══════════════════════════════════════════════════════ */
.services-menu {
  position: relative;
}

.services-menu-trigger {
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: transparent;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.services-menu-trigger:hover,
.services-menu:focus-within .services-menu-trigger {
  color: #FFFFFF;
}

.services-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  width: 18rem;
  padding: 0.5rem;
  background: rgba(17, 46, 90, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(46, 204, 113, 0.2);
  z-index: 60;
}

/* Invisible bridge so the hover state is not lost while moving
   from the trigger into the submenu. */
.services-submenu::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: -1rem;
  right: -1rem;
  height: 0.75rem;
}

.services-menu:hover .services-submenu,
.services-menu:focus-within .services-submenu {
  display: block;
  animation: fadeUp 0.2s ease;
}

.services-submenu a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.services-submenu a:hover {
  color: #FFFFFF;
  background: rgba(46, 204, 113, 0.08);
}

/* ═══════════════════════════════════════════════════════
   MOBILE HAMBURGER MENU
   ═══════════════════════════════════════════════════════ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: all 0.25s ease;
  z-index: 70;
}

.hamburger-btn:hover {
  border-color: var(--brand-emerald);
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--transition-smooth);
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 340px);
  z-index: 55;
  background: rgba(10, 26, 51, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  will-change: transform;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer.is-dragging {
  user-select: none;
  -webkit-user-select: none;
}

.mobile-drawer.is-open {
  display: flex;
  animation: slideInRight 0.3s var(--transition-smooth);
}

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

.mobile-drawer a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-drawer a:hover {
  color: #FFFFFF;
  background: rgba(46, 204, 113, 0.06);
  border-left-color: var(--brand-emerald);
}

.mobile-drawer a:active {
  transform: scale(0.98);
}

.mobile-drawer .mobile-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.mobile-drawer .capabilities-block {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  margin: 0.5rem -0.75rem 0.25rem;
  padding: 0.25rem 0.5rem;
}

.mobile-drawer .capabilities-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.25rem;
  color: var(--brand-emerald);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-drawer .capabilities-toggle:hover {
  color: #FFFFFF;
}

.capabilities-chevron {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s var(--transition-smooth);
}

.capabilities-toggle[aria-expanded="true"] .capabilities-chevron {
  transform: rotate(180deg);
}

.mobile-capabilities-links {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0.25rem 0 0.35rem 1.5rem;
  padding-left: 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: grid-template-rows 0.35s var(--transition-smooth);
}

.mobile-capabilities-links > a {
  overflow: hidden;
  min-height: 0;
  padding: 0.7rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(226, 232, 240, 0.72);
  border-left: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.3s var(--transition-smooth);
}

.mobile-capabilities-links > a:hover {
  color: #FFFFFF;
  background: transparent;
  border-left: none;
  text-shadow: 0 0 12px rgba(46, 204, 113, 0.45);
}

.mobile-capabilities-links.is-open {
  grid-template-rows: 1fr;
}

.mobile-capabilities-links.is-open > a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-capabilities-links.is-open > a:nth-child(2) {
  transition-delay: 0.05s;
}
.mobile-capabilities-links.is-open > a:nth-child(3) {
  transition-delay: 0.1s;
}
.mobile-capabilities-links.is-open > a:nth-child(4) {
  transition-delay: 0.15s;
}

@media (max-width: 1023px) {
  .hamburger-btn { display: flex; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-drawer {
    width: min(70vw, 420px);
    padding-top: 7rem;
  }
}

/* Drawer is hidden by default on all sizes and only opened via JS,
   so no extra media query is needed for it here. */

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero-section {
  overflow: hidden;
  isolation: isolate;
  position: relative;
}

/* Floating geometric shapes */
.hero-geo-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
}

.hero-geo-shape--1 {
  top: 15%;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 2px solid var(--brand-emerald);
  transform: rotate(45deg);
  animation: float 8s ease-in-out infinite;
}

.hero-geo-shape--2 {
  bottom: 20%;
  right: 15%;
  width: 80px;
  height: 80px;
  border: 2px solid var(--brand-amber);
  border-radius: 50%;
  animation: floatReverse 10s ease-in-out infinite;
}

.hero-geo-shape--3 {
  top: 30%;
  left: 5%;
  width: 60px;
  height: 60px;
  border: 1px solid var(--brand-emerald);
  animation: spinSlow 30s linear infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -12vw -22vw auto;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(46, 204, 113, 0.12);
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-family: 'Outfit', monospace;
  animation: fadeUp 0.8s var(--transition-smooth) 0.2s both;
}

.hero-title {
  max-width: 900px;
  font-size: clamp(2.5rem, 7.5vw, 4.5rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
  animation: fadeUp 0.8s var(--transition-smooth) 0.4s both;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(4.5rem, 8vw, 8rem);
  }
}

.hero-copy {
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  animation: fadeUp 0.8s var(--transition-smooth) 0.6s both;
}

.hero-actions {
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--transition-smooth) 0.8s both;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.button-primary {
  position: relative;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 0 20px var(--brand-emerald-glow), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--brand-emerald-glow), 0 12px 35px rgba(0, 0, 0, 0.4);
}

.button-primary:hover::before {
  opacity: 1;
}

.button-secondary {
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid rgba(46, 204, 113, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.button-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--brand-emerald);
  background-color: rgba(46, 204, 113, 0.08) !important;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.15), 0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--brand-emerald-glow), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════════════════ */

/* Section counter / marker */
.section-marker {
  font-family: 'Outfit', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-marker::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--brand-emerald);
}

/* Accent line (animated reveal) */
.accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-emerald-dim), transparent);
  transform-origin: left;
  border-radius: 2px;
}

.accent-line.animate-on-scroll.is-visible {
  animation: revealLine 0.8s var(--transition-smooth) forwards;
}

/* Angled section divider */
.section-divider-top {
  position: relative;
}

.section-divider-top::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--brand-navy-deep);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   TRUST / "WHY CHOOSE US" SECTION
   ═══════════════════════════════════════════════════════ */
.trust-section {
  position: relative;
  background: var(--brand-navy);
}

.value-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.35s var(--transition-smooth);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-emerald), transparent);
  transform: scaleY(0.3);
  transform-origin: bottom;
  transition: transform 0.4s var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(46, 204, 113, 0.05);
}

.value-card:hover::before {
  transform: scaleY(1);
}

.value-card-number {
  font-family: 'Outfit', monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-emerald);
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.15);
}

/* ═══════════════════════════════════════════════════════
   SERVICES / CAPABILITIES SECTION
   ═══════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  background: var(--brand-navy-deep);
}

.service-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.35s var(--transition-smooth);
  scroll-margin-top: 7rem;
  text-decoration: none;
  color: inherit;
}

a.service-card {
  display: block;
  color: inherit;
}

a.service-card:hover {
  text-decoration: none;
  color: inherit;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition-smooth);
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.service-card li {
  color: var(--text-secondary);
}

.service-card li::marker {
  color: var(--brand-emerald);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 204, 113, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 20px rgba(46, 204, 113, 0.05);
}

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

/* ═══════════════════════════════════════════════════════
   CLIENTS & TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════ */
.clients-section {
  position: relative;
  background: var(--brand-navy);
}

/* ═══════════════════════════════════════════════════════
   WORKSHOP / GALLERY SECTION
   ═══════════════════════════════════════════════════════ */
.workshop-section {
  position: relative;
  background: var(--brand-navy);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(46, 204, 113, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.gallery-card img {
  transition: transform 0.6s var(--transition-smooth), filter 0.4s ease;
}

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

.gallery-card-overlay {
  background: linear-gradient(to top, rgba(10, 26, 51, 0.85) 0%, rgba(10, 26, 51, 0.4) 40%, transparent 100%);
}

/* "View more" expander for gallery grids */
.gallery-grid {
  scroll-margin-top: 7rem;
}

.gallery-more-btn {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.08);
  color: var(--brand-emerald);
  border-radius: 999px;
  padding: 0.65rem 1.75rem 0.65rem 0.65rem;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.gallery-more-btn:hover {
  background: rgba(46, 204, 113, 0.16);
  border-color: var(--brand-emerald);
  box-shadow: 0 0 24px var(--brand-emerald-glow), 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.gallery-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-emerald);
  color: var(--brand-navy-deep);
  flex-shrink: 0;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.3s ease;
}

.gallery-more-btn:hover .gallery-more-icon {
  box-shadow: 0 0 18px var(--brand-emerald-glow);
}

.gallery-more-svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.4s var(--transition-smooth);
}

.gallery-more-btn[aria-expanded="true"] .gallery-more-icon {
  transform: rotate(180deg);
}

.gallery-more-btn[aria-expanded="true"] .gallery-more-svg {
  transform: rotate(45deg);
}

.gallery-card.is-hidden {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   PAGE HERO (Contact, Projects, etc.)
   ═══════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 50%, var(--brand-navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 204, 113, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 204, 113, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(46, 204, 113, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════ */
.contact-form-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form-card label {
  color: var(--text-secondary);
}

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

.contact-form-card input[aria-invalid="true"],
.contact-form-card textarea[aria-invalid="true"] {
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.15);
}

.form-error {
  color: var(--brand-amber);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.375rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--brand-navy-mid) 0%, var(--brand-navy-light) 100%);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), transparent);
}

/* ═══════════════════════════════════════════════════════
   PROJECT CARDS (Projects page, Archive)
   ═══════════════════════════════════════════════════════ */
.project-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 204, 113, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Project filter tabs */
.project-tab {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--surface-glass-border);
  background: var(--surface-glass);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  cursor: pointer;
}

.project-tab:hover {
  border-color: rgba(46, 204, 113, 0.3);
  color: var(--text-primary);
}

.project-tab.is-active,
.project-tab[data-active="true"] {
  background: var(--brand-emerald) !important;
  color: var(--brand-navy-deep) !important;
  border-color: var(--brand-emerald) !important;
  box-shadow: 0 0 16px var(--brand-emerald-glow);
}

/* ═══════════════════════════════════════════════════════
   BLOG INDEX
   ═══════════════════════════════════════════════════════ */
.blog-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 204, 113, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, #0D1F3F 40%, #0B1A33 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-emerald), rgba(46, 204, 113, 0.2), transparent) 1;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 204, 113, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 204, 113, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.site-footer h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--brand-emerald);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════════════════════
   SINGLE PROJECT PAGE
   ═══════════════════════════════════════════════════════ */
.single-project-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-glass-border);
}

/* Prose styling for dark backgrounds */
.prose-dark {
  color: var(--text-secondary);
}

.prose-dark h1,
.prose-dark h2,
.prose-dark h3,
.prose-dark h4 {
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.prose-dark a {
  color: var(--brand-emerald);
}

.prose-dark strong {
  color: var(--text-primary);
}

.prose-dark blockquote {
  border-left-color: var(--brand-emerald);
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   FLASH / ALERT MESSAGES
   ═══════════════════════════════════════════════════════ */
.alert-success {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
  color: var(--brand-emerald);
  border-radius: var(--radius-md);
}

.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #F87171;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════ */
.empty-state {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════
   UTILITY OVERRIDES (Button hover global)
   ═══════════════════════════════════════════════════════ */
button:hover,
.btn-primary:hover {
  transition: all 0.25s var(--transition-smooth);
}

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

::-webkit-scrollbar-track {
  background: var(--brand-navy-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-navy-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-emerald-dim);
}


/* ═══════════════════════════════════════════════════════
   CLIENTS LOGO SLIDER
   ═══════════════════════════════════════════════════════ */
.clients-slider {
  position: relative;
  padding: 0 3.5rem;
}

.clients-slider-viewport {
  overflow: hidden;
}

.clients-slider-track {
  display: flex;
  align-items: center;
  transition: transform 0.6s var(--transition-smooth);
}

.clients-slide {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 0.75rem;
  box-sizing: border-box;
}

.clients-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  padding: 0 1rem;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  opacity: 0.8;
  filter: grayscale(50%);
  transition: opacity 0.3s var(--transition-smooth), filter 0.3s var(--transition-smooth),
    border-color 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.clients-slide-inner:hover {
  opacity: 1;
  filter: grayscale(0%);
  border-color: rgba(46, 204, 113, 0.25);
  transform: translateY(-3px);
}

.clients-slide-inner img {
  max-height: 3.5rem;
}

.clients-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  color: var(--brand-emerald);
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s var(--transition-smooth), border-color 0.25s var(--transition-smooth),
    color 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth);
}

.clients-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.clients-nav:hover {
  background: var(--brand-emerald);
  border-color: var(--brand-emerald);
  color: var(--brand-navy-deep);
}

.clients-nav-prev {
  left: 0;
}

.clients-nav-next {
  right: 0;
}

.clients-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.clients-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--transition-smooth), width 0.3s var(--transition-smooth);
}

.clients-dot.is-active {
  width: 1.5rem;
  background: var(--brand-emerald);
}

@media (max-width: 767px) {
  .clients-slider {
    padding: 0 2.75rem;
  }
  .clients-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .clients-slide-inner {
    height: 5rem;
  }
  .clients-slide-inner img {
    max-height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .clients-slide {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-slider-track {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP CHAT WIDGET
   ═══════════════════════════════════════════════════════ */
.whatsapp-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
}

.whatsapp-popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 20rem;
  max-width: calc(100vw - 2.5rem);
  background: #fff;
  color: #111827;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.whatsapp-popup.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #075E54;
  color: #fff;
}

.whatsapp-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-avatar svg {
  width: 1.5rem;
  height: 1.5rem;
}

.whatsapp-popup-info {
  flex: 1;
  min-width: 0;
}

.whatsapp-popup-name {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
}

.whatsapp-popup-status {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.125rem;
}

.whatsapp-popup-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--transition-smooth);
}

.whatsapp-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.whatsapp-popup-close svg {
  width: 1rem;
  height: 1rem;
}

.whatsapp-popup-body {
  padding: 1rem;
  background: #E5DDD5;
}

.whatsapp-bubble {
  background: #fff;
  border-radius: 0.625rem;
  border-top-left-radius: 0.125rem;
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  margin-bottom: 0.875rem;
}

.whatsapp-bubble p + p {
  margin-top: 0.375rem;
}

.whatsapp-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth);
}

.whatsapp-chat-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.whatsapp-chat-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.whatsapp-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  border: none;
  background: #25D366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: background 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
}

.whatsapp-fab:hover {
  background: #1EBE5D;
  transform: scale(1.05);
}

.whatsapp-fab svg {
  width: 2rem;
  height: 2rem;
}

.whatsapp-fab .whatsapp-fab-close {
  display: none;
}

.whatsapp-fab.is-open {
  background: #075E54;
  box-shadow: 0 8px 24px rgba(7, 94, 84, 0.45);
}

.whatsapp-fab.is-open .whatsapp-fab-icon {
  display: none;
}

.whatsapp-fab.is-open .whatsapp-fab-close {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-popup {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   IMAGE VIEWER LIGHTBOX
   ═══════════════════════════════════════════════════════ */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  background: rgba(5, 12, 25, 0.97);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-viewer.is-open {
  display: flex;
  opacity: 1;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
}

.image-viewer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.image-viewer-toolbar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  flex-shrink: 0;
}

.image-viewer-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 1.25rem 0.5rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--transition-smooth),
              border-color 0.25s var(--transition-smooth),
              transform 0.25s var(--transition-smooth);
}

.image-viewer-exit:hover,
.image-viewer-exit:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-emerald);
  outline: none;
  transform: translateY(-1px);
}

.image-viewer-exit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-emerald);
  color: var(--brand-navy-deep);
}

.image-viewer-exit-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.image-viewer-figure {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.image-viewer-img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-viewer-caption {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  max-width: 92vw;
  margin: 0;
}

@media (min-width: 768px) {
  .image-viewer-panel {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-viewer {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   DOCUMENT VIEWER (legal PDFs)
   ═══════════════════════════════════════════════════════ */
.doc-viewer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  background: rgba(5, 12, 25, 0.97);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.doc-viewer.is-open {
  display: flex;
  opacity: 1;
}

.doc-viewer-backdrop {
  position: absolute;
  inset: 0;
}

.doc-viewer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.doc-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 0.75rem;
}

.doc-viewer-title {
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.doc-viewer-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 1.25rem 0.5rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--transition-smooth),
              border-color 0.25s var(--transition-smooth),
              transform 0.25s var(--transition-smooth);
}

.doc-viewer-exit:hover,
.doc-viewer-exit:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--brand-emerald);
  outline: none;
  transform: translateY(-1px);
}

.doc-viewer-exit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-emerald);
  color: var(--brand-navy-deep);
}

.doc-viewer-exit-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.doc-viewer-frame {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  background: #FFFFFF;
}

@media (min-width: 768px) {
  .doc-viewer-panel {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doc-viewer {
    transition: none;
  }
}
