/* ============================================================
   ROOT TOKENS / DESIGN SYSTEM
   ============================================================ */

:root {
  --font-main: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --color-text: #020617;
  --color-text-muted: #4b5563;

  /* Brand green system */
  --feature-color: #73b253;          /* <- use your green here */
  --feature-color-soft: #8cca6e;     /* <- slightly lighter version */
  --feature-color-bg-soft: rgba(115, 178, 83, 0.08);
  --feature-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);

  --color-accent: var(--feature-color);
  --color-accent-soft: var(--feature-color-soft);
  
  --brand-darkblue: #05242d; /* same dark blue from gradient */


  --color-border: #e5e7eb;
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.06);
  
  --logo-line-thickness: 12px;
  --logo-inset: 26px;
  --logo-green: #73b253;
  --logo-dark: #05242d;
}

}

/* ============================================================
   GLOBAL RESET & TYPOGRAPHY
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #f9fafb;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--color-text);
  font-weight: 650;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

h2 {
  font-size: 1.65rem;
    margin-bottom: 0.4rem;
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
    margin-bottom: 0.4rem;
  line-height: 1.15;
}

p {
  line-height: 1.8;
  letter-spacing: 0;
  margin: 0 0 1.2rem;
}

strong {
  font-weight: 650;
}

/* LINKS ---------------------------------------------------------- */

a {
  color: var(--color-accent);
  text-decoration: none;
}

/* Reusable highlight outline box */
.outline-box {
  border: 3px solid var(--feature-color);
  box-sizing: border-box;
}

.section-centered {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Reusable image bg */

.section-bg {
  background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.icon {
  width: 50px;
  height: 50px;
  fill: #73b253; /* brand green */
}

/* ============================================================
   LOGO CSS PANEL
   ============================================================ */

.logo-panel {
  position: relative;
  background: var(--logo-green);
  min-height: 260px;
  overflow: visible;
}

/* Horizontal line – full width */
.logo-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;                       /* was: right: var(--logo-inset); */
  bottom: var(--logo-inset);
  height: var(--logo-line-thickness);
  background: var(--logo-dark);
}

/* Vertical line – full height */
.logo-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;                      /* was: bottom: var(--logo-inset); */
  right: var(--logo-inset);
  width: var(--logo-line-thickness);
  background: var(--logo-dark);
}


/* Circle */
.logo-panel-circle {
  position: absolute;
  bottom: calc(var(--logo-inset) + var(--logo-line-thickness));
  right: calc(var(--logo-inset) + var(--logo-line-thickness));
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: var(--logo-line-thickness) solid var(--logo-dark);
  background: var(--logo-green);
  box-sizing: border-box;
}

/* Inner dot */
.logo-panel-circle::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: var(--logo-dark);
}


/* ============================================================
   HEADER / HERO HEADER STRIP
   ============================================================ */

.hero-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 3.2rem 0;
  color: #f9fafb;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
}

/* Logo sprite */
.brand-main {
  display: inline-block;
  width: 210px;
  height: 52px;
  background-image: url("dumbwaiters_logo-white@2x.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
}

/* CTA block ------------------------------------------------------ */

.hero-top-cta {
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.hero-top-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.8);
}

/* Buttons row – side by side on desktop -------------------------- */

.hero-top-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* ============================================================
   BUTTONS – SQUARE STYLE
   ============================================================ */

.btn,
.btn-phone,
.btn-outline-pink,
.btn--primary,
.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 0;             /* square edges */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid;
  border-color: var(--feature-color);
}

/* Header-specific CTAs slightly smaller */
.btn-phone,
.btn-outline-pink {
  padding: 0.6rem 1.3rem;
  border: 1px solid
}

/* Solid primary */
.btn--primary,
.btn-phone {
  background-color: var(--feature-color);
  color: #f9fafb;
  border-color: var(--feature-color);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);   /* flatter look */
}

/* Solid hover */
.btn--primary:hover,
.btn--primary:focus-visible,
.btn-phone:hover,
.btn-phone:focus-visible {
  background-color: #276749;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
  color: #f9fafb !important;
}

/* Outline buttons – neutral frame */
.btn--outline,
.btn-outline-pink {
  background: transparent;
}

