/* ==========================================================================
   TES Rentals: tesrentals.co.uk
   Custom-coded by North Bear Media · June 2026
   Brand: Deep Navy #081D3A · Vibrant Yellow #FFC000 · White
   ========================================================================== */

:root{
  --navy:#081D3A;
  --navy-2:#0D2748;
  --navy-3:#123158;
  --yellow:#FFC000;
  --yellow-d:#E6AD00;
  --paper:#FFFFFF;
  --stone:#F4F6F9;
  --stone-2:#E8ECF1;
  --ink:#15243A;
  --ink-soft:#4A5568;
  --line:#DDE3EA;
  --radius:6px;
  --wrap:1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Montserrat', Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

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

/* ---------- the TES double-line motif ---------- */
.tes-lines{ display:block; width:72px; }
.tes-lines span{ display:block; background:var(--yellow); border-radius:1px; }
.tes-lines span:first-child{ height:6px; }
.tes-lines span:last-child{ height:3px; margin-top:5px; }
.tes-lines.center{ margin-left:auto; margin-right:auto; }
.tes-lines.navy span{ background:var(--navy); }

/* ---------- type ---------- */
h1,h2,h3,h4{ font-weight:800; color:var(--navy); line-height:1.12; text-transform:uppercase; letter-spacing:.015em; }
h1{ font-size:clamp(34px,5.2vw,62px); }
h2{ font-size:clamp(26px,3.4vw,40px); }
h3{ font-size:20px; }
.kicker{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.28em;
  text-transform:uppercase; color:var(--yellow-d); margin-bottom:14px;
}
.on-dark .kicker{ color:var(--yellow); }
.lede{ font-size:clamp(16px,1.6vw,19px); color:var(--ink-soft); max-width:640px; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3{ color:#fff; }
.on-dark .lede{ color:rgba(255,255,255,.82); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; font-size:14px; letter-spacing:.06em; text-transform:uppercase;
  padding:16px 28px; border-radius:var(--radius); border:2px solid transparent;
  cursor:pointer; transition:all .18s ease;
}
.btn-yellow{ background:var(--yellow); color:var(--navy); }
.btn-yellow:hover{ background:var(--yellow-d); transform:translateY(-1px); }
.btn-ghost{ border-color:rgba(255,255,255,.45); color:#fff; }
.btn-ghost:hover{ border-color:var(--yellow); color:var(--yellow); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-3); transform:translateY(-1px); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:28px; padding:14px 24px; max-width:var(--wrap); margin:0 auto;
}
.brand img{ width:128px; height:auto; display:block; }
.nav{ display:flex; align-items:center; gap:30px; }
.nav a{
  color:rgba(255,255,255,.85); font-size:13px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; padding:6px 0;
  border-bottom:2px solid transparent; transition:all .15s;
}
.nav a:hover{ color:#fff; }
.nav a.active{ color:var(--yellow); border-bottom-color:var(--yellow); }
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-phone{ color:#fff; font-weight:800; font-size:15px; letter-spacing:.03em; white-space:nowrap; }
.header-phone span{ color:var(--yellow); margin-right:6px; }
.btn-quote{ background:var(--yellow); color:var(--navy); font-weight:800; font-size:13px;
  letter-spacing:.08em; text-transform:uppercase; padding:12px 20px; border-radius:var(--radius); white-space:nowrap; }
.btn-quote:hover{ background:var(--yellow-d); }

/* mobile nav */
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:26px; height:3px; background:#fff; margin:5px 0; border-radius:2px; }

/* ---------- hero ---------- */
.hero{
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0A2245 100%);
  color:#fff; position:relative; overflow:hidden;
}
.hero::before{
  content:""; position:absolute; right:-140px; top:-140px; width:520px; height:520px;
  border-radius:50%; background:radial-gradient(circle, rgba(255,192,0,.10), rgba(255,192,0,0) 65%);
}
.hero .wrap{ position:relative; padding-top:84px; padding-bottom:0; }
.hero h1 .accent{ color:var(--yellow); }
.hero .lede{ margin:24px 0 34px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:64px; }

/* hero truck showcase (photo on white, blends with image background) */
.truck-showcase{ background:#fff; padding:34px 0 10px; }
.truck-showcase img{ width:100%; max-width:1080px; margin:0 auto; display:block; }
.truck-showcase .cap{ text-align:center; font-size:11px; font-weight:800; letter-spacing:.22em;
  text-transform:uppercase; color:#9AA3AD; padding:12px 24px 18px; }

/* photo panels on inner pages */
.svc .visual.photo{ background:#fff; border:0; min-height:0; padding:0; }
.svc .visual.photo img{ width:100%; max-width:none; }
.fleet-feature{ margin-bottom:28px; }
.fleet-feature img{ width:100%; }
.shot.photo{ border:0; background:#fff; }
.shot.photo img{ width:100%; height:100%; object-fit:cover; }

/* ---------- trust strip ---------- */
.trust{ background:var(--yellow); }
.trust .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding-top:22px; padding-bottom:22px; }
.trust-item{ display:flex; align-items:center; gap:12px; justify-content:center; }
.trust-item svg{ width:26px; height:26px; flex:none; }
.trust-item .t{ font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--navy); line-height:1.3; }

/* ---------- sections ---------- */
.section{ padding:88px 0; }
.section.tint{ background:var(--stone); }
.section.dark{ background:linear-gradient(160deg, var(--navy), var(--navy-2)); }
.section-head{ max-width:720px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .tes-lines{ margin-top:20px; }
.section-head.center .tes-lines{ margin-left:auto; margin-right:auto; }

/* ---------- service cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.card{
  background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:36px 30px; display:flex; flex-direction:column; gap:14px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 18px 40px rgba(8,29,58,.12); }
.card .icon{ width:54px; height:54px; border-radius:10px; background:var(--navy);
  display:flex; align-items:center; justify-content:center; }
.card .icon svg{ width:28px; height:28px; }
.card h3{ margin-top:6px; }
.card p{ color:var(--ink-soft); font-size:15px; }
.card .more{ margin-top:auto; padding-top:10px; font-weight:800; font-size:13px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--navy); }
.card .more span{ color:var(--yellow-d); }

.cards.four{ grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .cards.four{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:760px){ .cards.four{ grid-template-columns:1fr; } }

/* ---------- legal pages ---------- */
.legal-prose{ max-width:820px; }
.legal-prose .updated{ font-size:12px; color:#8A929C; letter-spacing:.14em; text-transform:uppercase; font-weight:800; }
.legal-prose h3{ margin:36px 0 12px; font-size:17px; }
.legal-prose p, .legal-prose li{ font-size:15px; color:var(--ink-soft); line-height:1.75; margin-bottom:12px; }
.legal-prose ul{ list-style:disc; padding-left:24px; margin-bottom:14px; }
.legal-prose ul li{ margin-bottom:6px; }
.legal-prose a{ color:var(--navy); font-weight:700; border-bottom:2px solid var(--yellow); }

/* ---------- pillars ---------- */
.pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.pillar{ border-top:6px solid var(--yellow); background:rgba(255,255,255,.05);
  padding:28px 24px; border-radius:0 0 8px 8px; }
.pillar h3{ color:#fff; font-size:16px; letter-spacing:.06em; }
.pillar p{ color:rgba(255,255,255,.75); font-size:14px; margin-top:10px; }

/* ---------- stats ---------- */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; text-align:center; }
.stat .n{ font-size:clamp(34px,4vw,52px); font-weight:800; color:var(--navy); line-height:1; }
.stat .n em{ color:var(--yellow-d); font-style:normal; }
.stat .l{ font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); margin-top:10px; }

/* ---------- split ---------- */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.split .visual{ background:linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius:12px;
  min-height:340px; display:flex; align-items:center; justify-content:center; padding:40px;
  box-shadow:0 24px 60px rgba(8,29,58,.25); }
.split .visual img{ width:78%; max-width:420px; }
.split .visual.photo{ background:none; padding:0; overflow:hidden; border-radius:12px; min-height:0; }
.split .visual.photo img{ width:100%; max-width:none; height:auto; display:block; }
.checklist li{ display:flex; gap:14px; align-items:flex-start; padding:10px 0; font-size:15.5px; color:var(--ink-soft); }
.checklist li::before{ content:""; flex:none; width:22px; height:22px; margin-top:2px; border-radius:50%;
  background:var(--yellow) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23081D3A" d="M9.55 17.1 4.9 12.45l1.6-1.6 3.05 3.05 7.95-7.95 1.6 1.6z"/></svg>') center/14px no-repeat; }
.checklist li strong{ color:var(--ink); }

/* ---------- fleet gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.shot{
  aspect-ratio:4/3; border-radius:10px; overflow:hidden; position:relative;
  background:linear-gradient(150deg, var(--stone-2), #D4DBE3);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px;
  border:1px dashed #B9C3CF;
}
.shot.filled{ border:0; background:linear-gradient(150deg, var(--navy), var(--navy-2)); }
.shot.filled img{ width:62%; }
.shot .ph-ico{ width:42px; height:42px; opacity:.45; }
.shot .ph-t{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#7A8694; }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--yellow); }
.cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; gap:30px;
  padding-top:54px; padding-bottom:54px; flex-wrap:wrap; }
.cta-band h2{ color:var(--navy); max-width:560px; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ background:linear-gradient(160deg, var(--navy), var(--navy-2)); color:#fff; padding:72px 0 64px; }
.page-hero .tes-lines{ margin-top:24px; }

/* ---------- service detail blocks ---------- */
.svc{ display:grid; grid-template-columns:.95fr 1.05fr; gap:56px; align-items:center; padding:64px 0; border-bottom:1px solid var(--line); }
.svc:last-of-type{ border-bottom:0; }
.svc .visual{ background:linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius:12px;
  min-height:300px; display:flex; align-items:center; justify-content:center; padding:36px; }
.svc .visual img{ width:70%; max-width:380px; }
.svc.flip .visual{ order:2; }
.svc h2{ font-size:clamp(24px,2.6vw,32px); }
.svc .lede{ margin:16px 0 8px; font-size:16px; }

/* ---------- about / team ---------- */
.team{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.member{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:30px; }
.member .role{ font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--yellow-d); }
.member h3{ margin:8px 0 10px; }
.member p{ font-size:14px; color:var(--ink-soft); }

/* ---------- contact ---------- */
.contact-bg{
  background:
    linear-gradient(rgba(255,255,255,.60), rgba(255,255,255,.60)),
    url('tes-deskmat.jpg') center/cover no-repeat;
}
.contact-panel{
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  border-radius:12px;
  padding:34px 34px 18px;
  box-shadow:0 18px 50px rgba(8,29,58,.10);
}
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start; }
.c-block{ display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.c-block:last-child{ border-bottom:0; }
.c-block .ic{ width:48px; height:48px; flex:none; border-radius:10px; background:var(--navy);
  display:flex; align-items:center; justify-content:center; }
.c-block .ic svg{ width:24px; height:24px; }
.c-block .t{ font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.c-block .v{ font-size:18px; font-weight:800; color:var(--navy); margin-top:2px; }
.c-block .s{ font-size:13px; color:var(--ink-soft); margin-top:3px; }

.form-card{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:38px;
  box-shadow:0 18px 50px rgba(8,29,58,.08); }
.form-card h3{ margin-bottom:6px; }
.form-card .sub{ font-size:14px; color:var(--ink-soft); margin-bottom:24px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  padding:13px 14px; border:1.5px solid var(--line); border-radius:6px; background:var(--stone);
  outline:none; transition:border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--yellow); background:#fff; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:14px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--navy); color:#fff; }
.site-footer .top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:44px;
  padding:64px 24px 50px; max-width:var(--wrap); margin:0 auto; }
.site-footer .brand-col img{ width:150px; }
.site-footer .brand-col p{ font-size:13.5px; color:rgba(255,255,255,.7); margin-top:18px; max-width:280px; }
.site-footer h4{ color:#fff; font-size:13px; letter-spacing:.18em; margin-bottom:18px; }
.site-footer h4::after{ content:""; display:block; width:34px; height:3px; background:var(--yellow); margin-top:10px; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul a{ color:rgba(255,255,255,.75); font-size:14px; transition:color .15s; }
.site-footer ul a:hover{ color:var(--yellow); }
.site-footer .contact-li{ color:rgba(255,255,255,.75); font-size:14px; margin-bottom:12px; display:flex; gap:10px; }
.site-footer .contact-li b{ color:#fff; }
.site-footer .legal{ border-top:1px solid rgba(255,255,255,.12); }
.site-footer .legal .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding-top:20px; padding-bottom:20px; flex-wrap:wrap; }
.site-footer .legal p{ font-size:12px; color:rgba(255,255,255,.55); }
.site-footer .legal a{ color:rgba(255,255,255,.75); }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .cards, .pillars, .gallery, .team{ grid-template-columns:repeat(2,1fr); }
  .split, .svc, .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .svc.flip .visual{ order:0; }
  .site-footer .top{ grid-template-columns:1fr 1fr; }
  .trust .wrap{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 760px){
  body{ overflow-x:hidden; }
  .nav, .header-phone{ display:none; }
  .nav-toggle{ display:block; }
  .site-header .bar{ padding:12px 16px; gap:12px; }
  .brand img{ width:100px; }
  .btn-quote{ padding:10px 14px; font-size:12px; letter-spacing:.05em; }
  .header-cta{ gap:10px; }
  .nav.open{
    display:flex; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; gap:0; background:var(--navy-2);
    border-top:1px solid rgba(255,255,255,.1); padding:10px 24px 18px;
  }
  .nav.open a{ padding:13px 0; border-bottom:1px solid rgba(255,255,255,.08); }
  .hero .wrap{ padding-top:60px; }
  .truck-showcase{ padding:20px 0 4px; }
  .section{ padding:60px 0; }
  .cards, .pillars, .gallery, .team, .stats, .field-row{ grid-template-columns:1fr; }
  .cta-band h2{ max-width:none; }
}
