/* ==========================================================================
   HGMA WULF GMBH - PARTNER SITE STYLES
   Corporate industrial styling matching hgma-wulf.de
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --accent: #d08600;
  --accent-hover: #ff8416;
  --accent-light: #fef5e7;
  --accent-dark: #b37300;
  
  --dark-primary: #303036;
  --dark-header: #424242;
  --dark-text: #212529;
  --dark-subtext: #4c4c4c;
  
  --bg-light: #f3f7f9;
  --bg-card: #ffffff;
  --bg-footer: #0c081d;
  --bg-footer-dark: #050210;
  
  --border-light: #e9eef2;
  --border-dark: #262438;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
  
  --font-heading: 'Oswald', 'PT Sans Caption', sans-serif;
  --font-sub: 'PT Sans Caption', sans-serif;
  --font-body: 'PT Sans', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utility */
.font-heading { font-family: var(--font-heading); }
.font-sub { font-family: var(--font-sub); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

/* Signature sliding gradient button — Gray-Orange corporate style */
.btn-hgma {
  background-color: #424242;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 3px 10px rgba(66, 66, 66, 0.25);
}

.btn-hgma::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, #424242 0%, #f97316 50%, #424242 100%);
  transition: transform 0.45s ease;
  z-index: 1;
}

.btn-hgma:hover::before {
  transform: translateX(-50%);
}

.btn-hgma:hover {
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.38);
}

.btn-hgma span {
  position: relative;
  z-index: 2;
}

.btn-gold {
  background: linear-gradient(135deg, #4b5563 0%, #f97316 65%, #ea580c 100%);
  background-size: 160% 160%;
  background-position: left center;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.28);
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.42);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: #ffffff;
  color: #424242;
  border: 2px solid #f97316;
}
.btn-outline-gold:hover {
  background: linear-gradient(90deg, #424242 0%, #f97316 100%);
  border-color: #ea580c;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.32);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.header-top {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--dark-subtext);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item strong {
  color: var(--dark-primary);
  font-weight: 600;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(208, 134, 0, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Navigation Header */
.header-main {
  background-color: #ffffff;
  padding: 16px 0;
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Footer logo — white version via CSS filter */
.logo-white-footer {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* Nav Menu Bar */
.nav-bar {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark-header);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  opacity: 0;
  transform: translateY(2px);
  transition: var(--transition);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: var(--accent);
  background-color: rgba(208, 134, 0, 0.05);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap input {
  padding: 8px 12px 8px 36px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 13.5px;
  width: 190px;
  transition: var(--transition);
  outline: none;
}

.search-input-wrap input:focus {
  width: 240px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(208, 134, 0, 0.15);
}

.search-icon {
  position: absolute;
  left: 10px;
  color: #9ca3af;
  pointer-events: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-header);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(12, 8, 29, 0.88) 0%, rgba(48, 48, 54, 0.82) 100%),
              url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 85px 0 95px 0;
  border-bottom: 4px solid var(--accent);
}

.hero-content {
  max-width: 820px;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(208, 134, 0, 0.2);
  border: 1px solid var(--accent);
  color: #ffb84d;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

.hero-description {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 34px;
  max-width: 720px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: #cbd5e1;
}

/* ==========================================================================
   Visa & Inspection Highlight Bar
   ========================================================================== */
.visa-banner {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-left: 6px solid var(--accent);
  border-radius: 6px;
  padding: 24px 30px;
  margin: -40px auto 40px auto;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.visa-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 800px;
}

.visa-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(208, 134, 0, 0.3);
}

.visa-text h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.visa-text p {
  font-size: 14.5px;
  color: var(--dark-subtext);
}

/* ==========================================================================
   Catalog & Filter Section
   ========================================================================== */
.section {
  padding: 60px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--dark-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--dark-subtext);
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}

/* Filter Controls */
.catalog-controls {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1.5px solid #d1d5db;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: #f97316;
  color: #ea580c;
  background: #fff7ed;
}

.pill-btn.active {
  background: linear-gradient(90deg, #424242 0%, #f97316 100%);
  border-color: transparent;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.32);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(208, 134, 0, 0.4);
}

.product-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.badge-article {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark-header);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--accent);
}

.badge-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-specs {
  margin: 12px 0 18px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  padding: 10px 0;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-name {
  color: #6b7280;
}

.spec-val {
  font-weight: 600;
  color: var(--dark-primary);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Partnership & About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.feature-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--dark-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.feature-box p {
  font-size: 13.5px;
  color: var(--dark-subtext);
}

.requisites-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.requisites-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #424242 0%, #d08600 100%);
  border-radius: 8px 8px 0 0;
}

.req-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.req-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.req-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}

.req-item dt {
  color: #6b7280;
  font-weight: 600;
}

.req-item dd {
  font-weight: 600;
  color: var(--dark-primary);
}

/* Timeline Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: 6px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-header);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border: 2px solid var(--accent);
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step-card p {
  font-size: 13.5px;
  color: var(--dark-subtext);
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 35px;
  max-width: 900px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14.5px;
  color: var(--dark-text);
  outline: none;
  transition: var(--transition);
  background-color: #ffffff;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(208, 134, 0, 0.15);
}

.calc-result-box {
  background: var(--bg-light);
  border: 2px dashed var(--accent);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 4px;
}

.calc-summary-item strong {
  color: var(--accent);
}

/* ==========================================================================
   Partners & Exhibitions
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.partner-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  transition: var(--transition);
}

.partner-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--dark-primary);
  margin-bottom: 6px;
}

.partner-item p {
  font-size: 13px;
  color: var(--dark-subtext);
}

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.exhibit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 20px;
  border-top: 3px solid var(--accent);
}

.exhibit-year {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.exhibit-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-primary);
  margin-bottom: 6px;
}

.exhibit-desc {
  font-size: 13.5px;
  color: var(--dark-subtext);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: #bbbbbb;
  padding-top: 70px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #bbbbbb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}

.footer-contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contacts-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  background-color: var(--bg-footer-dark);
  padding: 22px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 8, 29, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-lg {
  max-width: 800px;
}

.modal-header {
  padding: 24px 30px 16px 30px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--dark-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  padding: 24px 30px 30px 30px;
}

/* Toast Alert */
.toast-notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #10b981;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .mobile-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 20px 20px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 1001;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
    height: auto;
  }
  
  .nav-link {
    height: 48px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .hero-title { font-size: 30px; }
  .hero-description { font-size: 15.5px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .visa-banner { flex-direction: column; align-items: flex-start; }
}