/* Outline hover */
.btn--outline:hover,
.btn--outline:focus-visible,
.btn-outline-pink:hover,
.btn-outline-pink:focus-visible {
  background: rgba(15, 23, 42, 0.3);
  border-color: #f9fafb;
  color: #f9fafb;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
  transform: translateY(-1px);
}



/* ============================================================
   NAV / MENU
   ============================================================ */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  margin-top: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.menu-item {
  position: relative;
  font-weight: 500;
  text-transform: none;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.9;
  font-size: 0.93rem;
}

/* ============================================================
   RESPONSIVE HEADER & CONTAINERS
   ============================================================ */

@media (max-width: 1024px) {
  .hero-header {
    padding-inline: 2rem;
  }

  .nav {
    gap: 1.2rem;
  }

  .page-container {
    padding-inline: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-header {
    padding-inline: 1.4rem;
  }

  .brand-main {
    width: 170px;
    height: 40px;
  }

  .hero-top-buttons {
    flex-direction: column;
    align-items: flex-end;
  }

  .nav {
    margin-top: 1rem;
    gap: 0.9rem;
  }

  .page-container {
    padding-inline: 1.4rem;
  }
}

/* ============================================================
   INTERACTIVE / ROLLOVER EFFECTS
   ============================================================ */

a,
button,
.btn,
.btn-phone,
.btn-outline-pink,
.feature-heading,
.nav a {
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

/* Nav hover */
.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

/* Generic outline button hover handled above */

/* Feature label hover */
.feature-heading:hover,
.feature-heading:focus-visible {
  background-color: #0f172a;
}

/* Generic hover helpers */
.hover-accent-text:hover,
.hover-accent-text:focus-visible {
  color: var(--feature-color);
}

.hover-accent-bg:hover,
.hover-accent-bg:focus-visible {
  background: var(--feature-color-bg-soft);
}

.hover-raise:hover,
.hover-raise:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

/* Accessible focus outline */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============================================================
   FEATURE HEADING (ALT STYLE)
   ============================================================ */

.feature-heading {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: #0f172a;
  color: #e5fbe4;
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;             /* square */
  margin: 0.7rem 0;
  position: relative;
  border-left: 4px solid var(--feature-color);
  border-right: 1px solid rgba(148, 163, 184, 0.7);
  border-top: 1px solid rgba(148, 163, 184, 0.7);
  border-bottom: 1px solid rgba(148, 163, 184, 0.7);
}

.feature-heading span {
  display: inline-block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.section {
  padding: 3.8rem 0;
}

.section--tight {
  padding: 2rem 0;
}



/* ============================================================
   CARD – SQUARE PANEL
   ============================================================ */


.card {
  background: #ffffff;
  border: 2px solid var(--logo-green);         /* new green border */
  border-radius: 0 0 0px 0;                   /* only bottom-right rounded */
  padding: 2rem 1.8rem;
  box-shadow: none; 
  position: relative;
  z-index: 2;/* remove soft shadow if preferred */
}


/* LISTS ----------------------------------------------------------- */

ul,
ol {
  margin: 0 0 1.4rem 1.4rem;
  padding: 0;
}

li {
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
}

/* ============================================================
   DROPDOWN BASE
   ============================================================ */

.has-dropdown > a::after {
  content: "▾";
  margin-left: 0.35rem;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  white-space: nowrap;
  background: #ffffff;
  border-radius: 0;                       /* square */
  padding: 0.6rem 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  display: none;
  z-index: 100;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  letter-spacing: 0.04em;
  color: #111827;
  text-decoration: none;
  opacity: 0.9;
}

.dropdown a:hover {
  background: var(--feature-color-bg-soft);
  color: var(--feature-color);
  opacity: 1;
}

/* Show dropdown on hover (desktop) */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

/* ============================================================
   HERO WRAPPER + ALT GRADIENT BG
   ============================================================ */

/* Wraps header + hero */
.hero-shell {
  position: relative;
  overflow: hidden;
  color: #f9fafb;

  /* Dark diagonal gradient with subtle green */
  background-image:
    linear-gradient(
      135deg,
      #020617 0%,
      #020617 35%,
      #0f172a 70%,
      #022c22 100%
    ),
    url("hero-lift.jpg");        /* update path as needed */
  background-size: cover;
  background-position: center;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 161, 105, 0.32), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(15, 23, 42, 0.6), transparent 65%);
  pointer-events: none;
}

/* Ensure header sits above overlay */
.hero-shell .hero-header {
  position: relative;
  z-index: 2;
}

/* ============================================================
   HERO SECTION (TEXT + BG IMAGE)
   ============================================================ */

.hero-banner {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  color: #f9fafb;
  z-index: 1;
}

.hero-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Left copy column */
.hero-banner-copy {
  max-width: 640px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--feature-color-soft);
  padding: 0.15rem 0;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 6px rgba(115, 178, 83, 0.55);
  border: none;
}



