:root {
  --ink: #09212d;
  --muted: #637684;
  --line: rgba(9, 33, 45, 0.13);
  --sea: #063b55;
  --teal: #0a8793;
  --aqua: #72d7df;
  --gold: #d7ab53;
  --foam: #f4fbfb;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(2, 23, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--foam);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(4, 42, 61, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a:hover,
.login-link:hover {
  color: var(--aqua);
}

.login-link {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding: 150px clamp(18px, 6vw, 86px) 64px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--sea);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 25, 38, 0.9), rgba(4, 53, 72, 0.68) 45%, rgba(2, 25, 38, 0.2)),
    linear-gradient(0deg, rgba(2, 25, 38, 0.8), transparent 46%);
}

.sea-grid {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(114, 215, 223, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 215, 223, 0.3) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
}

.hero-content {
  max-width: 850px;
}

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

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-copy,
.section-heading p,
.section-copy p,
.band-copy p,
.contact-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.13rem;
}

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

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
  background: var(--gold);
  color: #102733;
  box-shadow: 0 14px 38px rgba(215, 171, 83, 0.28);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 37, 54, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(114, 215, 223, 0.18), transparent 40%);
  pointer-events: none;
}

.panel-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 24px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-row span {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.83rem;
}

.metric-row b {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--sea);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(70px, 9vw, 130px) clamp(18px, 6vw, 86px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.cta-card p {
  max-width: 720px;
}

.profile-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-card dl {
  margin: 0;
  padding: 26px;
}

.profile-card div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.profile-card div:last-child {
  border-bottom: 0;
}

.profile-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 0;
  font-weight: 700;
}

.services-section {
  background: #e9f5f5;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 135, 147, 0.32);
  box-shadow: 0 22px 55px rgba(8, 57, 76, 0.12);
}

.service-card span {
  margin-bottom: auto;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.inspection-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 86px);
  background: var(--sea);
  color: var(--white);
}

.band-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.band-copy p,
.band-copy .check-list {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(114, 215, 223, 0.16);
}

.cta-section {
  padding-top: 84px;
  padding-bottom: 84px;
  background: var(--white);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(114, 215, 223, 0.16), transparent 48%),
    var(--sea);
  color: var(--white);
  overflow: hidden;
}

.cta-card h2 {
  max-width: 760px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 6vw, 88px);
  background: linear-gradient(180deg, #f4fbfb, #ffffff);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  width: fit-content;
  color: var(--sea);
  font-weight: 800;
  border-bottom: 2px solid rgba(10, 135, 147, 0.3);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--sea);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(9, 33, 45, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fbfefe;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(114, 215, 223, 0.36);
  border-color: var(--teal);
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.76);
  background: #041d2a;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--aqua);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 32px;
  fill: var(--white);
}

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

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

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .inspection-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 560px;
  }

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

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

  .trust-strip span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 20px;
    border-radius: 8px;
    background: rgba(4, 42, 61, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links {
    display: grid;
  }

  .menu-toggle {
    display: grid;
  }

  .login-link {
    padding: 11px 14px;
  }

  .hero {
    padding-top: 126px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .service-grid,
  .contact-form,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .profile-card div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .login-link {
    font-size: 0.86rem;
  }

  .metric-row,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span:last-child {
    grid-column: auto;
  }
}

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