/* DroptheL × Schedool: design layer on top of style.css.
   Remove this file's <link> to go straight back to the previous look. */

/* ---------- The one big moment: the homepage hero arrives ---------- */
@keyframes dtl-drift{from{background-position:70% center}to{background-position:52% center}}
@keyframes dtl-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes dtl-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.hero-photo{animation:dtl-drift 14s ease-out both}
.hero-photo .hero-copy>*{animation:dtl-rise .7s cubic-bezier(.2,.7,.2,1) both}
.hero-photo .hero-copy>*:nth-child(1){animation-delay:.05s}
.hero-photo .hero-copy>*:nth-child(2){animation-delay:.15s}
.hero-photo .hero-copy>*:nth-child(3){animation-delay:.28s}
.hero-photo .hero-copy>*:nth-child(4){animation-delay:.4s}
.hero-photo .hero-copy>*:nth-child(5){animation-delay:.52s}
.hero-photo .eyebrow:before{transform-origin:left;animation:dtl-line .6s .2s ease-out both}
/* Road markings along the bottom edge of the hero */
.hero-photo{position:relative}
.hero-photo:before{content:"";position:absolute;left:0;right:0;bottom:26px;height:4px;z-index:1;opacity:.55;
  background:repeating-linear-gradient(90deg,#fff 0 46px,transparent 46px 86px);pointer-events:none}

/* ---------- Buttons: a sheen when you point at them ---------- */
.btn{overflow:hidden;isolation:isolate}
.btn:not(.mobile-book){position:relative}
.btn:not(.light):not(.outline):after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%);
  transform:translateX(-120%);transition:transform .6s ease}
.btn:not(.light):not(.outline):hover:after{transform:translateX(120%)}
.btn:not(.mobile-book):active{transform:translateY(0) scale(.98)}

/* ---------- Header lifts off the page once you scroll ---------- */
.header{transition:box-shadow .25s ease,background .25s ease}
.header.dtl-scrolled{box-shadow:0 10px 30px rgba(8,27,58,.10);background:rgba(255,255,255,.985)}

/* ---------- Cards respond to the pointer ---------- */
.card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(8,27,58,.13);border-color:#c9d8ec}
.photo-cards .card img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.photo-cards .card:hover img{transform:scale(1.05)}
.photo-cards .card-image-link{overflow:hidden}
.area-box{transition:transform .25s ease,box-shadow .25s ease}
.area-box:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(8,27,58,.10)}

