/* =====================================================
   Fas-Services · iOS glass design system
   ===================================================== */
:root {
  --navy: #0A1628; --navy-2: #1E3A5F;
  --gold: #E0A83A; --gold-2: #F3CC6B;
  --ink: #F5F7FA; --muted: #B9C1CC; --dim: #8B95A5;
  --construction: #D24E3F; --construction-2: #8F2A22;
  --finishing: #5BB8EA;    --finishing-2: #1F6F9E;
  --ridenow: #F7931E;      --ridenow-2: #E8631C;
  --accent: var(--gold); --accent-2: #B8862A;
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.12);
  --glass-line: rgba(255,255,255,.18);
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); color: var(--ink); background: var(--navy);
  -webkit-font-smoothing: antialiased; letter-spacing: -.01em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- backdrop: photo + colour blobs, fixed ---- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
.backdrop__photo { position: absolute; inset: -4%; background-size: cover; background-position: center; filter: blur(10px) saturate(1.1) brightness(.55); transform: scale(1.05); }
.backdrop__photo--sharp { filter: brightness(.6) saturate(1.05); }
.backdrop::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.25) 0%, rgba(10,22,40,.55) 55%, rgba(10,22,40,.9) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--a { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: var(--accent); }
.blob--b { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: var(--finishing-2); opacity: .4; }
.blob--c { width: 42vw; height: 42vw; left: 30vw; bottom: -18vw; background: #4F35C7; opacity: .4; }

/* ---- glass primitives ---- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 20px 60px -24px rgba(0,0,0,.7);
}
.glass--strong { background: var(--glass-strong); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.pill--accent { background: var(--accent); color: var(--navy); box-shadow: 0 10px 30px -10px var(--accent); }
.pill--glass { background: var(--glass-strong); border: 1px solid var(--glass-line); color: var(--ink);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.pill:hover { transform: translateY(-2px); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; background: var(--glass-strong); border: 1px solid var(--glass-line); color: var(--ink); }
.badge--accent { background: var(--accent); color: var(--navy); border-color: transparent; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { line-height: 1.6; }
.muted { color: var(--muted); }

/* ---- layout ---- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }

/* ---- floating nav ---- */
.nav { position: sticky; top: 14px; z-index: 10; margin: 14px auto 0; max-width: 1180px; padding: 0 22px; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px 10px 14px; border-radius: var(--r-pill); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a { padding: 9px 14px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav__links a:hover, .nav__links a.is-active { background: var(--glass-strong); color: var(--ink); }

/* ---- splash ---- */
.splash { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 40px 22px 60px; text-align: center; }
.splash__logo { width: 104px; height: 104px; border-radius: 27px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); }
.splash__name { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; margin: 18px 0 6px; }
.splash__name span { font-weight: 300; }
.splash__tag { color: var(--muted); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; margin: 0; }
.splash__area { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: min(1180px, 100%); }
.card { --c: var(--accent); position: relative; display: flex; flex-direction: column; text-align: left; text-decoration: none; color: var(--ink);
  overflow: hidden; border-radius: var(--r-xl); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 40px 80px -30px color-mix(in srgb, var(--c) 60%, #000); }
.card__photo { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.85)); }
.card__logo { position: absolute; left: 18px; bottom: 14px; width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.8); z-index: 1; }
.card__badge { position: absolute; top: 14px; right: 14px; z-index: 1; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.card__desc { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card__cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c); }
.card--construction { --c: var(--construction); } .card--finishing { --c: var(--finishing); } .card--ridenow { --c: var(--ridenow); }

/* ---- hero (division pages) ---- */
.hero { padding: 40px 0 20px; }
.hero__panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 34px; border-radius: var(--r-xl); }
.hero__panel h1 span { color: var(--accent); }
.hero__panel p { color: var(--muted); font-size: 1.05rem; max-width: 50ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); border: 1px solid var(--glass-line); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---- feature tiles ---- */
.tile { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tile__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.tile__icon img, .tile__icon svg { width: 28px; height: 28px; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-line); position: relative; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; }
.gallery .wide { grid-column: span 2; } .gallery .wide img { aspect-ratio: 8/3; }
.graphic { padding: 22px; } .graphic img { width: 100%; height: auto; }

