/* Grove Business Park — Partners branding */
:root {
  --red: #e63946;          /* Partners red accent (logo triangle) */
  --navy: #0a2540;         /* Partners deep navy */
  --navy-dark: #071a30;
  --card: #1f3a5f;
  --card-dark: #14263e;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --bg: #eef2f5;           /* Partners off-white bg */
  --line: #d9dfe5;
  --white: #ffffff;
  --accent-line: #c8102e;  /* Partners bright red for divider */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  font-size: 14px;
  line-height: 1;
}
.brand img { height: 44px; width: auto; display: block; }
.brand .brand-red { color: var(--red); margin-left: 8px; }

.nav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 34px;
}
.nav a {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
  text-transform: uppercase;
}
.nav a:hover,
.nav a.active { border-color: var(--white); }

.hamburger { display: none; background: transparent; border: 0; color: var(--white); font-size: 22px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(56.25vw, 720px);
  min-height: 460px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20, 29, 41, .55), rgba(20, 29, 41, .55));
  z-index: 1;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero .hero-inner { position: relative; z-index: 2; padding: 0 20px; max-width: 1100px; }
.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.05;
}
.hero .subtitle {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero .meta {
  display: inline-block;
  padding: 14px 28px;
  background: rgba(61, 77, 100, .65);
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 12px;
}
.hero .meta .line2 { display: block; margin-top: 4px; font-size: 13px; opacity: .9; }

/* Short hero variant */
.hero.short { height: 340px; }

/* Red accent divider under titles */
.accent {
  width: 120px;
  height: 3px;
  background: var(--accent-line);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 20px;
}
.section.bg-gray { background: var(--bg); }
.section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  color: var(--ink);
}
.section .lead {
  max-width: 820px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.section .lead p + p { margin-top: 10px; }
.container { max-width: 1100px; margin: 0 auto; }

/* ---------- Specs grid ---------- */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.specs ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}
.specs h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Site-plan spec cards (6 colored boxes) */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.spec-card {
  background: var(--card);
  color: var(--white);
  padding: 22px 18px;
  text-align: center;
  border-radius: 2px;
}
.spec-card .label { font-size: 13px; letter-spacing: 1px; opacity: .85; }
.spec-card .value { font-size: 18px; font-weight: 700; margin-top: 6px; }

/* ---------- Location stat panel ---------- */
.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 32px auto 0;
  color: var(--white);
}
.stats-panel p { margin: 0; line-height: 1.6; font-size: 15px; }

/* ---------- Dark section (Location / port) ---------- */
.section.dark {
  background: var(--navy);
  color: var(--white);
}
.section.dark h2 { color: var(--white); }

/* Port container strip background */
.section.containers {
  background: url("../backgrounds/1666452988.jpg") center/cover no-repeat;
  color: var(--white);
  position: relative;
}
.section.containers::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 29, 41, .55);
}
.section.containers > * { position: relative; z-index: 1; }

