/*
Theme Name: ATLS - All Type Lift Service
Theme URI: https://www.atls.com.au
Author: All Type Lift Service Pty Ltd
Description: Website theme for All Type Lift Service Pty Ltd. Lift service and maintenance, new lifts and AFSS fire safety inspections. Activate to create the four pages, menu and home page automatically.
Version: 2.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atls
*/

:root {
  --ink: #1a1a1a;
  --ink-2: #262626;
  --orange: #ff7401;
  --orange-deep: #b84f00;
  --white: #fff;
  --mist: #f3f4f5;
  --line: #e1e4e6;
  --muted: #565d63;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; margin: 0 0 .55em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 500; letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

/* Buttons and badge */
.btn { display: inline-block; font: 700 1rem/1 var(--sans); text-decoration: none; padding: 17px 30px; background: var(--orange); color: var(--ink); border: 2px solid var(--orange); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--sans); border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 18px 10px 14px; background: #fff; color: var(--ink); }
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { display: block; height: 44px; width: auto; }
.nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; font-weight: 600; font-size: .97rem; padding: 10px 14px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav .current-menu-item > a::after, .nav .current_page_item > a::after { transform: scaleX(1); }
.nav a:hover { color: var(--ink); }
.call { font-weight: 700; text-decoration: none; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 999px; white-space: nowrap; font-size: .97rem; }
.call:hover { background: var(--orange); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); color: var(--ink); font: 700 .95rem var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-bottom: 36px; }
.car { position: relative; aspect-ratio: 4 / 5; border: 10px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--orange); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--ink); }
.car-year { font: 500 clamp(4.5rem, 9vw, 7.5rem)/.9 var(--serif); letter-spacing: -.04em; }
.car-note { font-weight: 700; margin-top: 12px; }
.car-since { font-weight: 600; margin-bottom: 6px; }
.door { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2; background: linear-gradient(90deg, #2b2b2b, #1a1a1a); animation: .5s 0s; animation-duration: 1.5s; animation-delay: .6s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); animation-fill-mode: forwards; }
.door-l { left: 0; border-right: 1px solid #000; animation-name: door-l; }
.door-r { right: 0; border-left: 1px solid #000; animation-name: door-r; }
@keyframes door-l { to { transform: translateX(-101%); } }
@keyframes door-r { to { transform: translateX(101%); } }
@media (prefers-reduced-motion: reduce) { .door { display: none; } html { scroll-behavior: auto; } .nav a::after { transition: none; } }

/* Credentials strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 34px 28px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item strong { display: block; font: 500 2.3rem/1 var(--serif); letter-spacing: -.02em; margin-bottom: 8px; }
.strip-item span { color: var(--muted); font-size: .98rem; line-height: 1.45; display: block; }

/* Sections */
.section { padding: 112px 0; }
.section-mist { background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; align-items: start; }
.split-head { position: sticky; top: 130px; }
.row { padding: 38px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { margin-bottom: .35em; }
.row p { color: var(--muted); max-width: 38em; }
.row p:last-child { margin-bottom: 0; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 48px; border-radius: 16px; text-decoration: none; transition: transform .25s; }
.tile:hover { transform: translateY(-4px); }
.tile h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: .3em; }
.tile p { max-width: 24em; margin-bottom: 22px; }
.tile .go { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tile-ink { background: var(--ink); color: #fff; }
.tile-ink .go { text-decoration-color: var(--orange); }
.tile-ink:hover { color: #fff; }
.tile-orange { background: var(--orange); color: var(--ink); }
.tile-orange:hover { color: var(--ink); }
.tile-orange .go { text-decoration-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }

.points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.points li { border-top: 3px solid var(--orange); padding-top: 18px; }
.points strong { display: block; font: 500 1.6rem/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 6px; }
.points span { color: var(--muted); }
.section-head { max-width: 40em; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 36px; }
.cols > div { padding: 32px 28px 32px 0; }
.cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.cols strong { display: block; font: 500 2.1rem/1 var(--serif); letter-spacing: -.02em; margin-bottom: 8px; }
.cols span { display: block; font-weight: 600; }
.cols em { display: block; font-style: normal; color: var(--muted); }

.feature-dark { background: var(--ink); color: #fff; border-radius: 16px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.feature-dark h2 { margin-bottom: .4em; }
.feature-dark p { color: #d5d9dc; max-width: 34em; }
.feature-dark :focus-visible { outline-color: var(--orange); }
.feature-dark .side { justify-self: end; }

.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin: 32px 0 0; }
.defs div { padding: 20px 0; border-top: 1px solid var(--line); }
.defs dt { font: 500 1.5rem/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 4px; }
.defs dd { margin: 0; color: var(--muted); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.pair > div { border: 1px solid var(--line); border-radius: 16px; padding: 36px; background: #fff; }
.pair h3 { margin-bottom: .3em; }
.pair p { color: var(--muted); }

/* Inner page hero */
.page-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); background: var(--mist); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .badge { margin-bottom: 28px; }
.page-hero .lead { margin-bottom: 32px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 500 1.5rem/1 var(--serif); }
.steps strong { font: 500 1.6rem/1.15 var(--serif); letter-spacing: -.01em; }
.steps span { color: var(--muted); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; }
.checks li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); }
.callout { border-left: 4px solid var(--orange); background: var(--mist); padding: 22px 26px; margin: 28px 0; border-radius: 0 12px 12px 0; }
.callout p:last-child { margin: 0; }
.fine { font-size: .9rem; color: var(--muted); }
.prose { max-width: 44rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.details { margin: 0; }
.details div { padding: 22px 0; border-top: 1px solid var(--line); }
.details div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 1.2rem; }
.form label { display: block; font-weight: 600; margin: 0 0 20px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: 400 1rem var(--sans); border: 1.5px solid #c9cdd0; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid var(--orange); outline-offset: 0; }
.form .hp { position: absolute; left: -9999px; }
.msg { padding: 16px 20px; margin-bottom: 24px; border-left: 4px solid; border-radius: 0 10px 10px 0; }
.msg.ok { background: #e7f4ea; border-color: #2f7d3b; }
.msg.err { background: #fbe9e7; border-color: #b3261e; }

/* CTA + footer */
.cta { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-in { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; max-width: 14em; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta :focus-visible, .site-footer :focus-visible { outline-color: var(--orange); }
.site-footer { background: #fff; padding: 72px 0 32px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
.foot-logo { display: block; width: 168px; height: auto; margin-bottom: 20px; }
.foot-tag { font: 400 1.5rem/1.25 var(--serif); letter-spacing: -.01em; max-width: 14em; margin-bottom: 20px; }
.site-footer h2 { font: 700 .95rem/1 var(--sans); letter-spacing: 0; color: var(--muted); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.legal { border-top: 1px solid var(--line); margin: 48px 0 0; padding-top: 24px; font-size: .9rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .call { padding: 10px 16px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 28px 20px; }
  .nav.open { display: block; }
  .nav .menu { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: 8px; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .split, .contact-grid, .foot-grid, .feature-dark { grid-template-columns: 1fr; gap: 44px; }
  .car { max-width: 420px; aspect-ratio: 5 / 4; }
  .split-head { position: static; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .tiles, .pair, .points, .defs { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .cols > div, .cols > div + div { padding: 24px 0; border-left: 0; }
  .cols > div + div { border-top: 1px solid var(--line); }
  .tile { min-height: 300px; padding: 36px; }
  .feature-dark { padding: 40px 32px; }
  .feature-dark .side { justify-self: start; }
  .section { padding: 72px 0; }
  .page-hero { padding: 56px 0 48px; }
}
@media (max-width: 520px) { .call { display: none; } .bar { min-height: 70px; } .brand img { height: 38px; } }
