:root {
  --brand-dark: #06253b;
  --brand-teal: #0d9488;
  --brand-gold: #f59e0b;
  --bg-soft: #f4f8fb;
  --text-main: #132739;
  --text-soft: #496174;
  --card-border: #d9e5ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: var(--text-main);
}

main {
  min-height: calc(100vh - 180px);
}

.site-navbar {
  background: linear-gradient(110deg, #041a2a, var(--brand-dark) 55%, #0b5f68);
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.05;
}

.brand strong {
  letter-spacing: 0.8px;
}

.brand small {
  font-size: 0.74rem;
  color: #b7d2e8;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-left: 0.6rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--brand-gold);
}

.hero {
  background: radial-gradient(circle at top left, #176078 0%, #082339 55%);
  color: #fff;
  padding: 3.2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.hero p {
  color: #d6e6f4;
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-image {
  width: 100%;
  min-height: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.cta-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin-bottom: 0.7rem;
}

.section-intro {
  color: var(--text-soft);
  max-width: 70ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.service-card,
.project-card,
.product-card,
.content-card,
.form-panel {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(9, 33, 51, 0.06);
}

.feature-card i {
  color: var(--brand-teal);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.service-grid,
.project-grid,
.product-grid,
.content-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid,
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.page-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

.page-hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 37, 59, 0.85), rgba(6, 37, 59, 0.25));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 1.5rem;
  color: #fff;
}

.page-hero .overlay p {
  margin: 0;
  color: #d9e8f4;
}

.page-hero .overlay h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.stat {
  background: #e8f4f7;
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.3rem;
}

.list-clean {
  margin: 0;
  padding-left: 1rem;
}

.list-clean li {
  margin-bottom: 0.5rem;
}

.form-panel form {
  display: grid;
  gap: 0.65rem;
}

.form-panel label {
  font-weight: 600;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  border: 1px solid #b8cad8;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.92rem;
}

.form-status.success {
  color: #0d6e39;
}

.form-status.error {
  color: #a41414;
}

.form-status.info {
  color: #214d7e;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.map-responsive iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 12px;
}

.site-footer {
  background: #061d2f;
  color: #c3d5e4;
  padding: 1rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: #fff;
  margin-left: 0.8rem;
  font-size: 1.1rem;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--brand-gold);
}

.project-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.project-links a {
  display: block;
  background: #f0f8fd;
  border: 1px solid #d8ebf6;
  color: #0d4665;
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
}

.project-links a:hover {
  background: #ddf0ff;
}

@media (max-width: 992px) {
  .hero-grid,
  .service-grid,
  .project-grid,
  .product-grid,
  .content-grid,
  .stats-grid,
  .project-links,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .navbar-dark .navbar-nav .nav-link {
    margin-left: 0;
  }

}
