:root {
  --ink: #10202a;
  --muted: #60717c;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --surface-2: #e8ddd0;
  --navy: #071725;
  --teal: #007c83;
  --green: #2f9c48;
  --rust: #a9582a;
  --line: rgba(16, 32, 42, 0.14);
  --shadow: 0 24px 70px rgba(7, 23, 37, 0.14);
  --font-display: "Cabinet Grotesk", "Arial", sans-serif;
  --font-body: "Satoshi", "Arial", sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.16vw, 0.85rem);
  --text-sm: clamp(0.88rem, 0.84rem + 0.22vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.24vw, 1.13rem);
  --text-lg: clamp(1.2rem, 1.08rem + 0.65vw, 1.55rem);
  --text-xl: clamp(1.6rem, 1.25rem + 1.7vw, 2.6rem);
  --text-hero: clamp(2.5rem, 1.35rem + 4.2vw, 5rem);
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 124, 131, 0.16), transparent 28rem),
    linear-gradient(180deg, #f8f6ef 0%, var(--paper) 100%);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) clamp(var(--space-5), 5vw, var(--space-16));
  background: rgba(245, 242, 234, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand-logo {
  width: clamp(150px, 16vw, 218px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  gap: clamp(var(--space-3), 3vw, var(--space-8));
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

nav a:hover {
  color: var(--teal);
}

.header-cta,
.button,
.preview-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 800;
}

.header-cta,
.button.primary,
.preview-form button {
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(0, 124, 131, 0.22);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
  min-height: 76vh;
  padding: clamp(var(--space-10), 7vw, var(--space-20)) clamp(var(--space-5), 5vw, var(--space-16));
}

.hero h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.03;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: var(--text-hero);
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 68ch;
  color: var(--muted);
  font-size: var(--text-base);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.visual-card,
.image-placeholder,
.product-image,
.video-grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: var(--space-6);
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(7, 23, 37, 0.12), rgba(7, 23, 37, 0.88)),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.22) 0 0.6rem, transparent 0.65rem),
    linear-gradient(8deg, transparent 0 48%, rgba(255, 255, 255, 0.18) 48.3% 49%, transparent 49.4%),
    linear-gradient(176deg, transparent 0 54%, rgba(255, 255, 255, 0.15) 54.2% 55%, transparent 55.4%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #0b2e43, #0b7f83 55%, #c77a32);
}

.visual-card span,
.image-placeholder span,
.product-image,
.video-grid span {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.visual-card strong,
.image-placeholder strong {
  max-width: 14ch;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.main-card {
  position: relative;
  min-height: 500px;
  border-radius: 2rem;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.main-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 20, 32, 0.05), rgba(5, 20, 32, 0.58)),
    linear-gradient(90deg, rgba(5, 20, 32, 0.78), rgba(5, 20, 32, 0.18) 58%, rgba(5, 20, 32, 0.1));
}

.main-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.main-card span,
.main-card strong {
  position: relative;
  z-index: 2;
}

.stat-card {
  position: absolute;
  z-index: 3;
  right: -1rem;
  bottom: 3rem;
  width: 210px;
  padding: var(--space-5);
  border-radius: 1.4rem;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
}

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) clamp(var(--space-5), 5vw, var(--space-16));
}

.intro {
  background: white;
}

.section-heading {
  max-width: 760px;
}

.section-heading.wide {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: end;
  max-width: 1180px;
}

.section-heading h2,
.split-section h2,
.contact-section h2 {
  margin: 0;
  font-size: var(--text-xl);
  letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow),
.lead,
.split-section p,
.contact-section p {
  color: var(--muted);
  font-size: var(--text-base);
}

.lead {
  max-width: 920px;
  margin: var(--space-8) 0 0;
}

.service-grid,
.product-grid,
.logistics-grid,
.vessel-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.service-grid article,
.product-grid article,
.logistics-grid article,
.vessel-grid article,
.preview-form {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(7, 23, 37, 0.06);
}

.service-grid h3,
.product-grid h3,
.logistics-grid h3,
.vessel-grid h3 {
  margin: var(--space-6) 0 var(--space-3);
  font-size: var(--text-lg);
}

.service-grid p,
.product-grid p,
.logistics-grid p,
.vessel-grid p {
  color: var(--muted);
}

.service-grid a {
  display: inline-block;
  margin-top: var(--space-4);
  color: var(--teal);
  font-weight: 900;
}

.card-number {
  color: var(--rust);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 7vw, var(--space-24));
  align-items: center;
}

.image-placeholder {
  min-height: 600px;
  border-radius: 1.8rem;
}

