/* ===== Design tokens (extracted from live ramtranstt.com) ===== */
:root {
  --primary: #2235DD;
  --primary-dark: #131739;
  --text: #05060F;
  --text-muted: #4a4d5e;
  --bg-light: #F0F1FD;
  --bg-white: #ffffff;
  --border: #e2e3f5;
  --radius-pill: 100px;
  --radius-card: 16px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 56px; }
h2 { font-size: 40px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { color: var(--text-muted); }

.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,53,221,0.25); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 14px 32px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a.active,
.main-nav a:hover { border-bottom-color: var(--primary); color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-cta .btn { padding: 12px 26px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(90deg, rgba(6,147,227,0.18) 0%, rgba(155,81,224,0) 70%), var(--bg-light);
  padding: 90px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content .eyebrow { font-size: 14px; letter-spacing: 3px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-rule { width: 70px; height: 2px; background: var(--text); margin: 24px 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: 0 20px 50px rgba(19,23,57,0.15); }

.hero-simple {
  background: var(--bg-light);
  padding: 70px 0;
  text-align: center;
}
.hero-simple .eyebrow { justify-content: center; }
.hero-simple h1 { max-width: 700px; margin: 0 auto 20px; }
.hero-simple p { max-width: 600px; margin: 0 auto; font-size: 17px; }

/* ===== Info strip ===== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.info-item h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; }
.info-item p { color: var(--text); font-size: 16px; margin: 0; }

/* ===== Fleet section ===== */
.fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fleet-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.fleet-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}
.fleet-stat .num { font-size: 32px; font-weight: 700; color: var(--primary); display: block; }
.fleet-stat .label { font-size: 14px; color: var(--text-muted); }
.fleet-note {
  grid-column: 1 / -1;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  font-weight: 600;
}
.fleet-note span { font-weight: 400; opacity: 0.85; }

/* ===== Two-col text/image ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { width: 100%; height: auto; border-radius: var(--radius-card); }
.split .btn { margin-top: 12px; }

/* ===== Bullet list ===== */
.check-list { display: grid; gap: 14px; margin: 24px 0; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: 0 16px 40px rgba(19,23,57,0.1); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--bg-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.service-card p { font-size: 15px; margin-bottom: 16px; }
.service-card .link { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ===== Numbered process ===== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-item .num {
  font-size: 40px;
  font-weight: 700;
  color: var(--bg-light);
  -webkit-text-stroke: 1.5px var(--primary);
  margin-bottom: 12px;
  display: block;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:first-child img { height: 100%; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
}
.faq-question .icon { font-size: 20px; color: var(--primary); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 22px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--primary);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-banner .eyebrow { color: #cfd3ff; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dfe1ff; max-width: 560px; margin: 0 auto 28px; }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 16px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: #cfd1e6;
  padding: 48px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { color: #cfd1e6; font-size: 15px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 14px; color: #9698b8; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .split { grid-template-columns: 1fr; }
  .fleet { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-grid a:first-child img { height: 220px; }

  .main-nav { position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px 24px; border-bottom: 1px solid var(--border); transform: translateY(-150%); transition: transform 0.25s ease; gap: 20px; }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .header-cta { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .fleet-stats { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 36px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.footer-logo span { color: #8b93ff; }

/* =====================================================================
   SEO / accessibility / new-page additions
   ===================================================================== */

/* <picture> must not create a box, so every existing `img` rule still applies */
picture { display: contents; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ===== Breadcrumb ===== */
.breadcrumb { background: var(--bg-light); padding: 14px 0; border-bottom: 1px solid var(--border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.breadcrumb li + li::before { content: '/'; color: #b9bbd4; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--text-muted); }

/* ===== Hero extras ===== */
.hero-lede { font-size: 17px; margin-bottom: 28px; max-width: 52ch; }
.hero-simple .hero-actions { justify-content: center; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero-note { font-size: 14px; color: var(--text-muted); margin-top: 16px; }

/* ===== Long-form prose ===== */
.prose h2 { margin-bottom: 18px; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose h2 a { text-decoration: none; color: inherit; }
.prose h2 a:hover { color: var(--primary); }
.prose .btn { margin-top: 8px; }
.prose-list { display: grid; gap: 12px; margin: 0 0 18px; padding-left: 0; }
.prose-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}
.prose-list li::before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.prose-list strong { color: var(--text); }

/* ===== Alternating service detail rows ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-detail img { width: 100%; height: auto; border-radius: var(--radius-card); }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

/* ===== Grid variants ===== */
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fleet-stats--wide { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.check-list--center { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Support h2 as well as h3 inside cards (heading level varies by page context) */
.service-card h2 { font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.info-item h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.process-item h3 { margin-bottom: 8px; }

/* ===== Timeline (about page) ===== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border-top: 3px solid var(--primary);
}
.timeline-year {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-item p { font-size: 15px; }

/* ===== Buttons ===== */
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 14px 32px; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact page ===== */
.contact-big { font-size: 24px; font-weight: 600; }
.contact-big a { color: var(--primary); }
.contact-info-card h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { color: var(--primary); font-weight: 500; font-size: 15px; }
.contact-links a:hover { text-decoration: underline; }
.muted-small { font-size: 13px; color: var(--text-muted); }
.optional { font-weight: 400; color: var(--text-muted); font-size: 13px; }

.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
}
.form-group select:focus { outline: none; border-color: var(--primary); }

/* Honeypot — visually gone, still reachable by bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-note--ok { color: #17693f; font-weight: 500; }
.form-note--error { color: #b3261e; font-weight: 500; }
.form-note--warn { color: #8a5a00; }

/* ===== Footer ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-col h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #cfd1e6; font-size: 15px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.7; color: #cfd1e6; }
.footer-col address a { color: #fff; font-weight: 600; }
.footer-brand p { color: #9698b8; font-size: 15px; margin-top: 14px; max-width: 34ch; }
.footer-col .muted-small { color: #9698b8; }
.site-footer .footer-bottom { text-align: center; font-size: 14px; color: #9698b8; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail--reverse { direction: ltr; }
  .service-detail--reverse picture { order: 2; }
  .services-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .fleet-stats--wide { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .services-grid--3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { text-align: center; }
}

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