:root {
  --primary: #0a5f6c;
  --accent: #00d084;
  --orange: #ff8c42;
  --yellow: #ffb84d;
  --ink: #0f1720;
  --muted: #5e6976;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --line: #dde4eb;
  --shadow: 0 24px 80px rgba(13, 47, 61, 0.12);
  --shadow-soft: 0 18px 45px rgba(13, 47, 61, 0.08);
  --radius: 24px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(15, 23, 32, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  color: inherit;
  text-align: left;
  min-width: 0;
}

.header-inner .brand {
  flex: 0 0 auto;
  width: min(9.75rem, 32vw);
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.brand-logo--header {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

.brand-logo-frame {
  display: inline-flex;
  padding: 0.28rem 0.45rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 32, 0.1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav button,
.footer-links button {
  color: #354252;
  cursor: pointer;
  transition: color 0.25s ease;
}

.desktop-nav button:hover,
.footer-links button:hover {
  color: var(--primary);
}

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

.mobile-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  color: #314252;
  background: #f2f5f8;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(10, 95, 108, 0.1);
  background: #fff;
}

.mobile-nav button {
  width: 100%;
  padding: 0.95rem 0;
  text-align: left;
  color: #334155;
  border-bottom: 1px solid #eef2f6;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.78rem 1.4rem;
  border-radius: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 20px 35px rgba(0, 208, 132, 0.25);
}

.button--primary:hover {
  background: #00be78;
}

.button--outline {
  color: var(--primary);
  border: 1px solid rgba(10, 95, 108, 0.25);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.04);
}

.button--outline:hover {
  color: #fff;
  background: var(--primary);
}

.button--full {
  width: 100%;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) 0 5rem;
  background: #fff;
}

.hero-grid,
.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 3rem;
}

.hero-grid,
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(0, 208, 132, 0.1);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.section-pill--primary {
  background: rgba(10, 95, 108, 0.1);
  color: var(--primary);
}

.section-pill--soft {
  background: rgba(0, 208, 132, 0.1);
  color: var(--accent);
}

.section-pill--glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 6vw, 4.7rem);
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-copy h1 em,
.section-heading h2 em,
.about-copy h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-description,
.section-heading p,
.about-copy > p,
.mission-card p,
.contact-card p,
.contact-card small,
.gallery-card__overlay p,
.stat-card p,
.service-card p,
.info-card p,
.footer-brand p {
  color: var(--muted);
}

.hero-description {
  max-width: 62ch;
  font-size: 1.06rem;
  margin: 1.35rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid #e6edf4;
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-badge span:last-child {
  display: grid;
}

.contact-badge small {
  font-size: 0.78rem;
  color: #788391;
}

.contact-badge strong {
  font-size: 0.98rem;
  word-break: break-word;
}

.contact-badge__icon,
.contact-card__icon,
.service-icon,
.info-card__icon,
.stat-card__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.contact-badge__icon--accent,
.contact-card__icon--accent,
.service-icon--accent,
.stat-card__icon {
  background: rgba(0, 208, 132, 0.12);
  color: var(--accent);
}

.contact-badge__icon--primary,
.contact-card__icon--primary,
.service-icon--primary,
.info-card__icon--primary {
  background: rgba(10, 95, 108, 0.1);
  color: var(--primary);
}

.info-card__icon--accent {
  background: rgba(0, 208, 132, 0.12);
  color: var(--accent);
}

.hero-visual,
.about-visual {
  position: relative;
}

.image-frame {
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.image-frame img {
  min-height: 31rem;
  object-fit: cover;
}

.image-frame--tall img {
  min-height: 37rem;
}

.floating-stat {
  position: absolute;
  left: -1rem;
  bottom: -1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.15rem 1.25rem;
  border-radius: 1.1rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 18px 38px rgba(15, 23, 32, 0.14);
}

.floating-stat__value {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 208, 132, 0.12);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.floating-stat small {
  display: block;
  color: #7d8996;
  font-size: 0.78rem;
}

.floating-stat strong {
  display: block;
  font-size: 1rem;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-glow--one {
  top: 10rem;
  right: 8rem;
  width: 18rem;
  height: 18rem;
  background: var(--accent);
}

.hero-glow--two {
  right: 3rem;
  bottom: 5rem;
  width: 24rem;
  height: 24rem;
  background: var(--primary);
}

.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.section-heading span,
.section-heading h2 span {
  color: var(--primary);
}

.section-heading p {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.05rem;
}

.services-grid,
.about-points,
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

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

.about-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.service-card,
.contact-card,
.info-card,
.form-shell {
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 1.55rem;
  border-top: 4px solid var(--primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.info-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
}

.service-card--civil {
  border-top-color: var(--accent);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.service-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.service-badge--primary {
  color: var(--primary);
  border: 1px solid rgba(10, 95, 108, 0.25);
}

.service-badge--accent {
  color: var(--accent);
  border: 1px solid rgba(0, 208, 132, 0.25);
}

.service-card h3,
.info-card h3,
.contact-card h3,
.stat-card h3,
.gallery-card__overlay h3,
.footer-grid h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p,
.info-card p {
  margin: 0.75rem 0 0;
  font-size: 0.96rem;
}

.service-card ul {
  display: grid;
  gap: 0.72rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1rem;
  color: #425162;
  font-size: 0.95rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--primary);
}

.service-card--civil li::before {
  background: var(--accent);
}

.brand-strip {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid #dce4ec;
  text-align: center;
}

.brand-strip p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.brand-strip__items {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.brand-strip__items span {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #adb6c1;
  transition: color 0.25s ease;
}

.brand-strip__items span:hover {
  color: var(--primary);
}

.about-copy > p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.info-card {
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.mission-card {
  margin-top: 2rem;
  padding: 1.45rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(10, 95, 108, 0.05), rgba(0, 208, 132, 0.05));
}

.mission-card p {
  margin: 0;
}

.mission-card strong {
  color: var(--primary);
}

.about-block {
  position: absolute;
  z-index: -1;
  width: 8rem;
  height: 8rem;
  border-radius: 1.4rem;
}

.about-block--accent {
  right: -1.2rem;
  bottom: -1.2rem;
  background: var(--accent);
}

.about-block--primary {
  left: -1.2rem;
  top: -1.2rem;
  background: var(--primary);
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), rgba(10, 95, 108, 0.92));
}

.section-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.7) 1px, transparent 0),
    linear-gradient(transparent, transparent);
  background-size: 24px 24px;
  pointer-events: none;
}

