/* ============================================
   HELLENIC TRAILERS - Main Stylesheet
   Lamberet-aligned branding
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #002b5c;
  --primary-light: #003d82;
  --primary-dark: #001a3a;
  --accent: #c8102e;
  --accent-dark: #a00d24;
  --silver: #8c8c8c;
  --light-bg: #f4f6f9;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a5a;
  --text-light: #6c6c7c;
  --border: #dde1e7;
  --shadow: 0 2px 20px rgba(0, 43, 92, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 43, 92, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  /* Scoped instead of `all` so the browser never watches layout properties */
  --transition: color .25s ease, background-color .25s ease, border-color .25s ease,
                box-shadow .25s ease, transform .25s ease, opacity .25s ease;
  /* Passes 3:1 against both white (5.27:1) and --primary-dark (3.30:1) */
  --focus-ring: #0b5cff;
  --error: #c02626;
  --success: #0f7a3d;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Focus & motion --- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Dark surfaces get a white ring instead — brand blue is too close to the navy */
.top-bar :focus-visible,
.hero :focus-visible,
.page-banner :focus-visible,
.stats-bar :focus-visible,
.cta-section :focus-visible,
footer :focus-visible {
  outline-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Inline icons (replaced emoji) --- */
.ico {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.top-bar .ico,
.footer-contact .ico {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.contact-info-icon .ico {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--white);
  color: var(--primary);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switch button {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  /* WCAG 2.2 target size: was 40x21, below the 24x24 minimum */
  min-width: 44px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-switch button:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* Active must stay distinguishable from hover */
.lang-switch button.active {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Three-sphere brand mark (was a CSS-drawn placeholder) */
.logo-icon {
  width: auto;
  height: 42px;
  flex-shrink: 0;
}

/* Was an <h1>, which gave every page two level-one headings */
.logo-text .logo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

nav ul li a {
  padding: 10px 16px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
  background: rgba(200, 16, 46, 0.06);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  /* 44x44 touch target */
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}

/* Morph to an X so the open state is visible, not just implied */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  /* Solid colour first so text is never unreadable if the photo 404s or is slow */
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(100deg,
      rgba(0, 26, 58, 0.94) 0%,
      rgba(0, 26, 58, 0.88) 38%,
      rgba(0, 43, 92, 0.62) 70%,
      rgba(0, 43, 92, 0.45) 100%),
    url('../images/mitsopoulos-super-beef.jpeg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  /* Softened now that a photo sits behind it */
  background: radial-gradient(ellipse, rgba(200, 16, 46, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,43,92,0.3), transparent);
}

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

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.section-header p {
  max-width: 600px;
  margin: 24px auto 0;
  font-size: 1.05rem;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 16, 46, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Per-model quote CTA — the cards used to be dead ends */
.product-cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  align-self: flex-start;
}

.product-cta svg {
  transition: transform .25s ease;
}

.product-card:hover .product-cta svg {
  transform: translateX(4px);
}

.product-image {
  height: 220px;
  background: linear-gradient(135deg, var(--light-bg), #dde3ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.product-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  margin-bottom: 12px;
}

.product-info p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  background: rgba(0, 43, 92, 0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.founders-grid .service-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: none;
  border-top: 4px solid var(--accent);
  padding: 36px 28px;
}

.founders-grid .service-icon {
  margin-bottom: 8px;
}

.founders-grid .service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.founders-grid .service-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-medium);
}

.founders-grid .service-content ul {
  text-align: left;
  display: inline-block;
}

.founders-grid .service-content ul li {
  font-size: 0.85rem;
}

.founder-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-bottom: 12px;
}

.founder-logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* SR2 Range Grid */
.sr2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sr2-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.sr2-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sr2-image {
  height: 180px;
  background: linear-gradient(135deg, #f0f4f8, #e8ecf2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sr2-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sr2-card h3 {
  padding: 16px 20px 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.sr2-card p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .sr2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sr2-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-content h3 {
  margin-bottom: 10px;
}

.service-content p {
  font-size: 0.93rem;
}

.service-content ul {
  list-style: none;
  margin-top: 12px;
}

.service-content ul li {
  padding: 4px 0;
  color: var(--text-medium);
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
}

.service-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, var(--light-bg), #d5dbe6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  height: 516px;
}

.gallery-placeholder {
  font-size: 3rem;
  opacity: 0.4;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 92, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-weight: 600;
}

/* --- News --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.news-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-gallery img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 0.9rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 43, 92, 0.1);
}

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

.form-group .required-mark {
  color: var(--accent);
  margin-left: 2px;
}

.form-group .hint {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Spam trap: taken out of the layout without display:none, which some bots skip */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Consent --- */
.form-consent .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-group.form-consent.has-error input[type="checkbox"] {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

/* --- Validation --- */
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--error);
}

.form-group.has-error .field-error {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--error);
  background: #fff7f7;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
  box-shadow: 0 0 0 3px rgba(192, 38, 38, 0.15);
}

/* Focusable summary at the top of the form, linking to each bad field */
.error-summary {
  display: none;
  border: 2px solid var(--error);
  border-left-width: 6px;
  background: #fff7f7;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.error-summary.visible {
  display: block;
}

.error-summary h3 {
  font-size: 1.05rem;
  color: var(--error);
  margin-bottom: 8px;
}

.error-summary ul {
  list-style: none;
  margin: 0;
}

.error-summary li {
  margin-top: 4px;
}

.error-summary a {
  color: var(--error);
  font-weight: 600;
  text-decoration: underline;
}

.form-status {
  display: none;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-weight: 600;
}

.form-status.visible {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-status.success {
  border: 2px solid var(--success);
  border-left-width: 6px;
  background: #f2fbf5;
  color: var(--success);
}

.form-status.error {
  border: 2px solid var(--error);
  border-left-width: 6px;
  background: #fff7f7;
  color: var(--error);
}

.form-status.info {
  border: 2px solid var(--primary);
  border-left-width: 6px;
  background: #f2f6fb;
  color: var(--primary);
}

.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0, 43, 92, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  box-shadow: var(--shadow);
  height: 300px;
  background: var(--light-bg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Partners Banner --- */
.partners-banner {
  padding: 48px 0;
  background: var(--white);
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.partner-logo {
  padding: 16px 32px;
  background: var(--light-bg);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 1px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Without this the global `a { color: var(--primary) }` renders navy on navy */
.footer-contact a {
  color: inherit;
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  /* was 0.4 — only 3.72:1, below the 4.5:1 minimum. Now 6.8:1 */
  color: rgba(255,255,255,0.6);
}

/* ============================================
   PAGE BANNER (Internal pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(200, 16, 46, 0.12) 0%, transparent 60%);
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 12px;
  position: relative;
}

.page-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  position: relative;
}

.breadcrumb {
  position: relative;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255,255,255,0.6);
  margin: 0 8px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ============================================
   MOBILE ACTION BAR
   Phone was hidden entirely below 768px — the worst
   place to remove tap-to-call for a fleet business.
   ============================================ */
.mobile-actionbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 43, 92, 0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.mobile-actionbar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.mobile-actionbar .ab-call {
  background: var(--accent);
  color: var(--white);
}

.mobile-actionbar .ab-quote {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .products-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  /* Keep the phone number — hide only email and hours */
  .top-bar-left {
    gap: 12px;
    min-width: 0;
  }

  .top-bar-left span:not(.tb-phone) {
    display: none;
  }

  .top-bar-left .tb-phone {
    white-space: nowrap;
  }

  .lang-switch button {
    min-height: 40px;
  }

  /* Sticky call/quote bar, plus room so it never covers the footer */
  .mobile-actionbar {
    display: flex;
  }

  body {
    padding-bottom: 76px;
  }

  /* Text spans the full width here, so the photo needs a heavier scrim */
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(0, 26, 58, 0.93) 0%,
        rgba(0, 26, 58, 0.88) 55%,
        rgba(0, 43, 92, 0.80) 100%),
      url('../images/mitsopoulos-super-beef.jpeg');
    background-position: center;
  }

  .mobile-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--accent);
    /* Long menus must scroll rather than run off the viewport */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  nav ul.open {
    display: flex;
  }

  nav ul li a {
    padding: 14px 16px;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--border);
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2.2rem; }

  .features-grid,
  .products-grid,
  .services-grid,
  .founders-grid,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
    height: 250px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons .btn {
    justify-content: center;
  }

  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}
