:root {
  --bg: #f4f8fb;
  --bg-alt: #e9f0f6;
  --ink: #12273a;
  --muted: #556e84;
  --line: rgba(18, 39, 58, 0.12);
  --line-strong: rgba(18, 39, 58, 0.24);
  --navy: #071b31;
  --navy-soft: #0d3150;
  --blue: #1468a0;
  --blue-strong: #0d88d1;
  --aqua: #6ecbf5;
  --white: #ffffff;
  --max: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.68;
  background:
    linear-gradient(180deg, rgba(244, 248, 251, 0.96), rgba(233, 240, 246, 0.92)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(18, 39, 58, 0.02) 79px,
      rgba(18, 39, 58, 0.02) 80px
    );
}

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

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

p,
ul,
ol {
  margin-top: 0;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 27, 49, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--aqua), var(--blue-strong));
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  color: var(--white);
  font-size: 1rem;
}

.brand-text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.main-nav ul,
.stats-list,
.check-list,
.footer-links,
.footer-articles,
.plain-links,
.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a,
.dropdown-summary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.main-nav a:hover,
.dropdown a:hover,
.text-link:hover,
.footer-links a:hover,
.footer-articles a:hover,
.plain-links a:hover {
  color: var(--aqua);
}

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
  cursor: pointer;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 0.9rem 1rem;
}

.dropdown-panel a {
  display: block;
  color: var(--ink);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.dropdown-panel a:last-child {
  border-bottom: 0;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 27, 49, 0.98), rgba(14, 61, 94, 0.9)),
    url("/assets/images/jet-boat-niagara-river.webp") center/cover no-repeat;
  color: var(--white);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(7, 27, 49, 0.98), rgba(14, 61, 94, 0.9)),
    url("/assets/images/niagara-gorge-tour.webp") center/cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.hero-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
  gap: 2rem;
  padding: 5.6rem 0 4.6rem;
  align-items: end;
}

.hero-simple {
  grid-template-columns: 1fr;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #d3efff;
  margin-bottom: 1rem;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1.02;
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 14ch;
}

.hero-copy p,
.page-hero p,
.hero-panel p {
  color: rgba(238, 245, 250, 0.9);
  font-size: 1.06rem;
  max-width: 820px;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.7rem 0 0;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
}

.button {
  background: var(--aqua);
  color: var(--navy);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero-panel,
.info-card,
.service-card,
.article-card,
.faq-item,
.content-card,
.table-wrap,
.cta-panel,
.quote-box,
.callout,
.form-shell {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 1.4rem;
  color: var(--ink);
}

.hero-panel h2,
.quote-box h3,
.cta-panel h2 {
  margin: 0 0 0.85rem;
}

.stats-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.stats-list li:last-child {
  border-bottom: 0;
}

.stats-list strong {
  display: block;
  color: var(--blue);
}

.section {
  padding: 4.4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(18, 39, 58, 0.05);
  border-bottom: 1px solid rgba(18, 39, 58, 0.05);
}

.section-dark {
  background: linear-gradient(180deg, #0a2238, #0c2f4e);
  color: var(--white);
}

.section-dark .service-card,
.section-dark .article-card,
.section-dark .content-card,
.section-dark .faq-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark p,
.section-dark li,
.section-dark .service-card p,
.section-dark .article-card p,
.section-dark .content-card p,
.section-dark .faq-item p {
  color: rgba(225, 238, 248, 0.88);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-intro p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4,
.link-grid,
.split-layout,
.two-col {
  display: grid;
  gap: 1.4rem;
}

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

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

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

.link-grid,
.split-layout,
.two-col {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.info-card,
.service-card,
.article-card,
.faq-item,
.content-card,
.quote-box,
.callout,
.form-shell {
  padding: 1.35rem;
}

.info-card h3,
.service-card h3,
.article-card h3,
.faq-item h3,
.content-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.22rem;
}

.info-card p,
.service-card p,
.article-card p,
.faq-item p,
.content-card p,
.quote-box p,
.callout p,
.form-shell p,
table td {
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.check-list li,
.plain-links li,
.mini-list li {
  margin-bottom: 0.7rem;
}

.check-list li {
  padding-left: 1rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--blue-strong);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue);
  font-size: 0.95rem;
  background: rgba(20, 104, 160, 0.06);
}

.callout {
  border-left: 4px solid var(--blue-strong);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.cta-panel {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(7, 27, 49, 0.98), rgba(14, 61, 94, 0.92)),
    url("/assets/images/niagara-river-spray.webp") center/cover no-repeat;
  color: var(--white);
}

.cta-panel p {
  color: rgba(235, 244, 250, 0.92);
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-block,
.photo-band {
  margin-top: 2rem;
}

.media-block figure,
.photo-band figure {
  margin: 0;
}

.media-block img,
.photo-band img {
  width: 100%;
  border: 1px solid var(--line);
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-caption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

label {
  font-weight: 700;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

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

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3.6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
  gap: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links li,
.footer-articles li {
  margin-bottom: 0.65rem;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .link-grid,
  .split-layout,
  .two-col,
  .footer-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .section-intro {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .main-nav ul,
  .hero-actions,
  .form-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .form-grid,
  .photo-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dropdown-panel {
    position: static;
    margin-top: 0.75rem;
    min-width: 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero-grid,
  .hero-simple {
    padding: 4.4rem 0 3.8rem;
  }
}
