/* AAA Storage Solutions — marketing site (rebuilt in house, owner 02/11/2026). No framework, no
   web fonts, no cookies. Brand: navy #141C28 / #183446, logo green #7BC943. */
:root {
  --navy: #141c28;
  --navy-2: #183446;
  --card: #1e2836;
  --green: #7bc943;
  --green-dark: #5a9e2c;
  --green-text: #9bdb6a;
  --ink: #1f2a33;
  --muted: #5a6b72;
  --line: #dde3e8;
  --bg: #f4f6f8;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 28, 40, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
/* The yard photo faintly behind every page, the same pale wash as the back office (owner, 02/11/2026).
   A fixed layer rather than background-attachment: fixed, which iPhones ignore (the photo would
   stretch the whole length of the page). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(245, 246, 248, 0.86), rgba(245, 246, 248, 0.86)), url("/assets/yard-background.jpg") center / cover;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.small { font-size: 0.88rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2;
}
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: #8ad354; }
.btn-outline { border-color: var(--green); color: var(--green-text); background: rgba(30, 40, 54, 0.6); }
.btn-outline:hover { background: rgba(30, 40, 54, 0.9); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; gap: 8px; }
.btn-whatsapp:hover { background: #1fb957; }
.btn-whatsapp svg { width: 22px; height: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--green); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #e6ebf0; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.97rem; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: var(--green-text); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.site-nav .nav-login { margin-left: 8px; padding: 8px 14px; border-radius: 9px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 16px; border-bottom: 2px solid var(--green);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav .nav-login { margin: 12px 0 0; border-bottom: 2px solid var(--green); }
}

/* Hero */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(rgba(20, 28, 40, 0.72), rgba(20, 28, 40, 0.86)), url("/assets/yard-hero.jpg") center 70% / cover no-repeat;
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 10vw, 110px);
}
@media (max-width: 600px) {
  .hero { background-image: linear-gradient(rgba(20, 28, 40, 0.72), rgba(20, 28, 40, 0.86)), url("/assets/yard-tall.jpg"); background-position: center 60%; }
}
.hero h1 { color: #fff; margin-bottom: 0.15em; white-space: nowrap; font-size: clamp(1.2rem, 6.5vw, 3.4rem); } /* the full name, LTD included, on ONE line (owner) */
/* The company name leads, like the old site (owner, 02/11/2026: "the landing page should display the company
   name"); AAA in the logo green, what we do underneath. */
.hero h1 .hero-aaa { color: var(--green); }
.hero .tagline { font-size: clamp(1.35rem, 3.4vw, 2rem); font-weight: 700; line-height: 1.25; color: #e6ebf0; margin: 0; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: #d7dee5; max-width: 34ch; }
.hero .lead strong { color: var(--green-text); font-weight: 600; }
.hero .underline { display: block; width: 140px; height: 4px; background: var(--green); border-radius: 2px; margin: 18px 0 22px; }
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: #c9d2db; max-width: 60ch; margin: 0; }

/* Sections */
section { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: rgba(255, 255, 255, 0.55); }
.section-dark { background: var(--navy-2); color: #e6ebf0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.intro { max-width: 62ch; margin-bottom: 28px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-2); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 5px; border: solid var(--navy); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.cta-band { background: var(--green); color: var(--navy); }
.cta-band h2 { color: var(--navy); margin-bottom: 0.2em; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band p { margin: 0; }

/* Units */
.note { background: var(--bg); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1.2fr; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.details dt { font-weight: 700; color: var(--navy); margin-top: 14px; }
.details dd { margin: 2px 0 0; }
form.enquiry, form.suggestion { display: grid; gap: 14px; }
form.enquiry label, form.suggestion label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
form.enquiry input, form.enquiry textarea, form.suggestion input, form.suggestion textarea {
  font: inherit; padding: 11px 12px; border: 1px solid #b9c3cc; border-radius: 9px; background: #fff; color: var(--ink);
}
form.enquiry input:focus, form.enquiry textarea:focus, form.suggestion input:focus, form.suggestion textarea:focus { outline: 3px solid rgba(123, 201, 67, 0.45); border-color: var(--green-dark); }
form.enquiry .row2, form.suggestion .row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { form.enquiry .row2, form.suggestion .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-radius: 9px; display: none; }
.form-msg.ok { display: block; background: #e8f7df; color: #24510f; }
.form-msg.err { display: block; background: #fdecea; color: #8a1c13; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d2db; padding-top: 48px; }
.site-footer a { color: #e6ebf0; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding-bottom: 28px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 0.5em; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0 24px; color: #9aa6b2; }

/* On a phone (owner, 02/11/2026: "these areas look a little bunched up"): every row of buttons
   stacks as full-width buttons of one size instead of wrapping into uneven rows, with a little more
   room above them; and the page ends with space for the Ask us button so it never sits on the last
   line of the footer. */
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 8px; }
  .btn-row .btn { width: 100%; padding: 14px 20px; }
  .hero .lead { margin-bottom: 1.4em; }
  .hero .underline { margin: 20px 0 24px; }
  .footer-base { padding-bottom: 96px; }
  /* HOME PAGE ONLY (owner, 02/11/2026): headings centred, with the underline under the name, and the text
     that introduces each section (his circled screenshot): the strapline, section intros, the text beside
     the buttons, the map note and the green band. Cards and the security tick list stay left-aligned
     ("should of stayed left aligned"). About, Our units and Contact stay left-aligned ("can stay left
     aligned"; Contact's header "to match the page layout"). */
  .page-home h1, .page-home h2, .page-home .hero .tagline { text-align: center; }
  .page-home .hero .underline { margin-left: auto; margin-right: auto; }
  .page-home .hero .lead, .page-home .intro, .page-home .split > div > p, .page-home .cta-band .wrap { text-align: center; margin-left: auto; margin-right: auto; }
  .page-home .note { border-left: 0; border-top: 4px solid var(--green); border-radius: 0 0 10px 10px; }
  .page-home .cta-band .wrap { flex-direction: column; align-items: stretch; }
  .page-home .cta-band .btn { width: 100%; }
  /* Contact: its Google Maps, WhatsApp and Send message buttons centred, full width like every other
     button on a phone (owner, 02/11/2026). */
  .page-contact .details .btn, .page-contact form.enquiry button[type=submit], .page-suggestions form.suggestion button[type=submit] { display: flex; width: 100%; padding: 14px 20px; }
}
/* Footer: "Registered with the Information Commissioner's Office" on its own line; on a phone too narrow
   for it (measured: it needs ~339 px, so under 390 px wide) it reads "Registered with the ICO" (owner). */
.ico-short { display: none; }
@media (max-width: 389px) { .ico-full { display: none; } .ico-short { display: inline; } }


/* Our units: one picture per container size (owner's artwork, 03/11/2026). */
.unit-sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.unit-size { margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.unit-size img { width: 100%; }
.unit-size figcaption { padding: 10px 14px; font-size: 0.95rem; }
@media (max-width: 800px) { .unit-sizes { grid-template-columns: 1fr; } }

/* Our units: say plainly that the list is live (owner, 03/11/2026). */
.live-title { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); animation: live-pulse 2s infinite; flex: none; }
.live-note { margin: 0 0 16px; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
