:root {
  --primary: #0f6c8b;
  --primary-dark: #0a4e69;
  --accent: #2bb6a8;
  --accent-soft: #e8f7f5;
  --text: #16313d;
  --muted: #5f7580;
  --surface: #ffffff;
  --border: #dbe8ed;
  --background: #f5fbfc;
  --shadow: 0 12px 35px rgba(15, 108, 139, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f8fcfd 0%, #f2f8fb 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--accent-soft);
}
nav ul {
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
nav a {
  color: var(--muted);
  font-weight: 600;
}
nav a:hover,
nav a.active { color: var(--primary); }
.hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(130deg, #f7fdff 0%, #e8f7f7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}
.hero p { font-size: 1.05rem; color: var(--muted); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}
.hero-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 1.5rem;
}
.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.section {
  padding: 2.4rem 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 0.8rem;
}
.section-title h2 { margin: 0; color: var(--primary-dark); }
.brand-subtitle { color: var(--muted); font-weight: 600; }
.section-copy { color: var(--muted); }
.hero-badge { margin-top: 1rem; }
.panel-title { margin: 0; }
.panel-pad { padding: 1rem; }
.summary-note { margin-top: .6rem; color: var(--muted); }
.summary-total-gap { margin-top: 1rem; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info-card {
  padding: 1.1rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
}
.info-card span { display: block; color: var(--muted); font-size: .95rem; }
.info-card strong { font-size: 1.3rem; color: var(--primary-dark); }
.products-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 1.2rem;
  align-items: start;
}
.search-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(8, 23, 31, 0.05);
}
.product-card h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--primary-dark); }
.product-meta { color: var(--muted); font-size: .92rem; margin-bottom: .75rem; }
.price { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.price strong { color: var(--primary); font-size: 1.1rem; }
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .7rem;
}
.qty-row input {
  width: 72px;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.order-summary {
  position: sticky;
  top: 90px;
  padding: 1rem;
}
.summary-list { display: flex; flex-direction: column; gap: .75rem; margin: 1rem 0; }
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
}
.summary-item strong { color: var(--primary-dark); }
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary-dark);
}
.quote-card,
.message {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--accent-soft);
  border: 1px solid #c8ece7;
  border-radius: 16px;
}
.hidden { display: none; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
  font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.orders-table th,
.orders-table td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.orders-table tbody tr:nth-child(even) {
  background: #f8fcfd;
}
.orders-table th { color: var(--primary-dark); }
.order-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.order-actions button {
  border: none;
  background: var(--accent-soft);
  color: var(--primary-dark);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.contact-shell { display: grid; gap: 1rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form {
  padding: 1rem;
}
.about-card {
  padding: 1.4rem;
}
.about-content p { color: var(--muted); }
.footer {
  margin-top: 2rem;
  padding: 2rem 0 1.6rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(245,251,252,0.98) 100%);
}
.footer-stack {
  display: grid;
  gap: .95rem;
  text-align: center;
}
.footer-brand,
.footer-links,
.footer-socials,
.footer-contact-list,
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .65rem .95rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(8, 23, 31, 0.04);
}
.footer-brand {
  flex-direction: column;
  padding: 1rem 1.2rem;
}
.footer-brand strong {
  color: var(--primary-dark);
  font-size: 1rem;
}
.footer-brand span {
  color: var(--muted);
  font-size: .95rem;
}
.footer-links,
.footer-socials,
.footer-contact-list {
  padding: .85rem 1rem;
}
.footer-links a,
.footer-socials a,
.footer-contact-list a,
.footer-contact-list span {
  color: var(--muted);
  font-weight: 600;
  padding: .35rem .6rem;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.footer-links a:hover,
.footer-socials a:hover,
.footer-contact-list a:hover {
  color: var(--primary);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.footer-copyright {
  padding: .8rem 1rem;
  font-size: .95rem;
  color: var(--primary-dark);
  border-style: dashed;
}

.contact-map {
  min-height: 260px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dceff2 0%, #eff9fc 100%);
  border: 1px dashed var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 1rem;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: .85rem;
}
@media (max-width: 920px) {
  .hero-grid,
  .products-shell,
  .info-grid,
  .form-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav ul { flex-wrap: wrap; }
  .hero { padding-top: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section-title { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .orders-table th,
  .orders-table td { padding: 0.6rem; font-size: .95rem; }
  .footer-links,
  .footer-socials,
  .footer-contact-list {
    flex-direction: column;
    gap: .5rem;
  }
}
