:root {
  --brand: #a61222;
  --brand-dark: #7b0d19;
  --accent: #d4af37;
  --accent-dark: #b8972f;
  --ink: #172025;
  --muted: #5f6b71;
  --line: #d9e1e4;
  --paper: #fbf8f4;
  --surface: #ffffff;
  --sea: #0e5360;
  --ice: #eaf4f6;
  --gold: #d4af37;
  --shadow: 0 20px 60px rgba(14, 34, 41, 0.18);
  --btn-shadow: 0 4px 12px rgba(166, 18, 34, 0.2);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- Unified Button Component --- */
.btn-base,
.login-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
}

/* Primary Action: Solid Brand Red */
.primary-action {
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--btn-shadow);
}

.primary-action:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 18, 34, 0.3);
  color: #ffffff;
}

/* Secondary Action: Ghost / Bordered */
.secondary-action {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Secondary Dark: For light backgrounds */
.secondary-action.dark {
  color: var(--brand);
  border-color: var(--brand);
}

.secondary-action.dark:hover {
  background: var(--brand);
  color: #ffffff;
}

/* Login Button: Header Style (White Outlined) */
.login-button {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  padding: 0 20px;
  min-height: 40px;
  font-size: 0.85rem;
}

.login-button:hover {
  background: #ffffff;
  color: var(--brand-dark);
  transform: translateY(-1px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 101;
}

.brand-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.menu-toggle.active .hamburger {
  background: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-links a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: 142px clamp(20px, 6vw, 78px) 64px;
  overflow: hidden;
}

.hero-media,
.delivery-image {
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 30, 0.82) 0%, rgba(13, 35, 42, 0.58) 48%, rgba(13, 35, 42, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 25, 30, 0.74) 0%, rgba(10, 25, 30, 0.05) 58%);
}

.hero-content,
.service-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  color: var(--surface);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 8vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.service-panel {
  align-self: end;
  padding: 28px;
  color: var(--surface);
  background: rgba(12, 35, 41, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.service-panel dl {
  margin: 0;
  display: grid;
  gap: 22px;
}

.service-panel dt {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-panel dd {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
}

.intro,
.capabilities,
.quality,
.contact-band {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 6vw, 78px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: var(--surface);
}

.intro > p,
.delivery-copy p,
.contact-band p,
.quality-row p,
.capability-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.intro > p {
  margin: 42px 0 0;
  font-size: 1.12rem;
}

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

.capabilities {
  background:
    linear-gradient(180deg, rgba(234, 244, 246, 0.72), rgba(251, 248, 244, 0.96)),
    var(--ice);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* --- Product Marquee --- */
.product-marquee-container {
  margin-top: 64px;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Fade edges */
.product-marquee-container::before,
.product-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.product-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--ice), transparent);
}

.product-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--ice), transparent);
}

.marquee-content {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll 360s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.marquee-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
}

.marquee-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.marquee-item span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand);
  text-align: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* We duplicate exactly 144 items, each 280px wide + 24px gap = 304px. 
       Total for 144 items is 304 * 144 = 43776px */
    transform: translateX(calc(-304px * 144));
  }
}

.capability-grid article {
  min-height: 270px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--brand);
  font-weight: 900;
}

.delivery {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 6vw, 78px);
  background: var(--surface);
}

.delivery-image {
  min-height: 560px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #334348;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: inset 0 0 0 5px var(--ice);
}

.quality {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(234, 244, 246, 0.72), rgba(251, 248, 244, 0.96)),
    var(--ice);
}

.quality .section-kicker {
  color: var(--gold);
}

.quality-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quality-row > div {
  min-height: 210px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quality-row p {
  color: var(--muted);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 6vw, 78px);
  background: var(--surface);
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  margin-bottom: 32px;
  min-height: 120px; /* Helps align the start of the form/map boxes */
}

.contact-heading h2 {
  margin-bottom: 12px;
}

.contact-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 0;
}

.contact-heading .section-kicker {
  margin-bottom: 10px;
}

.contact-right .contact-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.contact-form-wrap,
.map-wrap {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
}

.map-container {
  flex-grow: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 440px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions {
  display: flex;
  margin-top: 16px;
}

.field-wrap {
  display: grid;
  gap: 6px;
}

.field-wrap label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(141, 16, 29, 0.1);
}

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

.form-success,
.form-error {
  margin: 18px 0 0;
  padding: 14px 18px;
  font-weight: 700;
  border-radius: 4px;
}

.form-success {
  color: #0e5360;
  background: #eaf4f6;
}

.form-error {
  color: var(--brand);
  background: #fdeaea;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 42px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.8);
  background: var(--brand-dark);
}

.footer-info p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.site-footer a {
  font-weight: 800;
  color: #ffffff;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .login-button {
    grid-column: 2;
    justify-self: end;
    font-size: 0.8rem;
    padding: 0 12px;
    min-height: 38px;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding-bottom: 15px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .hero,
  .intro,
  .delivery,
  .contact-row {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 860px;
    align-content: end;
  }

  .capability-grid,
  .quality-row {
    grid-template-columns: 1fr;
  }

  .intro > p {
    margin-top: 0;
  }

  .delivery-image {
    min-height: 420px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-heading {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 12px 16px;
  }

  .nav-links {
    top: 74px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .login-button {
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 760px;
    padding: 112px 18px 34px;
  }

  .hero-actions,
  .contact-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    margin-bottom: 8px;
  }

  .service-panel,
  .capability-grid article,
  .quality-row > div {
    padding: 24px;
  }

  .intro,
  .capabilities,
  .quality,
  .contact-band,
  .delivery {
    padding: 62px 18px;
  }

  .delivery-image {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 42px 18px;
  }
}
