/* ==========================================================================
   HASNAIN GFX.pk - Official Portfolio Stylesheet
   Pure Modern CSS3 • Mobile-First • High Performance
   Zero external CSS runtime dependencies
   ========================================================================== */

:root {
  /* Color Palette - Midnight Obsidian & Warm Amber Gold */
  --bg-dark: #090b10;
  --bg-surface: #111520;
  --bg-surface-elevated: #181f30;
  --bg-surface-hover: #20293e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.35);
  
  --primary-gold: #f59e0b;
  --primary-gold-light: #fbbf24;
  --primary-gold-dark: #d97706;
  --primary-gold-glow: rgba(245, 158, 11, 0.18);
  
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  
  --text-white: #f8fafc;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 40px -15px rgba(245, 158, 11, 0.2);

  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-slate);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

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

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

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-gold-light) 70%, var(--primary-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-gold);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--primary-gold);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-suffix {
  color: var(--primary-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-slate);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link.active {
  color: var(--primary-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: rgba(9, 11, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer .nav-link {
  font-size: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary-gold);
  color: #0b0d13;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: var(--primary-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-slate);
}

.btn-outline:hover {
  border-color: var(--text-white);
  color: var(--text-white);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-alt {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-slate);
}

.hero-feature-item svg {
  color: var(--primary-gold);
  width: 18px;
  height: 18px;
}

/* Hero Showcase Graphic */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-emerald));
}

.hero-badge-floating {
  position: absolute;
  bottom: 25px;
  right: -15px;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: #0c0f17;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Service Card */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  background: var(--bg-surface-elevated);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary-gold);
  color: #0b0d13;
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-slate);
  margin-bottom: 0.5rem;
}

.service-features li svg {
  color: var(--primary-gold);
  width: 14px;
  height: 14px;
}

/* Portfolio Gallery & Filter UI */
.portfolio-controls {
  margin-bottom: 2.5rem;
}

.portfolio-search-bar {
  max-width: 540px;
  margin: 0 auto 1.75rem auto;
  position: relative;
}

.portfolio-search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem 0.85rem 3rem;
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.portfolio-search-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.25);
}

.portfolio-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--primary-gold);
}

.filter-btn.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #0b0d13;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3);
}

.portfolio-meta-counter {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
}

/* Portfolio Cards */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.project-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #141926;
  overflow: hidden;
}

.project-thumb-wrapper svg,
.project-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb-wrapper svg,
.project-card:hover .project-thumb-wrapper img {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--primary-gold-light);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.project-featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-gold);
  color: #0b0d13;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.project-card:hover .project-info h3 {
  color: var(--primary-gold);
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-slate);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-gold);
}

/* Project Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-gold);
  color: #0b0d13;
  border-color: var(--primary-gold);
}

.modal-body {
  padding: 2.25rem;
}

.modal-visual-hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  background: #141926;
  border: 1px solid var(--border-subtle);
}

.modal-visual-hero svg,
.modal-visual-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: var(--bg-surface-elevated);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-subtle);
}

.modal-meta-item label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.modal-meta-item span {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.process-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Syne', sans-serif;
}

/* Contact System & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-card-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-card-details a {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-card-details a:hover {
  text-decoration: underline;
}

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

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

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-slate);
  margin-bottom: 0.5rem;
}

.form-label span.req {
  color: var(--primary-gold);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #090c12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 16px;
  cursor: pointer;
}

.form-select option {
  background: #111520;
  color: #fff;
}

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

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status.error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Config Notice box */
.config-notice-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.84rem;
  color: var(--text-slate);
  margin-top: 1.25rem;
}

.config-notice-box code {
  color: var(--primary-gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

/* Honeypot field (hidden from humans, catches bots) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--primary-gold);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Social Icon Row */
.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-slate);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #0b0d13;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #06080c;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 404 Page */
.error-section {
  padding: 8rem 0;
  text-align: center;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Syne', sans-serif;
  margin-bottom: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

@media (max-width: 480px) {
  .hero-badge-floating {
    display: none;
  }

  .contact-form-box {
    padding: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* ============================================================================
 * DESIGN GALLERY & LIGHTBOX STYLES
 * ============================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gallery-thumb-container {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f141f;
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumb-container svg,
.gallery-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb-container svg,
.gallery-card:hover .gallery-thumb-container img {
  transform: scale(1.06);
}

.gallery-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: opacity var(--transition-fast);
  z-index: 3;
}

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

.gallery-quick-btn {
  background: var(--primary-gold);
  color: #0b0d13;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition-fast);
}

.gallery-quick-btn:hover {
  transform: scale(1.05);
}

.gallery-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.gallery-category-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.gallery-date {
  font-size: 0.78rem;
  color: var(--text-slate);
  font-weight: 600;
}

.gallery-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.gallery-card:hover .gallery-body h3 {
  color: var(--primary-gold);
}

.gallery-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-footer-info {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gallery-tools-tag {
  font-size: 0.78rem;
  color: var(--text-slate);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-view-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-view-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.08);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.94);
  backdrop-filter: blur(14px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary-gold);
  color: #0b0d13;
  transform: rotate(90deg);
}

.lightbox-stage {
  width: 100%;
  background: #080a10;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.lightbox-stage svg,
.lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-details {
  padding: 2.25rem;
}

.lightbox-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.lightbox-details h2 {
  font-size: 1.85rem;
  margin-top: 0.4rem;
  color: var(--text-white);
}

.lightbox-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.lightbox-meta-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lightbox-meta-item span {
  font-size: 0.92rem;
  color: var(--text-white);
  font-weight: 600;
}

/* Load More Section */
.gallery-load-more-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.whatsapp-floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-floating-tooltip {
  position: absolute;
  right: 70px;
  background: #111827;
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.whatsapp-floating-btn:hover .whatsapp-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* WhatsApp inline CTA pill */
.whatsapp-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.whatsapp-cta-pill:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-floating-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .lightbox-details {
    padding: 1.5rem;
  }
}

