/* ================================================
   PROTRUCK — Brand System v2
   Colors: Forest Green #006633, Accent #339966
   Fonts: Bebas Neue (headings), Lato (body)
   ================================================ */

:root {
  --green-dark:   #004d26;
  --green:        #006633;
  --green-mid:    #339966;
  --green-light:  #4db37a;
  --green-pale:   #e8f5ee;
  --dark:         #121212;
  --dark-panel:   #1a1a1a;
  --dark-card:    #242424;
  --white:        #ffffff;
  --off-white:    #f5f7f6;
  --text-dark:    #3f3f3f;
  --text-muted:   #6b7380;
  --text-light:   #b0b8b4;
  --border-light: rgba(0,0,0,0.08);
  --border-dark:  rgba(255,255,255,0.1);
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;
  --container:    1200px;
  --gap:          clamp(1rem, 3vw, 2rem);
  --ease:         cubic-bezier(.25,.46,.45,.94);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--green { background: var(--green); color: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }
.kicker { display: block; font-weight: 700; font-size: 0.75rem; letter-spacing: 4px; color: var(--green); margin-bottom: 0.5rem; text-transform: uppercase; }
.kicker--light { color: rgba(255,255,255,0.7); }
.kicker--green { color: var(--green-mid); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); color: var(--dark); }
.h2--light { color: var(--white); }
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.anim.visible { opacity: 1; transform: none; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.9rem 2rem; border: 2px solid transparent; cursor: pointer; transition: all 0.3s var(--ease); }
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,102,51,0.4); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--dark:hover { background: var(--dark-panel); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn--full { width: 100%; justify-content: center; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.75rem 0; background: transparent; transition: all 0.3s var(--ease); }
.header.scrolled { background: rgba(0,77,38,0.97); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.3); padding: 0.5rem 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo-img { height: 44px; width: auto; filter: invert(1); mix-blend-mode: screen; transition: height 0.3s; }
.header.scrolled .header__logo-img { height: 34px; }
.header__nav { display: flex; align-items: center; gap: 1.5rem; }
.header__link { font-weight: 700; font-size: 0.78rem; letter-spacing: 1.5px; color: rgba(255,255,255,0.85); text-transform: uppercase; transition: color 0.2s; }
.header__link:hover { color: var(--white); }
.header__link--cta { padding: 0.5rem 1.2rem; border: 2px solid rgba(255,255,255,0.4); }
.header__link--cta:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.header__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.header__toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(10px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-10px); }

/* LANG SWITCH */
.lang-switch { display: flex; gap: 2px; margin-left: 0.5rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 2px; overflow: hidden; }
.lang-btn { background: transparent; color: rgba(255,255,255,0.6); border: none; padding: 0.3rem 0.6rem; font-family: var(--font-body); font-weight: 700; font-size: 0.65rem; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.lang-btn.active { background: rgba(255,255,255,0.2); color: var(--white); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,0.92) 0%, rgba(12,12,12,0.85) 35%, rgba(12,12,12,0.4) 65%, rgba(12,12,12,0.15) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 80px; text-align: left; max-width: var(--container); }
.hero__accent { width: 4px; height: 100px; background: var(--green); margin-bottom: 1.5rem; }
.hero__kicker { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 5px; color: var(--green-light); margin-bottom: 1rem; text-transform: uppercase; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.95; letter-spacing: 3px; color: var(--white); margin-bottom: 1.5rem; max-width: 600px; }
.hero__desc { font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 300; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; line-height: 1.7; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }
.hero__stats { position: relative; z-index: 2; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,0.1); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 2rem var(--gap); }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1; }
.stat__plus { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-light); }
.stat__label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* SPLIT LAYOUT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__text { order: -1; }
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__accent { position: absolute; bottom: 0; left: 0; width: 6px; height: 60%; background: var(--green); }
.split__text p { color: var(--text-muted); margin-bottom: 1rem; }
.split__text strong { color: var(--text-dark); }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s var(--ease); }
.card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.card__icon { width: 44px; height: 44px; margin-bottom: 1.25rem; color: var(--green-light); }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* FLEET GRID */
.fleet-intro { color: var(--text-light); margin-bottom: 2rem; font-size: 0.95rem; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.fleet-item { background: var(--dark-card); border: 1px solid var(--border-dark); padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.3s var(--ease); }
.fleet-item:hover { background: var(--dark-panel); border-color: var(--green-mid); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,51,0.25); }
.fleet-item img { width: 100%; max-width: 200px; height: auto; margin: 0 auto 1rem; transition: transform 0.3s; }
.fleet-item:hover img { transform: scale(1.05); }
.fleet-item span { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 1px; color: var(--white); }

/* MODAL */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.modal__content { position: relative; background: var(--dark-panel); max-width: 900px; width: 95%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-dark); }
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; z-index: 10; line-height: 1; }
.modal__close:hover { color: var(--green-light); }
.modal__gallery { position: relative; background: #000; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.modal__img { width: 100%; height: 100%; object-fit: cover; }
.modal__prev, .modal__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: none; color: white; font-size: 2rem; padding: 0.5rem 0.8rem; cursor: pointer; transition: background 0.2s; }
.modal__prev:hover, .modal__next:hover { background: var(--green); }
.modal__prev { left: 0; }
.modal__next { right: 0; }
.modal__counter { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; }
.modal__info { padding: 2rem; color: var(--white); }
.modal__title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 1rem; color: var(--green-light); }
.modal__desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 1.5rem; }
.modal__specs { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.modal__specs td { padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border-dark); }
.modal__specs td:first-child { color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; font-size: 0.7rem; white-space: nowrap; }
.modal__specs td:last-child { color: var(--white); }

/* CLIENTS */
.clients { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-dark); }
.clients__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; color: var(--text-light); display: block; margin-bottom: 0.5rem; }
.clients__list { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* CONTACT */
.contact__desc { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.contacts { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.person { display: flex; flex-direction: column; gap: 0.1rem; }
.person strong { font-size: 1rem; color: var(--white); }
.person em { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.person a { font-size: 0.9rem; color: var(--green-light); transition: opacity 0.2s; }
.person a:hover { opacity: 0.7; }
.address { display: flex; flex-direction: column; gap: 0.1rem; }
.address strong { color: var(--white); }
.address span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.split__form { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); color: var(--text-dark); }
.split__form h3 { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 1.5rem; color: var(--dark); }
.field { margin-bottom: 0.75rem; }
.field input, .field textarea { width: 100%; padding: 0.85rem 1rem; background: var(--off-white); border: 1px solid var(--border-light); color: var(--text-dark); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.form-ok { display: none; text-align: center; padding: 3rem 1rem; }
.form-ok svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 1rem; }
.form-ok h3 { font-family: var(--font-display); font-size: 2rem; color: var(--dark); }
.form-ok p { color: var(--text-muted); margin-top: 0.5rem; }

/* FOOTER */
.footer { background: var(--dark); border-top: 4px solid var(--green); padding: 2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__logo { height: 28px; width: auto; filter: invert(1); mix-blend-mode: screen; opacity: 0.7; }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .header__nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--green-dark); flex-direction: column; justify-content: center; gap: 2rem; transition: right 0.4s var(--ease); }
  .header__nav.active { right: 0; }
  .header__toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .modal__content { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 2.8rem; }
  .hero__content { padding-top: 120px; padding-bottom: 50px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .lang-switch { margin-left: 0; margin-top: 0.5rem; }
}