/* ---------- Book online: the mini site, framed like a dashboard ---------- */
.dtl-booksec{position:relative;background:linear-gradient(180deg,#f5f8fc 0%,#fff 100%);overflow:hidden}
.dtl-booksec:before{content:"";position:absolute;left:-10%;right:-10%;top:0;height:4px;
  background:repeating-linear-gradient(90deg,#1769e0 0 46px,transparent 46px 86px);opacity:.35}
.dtl-booksec-head{max-width:720px;margin:0 auto 28px;text-align:center}
.dtl-booksec-head h2{margin-top:14px}
.dtl-booksec-head .lead{margin-left:auto;margin-right:auto}
.dtl-mini{position:relative;max-width:900px;margin:0 auto;background:#fff;border:1px solid var(--line);
  border-radius:26px;padding:10px;box-shadow:0 30px 80px rgba(8,27,58,.14),0 2px 0 #fff inset}
.dtl-mini:before{content:"Live free times";position:absolute;top:-14px;left:26px;z-index:1;display:inline-flex;align-items:center;gap:8px;
  background:var(--navy);color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.06em;padding:6px 12px 6px 26px;border-radius:99px}
.dtl-mini:after{content:"";position:absolute;top:-4px;left:38px;z-index:2;width:8px;height:8px;border-radius:50%;
  background:#36e28a;box-shadow:0 0 0 0 rgba(54,226,138,.6);animation:dtl-pulse 2.2s ease-out infinite}
@keyframes dtl-pulse{0%{box-shadow:0 0 0 0 rgba(54,226,138,.55)}80%,100%{box-shadow:0 0 0 9px rgba(54,226,138,0)}}
.dtl-mini .schedool-widget{border-radius:18px;overflow:hidden;min-height:420px}
.dtl-book-help{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:900px;margin:30px auto 0}
.dtl-book-help>div{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fff}
.dtl-book-help h3{font-size:1.05rem;margin-bottom:6px}
.dtl-book-help p{margin:0;color:var(--muted);font-size:.95rem}

/* Book page banner: three steps */
.dtl-steps{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:22px 0 0}
.dtl-steps li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px);
  border-radius:99px;padding:8px 15px;color:#e5efff;font-size:.95rem}
.dtl-steps b{color:#fff}
.dtl-banner-book .wrap{animation:dtl-rise .7s cubic-bezier(.2,.7,.2,1) both}

/* Phone "Book" bar: frosted, so the page shows through */
.mobile-book{backdrop-filter:blur(10px);background:rgba(23,105,224,.94)}

@media(max-width:760px){
  .dtl-book-help{grid-template-columns:1fr}
  .dtl-mini{padding:6px;border-radius:20px}
  .dtl-mini:before{left:18px}.dtl-mini:after{left:30px}
  .hero-photo:before{bottom:16px}
}
@media(prefers-reduced-motion:reduce){
  .hero-photo,.hero-photo .hero-copy>*,.hero-photo .eyebrow:before,.dtl-banner-book .wrap,.dtl-mini:after{animation:none!important}
  .card:hover,.area-box:hover{transform:none}
  .photo-cards .card:hover img{transform:none}
}

/* =====================================================================
   Version 2: bolder, visible without hovering
   ===================================================================== */

/* Feature strip: glass tiles that overlap the bottom of the homepage photo */
.dtl-strip{position:relative;z-index:3;margin-top:-58px;padding-bottom:6px}
.dtl-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dtl-tile{display:flex;align-items:center;gap:13px;padding:17px 18px;border-radius:20px;color:var(--navy);
  background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.7);
  box-shadow:0 22px 50px rgba(8,27,58,.18);transition:transform .25s ease,box-shadow .25s ease}
.dtl-tile:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 28px 60px rgba(8,27,58,.24)}
.dtl-tile b{display:block;font-family:Manrope,sans-serif;font-size:1rem;line-height:1.2}
.dtl-tile small{display:block;color:var(--muted);font-size:.84rem;margin-top:2px}
.dtl-ico{flex:0 0 44px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(140deg,#e6f3ff,#d7fbff);color:var(--blue)}
.dtl-tile-go{background:linear-gradient(135deg,#1769e0,#0b4fb3);color:#fff;border-color:transparent}
.dtl-tile-go small{color:#d6e6ff}
.dtl-tile-go .dtl-ico{background:rgba(255,255,255,.16);color:#fff}
.hero-photo .hero-grid{padding-bottom:120px}
@keyframes dtl-strip-in{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.dtl-tile{animation:dtl-strip-in .7s cubic-bezier(.2,.7,.2,1) both}
.dtl-tile:nth-child(1){animation-delay:.55s}.dtl-tile:nth-child(2){animation-delay:.65s}
.dtl-tile:nth-child(3){animation-delay:.75s}.dtl-tile:nth-child(4){animation-delay:.85s}

/* Cards: a coloured edge so they stand out at a glance */
.card{position:relative;overflow:hidden}
.card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;z-index:2;
  background:linear-gradient(90deg,var(--blue),var(--cyan))}
.photo-cards .card-body h3{display:flex;align-items:center;gap:8px}

/* Brand "L" watermark on the light sections */
.section.soft{position:relative;overflow:hidden}
.section.soft:after{content:"L";position:absolute;right:-30px;top:50%;transform:translateY(-50%) rotate(12deg);
  font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(14rem,30vw,26rem);line-height:1;
  color:rgba(23,105,224,.055);pointer-events:none}
.section.soft>.wrap{position:relative;z-index:1}

/* The "Ready to get started?" banner: glowing, with moving road markings */
.cta{position:relative;overflow:hidden;background:linear-gradient(110deg,#0c2b55,#1557a5 60%,#1b74d8)}
.cta:before{content:"";position:absolute;width:420px;height:420px;right:-120px;top:-180px;border-radius:50%;
  background:radial-gradient(circle,rgba(78,213,232,.35),transparent 65%);pointer-events:none}
.cta:after{content:"";position:absolute;left:0;right:0;bottom:16px;height:4px;opacity:.45;
  background:repeating-linear-gradient(90deg,#fff 0 40px,transparent 40px 76px);background-size:76px 4px;
  animation:dtl-road 1.6s linear infinite;pointer-events:none}
@keyframes dtl-road{from{background-position:0 0}to{background-position:-76px 0}}
.cta>*{position:relative;z-index:1}

/* Feature panels get a soft gradient border */
.feature-panel{position:relative;border:1px solid #d7e6fb;box-shadow:0 18px 45px rgba(8,27,58,.08)}

/* Things rise into view as you scroll (only when the page script runs) */
.dtl-js .dtl-reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.dtl-js .dtl-reveal.dtl-in{opacity:1;transform:none}

@media(max-width:980px){.dtl-strip-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .dtl-strip{margin-top:-40px}
  .dtl-strip-grid{grid-template-columns:1fr 1fr;gap:10px}
  .dtl-tile{flex-direction:column;align-items:flex-start;gap:9px;padding:14px}
  .dtl-tile small{display:none}
  .hero-photo .hero-grid{padding-bottom:84px}
  .section.soft:after{font-size:16rem;right:-60px}
}
@media(prefers-reduced-motion:reduce){
  .dtl-tile,.cta:after{animation:none!important}
  .dtl-js .dtl-reveal{opacity:1;transform:none;transition:none}
}

/* Header "Book online" button: never squeeze it, whatever the width of the menu */
.nav>.btn{flex:0 0 auto;white-space:nowrap}
@media(min-width:981px){.header .wrap.nav{width:min(1360px,calc(100% - 40px))}.links{gap:16px}.links a{line-height:1.3}}
@media(min-width:981px) and (max-width:1320px){.links{gap:12px}.links a{font-size:.86rem}}
@media(min-width:1560px){.links a{white-space:nowrap}.links{gap:18px}}
/* Road markings sit just above the feature strip on the homepage */
.hero-photo:before{bottom:78px}
@media(max-width:560px){.hero-photo:before{bottom:52px}}
