/* AKNAS Plumbing — Brisbane
   Palette derived from the business's own photos:
   - petrol teal  -> the cyan Moroccan feature tile in the bathroom reno (photo 3)
   - warm slate   -> the grey stone floor tiles + weathered shed cladding (photos 1 & 5)
   - honey timber -> the natural-oak vanity (photo 3)
*/

:root {
  --teal: #0e5a63;
  --teal-deep: #0a444b;
  --teal-bright: #14808d;
  --slate: #2c3338;
  --slate-soft: #424b52;
  --honey: #c4894a;
  --honey-deep: #a86f33;
  --mist: #eef2f3;
  --mist-2: #dde5e7;
  --paper: #ffffff;
  --ink: #1c2227;
  --ink-soft: #4a555c;
  --line: #d7dee0;

  --maxw: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(28, 34, 39, .08);
  --shadow-md: 0 14px 34px rgba(14, 90, 99, .14);
  --shadow-lg: 0 28px 60px rgba(20, 30, 35, .22);

  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.12;
  margin: 0 0 .55em;
  letter-spacing: -.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.42rem); }

p { margin: 0 0 1.1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section--tint { background: var(--mist); }
.section--slate { background: var(--slate); color: #d9e0e3; }
.section--slate h2, .section--slate h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: .9rem;
}
.section--slate .eyebrow { color: var(--honey); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--honey); color: #20140a; border-color: var(--honey); }
.btn--primary:hover { background: var(--honey-deep); border-color: var(--honey-deep); color: #20140a; box-shadow: var(--shadow-md); }
.btn--teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-bright); border-color: var(--teal-bright); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost-dark:hover { background: var(--teal); color: #fff; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

/* Logo lockup */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
}
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: .02em;
  color: var(--slate);
}
.logo__name b { color: var(--teal); font-weight: 800; }
.logo__tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-top: 3px;
}

/* Nav */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-btn span { position: relative; }
.nav-btn span, .nav-btn span::before, .nav-btn span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-btn span::before, .nav-btn span::after { content: ""; position: absolute; left: 0; }
.nav-btn span::before { transform: translateY(-7px); }
.nav-btn span::after { transform: translateY(7px); }

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--slate);
  padding: .5rem 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--honey);
  transition: width .2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--teal); }
.header-cta { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(10,49,54,.93) 0%, rgba(14,90,99,.8) 42%, rgba(20,30,35,.46) 100%);
}
.hero__inner { padding: clamp(3.6rem, 9vw, 7rem) 0 clamp(3.2rem, 7vw, 5.5rem); max-width: 680px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: .4rem .95rem .4rem .7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 1.4rem;
}
.hero__rating .stars { color: var(--honey); letter-spacing: 1px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.hero__hours {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
}
.hero__hours svg { width: 18px; height: 18px; color: var(--honey); }

/* ---------- Trust strip ---------- */
.trust { background: var(--slate); color: #cfd6da; }
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
  text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: .15rem; }
.trust__item b { font-family: var(--font-display); color: #fff; font-size: 1.15rem; }
.trust__item span { font-size: .82rem; letter-spacing: .04em; }

/* ---------- Section heading ---------- */
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head.centre { margin-inline: auto; text-align: center; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-bright); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--mist);
  color: var(--teal);
  margin-bottom: .8rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .3rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1rem; }
.card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--teal);
}
.card__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split ul.ticks { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .15rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-wide { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery .g-tall { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery .g-sq { grid-column: span 2; aspect-ratio: 1 / 1; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--honey);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.review__stars { color: var(--honey); letter-spacing: 2px; margin-bottom: .7rem; }
.review p { font-size: 1rem; color: var(--ink); }
.review__by { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--slate); }
.review__by span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal-bright));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--slate);
  color: #fff;
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(2.2rem, 5vw, 3.4rem);
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero .crumb { font-size: .85rem; letter-spacing: .05em; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.page-hero .crumb a { color: var(--honey); }
.page-hero .lead { color: rgba(255,255,255,.85); }

/* ---------- Detailed service list (services page) ---------- */
.svc-list { display: grid; gap: 1.3rem; }
.svc-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  align-items: start;
}
.svc-row .card__icon { margin: 0; }
.svc-row h3 { margin-bottom: .35rem; }
.svc-row p { margin: 0; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.about-grid img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1rem; }
.value { display: flex; gap: .8rem; align-items: flex-start; }
.value svg { width: 26px; height: 26px; color: var(--teal); flex: none; margin-top: 2px; }
.value b { font-family: var(--font-display); display: block; color: var(--slate); }
.value span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list svg { width: 24px; height: 24px; color: var(--teal); flex: none; margin-top: 3px; }
.info-list b { font-family: var(--font-display); display: block; color: var(--slate); }
.info-list a { color: var(--ink); }
.info-list a:hover { color: var(--teal); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours-table th { font-family: var(--font-display); font-weight: 600; color: var(--slate); }
.hours-table td { color: var(--ink-soft); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.badge-24 { display: inline-block; background: var(--mist); color: var(--teal-deep); border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: .82rem; }

.map-embed { width: 100%; border: 0; border-radius: var(--radius); min-height: 340px; height: 100%; display: block; }

/* ---------- Enquiry form ---------- */
.enquiry { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem .9rem;
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 128, 141, .15);
}
.form-note { font-size: .9rem; color: var(--ink-soft); margin: .9rem 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate);
  color: #aeb8bd;
  padding: clamp(2.8rem, 5vw, 4rem) 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.site-footer .logo__name { color: #fff; }
.site-footer .logo__name b { color: var(--honey); }
.site-footer p { color: #aeb8bd; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { color: #aeb8bd; font-size: .95rem; }
.footer-col a:hover { color: var(--honey); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { color: #aeb8bd; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-btn { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease, padding .28s ease;
  }
  .nav-toggle:checked ~ .main-nav { max-height: 460px; padding: .5rem var(--gutter) 1.2rem; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--mist-2); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .header-cta { display: none; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 680px) {
  .cards, .reviews { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide, .gallery .g-tall, .gallery .g-sq { grid-column: span 1; aspect-ratio: 1 / 1; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row .card__icon { margin-bottom: .2rem; }
}
