:root {
  --primary: #0a3b92;
  --primary-dark: #062f74;
  --primary-soft: #e9f3ff;
  --accent: #1ca8ff;
  --accent-green: #78d640;
  --text: #15325f;
  --muted: #4f6690;
  --light-bg: #eef4fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: #f4f8fc;
}

a[href^="mailto:"]:not(.btn-primary),
a[href^="mailto:"]:not(.btn-primary):visited,
a[href^="mailto:"]:not(.btn-primary):hover,
a[href^="mailto:"]:not(.btn-primary):active {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-top {
  background: linear-gradient(90deg, #0a4a9d, #0a3b92);
  color: #e6f1ff;
  font-size: 0.86rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 0.35rem 1.2rem;
  border-bottom: 1px solid rgba(138, 183, 255, 0.35);
}

.contact-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  vertical-align: -0.1em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0e4ba9, #0a3784);
  box-shadow: 0 8px 20px rgba(0, 30, 79, 0.18);
}

nav {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0rem;
}

.logo-icon {
  height: 72px;
}

.logo-text {
  color: #fff;
  font-size: 2.1rem;
  letter-spacing: 0.5px;
  font-weight: 800;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: #7fe3ff;
  border-bottom-color: var(--accent-green);
}

.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  margin-top: -1px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 57, 128, 0.72), rgba(6, 57, 148, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 6.5rem;
}

.hero:not(.hero-home) .hero-content {
  padding-top: 4.6rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 4px 16px rgba(1, 24, 71, 0.5);
}

.hero p {
  margin: 0 0 1.8rem;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
}

.btn-primary {
  display: inline-block;
  border: 0;
  background: linear-gradient(180deg, #1d79d2, #1459ac);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.features-strip {
  margin-top: -20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background:
    linear-gradient(180deg, rgba(232, 243, 255, 0.95), rgba(214, 230, 248, 0.95)),
    radial-gradient(circle at 10% 50%, rgba(140, 193, 242, 0.28), transparent 45%),
    radial-gradient(circle at 90% 50%, rgba(125, 176, 236, 0.3), transparent 42%);
  backdrop-filter: blur(1px);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(6, 52, 111, 0.15);
  overflow: hidden;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.3rem;
  text-align: left;
  border-right: 1px solid rgba(24, 92, 165, 0.15);
}

.feature-item > div {
  width: 100%;
}

.feature-item:last-child {
  border-right: 0;
}

.feature-item i {
  color: #2f8be0;
  font-size: 1.9rem;
  margin-top: 0.1rem;
}

.feature-item .section-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}

.feature-item h3 {
  margin: 0 0 0.2rem;
  color: #0d4f9b;
  font-size: 1.7rem;
}

.feature-item p {
  margin: 0.2rem 0 0;
  color: #355485;
}

main section {
  padding: 2.8rem 0;
}

.about-section h2 {
  font-size: 3.1rem;
  margin: 0;
  color: #0d4f9b;
}

.about-section h3 {
  margin-top: 0.4rem;
  color: #1a4f91;
  font-size: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.about-grid p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.section-image {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(9, 46, 97, 0.15);
}

.offer-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.offer-panel {
  position: relative;
  min-height: 320px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.offer-panel.products {
  background-image: url('images/hydro.jpg');
}

.offer-panel.services {
  background-image: url('images/aseri.jpg');
}

.offer-panel .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 54, 117, 0.82), rgba(8, 77, 175, 0.3));
}

.panel-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1.5rem;
}

.panel-content h3 {
  margin-top: 0;
  font-size: 2rem;
}

.panel-content ul {
  padding-left: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.logistics-contact {
  background:
    linear-gradient(180deg, #e7f2ff, #eef5fc),
    radial-gradient(circle at 50% 100%, rgba(133, 188, 241, 0.26), transparent 50%);
}

.logistics-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1.2rem;
}

.logistics-box {
  background: linear-gradient(120deg, rgba(7, 56, 122, 0.82), rgba(17, 108, 191, 0.55)), url('images/hero_plant.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 1.5rem;
  min-height: 350px;
}

.logistics-box h3 {
  color: #ffffff;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 10px rgba(2, 20, 45, 0.45);
}

.logistics-box p {
  max-width: 560px;
  font-size: 1.2rem;
  color: #eaf3ff;
  text-shadow: 0 1px 8px rgba(2, 20, 45, 0.35);
}

.logistics-box .bulleted-list {
  margin-top: 1rem;
  background: rgba(2, 30, 78, 0.42);
  border: 1px solid rgba(173, 213, 255, 0.28);
  border-radius: 8px;
  padding: 0.85rem 1.2rem 0.85rem 2rem;
}

.logistics-box .bulleted-list li {
  color: #f2f8ff;
  text-shadow: 0 1px 8px rgba(2, 20, 45, 0.45);
  margin-bottom: 0.25rem;
}

.contact-card {
  background: rgba(233, 242, 252, 0.95);
  border: 1px solid rgba(13, 71, 145, 0.15);
  border-radius: 10px;
  padding: 1.2rem;
}

.contact-card h3 {
  margin-top: 0;
  color: #1256a0;
  font-size: 1.9rem;
}


.footer-bar {
  background: linear-gradient(90deg, #0a4a9d, #08306f);
  color: #deebff;
  text-align: center;
  font-size: 0.95rem;
  padding: 1rem 0;
}

/* Generic styles for inner pages */
section {
  padding: 3rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: #fdfefe;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(8, 45, 95, 0.08);
  border: 1px solid rgba(13, 71, 145, 0.08);
}

@media (max-width: 992px) {
  .features-strip,
  .offer-panels,
  .logistics-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
    gap: 0.7rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    padding-top: 6rem;
  }

  .hero:not(.hero-home) .hero-content {
    padding-top: 4.4rem;
  }

  .about-section h2 {
    font-size: 2.4rem;
  }

  .about-section h3,
  .panel-content h3,
  .logistics-box h3,
  .contact-card h3 {
    font-size: 1.7rem;
  }
}

.section-title {
  margin-top: 0;
  color: #0d4f9b;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 129, 208, 0.45), rgba(56, 129, 208, 0.05));
  flex: 1;
}

.card h3 {
  margin-top: 0;
  color: #0d4f9b;
}

.title-with-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
}

.title-with-icon .section-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}

.card p {
  line-height: 1.6;
}

.bulleted-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
  align-items: center;
}


@media (max-width: 992px) {
  .project-layout {
    grid-template-columns: 1fr;
  }
}
