/* ==========================================================================
   Invicta Landing Page — Custom CSS
   Mobile-first. Bootstrap 5 utilities applied first; custom only where needed.
   Organized by section matching PHP template order.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS / CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-red:        #E03C31;
  --color-red-hover:  #c0332a;
  --color-navy:       #253746;
  --color-navy-light: #2f4658;
  --color-yellow:     #EDFF00;
  --color-gray-bg:    #D1D3D4;
  --color-white:      #ffffff;
  --color-text:       #2c2c2c;
  --color-text-muted: #555555;
  --color-border:     #d0d0d0;

  /* Spacing */
  --section-py:       5rem;     /* 80px — desktop section padding */
  --section-py-sm:    3rem;     /* 48px — mobile section padding  */
  --content-max:      1200px;
  --hero-min-height:  520px;

  /* Typography */
  --font-primary:     'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* CTA bar heights */
  --cta-bar-height:   72px;

  /* Transitions */
  --transition-base:  0.2s ease;
}

/* --------------------------------------------------------------------------
   2. BASE / RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.invicta-landing {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body.invicta-landing img {
  max-width: 100%;
  display: block;
}

body.invicta-landing sup {
  font-size: 0.6em;
  vertical-align: super;
  top: .1em;
}

/* Shared section heading modifiers */
.section-heading--red {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.section-heading--center {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-text);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  text-align: center;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.section-rule {
  border: none;
  border-top: 2px solid var(--color-red);
  opacity: 1;
  width: 100%;
  margin: 1.25rem 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. OFF-CANVAS NAVIGATION
   -------------------------------------------------------------------------- */
.invicta-offcanvas {
  background-color: var(--color-navy);
  color: var(--color-white);
  width: 280px;
}

.invicta-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 1.5rem;
}

.offcanvas-logo {
  height: 40px;
  width: auto;
}

.invicta-nav-list {
  margin: 0;
  padding: 1rem 0;
}

.invicta-nav-list li {
  margin: 0;
}

.invicta-nav-list li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--transition-base), padding-left var(--transition-base);
}

.invicta-nav-list li a:hover,
.invicta-nav-list li a:focus {
  background-color: var(--color-red);
  padding-left: 1.875rem;
  outline: none;
}

/* --------------------------------------------------------------------------
   4. SITE HEADER / NAV BAR (shared — both landing and rentals pages)
   Positioned absolute so it overlays the top of each page's hero image.
   -------------------------------------------------------------------------- */

/* Page-level max-width wrapper (rentals page) */
.page-wrap {
  max-width: 2280px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: clip;
}

.invicta-site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-red);
  height: 80px;
  padding: 0 2rem;
}

.site-nav-phone {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-nav-phone:hover,
.site-nav-phone:focus {
  color: var(--color-yellow);
  text-decoration: underline;
}

/* Hamburger button — base styles (used inside .invicta-site-header) */
.hamburger-toggle {
  position: static;
  z-index: 10;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  line-height: 1;
}

.hamburger-toggle:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
  border-radius: 2px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-icon span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   5. HERO / HEADER (landing page)
   -------------------------------------------------------------------------- */
.hero-header {
  position: relative;
  display: block;
  line-height: 0;
}

.hero-full-img {
  display: block;
  width: 100vw;
  max-width: none !important;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   5. VIDEO SECTION
   -------------------------------------------------------------------------- */
.video-section {
  position: relative;
  background-color: transparent;
  background-image: url('../images/Row-of-Invicta-Vessels.png');
  background-size: cover;
  background-position: center -100px;
  background-attachment: scroll;
  padding: var(--section-py) 0;
}

.video-container {
  position: relative;
  z-index: 1;
}

/* 16:9 video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #111;
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

@media (max-width: 767.98px) {
  .video-wrapper {
    margin: 20px 0 40px;
  }
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video heading split: large bold line + smaller sub-line */
.video-heading {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #656565;
  max-width: 400px;
  /* border: 1px solid red; */
}

.video-heading__sub {
  /* font-size: clamp(1rem, 2vw, 1.75rem); */
  font-weight: 500;
  color: #656565;
  display: block;
  /* max-width: 300px; */
}

.video-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 400px;
}

@media (max-width: 575.98px) {
  .video-section {
    padding: var(--section-py-sm) 0;
  }
}

@media (min-width: 992px) {
  .video-section {
    padding: 12rem;
  }
}

/* --------------------------------------------------------------------------
   6. CTA BAR (Sections 3 & 9 — reused component)
   -------------------------------------------------------------------------- */
.cta-bar {
  display: flex;
  flex-wrap: wrap;
}

.cta-bar__red {
  flex: 0 0 50%;
  background-color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--cta-bar-height);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 0;
  padding-right: 72px;
}

