/* SWIFT PRO LLC — mobile-first styles
   Clean trucking / logistics feel. Brand colors: red & white. Big text, big buttons. */

:root {
  --red: #d81f26;          /* brand red (from logo) */
  --red-dark: #a8141a;
  --red-soft: #fdecec;
  --dark: #23262b;         /* dark charcoal surfaces / headings */
  --dark-2: #15171a;
  --ink: #1f2328;          /* body text */
  --muted: #6b7280;
  --green: #1e8e4f;        /* "go" / add (dashboard) */
  --danger: #b42318;       /* delete (dashboard) */
  --line: #e6e7ea;
  --bg: #f6f6f7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(20, 23, 26, 0.08);
  --shadow-lg: 0 8px 26px rgba(20, 23, 26, 0.16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.55;
}

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

a { color: var(--red); }

h1, h2, h3 { line-height: 1.2; color: var(--dark); }
h1 { font-size: 1.9rem; margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--red);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand img { height: 50px; width: auto; }
.brand .brand-text { font-size: 1.15rem; line-height: 1; }
.brand .brand-text small { display: block; font-size: .62rem; font-weight: 700; color: var(--red); letter-spacing: 2px; margin-top: 3px; }

.header-right { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: .95rem;
  padding: 9px 14px;
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-btn:hover { background: var(--red); color: #fff; }

.nav-toggle {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--red);
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  display: block;
}
.nav-links a:hover, .nav-links a.active { background: var(--red); color: #fff; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 71px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 8px 14px 16px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; font-size: 1.1rem; }
}
@media (min-width: 921px) {
  .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  min-height: 54px;
  width: 100%;
  text-align: center;
  transition: transform .05s ease, background .15s ease;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-navy { background: var(--dark); color: #fff; }
.btn-navy:hover { background: var(--dark-2); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(.92); }
.btn-red { background: var(--danger); color: #fff; }
.btn-red:hover { filter: brightness(.92); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wa-green { color: #25d366; display: inline-flex; align-items: center; }
.contact-card .wa-ico { width: 30px; height: 30px; }
.btn-ghost { background: #fff; color: var(--dark); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-lg { font-size: 1.2rem; min-height: 62px; }
@media (min-width: 620px) {
  .btn { width: auto; }
  .btn-block { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 40px 0 46px;
  border-bottom: 4px solid var(--red);
}
.hero h1 { color: #fff; font-size: 2.1rem; }
.hero p { color: #c7cad0; font-size: 1.15rem; max-width: 640px; }
/* On the dark hero, make the secondary button an outline so it stays visible. */
.hero .btn-navy { background: transparent; border: 2px solid rgba(255, 255, 255, .45); color: #fff; }
.hero .btn-navy:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero .logo-badge {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}
.hero .logo-badge img { max-height: 130px; width: auto; margin: 0 auto; }
.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 420px;
}
/* "Daily rental" highlights */
.daily-pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(216, 31, 38, .4);
}
.daily-banner {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  padding: 14px 18px;
  border-radius: 12px;
  margin: 0 auto 22px;
  max-width: 640px;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
section.block { padding: 38px 0; }
section.block.alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 6px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 26px; max-width: 640px; }

.features {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .features-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1000px) { .features-4 { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.feature .ico { font-size: 2rem; }
.feature h3 { margin: 10px 0 6px; }
.feature p { margin: 0 0 6px; color: var(--muted); }
.card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.btn-sm { padding: 12px 10px; font-size: .9rem; min-height: 48px; }

/* ---------- "Why choose us" ---------- */
.why-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: flex-start;
}
.why-item .ico { font-size: 1.5rem; color: var(--red); flex: none; }
.why-item h3 { margin: 0 0 4px; font-size: 1.1rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Trailer cards ---------- */
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .card-grid { grid-template-columns: 1fr 1fr 1fr; } }

.trailer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.photo-wrap { position: relative; }
.price-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 7px 13px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  line-height: 1.1;
}
.price-tag span { font-weight: 600; font-size: .82rem; opacity: .95; }

.trailer-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ececef;
}
.trailer-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}
.form-docs { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-docs { grid-template-columns: 1fr 1fr; } }
.form-doc { border-top: 4px solid var(--red); display: flex; flex-direction: column; gap: 10px; }
.form-doc h3 { margin: 0; }
.form-doc p { margin: 0; }
.form-doc .btn { margin-top: auto; }
.form-tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 999px;
}

.filter-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; flex-wrap: wrap; }
.filter-bar label { font-weight: 800; color: var(--dark); }
.filter-bar select {
  padding: 12px 14px; font-size: 1.05rem; border: 2px solid var(--line);
  border-radius: 10px; min-height: 50px; background: #fff; color: var(--ink); flex: 1; min-width: 180px;
}
@media (min-width: 620px) { .filter-bar select { flex: 0 0 auto; min-width: 220px; } }

.checks { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; font-size: .92rem; line-height: 1.4; color: var(--ink); }
.checks .ck { color: var(--green); font-weight: 900; flex: none; }

.trailer-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.trailer-body h3 { margin: 0; font-size: 1.2rem; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spec-list li { font-size: .98rem; color: var(--ink); }
.spec-list li .label { color: var(--muted); font-weight: 700; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.trailer-card .btn { margin-top: auto; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-available { background: #e3f5ea; color: var(--green); }
.badge-rented { background: var(--red-soft); color: var(--danger); }

.empty-state {
  text-align: center;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 20px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.contact-card:hover { border-color: var(--red); }
.contact-card .ico { font-size: 1.8rem; }
.contact-card .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
.contact-card .value { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #c7cad0;
  padding: 30px 0;
  margin-top: 30px;
  text-align: center;
  font-size: .95rem;
  border-top: 4px solid var(--red);
}
.site-footer strong { color: #fff; }
.site-footer a { color: #ff9ea1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-links { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.site-footer .owner-link { font-size: .82rem; opacity: .7; }

/* ---------- Forms / admin ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 1.05rem;
}
.form-field .hint { font-weight: 500; color: var(--muted); font-size: .9rem; display: block; margin-bottom: 8px; }
.form-field input[type="text"],
.form-field input[type="password"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red);
}
.form-field input[type="file"] {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 2px dashed var(--red);
  border-radius: 12px;
  background: var(--red-soft);
}
.photo-preview { margin-top: 12px; }
.photo-preview img { max-height: 220px; border-radius: 12px; border: 1px solid var(--line); }

.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.alert-error { background: var(--red-soft); color: var(--danger); }
.alert-ok { background: #e3f5ea; color: var(--green); }

/* admin top bar */
.admin-bar {
  background: var(--dark);
  color: #fff;
  padding: 12px 0;
}
.admin-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-bar .who { font-weight: 700; }
.admin-bar form { margin: 0; }
.admin-bar .btn { width: auto; min-height: 44px; padding: 10px 16px; font-size: .95rem; }

.admin-list { display: grid; gap: 16px; }
.admin-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.admin-item .row { display: flex; gap: 14px; padding: 14px; align-items: center; }
.admin-item .thumb {
  width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: #ececef; flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .7rem; text-align: center;
}
.admin-item .meta { flex: 1; min-width: 0; }
.admin-item .meta h3 { margin: 0 0 4px; font-size: 1.15rem; }
.admin-item .meta p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.admin-actions form { margin: 0; }
.admin-actions .btn { min-height: 50px; font-size: 1rem; }
@media (min-width: 620px) { .admin-actions { grid-template-columns: repeat(3, 1fr); } }

.addr-block { display: grid; gap: 10px; margin: 14px 0 4px; padding: 14px 16px; background: var(--bg); border-radius: 12px; border: 1px solid var(--line); }
.addr-block > div { font-size: 1.02rem; font-weight: 600; }
.addr-block .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--red); font-weight: 800; margin-bottom: 2px; }

/* ---------- Yard rules (bilingual) ---------- */
.rules-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rules-grid { grid-template-columns: 1fr 1fr; } }
.rules-card { border-top: 4px solid var(--red); }
.rules-head { margin: 0 0 12px; font-size: 1.2rem; }
.rules-lang { font-size: .8rem; color: var(--muted); font-weight: 600; }
.rules-list { margin: 0 0 14px; padding-left: 1.1em; display: grid; gap: 8px; }
.rules-list li { font-size: 1rem; line-height: 1.4; }
.rules-note { font-size: .95rem; color: var(--ink); margin: 0 0 8px; }
.rules-warn { font-size: .95rem; font-weight: 700; color: var(--danger); margin: 0; }

.terms-list { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; }
.terms-list li { font-size: 1.02rem; line-height: 1.55; padding-left: 4px; }
.terms-list li strong { color: var(--dark); }

.stack-gap { display: grid; gap: 12px; }
.big-add {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.25rem; min-height: 66px;
}
.center { text-align: center; }
.mt { margin-top: 18px; }
.mb { margin-bottom: 18px; }
.text-muted { color: var(--muted); }
