:root {
  --ink: #071019;
  --navy: #0b2440;
  --deep: #0d3347;
  --cyan: #28c7ef;
  --cyan-2: #73e4ff;
  --teal: #0d6b7d;
  --lime: #b7e34b;
  --paper: #f4f8fb;
  --white: #ffffff;
  --muted: #647485;
  --line: rgba(7, 16, 25, 0.12);
  --shadow: 0 28px 80px rgba(7, 16, 25, 0.18);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 199, 239, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #ffffff 100%);
  font-family: Outfit, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.topbar,
.site-header,
nav,
.hero-actions,
.hero-proof,
.quick-contact,
.section-head,
.contact-details,
footer {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.topbar a {
  color: var(--cyan-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  justify-content: space-between;
  gap: 26px;
  padding: 12px clamp(18px, 5vw, 76px);
  background: rgba(247, 252, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.07);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand img {
  display: block;
  width: 170px;
  height: 66px;
  object-fit: cover;
  object-position: center;
}

nav {
  gap: clamp(18px, 3vw, 36px);
  color: #223247;
  font-size: 0.92rem;
  font-weight: 900;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn,
.lead-form button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.header-cta,
.btn.primary,
.lead-form button {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 18px 40px rgba(40, 199, 239, 0.28);
}

.header-cta:hover,
.btn:hover,
.lead-form button:hover {
  transform: translateY(-3px);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 16, 25, 0.1);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 1fr) minmax(320px, 0.86fr);
  min-height: calc(100vh - 103px);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: clamp(62px, 8vw, 122px) clamp(18px, 5vw, 76px);
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 16%, rgba(40, 199, 239, 0.32), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf8fc 52%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49%, rgba(40, 199, 239, 0.12) 50%, transparent 51%),
    repeating-linear-gradient(-14deg, transparent 0 44px, rgba(7, 16, 25, 0.035) 45px 47px);
  mask-image: linear-gradient(90deg, transparent, black 30%, transparent 82%);
}

.hero::after {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 36px;
  left: clamp(18px, 5vw, 76px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(115, 228, 255, 0.7), transparent);
  opacity: 0.7;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-2);
  font-family: "Space Grotesk", Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Outfit, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  line-height: 0.98;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7vw, 7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.9vw, 4.9rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero-copy > p {
  max-width: 690px;
  margin-bottom: 30px;
  color: #556675;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions,
.hero-proof {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin-top: 26px;
}

.hero-proof span {
  padding: 9px 12px;
  color: #1e3346;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 16, 25, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.hero-panel {
  min-height: 560px;
}

.hero-panel > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: photoFloat 8s ease-in-out infinite;
}

.panel-card {
  position: absolute;
  right: -18px;
  bottom: 32px;
  width: 190px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-left: 5px solid var(--cyan);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.2);
}

.panel-card strong {
  display: block;
  color: var(--teal);
  font-size: 3rem;
  line-height: 1;
}

.quick-contact {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 76px);
  margin-top: -44px;
}

.quick-contact a {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.2);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(56px, 8vw, 86px) clamp(18px, 5vw, 76px) 0;
  overflow: hidden;
  background: rgba(7, 16, 25, 0.1);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.07);
}

.trust-strip div {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.trust-strip span,
.path-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip strong {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.quick-contact span,
.service-card span,
.survey-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-contact strong {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
}

.intro-section,
.path-section,
.services-section,
.survey-section,
.projects-section,
.promise-section,
.contact-section,
.map-section {
  padding: clamp(78px, 10vw, 132px) clamp(18px, 5vw, 76px);
}

.path-section {
  background: transparent;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path-card {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(7, 16, 25, 0.08);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.intro-section,
.survey-section,
.promise-section,
.contact-section,
.map-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(310px, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.intro-media {
  position: relative;
  min-height: 560px;
}

.intro-main,
.intro-small {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.intro-main {
  inset: 0;
  width: 82%;
  height: 100%;
}

.intro-small {
  right: 0;
  bottom: 34px;
  width: 48%;
  height: 42%;
  border: 7px solid var(--paper);
}

.intro-copy p,
.section-head p,
.service-card p,
.survey-copy p,
.survey-steps p,
.promise-list span,
.contact-copy p {
  color: var(--muted);
}

.split-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.split-points div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.split-points strong {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-family: "Space Grotesk", Outfit, sans-serif;
  font-size: 1.7rem;
}

.section-head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head div,
.section-head h2 {
  max-width: 850px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head a {
  color: var(--teal);
  font-weight: 900;
}

.services-section,
.projects-section {
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.08);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 480ms ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card div {
  padding: 28px;
}

.premium-card {
  color: var(--white);
  background: var(--ink);
}

.premium-card p {
  color: rgba(255, 255, 255, 0.74);
}

.premium-card span {
  color: var(--cyan-2);
}

.survey-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 16, 25, 0.94), rgba(11, 36, 64, 0.9)),
    url("rig-front-trees.jpeg");
  background-position: center;
  background-size: cover;
  margin: 0 clamp(18px, 5vw, 76px);
  padding-right: clamp(24px, 5vw, 76px);
  padding-left: clamp(24px, 5vw, 76px);
  border-radius: 34px;
}

.survey-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.survey-steps {
  display: grid;
  gap: 14px;
}

.survey-steps div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  backdrop-filter: blur(18px) saturate(1.18);
}

.survey-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.project-mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.12);
}

.project-mosaic .wide {
  grid-column: span 2;
}

.project-mosaic .tall {
  grid-row: span 2;
}

.project-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms ease;
}