.operations-photo {
  background:
    linear-gradient(180deg, rgba(7, 23, 37, 0.06), rgba(7, 23, 37, 0.72)),
    linear-gradient(90deg, rgba(7, 23, 37, 0.74), rgba(7, 23, 37, 0.1) 62%),
    url("assets/port-operations-team.jpg") center / cover;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.mini-grid div {
  padding: var(--space-5);
  border-left: 3px solid var(--green);
  background: white;
}

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

.mini-grid span {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
}

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

.logistics-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(47, 156, 72, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(232, 221, 208, 0.38));
}

.logistics-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-6), 5vw, var(--space-12));
  align-items: stretch;
  margin-top: var(--space-10);
}

.logistics-photo {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  overflow: hidden;
  color: white;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(7, 23, 37, 0.08), rgba(7, 23, 37, 0.72)),
    linear-gradient(90deg, rgba(7, 23, 37, 0.68), rgba(7, 23, 37, 0.1) 64%),
    url("assets/logistics-remote-supply.jpg") center / cover;
  box-shadow: var(--shadow);
}

.logistics-photo span {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.logistics-photo strong {
  max-width: 16ch;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}

.logistics-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--space-5), 4vw, var(--space-10));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 40px rgba(7, 23, 37, 0.06);
}

.logistics-copy p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-base);
}

.logistics-copy p + p {
  margin-top: var(--space-5);
}

.logistics-grid article {
  position: relative;
  overflow: hidden;
}

.logistics-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.product-grid article {
  padding: var(--space-4);
}

.product-image {
  min-height: 190px;
  border-radius: 1rem;
}

.product-cement {
  background:
    linear-gradient(180deg, rgba(7, 23, 37, 0.08), rgba(7, 23, 37, 0.68)),
    url("assets/product-cement-mortars-blocks.jpg") center / cover;
}

.product-rebar {
  background:
    linear-gradient(180deg, rgba(7, 23, 37, 0.08), rgba(7, 23, 37, 0.7)),
    url("assets/product-rebar-steel.jpg") center / cover;
}

.product-aggregates {
  background:
    linear-gradient(180deg, rgba(7, 23, 37, 0.04), rgba(7, 23, 37, 0.62)),
    url("assets/product-aggregates.jpg") center / cover;
}

.dark-section {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 124, 131, 0.38), transparent 28rem),
    var(--navy);
}

.dark-section .eyebrow,
.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

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

.vessel-grid article {
  color: var(--ink);
}

.vessel-media {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.3)),
    var(--navy);
}

.vessel-media img {
  width: 100%;
  height: clamp(190px, 26vw, 280px);
  padding: var(--space-3);
  object-fit: contain;
}

.vessel-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 23, 37, 0), rgba(7, 23, 37, 0.42));
}

.vessel-media figcaption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-4);
  z-index: 1;
  color: white;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

dt {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
}

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

.video-grid article {
  position: relative;
  min-height: 0;
  border-radius: 1.2rem;
}

.video-grid article > span,
.video-grid article > strong {
  position: relative;
  z-index: 2;
}

.video-grid .has-video {
  justify-content: flex-start;
  padding: var(--space-4);
  color: var(--navy);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(7, 23, 37, 0.06);
}

.video-grid .has-video::before {
  content: none;
}

.video-grid video {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: var(--space-4);
  border-radius: 0.9rem;
  object-fit: cover;
  background: var(--navy);
}

.video-grid strong {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.05;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(var(--space-8), 7vw, var(--space-20));
  align-items: start;
  background: white;
}

.contact-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-8);
  font-weight: 900;
}

.contact-list a {
  color: var(--teal);
}

.preview-form {
  display: grid;
  gap: var(--space-4);
}

.preview-form label {
  display: grid;
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.preview-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.5;
}

.form-status.success {
  color: var(--teal);
}

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

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  padding: var(--space-8) clamp(var(--space-5), 5vw, var(--space-16));
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

footer p {
  max-width: 900px;
  margin: 0.4rem 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .split-section,
  .logistics-feature,
  .section-heading.wide,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual,
  .main-card,
  .image-placeholder {
    min-height: 420px;
  }

  .service-grid,
  .product-grid,
  .logistics-grid,
  .vessel-grid,
  .video-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: var(--space-4);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 132px;
  }

  .header-cta {
    padding-inline: 0.9rem;
  }

  .hero,
  .section {
    padding-inline: var(--space-4);
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero p {
    font-size: var(--text-base);
  }

  .service-grid,
  .product-grid,
  .logistics-grid,
  .vessel-grid,
  .video-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    right: var(--space-4);
    bottom: -1rem;
  }
}