.section-dark__content {
  position: relative;
  z-index: 1;
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.84);
}

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

.stat-card {
  padding: 1.7rem 1.4rem;
  text-align: center;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
}

.stat-card__icon {
  margin: 0 auto 1rem;
}

.stat-card strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-weight: 700;
}

.stat-card h3 {
  margin-top: 0.95rem;
}

.stat-card p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.projects-gallery {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  border-radius: 1.3rem;
  box-shadow: 0 24px 50px rgba(8, 26, 33, 0.28);
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
}

.gallery-card__overlay p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0.4rem 0 0;
}

.contact-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1.2rem;
}

.contact-card {
  padding: 1.6rem;
}

.contact-card__icon {
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.contact-card p,
.contact-card small {
  margin: 0.35rem 0 0;
}

.email-break {
  word-break: break-word;
}

.form-shell {
  padding: 2rem;
}

.form-shell--wide {
  width: min(100%, 62rem);
  margin: 0 auto;
}

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

.field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.field span {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d7e0e8;
  border-radius: 0.9rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(0, 208, 132, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.12);
}

.form-feedback {
  min-height: 1.75rem;
  margin: 0.2rem 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-feedback.is-success {
  color: #0f8a58;
}

.form-feedback.is-error {
  color: #c53c3c;
}

.submit-button {
  position: relative;
}

.submit-button.is-loading {
  opacity: 0.92;
  pointer-events: none;
}

.submit-button.is-loading i {
  animation: spin 0.8s linear infinite;
}

.site-footer {
  background: #0f1720;
  color: #fff;
  padding-top: 4rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
}

.footer-brand p {
  margin: 1.2rem 0 0;
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.72);
}

.brand-logo--footer {
  height: 3.4rem;
  max-width: min(100%, 15rem);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  background: var(--accent);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.footer-links button {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.64);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  gap: 1.4rem;
}

.footer-bottom__links a {
  color: rgba(255, 255, 255, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

[data-lucide] {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2.1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .stats-grid,
  .projects-gallery {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-visual {
    order: -1;
  }

  .floating-stat {
    left: 1rem;
  }

  .about-points,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 1.3rem, 1180px);
  }

  .brand-copy small {
    display: none;
  }

  .header-inner .brand {
    width: min(7.75rem, 42vw);
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1.2rem);
    padding-bottom: 4rem;
  }

  .hero-actions,
  .hero-contact {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-contact .contact-badge {
    width: 100%;
  }

  .contact-badge {
    align-items: center;
  }

  .image-frame img {
    min-height: 24rem;
  }

  .image-frame--tall img {
    min-height: 28rem;
  }

  .floating-stat {
    position: static;
    margin-top: 1rem;
  }

  .about-points,
  .form-grid,
  .footer-bottom,
  .footer-bottom__links {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__links {
    gap: 0.7rem;
  }

  .section {
    padding: 4.4rem 0;
  }

  .brand-strip__items {
    gap: 1rem 1.4rem;
  }

  .form-shell,
  .contact-card,
  .service-card,
  .info-card,
  .stat-card {
    padding: 1.35rem;
  }
}
