/* =====================================================================
   Style based on the Busuu design system (refero.design)
   Change the brand colours here to re-theme the whole site.
   ===================================================================== */
:root {
  --indigo: #3b1e90;         /* left edge of hero gradient */
  --violet: #5a3cc4;
  --sky: #3a6ef0;            /* right edge of hero gradient */
  --blue: #116eee;           /* brand blue: logo, links, accents */
  --mint: #11ee92;           /* main action button */
  --mint-dark: #0bd380;
  --star: #ffcf00;           /* review stars only */
  --ink: #252b2f;            /* text */
  --muted: #666e7e;          /* secondary text */
  --line: #d6dee6;           /* borders */
  --mist: #f2f7fd;           /* page background */
  --white: #ffffff;
  --gradient: linear-gradient(90deg, var(--indigo) 0%, var(--violet) 30%, var(--sky) 100%);
  --shadow: rgba(0, 0, 0, .1) 0 1px 2px 0;
  --shadow-lift: 0 10px 30px rgba(37, 43, 47, .08);
  --r-card: 16px;
  --r-pill: 45px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Poppins, "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--mist);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.14; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
section { padding: 72px 0; }

/* ===== Buttons (pill shaped) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1.2 Poppins, sans-serif;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 4px 0 var(--mint-dark); }
.btn-mint:hover { background: #3cf4a7; }
.btn-blue-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-blue-outline:hover { background: var(--blue); color: var(--white); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-white-outline:hover { background: var(--white); color: var(--indigo); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn.full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, #e6f3ff 0%, #cfe7ff 100%); border-bottom: 1px solid #b9dcff; box-shadow: 0 4px 14px rgba(17, 110, 238, .08); }
.site-header .btn-blue-outline { background: rgba(255, 255, 255, .7); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 114px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; color: var(--white); font-size: 20px; }
.logo-img { height: 100px; width: auto; display: block; }
.logo-footer { height: 150px; margin: 0 auto; }
.logo-text { font-weight: 800; font-size: 20px; line-height: 1; }
.logo-text small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 10px; }

/* ===== Hero (gradient banner) ===== */
.hero { background: var(--gradient); color: var(--white); padding: 72px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.kicker { display: inline-block; background: rgba(255,255,255,.16); border-radius: var(--r-pill); padding: 6px 16px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.hero h1 span { color: var(--mint); }
.hero .lead { font-size: 18px; opacity: .92; max-width: 540px; }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 2px; }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; }
.rating .stars { color: var(--star); letter-spacing: 2px; font-size: 18px; }

.hero-photo { position: relative; max-width: 500px; justify-self: center; }
.hero-photo img.square { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px; border: 6px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(20, 10, 70, .35); }
/* shiny blue soap bubbles */
.bubble {
  position: absolute; z-index: 2; width: 118px; height: 118px; border-radius: 50%; padding: 14px;
  display: grid; place-items: center; text-align: center; line-height: 1.15;
  color: var(--white); font-weight: 800; font-size: 15px; text-shadow: 0 1px 3px rgba(5, 30, 90, .6);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .95) 0 5%, rgba(255, 255, 255, .45) 9%, transparent 20%),
    radial-gradient(circle at 50% 45%, rgba(90, 175, 255, .45) 0%, rgba(40, 130, 255, .62) 55%, rgba(14, 85, 225, .9) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .7),
    inset 7px 6px 16px rgba(120, 255, 235, .45),
    inset -8px -10px 18px rgba(255, 120, 220, .4),
    inset 0 -14px 22px rgba(255, 255, 255, .25),
    0 10px 26px rgba(17, 80, 200, .4);
  -webkit-backdrop-filter: blur(2px) saturate(150%); backdrop-filter: blur(2px) saturate(150%);
  animation: bubble-pop .7s cubic-bezier(.3, 1.6, .5, 1) backwards, bubble-float 7s ease-in-out .7s infinite;
}
/* small curved glint, bottom right */
.bubble::after { content: ""; position: absolute; width: 28px; height: 12px; right: 18px; bottom: 16px; border-radius: 50%;
  border-bottom: 3px solid rgba(255, 255, 255, .75); transform: rotate(-35deg); }
/* drifting path with a soft squish, like a real bubble wobbling in the air */
@keyframes bubble-float {
  0%   { transform: translate(0, 0) scale(1, 1) rotate(0deg); }
  20%  { transform: translate(6px, -10px) scale(1.04, .97) rotate(3deg); }
  40%  { transform: translate(-4px, -18px) scale(.97, 1.04) rotate(-2deg); }
  60%  { transform: translate(-8px, -8px) scale(1.03, .98) rotate(-4deg); }
  80%  { transform: translate(3px, -2px) scale(.98, 1.02) rotate(2deg); }
  100% { transform: translate(0, 0) scale(1, 1) rotate(0deg); }
}
/* rainbow sheen sliding round the rim */
@keyframes bubble-sheen { to { transform: rotate(360deg); } }
.bubble::before { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(120, 255, 235, .45), transparent 22%, rgba(255, 140, 225, .45) 40%, transparent 60%, rgba(255, 240, 150, .35) 78%, transparent 92%, rgba(120, 255, 235, .45));
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 72%); mask: radial-gradient(circle, transparent 60%, #000 72%);
  animation: bubble-sheen 6s linear infinite; }