.project-mosaic figure:hover img {
  transform: scale(1.07);
}

.project-mosaic figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(7, 16, 25, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.gallery-section {
  padding: clamp(38px, 6vw, 72px) 0;
  overflow: hidden;
  background: var(--ink);
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 clamp(18px, 5vw, 76px);
  animation: gallerySlide 38s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-track img {
  width: clamp(230px, 25vw, 360px);
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0.9;
}

.promise-section {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(40, 199, 239, 0.24), transparent 28%),
    linear-gradient(135deg, #071019, #0b2440 55%, #0d6b7d);
  margin: 0 clamp(18px, 5vw, 76px);
  padding-right: clamp(24px, 5vw, 76px);
  padding-left: clamp(24px, 5vw, 76px);
  border-radius: 34px;
}

.promise-list {
  display: grid;
  gap: 14px;
}

.promise-list div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}

.promise-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.promise-list span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-details a,
.contact-details span {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.18);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #27384a;
  font-size: 0.88rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #f7fafc;
  border: 1px solid rgba(7, 16, 25, 0.14);
  border-radius: 14px;
  font: inherit;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(40, 199, 239, 0.16);
}

.lead-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.map-section {
  padding-top: 0;
}

.map-copy p {
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.map-actions a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 16, 25, 0.1);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.map-actions a:first-child {
  background: var(--cyan);
}

.map-actions a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.map-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(40, 199, 239, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 199, 239, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 58% 44%, rgba(40, 199, 239, 0.28), transparent 18%),
    linear-gradient(135deg, #f8fdff, #e8f6fb);
  background-size: 42px 42px, 42px 42px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.map-pin {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  max-width: 360px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(7, 16, 25, 0.14);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.map-pin span {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(40, 199, 239, 0.18);
}

.map-pin strong,
.map-pin small {
  display: block;
}

.map-pin small {
  color: var(--muted);
  font-weight: 700;
}

footer {
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

footer img {
  width: 150px;
  height: 82px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

[data-hero-fade] {
  will-change: transform, opacity, filter;
}

footer strong {
  color: var(--white);
}

footer p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

.delay-1 {
  transition-delay: 110ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.delay-3 {
  transition-delay: 330ms;
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.015);
  }
}

@keyframes gallerySlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% + 50vw));
  }
}

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

@media (max-width: 1080px) {
  nav {
    display: none;
  }

  .hero,
  .intro-section,
  .survey-section,
  .promise-section,
  .contact-section,
  .map-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .hero-panel > img {
    min-height: 440px;
  }

  .quick-contact,
  .services-grid,
  .path-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .topbar {
    display: none;
  }

  .brand img {
    width: 138px;
    height: 58px;
  }

  .site-header {
    gap: 12px;
  }

  .header-cta {
    min-height: 46px;
    padding: 0 15px;
  }

  h1 {
    font-size: clamp(2.55rem, 10.5vw, 3.75rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-panel,
  .hero-panel > img,
  .intro-media {
    min-height: 340px;
  }

  .panel-card {
    right: 12px;
    bottom: 16px;
    width: 160px;
  }

  .quick-contact,
  .services-grid,
  .split-points,
  .path-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section-head,
  footer {
    display: block;
  }

  .section-head a {
    display: inline-block;
    margin-top: 8px;
  }

  .project-mosaic {
    display: block;
  }

  .project-mosaic figure {
    height: 280px;
    margin-bottom: 16px;
  }

  .gallery-track {
    animation-duration: 52s;
  }

  .gallery-track img {
    width: 250px;
    height: 220px;
  }

  footer img {
    margin-bottom: 14px;
  }
}