/* ---------- Gallery ---------- */
.gallery-hero {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.gallery-main {
  max-width: 820px;
  margin: 40px auto 0;
}
.gallery-main img {
  width: 100%;
  border-radius: 2px;
}
.thumb-strip {
  max-width: 820px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 4px;
}
.thumb-strip img {
  width: 100%;
  height: 46px;
  object-fit: cover;
  cursor: pointer;
  opacity: .75;
  transition: opacity .15s ease;
}
.thumb-strip img:hover,
.thumb-strip img.active { opacity: 1; }

/* ---------- Contact form + boxes ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.contact-form .required-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  display: block;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 4px;
}
.contact-form .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  border-radius: 2px;
}
.contact-form textarea { height: 240px; resize: vertical; }
.contact-form .sub-label { font-size: 11px; color: var(--muted); margin-top: 2px; display: block; }

.btn {
  display: inline-block;
  background: var(--card-dark);
  color: var(--white);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 18px;
}
.btn:hover { background: #0f1924; }
.btn.red { background: var(--red); }
.btn.red:hover { background: #b81818; }

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.info-box .info-label { font-size: 16px; }
.info-box img { max-height: 42px; }
.info-box a { display: inline-flex; align-items: center; transition: opacity .15s; }
.info-box a:hover { opacity: .75; }
.footer-logos a { display: inline-block; transition: opacity .15s; }
.footer-logos a:hover { opacity: .8; }

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-top: 24px;
}
.people-grid .person {
  font-size: 15px;
  line-height: 1.7;
  padding: 26px 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.people-grid .person strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 2px;
  color: var(--ink, #141d29);
}
.people-grid .person .role {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.people-grid .person a {
  text-decoration: none;
  word-break: break-word;
  transition: color .15s ease, border-color .15s ease;
}
.people-grid .person a[href^="tel:"] {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: #141d29;
  letter-spacing: .4px;
  margin-top: 2px;
}
.people-grid .person a[href^="mailto:"] {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #2a3a52;
  border-bottom: 1px solid rgba(196, 30, 58, .35);
  padding-bottom: 1px;
  margin-top: 6px;
}
.people-grid .person a:hover { color: var(--red); }
.people-grid .person a[href^="mailto:"]:hover { border-bottom-color: var(--red); }

.contact-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 28px 0 0;
}
.contact-heading .accent { margin-top: 8px; width: 90px; height: 3px; }

.brochure-wrap { text-align: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  color: var(--ink);
  padding: 40px 20px 50px;
}
.site-footer .footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 320px;
  gap: 28px;
  align-items: center;
}
.site-footer .person { font-size: 14px; line-height: 1.55; }
.site-footer .person strong { font-size: 15px; }
.site-footer .person a { color: var(--red); }
.site-footer .footer-logos { text-align: right; }
.site-footer .footer-logos img { display: inline-block; max-width: 303px; }
.site-footer .disclaimer {
  max-width: 1100px;
  margin: 30px auto 0;
  font-size: 10px;
  line-height: 1.4;
  color: #555;
}

/* Bottom hero under home page */
.bottom-hero {
  background-size: cover;
  background-position: center;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
}
.bottom-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.bottom-hero h2 {
  position: relative;
  font-size: 36px;
  letter-spacing: 4px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 1;
  color: var(--white);
}

/* ---------- Building overview cards (buildings.html) ---------- */
.building-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.building-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
  color: inherit;
}
.building-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10,37,64,.12);
}
.building-card .badge {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.building-card .badge .id {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.building-card .badge .sf {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: .9;
}
.building-card .body {
  padding: 16px 18px 20px;
  font-size: 13px;
  line-height: 1.7;
}
.building-card .body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.building-card .body li + li { margin-top: 4px; }
.building-card .cta {
  display: block;
  padding: 12px 18px;
  background: var(--bg);
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}
.building-card:hover .cta { background: var(--accent-line); color: var(--white); }

/* ---------- Pricing table ---------- */
.pricing-table {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}
.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.pricing-table tr:nth-child(even) td { background: #f7f9fb; }
.pricing-table tr:hover td { background: #eaf0f5; }
.pricing-table td:first-child {
  font-weight: 700;
  color: var(--navy);
}
.pricing-table a { color: var(--navy); border-bottom: 1px dotted var(--muted); }

/* ---------- Distance table (location page) ---------- */
.distance-table {
  max-width: 520px;
  margin: 30px auto 0;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}
.distance-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.distance-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.distance-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }

/* ---------- Building detail page specs ---------- */
.detail-header {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}
.detail-header .meta-card {
  background: var(--navy);
  color: var(--white);
  padding: 22px 26px;
  border-radius: 4px;
}
.detail-header .meta-card .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
}
.detail-header .meta-card .row:last-child { border-bottom: 0; }
.detail-header .meta-card .row .label { opacity: .75; letter-spacing: 1px; font-size: 12px; text-transform: uppercase; }
.detail-header .meta-card .row .value { font-weight: 700; }
.detail-header .meta-card .row.highlight { background: var(--accent-line); margin: 10px -26px 0; padding: 14px 26px; border-radius: 0; font-size: 15px; }
.detail-header .meta-card .row.highlight .label { opacity: 1; }

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
}
.back-link:hover { color: var(--accent-line); border-color: var(--accent-line); }

/* ---------- Broker card (footer on flyer-style pages) ---------- */
.broker-card {
  background: var(--white);
  border-left: 4px solid var(--accent-line);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.broker-card .person { font-size: 13px; line-height: 1.6; }
.broker-card .person strong { display: block; font-size: 14px; margin-bottom: 2px; color: var(--navy); }
.broker-card .person .title { color: var(--muted); font-size: 12px; }
.broker-card .person a { color: var(--accent-line); }

/* ---------- Partners footer (replaces single logo) ---------- */
.site-footer.partners-footer { background: var(--navy); color: var(--white); }
.site-footer.partners-footer .person { line-height: 1.55; }
.site-footer.partners-footer .person strong { display: block; color: var(--white); margin-bottom: 2px; }
.site-footer.partners-footer .person a { color: #ffb3b8; }
.site-footer.partners-footer .disclaimer { color: rgba(255,255,255,.6); }
.site-footer.partners-footer .footer-logos img { mix-blend-mode: screen; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 36px; }
  .hero { height: 420px; }
  .specs { grid-template-columns: 1fr; gap: 24px; }
  .spec-cards { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .stats-panel { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-logos { text-align: left; grid-column: span 2; }
  .people-grid { grid-template-columns: 1fr; }
  .thumb-strip { grid-template-columns: repeat(6, 1fr); }
  .thumb-strip img { height: 60px; }

  /* Mobile nav drawer */
  .site-header.menu-open { background: var(--navy); }
  .site-header.menu-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
  }
  .site-header.menu-open .nav li { width: 100%; }
  .site-header.menu-open .nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }
  .site-header.menu-open .nav a.active,
  .site-header.menu-open .nav a:hover {
    background: rgba(255,255,255,.08);
    border-bottom-color: rgba(255,255,255,.08);
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 28px; letter-spacing: 2px; }
  .hero .subtitle { font-size: 14px; }
  .site-header { padding: 14px 16px; }
  .spec-cards { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

.drone-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.drone-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.drone-gallery a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.drone-gallery img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 900px) {
  .building-grid { grid-template-columns: 1fr 1fr; }
  .detail-header { grid-template-columns: 1fr; }
  .broker-card { grid-template-columns: 1fr 1fr; }
  .pricing-table { font-size: 12px; }
  .pricing-table th, .pricing-table td { padding: 8px 10px; }
  .drone-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .building-grid { grid-template-columns: 1fr; }
  .broker-card { grid-template-columns: 1fr; }
  .drone-gallery { grid-template-columns: 1fr; }
}