.cta-bar__yellow {
  flex: 0 0 50%;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  min-height: var(--cta-bar-height);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 72px;
  padding-right: 0;
}

.cta-bar__text {
  color: var(--color-white);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
}

.cta-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-bar__or {
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Outlined CTA button */
.btn-cta-outline {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.03em;
  background: transparent;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
  min-width: 70px;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
  background-color: var(--color-yellow);
  color: var(--color-navy);
  outline: none;
}

.btn-cta-outline:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Responsive CTA bar: stack on mobile */
@media (max-width: 767.98px) {
  .cta-bar__red,
  .cta-bar__yellow {
    flex: 0 0 100%;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   7. SPACE CHART SECTION (Cartridge Comparison)
   -------------------------------------------------------------------------- */
.space-chart-section {
  background-color: var(--color-navy);
  padding: var(--section-py) 0;
  color: var(--color-white);
}

.space-chart-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.space-chart-svg {
  display: block;
}

@media (min-width: 992px) {
  .space-chart-svg {
    width: 300px;
  }
}

.space-chart-label {
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.label-invicta {
  color: var(--color-red);
}

/* In the space chart section, override heading color for dark bg */
.space-chart-section .section-heading--red {
  color: var(--color-red);
}

.space-chart-content {
  color: var(--color-white);
}

.space-chart-content .section-rule {
  border-top-color: var(--color-red);
}

.space-chart-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.975rem;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .space-chart-section {
    padding: var(--section-py-sm) 0;
  }
}

/* --------------------------------------------------------------------------
   8. FEATURE BUCKETS
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--color-white);
  padding: var(--section-py) 0;
}

.feature-grid {
  margin-top: 0.5rem;
}

.feature-card {
  background: none;
  border: none;
}

.feature-card__img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .feature-card__img {
    width: 480px;
    height: 340px;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.feature-card__heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-red);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.feature-card__body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575.98px) {
  .features-section {
    padding: var(--section-py-sm) 0;
  }
}

/* --------------------------------------------------------------------------
   9. MATERIALS / APPLICATIONS TABLE
   -------------------------------------------------------------------------- */
.materials-section {
  background-color: var(--color-white);
  padding: 0 0 var(--section-py);
}

.specs-grid {
  display: flex;
  border: 1px solid var(--color-border);
}

.specs-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
}

.specs-col:last-child {
  border-right: none;
}

.specs-col__header {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  text-align: center;
  line-height: 1.4;
}

.specs-col__header--gray {
  background-color: #D1D3D4;
  color: var(--color-text);
}

.specs-col__header--red {
  background-color: var(--color-red);
  color: var(--color-white);
}

.specs-col__body {
  padding: 1.25rem 1rem;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text);
  text-align: center;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.specs-col__body em {
  font-style: italic;
}

@media (max-width: 767.98px) {
  .materials-section {
    padding-bottom: var(--section-py-sm);
  }

  .specs-grid {
    flex-direction: column;
  }

  .specs-col {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .specs-col:last-child {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   10. BENEFITS CHART SECTION
   -------------------------------------------------------------------------- */
.benefits-section {
  background-color: var(--color-navy);
  padding: var(--section-py) 0;
}

.benefits-section .section-heading--red {
  color: var(--color-red);
  margin-bottom: 4rem;
}

.benefits-figure {
  margin: 0;
  text-align: center;
}

.benefits-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .benefits-figure {
    overflow: hidden;
  }

  .benefits-img {
    width: 1000px;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .benefits-section {
    padding: var(--section-py-sm) 0;
  }

  .benefits-section .container {
    padding-left: 0;
    padding-right: 0;
  }

  .benefits-img {
    width: calc(100% - 20px);
    max-width: none;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* --------------------------------------------------------------------------
   11. VS CHARTS SECTION (Performance Comparison)
   -------------------------------------------------------------------------- */
.vs-charts-section {
  background-color: var(--color-gray-bg);
  padding: var(--section-py) 0;
  overflow: hidden;
}

/* Heading style: white on gray (matches PSD — white text in gray section) */
.vs-charts-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.vs-charts-section .section-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.chart-block {
  background: var(--color-white);
  padding: 2rem 1.5rem 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
}

.chart-block:last-of-type {
  margin-bottom: 0;
}

.chart-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.chart-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 480px;
}

@media (min-width: 768px) {
  .chart-block,
  .vs-charts-heading,
  .vs-charts-section .section-intro {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
}

.chart-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .vs-charts-section {
    padding: var(--section-py-sm) 0;
  }

  .chart-block {
    padding: 1.25rem 1rem 1rem;
  }

  .chart-canvas-wrapper {
    min-height: 200px;
  }
}

/* --------------------------------------------------------------------------
   12. CASE STUDIES SECTION
   -------------------------------------------------------------------------- */
.case-studies-section {
  background-color: var(--color-white);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .vessel-col {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    padding: 0;
  }

  .vessel-feature-figure {
    margin: 0;
    width: 100%;
  }

  .vessel-feature-img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: 700px;
    object-fit: contain;
    object-position: right center;
  }

  .case-studies-section .col-lg-8 {
    padding-right: 6rem;
  }
}

.case-studies-section .section-heading--red {
  margin-bottom: 2rem;
}

/* Case study card */
.case-study-card {
  background: none;
  border: none;
  margin-bottom: 0;
}

.case-study-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.case-study-card__body {
  padding: 0.25rem 0;
  text-align: center;
}

.case-study-card__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.2rem;
  color: #999999;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-align: center;
}

.case-study-card__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pdf-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pdf-icon img {
  display: block;
  height: 33px !important;
  width: auto !important;
}

/* Red "Download Study" button */
.btn-download {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color var(--transition-base);
  white-space: nowrap;
}

.btn-download:hover,
.btn-download:focus {
  background-color: var(--color-red-hover);
  color: var(--color-white);
  outline: none;
}

.btn-download:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .vessel-feature-figure {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vessel-feature-img {
    max-height: 360px;
    width: auto;
    object-fit: contain;
  }
}

@media (max-width: 767.98px) {
  .vessel-col {
    padding-right: 0;
  }

  .vessel-feature-figure {
    justify-content: flex-end;
  }

  .vessel-feature-img {
    max-width: 65%;
  }
}

@media (max-width: 575.98px) {
  .case-studies-section {
    padding: var(--section-py-sm) 0;
  }

  .case-study-card__img {
    height: 180px;
  }
}

/* --------------------------------------------------------------------------
   13. FLEXIBLE PATHS SECTION
   -------------------------------------------------------------------------- */
.paths-section {
  background-color: var(--color-navy);
  padding: var(--section-py) 0;
  color: var(--color-white);
}

.paths-section .section-heading--red {
  color: var(--color-red);
}

.section-intro--light {
  color: rgba(255,255,255,0.75);
}

/* Grid with vertical dividers between columns */
.paths-grid {
  margin-top: 2rem;
  position: relative;
}

.path-card {
  padding: 0 2rem;
  position: relative;
}

/* Vertical dividers on desktop */
@media (min-width: 768px) {
  .path-card--center {
    border-left: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.2);
  }
}

.path-card__inner {
  text-align: center;
  padding: 1rem 0;
}

.path-card__icon-wrap {
  margin: 0 auto 1.5rem;
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-card__icon {
  /* max-width: 100%; */
  /* max-height: 100%; */
  object-fit: contain;
  width: 200px;
}

.path-card__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-red);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.path-card__subtitle {
  font-weight: 400;
  /* font-style: italic; */
  font-size: 0.9rem;
  color: var(--color-yellow);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.path-card__body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
}

/* Mobile: remove horizontal padding/dividers, add bottom border */
@media (max-width: 767.98px) {
  .path-card {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .path-card:last-child {
    border-bottom: none;
  }

  .paths-section {
    padding: var(--section-py-sm) 0;
  }
}

/* --------------------------------------------------------------------------
   14. FAQS SECTION
   -------------------------------------------------------------------------- */
.faqs-section {
  background-color: var(--color-white);
  padding: var(--section-py) 0;
}

.faqs-section .container {
  position: relative;
}

.faqs-section .section-heading--center {
  color: var(--color-red);
}

.faqs-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-question {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b6b6b;
  margin: 0 0 0.35rem;
}

.faq-answer {
  font-size: 0.975rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 575.98px) {
  .faqs-section {
    padding: var(--section-py-sm) 0;
  }
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 3.5rem 0 2rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

img.footer-logo {
  height: 72px;
  width: auto;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-social {
  margin-top: 0.5rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.footer-social__link:hover,
.footer-social__link:focus {
  opacity: 0.75;
  outline: none;
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
  border-radius: 50%;
}

.footer-social__icon {
  width: 36px;
  height: 36px;
}

/* Form column */
.footer-form-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-form__input,
.footer-form__select,
.footer-form__textarea {
  background-color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.875rem;
}

.footer-form__input::placeholder,
.footer-form__textarea::placeholder {
  color: #777;
}

.footer-form__input:focus,
.footer-form__select:focus,
.footer-form__textarea:focus {
  background-color: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
  outline: none;
}

.footer-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-footer-submit {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
  letter-spacing: 0.03em;
}

.btn-footer-submit:hover,
.btn-footer-submit:focus {
  background-color: var(--color-white);
  color: var(--color-red);
  outline: none;
}

/* Ninja Forms override: match footer form look to the original design */
.footer-contact-form .nf-form-cont,
.footer-contact-form .nf-form-content {
  padding: 0;
  max-width: none;
}

/* Hide NF-rendered title (our h2 is above) and the required hint */
.footer-contact-form .nf-form-title,
.footer-contact-form .nf-form-fields-required,
.footer-contact-form .nf-field-label,
.footer-contact-form .nf-before-form-content,
.footer-contact-form .nf-before-field,
.footer-contact-form .nf-after-field {
  display: none !important;
}

/* Flex row across the NF field siblings */
.footer-contact-form nf-fields-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.footer-contact-form nf-field {
  flex: 1 1 100%;
  min-width: 0;
  display: block;
}

/* Name (1st) + Email (2nd) side-by-side */
.footer-contact-form nf-field:nth-of-type(1),
.footer-contact-form nf-field:nth-of-type(2) {
  flex: 1 1 calc(50% - 0.25rem);
}

/* Phone (3rd) + Region (4th) side-by-side */
.footer-contact-form nf-field:nth-of-type(3),
.footer-contact-form nf-field:nth-of-type(4) {
  flex: 1 1 calc(50% - 0.25rem);
}

.footer-contact-form .nf-field-container {
  margin-bottom: 0;
  padding: 0;
}

.footer-contact-form input[type="text"],
.footer-contact-form input[type="email"],
.footer-contact-form input[type="tel"],
.footer-contact-form textarea,
.footer-contact-form select {
  background-color: #c2c2c2;
  border: none;
  border-radius: 0;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  line-height: 1.4;
  box-shadow: none;
}

.footer-contact-form input[type="text"]::placeholder,
.footer-contact-form input[type="email"]::placeholder,
.footer-contact-form input[type="tel"]::placeholder,
.footer-contact-form textarea::placeholder {
  color: #fff;
  opacity: 0.95;
}

.footer-contact-form input[type="text"]:focus,
.footer-contact-form input[type="email"]:focus,
.footer-contact-form input[type="tel"]:focus,
.footer-contact-form textarea:focus,
.footer-contact-form select:focus {
  background-color: #d4d4d4;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
  outline: none;
}

.footer-contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.footer-contact-form input[type="button"],
.footer-contact-form input[type="submit"] {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
  letter-spacing: 0.03em;
  border-radius: 0;
  width: auto;
  box-shadow: none;
  text-transform: none;
}

.footer-contact-form input[type="button"]:hover,
.footer-contact-form input[type="button"]:focus,
.footer-contact-form input[type="submit"]:hover,
.footer-contact-form input[type="submit"]:focus {
  background-color: var(--color-white);
  color: var(--color-red);
  outline: none;
}

.footer-contact-form .nf-error-msg,
.footer-contact-form .nf-error-field-errors {
  color: var(--color-white);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Phone column */
.footer-phone-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.footer-phone-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-top: 0.25rem;
}

.footer-phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-phone {
  display: block;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.footer-phone:hover {
  color: var(--color-white);
  opacity: 0.85;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 1.25rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
}

.footer-legal-nav {
  font-size: 0.8rem;
}

.footer-legal-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal-nav a:hover {
  color: var(--color-white);
}

/* Footer mobile stacking */
@media (max-width: 767.98px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-col--info {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   16. ACCESSIBILITY UTILITIES
   -------------------------------------------------------------------------- */
/* Bootstrap's .visually-hidden is included, but ensure it's available */
.sr-only,
.visually-hidden:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus-visible ring for keyboard navigation */
.invicta-landing *:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   RENTALS PAGE — page-rentals.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   RENTALS HERO
   -------------------------------------------------------------------------- */
.rental-hero {
  position: relative;
  display: block;
  line-height: 0;
}

.rental-hero-full-img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   RENTAL UNITS SECTION
   -------------------------------------------------------------------------- */
.rental-units-section {
  background-color: var(--color-white);
  padding: var(--section-py) 0;
}

.rental-intro {
  max-width: 900px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.rental-intro__heading {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.rental-intro__body {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Individual unit */
.rental-unit {
  margin-bottom: 3.5rem;
}

.rental-unit:last-of-type {
  margin-bottom: 0;
}

/* Unit header: large gray-blue number | vertical pipe | gray model name ——— red rule */
.rental-unit__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

/* Large light blue-gray number (01, 02, …) */
.rental-unit__num {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #aac1da;
  line-height: 1;
  flex-shrink: 0;
}

/* Thin vertical pipe between number and model name */
.rental-unit__pipe {
  display: block;
  width: 2px;
  height: 2.75rem;
  background-color: #aac1da;
  flex-shrink: 0;
  align-self: center;
}

/* Gray model name */
.rental-unit__model {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #aac1da;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

/* Red horizontal rule stretching to the right edge */
.rental-unit__rule {
  flex: 1;
  height: 2px;
  background-color: var(--color-red);
  display: block;
  min-width: 1rem;
}

/* Photos and spec charts — mobile base */
.rental-unit__photo,
.rental-unit__spec {
  width: 100%;
  height: auto;
  display: block;
}

.rental-unit__spec svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Desktop: cap photo height to match unit 01's natural rendered height; center in column */
@media (min-width: 992px) {
  .rental-unit__photo {
    width: auto;
    max-width: 100%;
    max-height: 530px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .rental-units-section {
    padding: var(--section-py-sm) 0;
  }
  .rental-unit__photo,
  .rental-unit__spec {
    width: 100%;
    max-height: none;
  }
  .rental-unit__num {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .rental-unit__model {
    font-size: 0.9rem;
    white-space: normal;
    word-break: break-word;
  }
  .rental-unit__pipe {
    height: 2rem;
  }
}

/* =====================================================================
   LEGAL PAGES (Privacy Policy, Terms of Use)
===================================================================== */
.invicta-legal-main {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
}
.invicta-legal__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #c8102e;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.invicta-legal__content h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.invicta-legal__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.invicta-legal__content p,
.invicta-legal__content li {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.invicta-legal__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.invicta-legal__content li {
  margin-bottom: 0.35rem;
}
.invicta-legal__content a {
  color: #c8102e;
  text-decoration: underline;
}