/* pop in one after another when the page loads */
@keyframes bubble-pop { 0% { opacity: 0; scale: .3; } 70% { opacity: 1; scale: 1.12; } 100% { scale: 1; } }
.bubble.b1 { top: 4%; left: -48px; }
.bubble.b2 { top: 40%; right: -44px; animation-delay: .35s, -1.7s; animation-duration: .7s, 8s; }
.bubble.b3 { bottom: 2%; left: -36px; animation-delay: .7s, -3.3s; animation-duration: .7s, 6.5s; }
.bubble.b2::before { animation-duration: 8s; animation-direction: reverse; }
/* random breathing: script.js sets a new scale (about ±20%) every couple of seconds */
.bubble { transition: scale 1.6s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .bubble, .bubble::before { animation: none; } .bubble, .band .medal { scale: 1 !important; } }

/* ===== Trust tiles (circles) ===== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-lift); padding: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.circle-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 26px; box-shadow: var(--shadow); }
.circle-icon img { width: 34px; height: auto; }
.trust-item strong { display: block; font-size: 15px; line-height: 1.3; }
.trust-item div span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.trust-item .circle-icon { width: 88px; height: 88px; font-size: 44px; background: var(--mist); }
.trust-item .circle-icon.aami { background: var(--white); border: 1px solid var(--line); }
.trust-item .circle-icon.aami img { width: 70px; }
.trust-item strong { font-size: 16px; }

/* ===== Section headings ===== */
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.6vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Services ===== */
.chips { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { background: var(--white); border-radius: var(--r-pill); padding: 8px 18px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.chips li::before { content: "✓ "; color: var(--blue); font-weight: 800; }
.chips-label { text-align: center; font-weight: 700; margin-bottom: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 760px; margin-inline: auto; position: relative; isolation: isolate; }
/* soft colour blobs behind the glass so it has something to refract */
.card-grid::before { content: ""; position: absolute; inset: -30px; z-index: -1; pointer-events: none; filter: blur(40px); opacity: .35;
  background:
    radial-gradient(circle at 12% 22%, #ff8ec7 0 90px, transparent 220px),
    radial-gradient(circle at 55% 12%, #3a8bff 0 110px, transparent 250px),
    radial-gradient(circle at 90% 40%, #7a5cff 0 100px, transparent 240px),
    radial-gradient(circle at 30% 80%, #11ee92 0 90px, transparent 230px),
    radial-gradient(circle at 82% 88%, #ffd23f 0 80px, transparent 210px); }

/* subtle transparent grey glass panels */
.card { position: relative; overflow: hidden; color: var(--ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, .55), rgba(225, 230, 238, .35));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px rgba(37, 43, 47, .08);
  transition: transform .2s, box-shadow .2s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 40%); }
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px rgba(37, 43, 47, .12); }
.card .circle-icon { width: 112px; height: 112px; font-size: 56px; margin-bottom: 18px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(240, 244, 250, .6) 70%);
  box-shadow: inset 0 1px 1px #fff, 0 6px 16px rgba(37, 43, 47, .1); border: 1px solid rgba(255, 255, 255, .9); }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: #e4efff; border-radius: var(--r-pill); padding: 3px 12px; margin-bottom: 8px; }
.card h3 { font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.card ul { list-style: none; padding: 0; margin: 0; color: #3a4048; }
.card li { padding: 3px 0; }
.card li::before { content: "• "; color: var(--blue); font-weight: 800; }

/* ===== Gradient band (guarantee) ===== */
.band { background: var(--gradient); color: var(--white); border-radius: 24px; padding: 32px 40px; display: flex; align-items: center; gap: 28px; }
.band { position: relative; }
.band .medal { width: 170px; flex: none; margin: -40px 0; filter: drop-shadow(0 10px 18px rgba(10, 5, 40, .35)); transition: transform .3s, scale 1.6s ease-in-out; }
.band:hover .medal { transform: rotate(-6deg) scale(1.04); }
.band p { margin: 0; flex: 1; font-size: 20px; font-weight: 700; line-height: 1.4; }
.band-section { padding: 0 0 72px; }

/* ===== Reviews ===== */
.reviews { background: var(--white); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--mist); border-radius: var(--r-card); padding: 28px; position: relative; }
.review .stars { color: var(--star); font-size: 20px; letter-spacing: 2px; }
.review h3 { font-size: 18px; margin: 8px 0 10px; }
.review p { color: var(--muted); }
.review-grid-2 { grid-template-columns: repeat(2, 1fr) !important; max-width: 960px; margin-inline: auto; gap: 24px; }
.review { display: flex; flex-direction: column; }
.review .author { margin-top: auto; padding-top: 6px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.g-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--white); border-radius: 999px; padding: 4px 10px 4px 6px; }
.g-logo { width: 16px; height: 16px; }
@media (max-width: 640px) { .review-grid-2 { grid-template-columns: 1fr !important; } }
.author { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 700; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.insured { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; color: var(--muted); font-weight: 600; }
.insured img { height: 36px; width: auto; }

/* ===== Pest control ===== */
.pest-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 360px; display: grid; place-items: center; text-align: center; color: var(--white); padding: 48px 24px; background: linear-gradient(rgba(59,30,144,.55), rgba(58,110,240,.6)), var(--bg) center/cover; }
.pest-card h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 10px; }
.pest-card p { font-size: 18px; max-width: 560px; margin: 0 auto 24px; }

/* ===== Areas ===== */
.areas-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.areas-grid > * { min-width: 0; }
.area-map { margin: 0; }
.area-map img { width: 100%; height: auto; display: block; border-radius: 24px; border: 6px solid var(--white); box-shadow: var(--shadow-lift); }
.suburbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.suburbs li { background: var(--white); border-radius: var(--r-pill); padding: 10px 18px 10px 12px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; }
.suburbs li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #e4efff url("images/location.svg") center/12px no-repeat; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.step { background: var(--white); border-radius: var(--r-card); padding: 32px 26px; box-shadow: var(--shadow); text-align: left; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: var(--white); font-weight: 800; font-size: 22px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; }

/* ===== Two-column sections ===== */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.two-col > * { min-width: 0; }
.two-col.reverse > .media { order: 2; }
.media-card { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.media-card img { width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.brand-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 24px; }
.brand-logos img { height: 36px; width: auto; }
.round { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; margin: 0 auto; border: 8px solid var(--white); box-shadow: var(--shadow-lift); }
.about { background: var(--white); }
.about-photo { width: 100%; height: auto; display: block; border-radius: 24px; border: 6px solid var(--white); box-shadow: var(--shadow-lift); }

/* ===== Final CTA ===== */
.final { background: var(--gradient); color: var(--white); }
.final .hero-grid { grid-template-columns: 1fr 1.3fr; }
.final .round { border-color: rgba(255,255,255,.9); max-width: 380px; }
.final h2 { font-size: clamp(30px, 4vw, 44px); }

/* ===== Footer ===== */
.site-footer { background: var(--mist); padding: 48px 0 36px; font-size: 14px; color: var(--muted); text-align: center; }
.site-footer .logo { margin-bottom: 14px; }
.site-footer p { margin: 4px 0; }

.mobile-call { display: none; }

/* ===== Quote dialog ===== */
.quote-dialog { width: min(520px, 100% - 32px); border: 0; border-radius: 24px; padding: 36px 30px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--ink); }
.quote-dialog::backdrop { background: rgba(59, 30, 144, .55); backdrop-filter: blur(3px); }
.quote-dialog h2 { font-size: 28px; }
.quote-dialog p { color: var(--muted); }
.quote-dialog form { display: grid; gap: 12px; margin-top: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-dialog input, .quote-dialog textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.quote-dialog input:focus, .quote-dialog textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.close { position: absolute; top: 12px; right: 16px; border: 0; background: var(--mist); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.hp { display: none; }
.form-status { margin: 0; font-weight: 700; color: var(--ink); min-height: 1.2em; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid, .final .hero-grid, .two-col, .areas-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse > .media { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .review-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { max-width: 420px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  section { padding: 52px 0; }
  .header-actions .btn-blue-outline { display: none; }
  .logo-text small { display: none; }
  .logo-text { font-size: 17px; }
  .logo-img { height: 64px; }
  .logo-footer { height: 110px; }
  .band .medal { width: 130px; margin: -70px 0 0; }
  .band-section { padding-top: 0; }
  .trust-grid { margin-bottom: 96px; }
  .btn-row .btn { white-space: normal; }
  .hero { padding: 44px 0 80px; }
  .bubble { width: 88px; height: 88px; font-size: 12px; padding: 10px; }
  .bubble::after { width: 20px; height: 9px; right: 13px; bottom: 12px; }
  .bubble.b1 { left: -6px; } .bubble.b2 { right: -6px; } .bubble.b3 { left: 4px; }
  .trust-grid, .card-grid, .review-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .band { flex-direction: column; text-align: center; padding: 28px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .mobile-call {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 60;
    background: var(--mint); color: var(--ink); text-align: center; text-decoration: none;
    font: 700 16px/50px Poppins, sans-serif; border-radius: var(--r-pill); box-shadow: 0 6px 20px rgba(0,0,0,.2);
  }
}
