* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #003d7a;
  --secondary-color: #ffc107;
  --accent-blue: #1e88e5;
  --light-bg: #f8f9fa;
  --dark-text: #222;
  --light-text: #666;
  --white: #ffffff;
  --border-radius: 8px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-section {
  text-align: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin: 0;
  padding: 5px 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.tagline {
  font-size: 12px;
  color: #999;
  margin: 3px 0 0 0;
}

.header-icons {
  display: flex;
  gap: 15px;
}

.search-btn,
.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.search-btn:hover,
.menu-btn:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.7);
}

.hero-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.hero-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

.brand-box {
  padding: 20px 28px;
  transform: translateY(-80px);
}

.brand-box h2 {
  font-size: 34px;
}

.brand-box h2::after {
  font-size: 12px;
  letter-spacing: 3px;
}

/* CTA Section */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background-color: var(--accent-blue);
}

.cta-box {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: white;
  display: block;
  cursor: pointer;
}

.cta-box:hover {
  text-decoration: none;
  opacity: 0.9;
}

.cta-box:last-child {
  border-right: none;
}

.cta-box h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
}

.cta-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.cta-link:hover {
  opacity: 0.8;
}

/* About Section */
.about-section {
  padding: 42px 20px;
  background-color: var(--light-bg);
  text-align: center;
}

.about-section h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.about-section p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--light-text);
  max-width: 520px;
  margin: 0 auto 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.stat {
  padding: 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat h3 {
  font-size: 32px;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.stat p {
  font-size: 14px;
  color: var(--light-text);
}

/* Products Section */
.products-section {
  padding: 60px 20px;
}

.products-section h2 {
  text-align: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  background-color: #e0e0e0;
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: white;
}

.tab-button:not(.active):hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-card .features {
  list-style: none;
  margin-bottom: 15px;
}

.product-card .features li {
  font-size: 13px;
  color: var(--light-text);
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.product-card .features li:before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 8px;
}

.price {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.product-btn:hover {
  background-color: #002855;
}

/* Product Detail Layout */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 80px;
}

.gallery-main-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-bg);
  aspect-ratio: 4 / 3;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.gallery-dot.active {
  background: var(--primary-color);
}

/* Product Info */
.product-name {
  font-size: 22px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-subtitle {
  font-size: 15px;
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-tagline {
  font-style: italic;
  color: var(--light-text);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.product-desc {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-variant {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--light-bg);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: inline-block;
}

.product-variant span {
  font-weight: 400;
  color: var(--light-text);
}

.product-cta-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.25s ease;
  margin-bottom: 20px;
}

.product-cta-btn:hover {
  background-color: #002855;
}

.product-highlight {
  background: #e8f4fd;
  border-left: 4px solid var(--accent-blue);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--dark-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.specs-table tr {
  border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 7px 4px;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--light-text);
  width: 45%;
  font-weight: 500;
}

.specs-table td:last-child {
  color: var(--dark-text);
  font-weight: 600;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 2px solid var(--light-bg);
  border-bottom: 2px solid var(--light-bg);
  margin-bottom: 16px;
}

.product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
}

.product-warranty {
  font-size: 13px;
  color: var(--light-text);
  background: var(--light-bg);
  padding: 10px 14px;
  border-radius: 6px;
}

.product-warranty strong {
  color: var(--dark-text);
}

.product-notes {
  margin-bottom: 20px;
}

.product-notes h4 {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.product-notes ul {
  list-style: none;
  padding: 0;
}

.product-notes ul li {
  font-size: 13px;
  color: var(--light-text);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.product-notes ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.products-vat-note {
  text-align: center;
  font-size: 13px;
  color: var(--light-text);
  margin-top: 32px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-gallery {
    position: static;
  }

  .product-name {
    font-size: 18px;
  }

  .product-price {
    font-size: 22px;
  }

  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .product-cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.features-section h2 {
  text-align: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item h3 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--light-text);
  font-size: 14px;
}

/* Quote Form Section */
.quote-section {
  padding: 60px 20px;
  background-color: var(--light-bg);
}

.quote-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.quote-title {
  font-size: 34px;
  font-style: italic;
  font-weight: 800;
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.2;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background-color: #f0f2f5;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  color: var(--dark-text);
  outline: none;
  transition: background-color 0.2s;
  font-family: inherit;
}

.form-group input:focus {
  background-color: #e4e8f0;
}

.form-group input::placeholder {
  color: #aab0bb;
}

.quote-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.25s ease;
  font-family: inherit;
}

.quote-btn:hover {
  background-color: #002855;
}

.quote-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--light-text);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #4caf50;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 20px;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--light-text);
}

.form-error {
  text-align: center;
  padding: 14px 16px;
  background-color: #fff3f3;
  border-radius: 8px;
  margin-top: 12px;
}

.form-error p {
  font-size: 14px;
  color: #c62828;
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
}

.contact-section h2 {
  text-align: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-card {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
}

.contact-card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--light-text);
  font-size: 14px;
  margin: 8px 0;
}