/* ---- service area ---- */
.area__map { max-width: 440px; width: 100%; justify-self: center; border-radius: var(--r-lg); }
.counties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---- stats / investor ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; } .stat b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.stat span { color: var(--muted); font-size: .85rem; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--r-lg); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--glass-line); font-size: .95rem; }
.compare th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.04); }
.compare tr:last-child td { border-bottom: 0; }
.compare td.yes { color: #4CD97B; font-weight: 700; } .compare td.no { color: #FF6B6B; } .compare td.meh { color: var(--gold-2); }
.compare td:first-child { font-weight: 600; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 22px; } .step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--navy); font-weight: 800; margin-bottom: 12px; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }
.callout { padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note { font-size: .82rem; color: var(--dim); }

/* ---- footer ---- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; padding: 18px 22px; margin: 30px auto 30px; max-width: 1180px; color: var(--muted); font-size: .85rem; }
.foot a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot .note { flex-basis: 100%; text-align: center; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .cards, .grid-3, .gallery, .steps { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; } .gallery .wide img { aspect-ratio: 4/3; }
  .grid-2, .hero__panel { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .hero__panel { padding: 22px; }
  .compare { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { .card, .pill, .gallery img { transition: none; } }

/* ---- Ride-Now page: ride-now.ie look (near-black, orange) ---- */
.rn .backdrop { background: #0B0B0D; }
.rn .backdrop::after { background: linear-gradient(180deg, rgba(11,11,13,.35) 0%, rgba(11,11,13,.7) 50%, rgba(11,11,13,.96) 100%); }
.rn .blob--a { background: #F7931E; opacity: .35; } .rn .blob--b { background: #E8631C; opacity: .22; } .rn .blob--c { background: #F7931E; opacity: .15; }
.rn .glass { background: rgba(22,22,26,.62); border-color: rgba(255,255,255,.12); }
.rn .glass--strong { background: rgba(28,28,32,.8); }
.rn .pill--accent { background: linear-gradient(135deg, #F9A03F, #F26B1D); color: #0B0B0D; box-shadow: 0 12px 30px -10px rgba(247,147,30,.7); }
.rn .badge--accent { background: linear-gradient(135deg, #F9A03F, #F26B1D); color: #0B0B0D; }
.rn .eyebrow, .rn .hero__panel h1 span, .rn .card__cta { color: #F7931E; }
.rn .nav__logo img { height: 34px; }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat div { padding: 20px 22px; border-radius: var(--r-md); }
.feat b { display: block; margin-bottom: 4px; font-size: 1.02rem; } .feat span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.feat i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px; font-style: normal; background: rgba(247,147,30,.18); color: #F7931E; font-weight: 800; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.phone { border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); background: #000; }
.phone img { width: 100%; height: auto; display: block; }
.phone-caption { text-align: center; margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .phones { grid-template-columns: 1fr; } }

.rn .steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .rn .steps--4 { grid-template-columns: 1fr; } }

/* ---- compact interactive photo library ---- */
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lib figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--glass-line); cursor: zoom-in;
  aspect-ratio: 4/3; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, z-index 0s .28s; background: #0B1626; }
.lib img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .74rem; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .25s ease; }
@media (hover: hover) {
  .lib figure:hover { transform: scale(1.55); z-index: 5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); border-color: rgba(255,255,255,.35); transition-delay: 0s; }
  .lib figure:hover figcaption { opacity: 1; }
  .lib figure:first-child:hover, .lib figure:nth-child(6n+1):hover { transform-origin: left center; }
  .lib figure:nth-child(6n):hover { transform-origin: right center; }
}
.lib-title { margin: 22px 0 10px; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px; background: rgba(5,10,20,.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 18px; box-shadow: 0 40px 100px -30px #000; border: 1px solid var(--glass-line); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--ink); font-weight: 600; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-line);
  background: var(--glass-strong); color: var(--ink); font-size: 1.3rem; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 700px) { .lib { grid-template-columns: repeat(3, 1fr); gap: 8px; } .lib figure { border-radius: 10px; } }
/* lightbox navigation */
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--glass-line);
  background: var(--glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; }
.lightbox figure { cursor: default; }
@media (max-width: 700px) { .lightbox__nav { width: 44px; height: 44px; } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } .lightbox { padding: 60px 8px 24px; } }