.hero-banner h1 {
  color: #f9fafb;
}

.hero-banner-lede {
  margin-bottom: 1.4rem;
  color: #fff;
}

.hero-banner-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Right media column */

.hero-banner-media {
  position: relative;
  min-height: 420px;      /* or match your video height */
  display: flex;
  align-items: center;    /* THIS vertically centers the video */
  justify-content: center; /* optional: horizontally center */
}


.hero-banner-media .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

.hero-banner-media .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


  /* NEW — highlight green border */
  border: 3px solid var(--feature-color);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1); /* subtle outer line for definition */
}



/* Soft square highlight */
.hero-banner-media::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.9), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   BENEFIT STRIP (Own Background Colour)
   ============================================================ */

.benefit-strip {
  background:  linear-gradient(
      135deg,
      #020617 0%,
      #020617 35%,
      #0f172a 70%,
      #022c22 100%
    ),
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ============================================================
   PRODUCT / RANGE CARDS
   ============================================================ */

.range-card {
  display: flex;
  flex-direction: column;
}

.range-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;              /* consistent height without inline styles */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  margin-bottom: 0.9rem;            /* spacing between image and text */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

/* Push button row to the bottom of each card */
.range-card-footer {
  margin-top: auto;
}

/* Slightly smaller heading for range cards */
.range-card h5 {
  margin-bottom: 0.4rem;
}



/* ============================================================
   HERO RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero-banner-inner {
    grid-template-columns: 1fr;
  }

  .hero-banner-media {
    min-height: 260px;
  }

  .hero-banner-media::before {
    background-position: center bottom;
    background-size: 320px auto;
  }

  .hero-banner-media::after {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 600px) {
  .hero-banner {
    padding: 3rem 0 3.5rem;
  }

  .hero-banner-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner-media::before {
    background-size: 260px auto;
  }
}

/* ============================================================
   COMMON LAYOUT RATIOS (GRIDS)
   ============================================================ */

.grid-50-50,
.grid-60-40,
.grid-40-60,
.grid-3,
.grid-30-30-30,
.grid-4,
.stack {
  display: grid;
}

/* 2 columns */
.grid-50-50 {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-60-40 {
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.grid-40-60 {
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}

/* 3 columns */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.grid-30-30-30 {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* 4 columns */
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Stacked blocks */
.stack {
  gap: 2rem;
}

/* Internal spacing for grid items (no card style) */
.grid-50-50 > *,
.grid-60-40 > *,
.grid-40-60 > *,
.grid-3 > *,
.grid-30-30-30 > *,
.grid-4 > * {
  padding: 1.8rem 1.4rem;
}

/* Grid responsiveness */

@media (max-width: 1024px) {
  .grid-50-50,
  .grid-60-40,
  .grid-40-60,
  .grid-3,
  .grid-30-30-30 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .grid-50-50,
  .grid-60-40,
  .grid-3,
  .grid-30-30-30,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-direction: column;
    gap: 1.4rem;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid #111827;
  background: #020617;
  color: #e5e7eb;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-meta {
  flex: 1 1 auto;
}

.footer-line {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0.78;
}

.footer-links a:hover {
  opacity: 1;
}

footer .logo-panel-content {
  color: var(--brand-darkblue);         /* all footer text */
  font-size: 0.9rem;                    /* smaller footer body text */
}

footer .logo-panel-content h1,
footer .logo-panel-content h2,
footer .logo-panel-content h3,
footer .logo-panel-content h4,
footer .logo-panel-content h5,
footer .logo-panel-content h6 {
  text-transform: uppercase;            /* uppercased headings */
  color: var(--brand-darkblue);         /* ensures headings match brand */
}

footer .logo-panel-content a {
  color: var(--brand-darkblue) !important;
}



/* Responsive footer layout */

@media (max-width: 1024px) {
  .footer-inner {
    padding-inline: 2rem;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding-inline: 1.4rem;
  }
}
