/* ============================================
   Doylair — doylair.com.au
   Style guide: Clash Display (headings), Open Sauce (body)
   Palette: #FFFFFF · #FF914D · #898989 · #242424 · #0CC0DF
   ============================================ */

@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/ClashDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sauce'; src: url('/assets/fonts/OpenSauceOne-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sauce'; src: url('/assets/fonts/OpenSauceOne-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Open Sauce'; src: url('/assets/fonts/OpenSauceOne-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Open Sauce'; src: url('/assets/fonts/OpenSauceOne-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Open Sauce'; src: url('/assets/fonts/OpenSauceOne-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --cyan: #0CC0DF;
  --cyan-dark: #099db7;
  --orange: #FF914D;
  --grey: #898989;
  --ink: #242424;
  --white: #FFFFFF;
  --bg-soft: #F5F8F9;
  --heading: 'Clash Display', 'Arial Narrow', sans-serif;
  --body: 'Open Sauce', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 10px 30px rgba(36, 36, 36, .10);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; line-height: 1.15; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
section { padding: 84px 0; }

.eyebrow { display: inline-block; font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 14px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.section-lede { color: var(--grey); max-width: 640px; font-size: 1.05rem; }

.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: .95rem; padding: 15px 32px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: all .22s ease; }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--cyan-dark); transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(.94); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  /* White gradient: solid-ish at the very top of the page, easing to 20% opacity at the header's lower edge */
  background: linear-gradient(to bottom, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.20) 100%);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 18px rgba(36,36,36,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-link { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 10px 16px; border-radius: 8px; transition: color .2s; }
.nav a.nav-link:hover { color: var(--cyan-dark); }

.has-dropdown { position: relative; }
.has-dropdown > a.nav-link::after { content: ""; display: inline-block; margin-left: 7px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(36,36,36,.16);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.dropdown a span { display: block; font-weight: 400; font-size: .8rem; color: var(--grey); margin-top: 2px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--cyan-dark); }

.nav .btn { padding: 11px 24px; margin-left: 10px; }

.nav-close { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 0; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease-in-out; transform: scale(1.06); }
.hero-slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(36,36,36,.18) 0%, rgba(36,36,36,.32) 60%, rgba(36,36,36,.55) 100%); }
.hero-content { position: relative; z-index: 2; width: min(900px, 90vw); color: #fff; padding-top: 40px; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 700; color: #fff; text-shadow: 0 4px 26px rgba(0,0,0,.5); margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.25rem); font-weight: 500; text-shadow: 0 2px 14px rgba(0,0,0,.5); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .25s; padding: 0; }
.hero-dots button.active { background: var(--cyan); transform: scale(1.25); }

/* ---------- Trust bar (brand logo marquee) ---------- */
.trustbar { background: var(--ink); color: #fff; padding: 26px 0; }
.trust-flex { display: flex; align-items: center; gap: 24px; }
.trust-label { flex: 0 0 33.333%; font-size: .88rem; font-weight: 600; letter-spacing: .06em; color: #cfcfcf; text-transform: uppercase; }
.trust-label strong { color: var(--cyan); }
.marquee { flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 55s linear infinite; }
.marquee-track img { height: 30px; width: auto; margin-right: 58px; opacity: .85; flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 700px) {
  .trust-flex { flex-direction: column; gap: 16px; align-items: flex-start; }
  .trust-label { flex: none; }
  .marquee { width: 100%; }
  .marquee-track img { height: 24px; margin-right: 40px; }
}

/* ---------- Services intro ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; margin-top: 46px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(36,36,36,.16); }
.service-card img { height: 170px; object-fit: cover; width: 100%; }
.service-card .pad { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--grey); font-size: .93rem; flex: 1; }
.service-card .link { margin-top: 16px; font-weight: 700; color: var(--cyan-dark); font-size: .92rem; }
.service-card .link::after { content: " →"; }

/* ---------- Categories (6) ---------- */
.cats { background: var(--bg-soft); }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 46px; }
.cat { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border-top: 4px solid var(--cyan); transition: transform .22s; }
.cat:nth-child(even) { border-top-color: var(--orange); }
.cat:hover { transform: translateY(-5px); }
.cat .ico { width: 54px; height: 54px; border-radius: 12px; background: rgba(12,192,223,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cat:nth-child(even) .ico { background: rgba(255,145,77,.14); }
.cat .ico svg { width: 30px; height: 30px; stroke: var(--cyan-dark); }
.cat:nth-child(even) .ico svg { stroke: var(--orange); }
.cat h3 { font-size: 1.18rem; margin-bottom: 10px; }
.cat p { color: var(--grey); font-size: .92rem; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gbadge { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px 22px; }
.gbadge .stars { color: #FBBC05; font-size: 1.25rem; letter-spacing: 2px; }
.gbadge .score { font-family: var(--heading); font-weight: 700; font-size: 1.6rem; }
.gbadge small { display: block; color: var(--grey); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 42px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review .stars { color: #FBBC05; letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-size: .95rem; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cyan); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--heading); }
.review:nth-child(even) .avatar { background: var(--orange); }
.review .who small { color: var(--grey); display: block; }
.reviews-cta { text-align: center; margin-top: 42px; }

/* ---------- Instagram ---------- */
.insta { background: var(--ink); color: #fff; }
.insta .section-lede { color: #b5b5b5; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 44px; }
.insta-grid a { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(12,192,223,.55), rgba(255,145,77,.5)); opacity: 0; transition: opacity .3s; }
.insta-grid a:hover img { transform: scale(1.07); }
.insta-grid a:hover::after { opacity: 1; }
.insta-cta { text-align: center; margin-top: 40px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-dark) 100%); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; opacity: .92; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 110px; color: #fff; background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(36,36,36,.5), rgba(36,36,36,.72)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { max-width: 620px; font-size: 1.08rem; opacity: .95; }
.crumbs { font-size: .85rem; margin-bottom: 20px; opacity: .85; }
.crumbs a { color: #fff; text-decoration: underline; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; margin-top: 22px; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 13px; font-size: .98rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(12,192,223,.14); color: var(--cyan-dark); font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; }

/* ---------- Contact / form ---------- */
.form-shell { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 42px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 7px; }
label em { color: var(--grey); font-style: normal; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font-family: var(--body); font-size: .95rem; padding: 13px 15px;
  border: 1.5px solid #ddd; border-radius: 10px; background: var(--bg-soft); transition: border .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.filedrop { border: 2px dashed #cfd8db; border-radius: 12px; padding: 30px; text-align: center; background: var(--bg-soft); cursor: pointer; transition: .2s; }
.filedrop:hover, .filedrop.drag { border-color: var(--cyan); background: rgba(12,192,223,.06); }
.filedrop input { display: none; }
.filedrop .hint { color: var(--grey); font-size: .85rem; margin-top: 6px; }
.filelist { margin-top: 10px; font-size: .85rem; color: var(--cyan-dark); font-weight: 600; }
.contact-aside h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.contact-aside a { font-weight: 700; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #cfcfcf; padding: 70px 0 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 50px; }
footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #cfcfcf; transition: color .2s; }
footer a:hover { color: var(--cyan); }
.foot-logo img { height: 46px; width: auto; margin-bottom: 18px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: .22s; }
.socials a:hover { background: var(--cyan); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; color: #8f8f8f; }
.foot-bottom a { color: #8f8f8f; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(340px, 84vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 22px 26px 30px; box-shadow: -12px 0 40px rgba(0,0,0,.18); transition: right .3s ease;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav-close {
    display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink);
    padding: 14px 4px 16px; border-bottom: 2px solid var(--cyan); margin-bottom: 6px;
  }
  .nav a.nav-link { width: 100%; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid #ececec; }
  .has-dropdown { width: 100%; }
  .has-dropdown > a.nav-link { display: block; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; display: none; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; border-bottom: 1px solid #ececec; }
  .nav .btn { margin: 22px 0 0; width: 100%; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 28px 22px; }
}
@media (max-width: 560px) {
  section { padding: 62px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand img { height: 44px; }
}