.contact-card a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-cta {
  text-align: center;
}

.cta-button-large {
  display: inline-block;
  background-color: var(--accent-blue);
  color: white;
  padding: 15px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-button-large:hover {
  background-color: #1565c0;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--dark-text);
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }

  .logo {
    font-size: 20px;
    padding: 5px 10px;
  }

  .tagline {
    font-size: 10px;
  }

  .brand-box h2 {
    font-size: 36px;
  }

  .cta-section {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cta-box {
    padding: 10px 4px;
    min-height: 64px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-box:last-child {
    border-right: none;
  }

  .cta-box h3 {
    font-size: 13px;
    line-height: 1.1;
    margin-bottom: 4px;
  }

  .cta-link {
    font-size: 11px;
    line-height: 1.2;
  }

  .quote-card {
    padding: 32px 20px;
  }

  .quote-title {
    font-size: 28px;
  }

  .products-grid,
  .features-list,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }
  .about-section {
    padding: 34px 16px;
  }

  .about-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .about-section p {
    font-size: 13px;
    line-height: 1.4;
    max-width: 95%;
    margin-bottom: 22px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 50vh;
    margin-top: 60px;
  }

  .brand-box {
    padding: 18px 24px;
    transform: translateY(-60px);
  }

  .brand-box h2 {
    font-size: 28px;
  }

  .tab-button {
    font-size: 12px;
    padding: 8px 16px;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .cta-box {
    padding: 8px 3px;
    min-height: 56px;
  }

  .cta-box h3 {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .cta-link {
    font-size: 10px;
  }
}

.site-logo {
  height: 90px;
  width: auto;
  display: block;
}

.logo-section {
  display: flex;
  align-items: center;
}

/* Product Detail Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: var(--white);
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--light-text);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--dark-text);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image-wrap {
  background: var(--light-bg);
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  min-height: 320px;
}

.modal-image-wrap img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 6px;
}

.modal-info {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-info h2 {
  font-size: 22px;
  color: var(--primary-color);
  line-height: 1.3;
  padding-right: 30px;
}

.modal-info p {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.6;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.modal-specs-table tr {
  border-bottom: 1px solid #eee;
}

.modal-specs-table tr:last-child {
  border-bottom: none;
}

.modal-specs-table td {
  padding: 7px 4px;
  vertical-align: top;
}

.modal-specs-table td:first-child {
  color: var(--light-text);
  width: 50%;
  font-weight: 500;
}

.modal-specs-table td:last-child {
  color: var(--dark-text);
  font-weight: 600;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 2px solid var(--light-bg);
  flex-wrap: wrap;
}

.modal-price-tag {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
}

.modal-cta-btn {
  display: inline-block;
  background-color: var(--accent-blue);
  color: white;
  padding: 11px 22px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.modal-cta-btn:hover {
  background-color: #1565c0;
}

@media (max-width: 700px) {
  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image-wrap {
    border-radius: 12px 12px 0 0;
    min-height: 200px;
    padding: 24px;
  }

  .modal-image-wrap img {
    max-height: 200px;
  }

  .modal-info {
    padding: 24px 20px 24px;
  }

  .modal-info h2 {
    font-size: 18px;
  }

  .modal-price-tag {
    font-size: 22px;
  }
}
