:root {
  --bg: #030814;
  --bg-soft: #071427;
  --panel: rgba(8, 20, 39, 0.78);
  --line: rgba(123, 211, 255, 0.16);
  --text: #f7fbff;
  --muted: #a7b8c8;
  --blue: #14c8ff;
  --blue-2: #1377ff;
  --orange: #ff8a1f;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(20, 200, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 138, 31, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(3, 8, 20, 0), #030814 88%);
  z-index: -2;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(2, 8, 18, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  font-weight: 900;
  letter-spacing: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(20, 200, 255, 0.44);
}

.logo span {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d8e8f6;
  font-size: 0.95rem;
}

.nav a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(20, 200, 255, 0.7);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 20, 0.96) 0%, rgba(3, 8, 20, 0.72) 48%, rgba(3, 8, 20, 0.34) 100%),
    linear-gradient(180deg, rgba(3, 8, 20, 0.2), #030814 96%),
    repeating-linear-gradient(90deg, rgba(20, 200, 255, 0.08) 0 1px, transparent 1px 92px);
}

.hero-content {
  padding: 150px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text,
.lead,
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #00111e;
  box-shadow: 0 0 34px rgba(20, 200, 255, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-stats span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 16, 31, 0.66);
  color: #c9dceb;
}

.hero-stats strong {
  color: #fff;
}

.section {
  padding: 100px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid,
.project-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.why-grid div,
.quote-form,
.contact-grid > *,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 28, 53, 0.82), rgba(5, 14, 28, 0.72));
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--orange), transparent);
  opacity: 0.72;
}

.service-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--orange);
  font-weight: 900;
}

.service-card p,
.why-grid span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.why {
  background: linear-gradient(180deg, rgba(7, 20, 39, 0.46), rgba(3, 8, 20, 0));
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.why-grid div {
  padding: 22px;
}

.why-grid strong,
.why-grid span {
  display: block;
}

.why-grid strong {
  margin-bottom: 8px;
}

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

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card:nth-child(2) img {
  object-position: center;
}

.project-card:nth-child(3) img {
  object-position: right center;
}

.project-card div {
  padding: 22px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 138, 31, 0.12), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(20, 200, 255, 0.13), transparent 30%);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #d9e9f6;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(123, 211, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.26);
  color: #fff;
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 200, 255, 0.12);
}

select option {
  color: #041022;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-grid > * {
  min-height: 140px;
  padding: 24px;
}

.contact-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 900;
}

.contact-grid strong {
  color: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  background: #020711;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.socials a {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #17d267, #0fa954);
  color: #02140a;
  font-weight: 900;
  box-shadow: 0 14px 42px rgba(15, 169, 84, 0.38);
}

.service-card,
.why-grid div,
.project-card,
.quote-form,
.contact-grid > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease;
}

.service-card.is-visible,
.why-grid div.is-visible,
.project-card.is-visible,
.quote-form.is-visible,
.contact-grid > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover,
.project-card:hover,
.contact-grid > *:hover {
  border-color: rgba(20, 200, 255, 0.45);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 8, 20, 0.96);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px;
  }

  .service-grid,
  .project-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 8, 20, 0.96), rgba(3, 8, 20, 0.78)),
      linear-gradient(180deg, rgba(3, 8, 20, 0.28), #030814 96%);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Corporate light theme and slider refinement */
:root {
  --bg: #f4f8fc;
  --bg-soft: #eaf2fa;
  --panel: #ffffff;
  --line: rgba(12, 48, 86, 0.12);
  --text: #0b2038;
  --muted: #5d7184;
  --blue: #008fd3;
  --blue-2: #074f9f;
  --orange: #f58220;
  --shadow: 0 18px 52px rgba(11, 32, 56, 0.1);
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-glow {
  background:
    radial-gradient(circle at 20% 8%, rgba(0, 143, 211, 0.13), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(245, 130, 32, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 248, 252, 0.96));
}

.header {
  color: #fff;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(12, 48, 86, 0.12);
  box-shadow: 0 10px 36px rgba(11, 32, 56, 0.08);
  color: var(--text);
}

.logo {
  text-shadow: none;
}

.header.is-scrolled .logo,
.header.is-scrolled .nav,
.header.is-scrolled .nav a {
  color: var(--text);
}

.nav {
  color: rgba(255, 255, 255, 0.9);
}

.nav a:hover {
  color: var(--orange);
  text-shadow: none;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.12);
}

.header.is-scrolled .nav-toggle span {
  background: var(--text);
}

.hero-slider {
  min-height: 760px;
  background: #061b33;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.75s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-media img {
  filter: saturate(1.05) contrast(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 26, 49, 0.92) 0%, rgba(6, 31, 58, 0.76) 48%, rgba(6, 31, 58, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 26, 49, 0.08), rgba(244, 248, 252, 0.95) 98%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content .hero-text {
  color: #fff;
}

.hero-text {
  color: rgba(255, 255, 255, 0.84);
}

.hero-slider-ui {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 44px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transform: translateX(-50%);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--orange);
}

.btn-primary {
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 143, 211, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

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

.service-card,
.why-grid div,
.quote-form,
.contact-grid > *,
.project-card {
  background: #fff;
  border-color: rgba(12, 48, 86, 0.1);
  box-shadow: var(--shadow);
}

.service-card p,
.why-grid span,
.lead,
.section-head p,
.footer-inner {
  color: var(--muted);
}

.why {
  background: linear-gradient(180deg, #fff, var(--bg));
}

.quote {
  background:
    radial-gradient(circle at 80% 16%, rgba(245, 130, 32, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg), #ffffff);
}

label {
  color: var(--text);
}

input,
select,
textarea {
  background: #f8fbfe;
  border-color: rgba(12, 48, 86, 0.14);
  color: var(--text);
}

.contact-grid strong,
.hero-stats strong {
  color: var(--text);
}

.hero-stats span {
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  box-shadow: 0 12px 32px rgba(11, 32, 56, 0.1);
}

.footer {
  background: #08213c;
  color: #fff;
}

.footer-inner,
.footer .socials a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 920px) {
  .nav {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .nav a {
    color: var(--text);
  }

  .hero-slider-ui {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero-slider {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 26, 49, 0.94), rgba(5, 26, 49, 0.78)),
      linear-gradient(180deg, rgba(5, 26, 49, 0.08), rgba(244, 248, 252, 0.96) 98%);
  }

  .hero-slider-ui {
    bottom: 24px;
  }
}
