/* ==========================================================
   Your Brand — websites for tradespeople
   Friendly local style: warm cream, terracotta, sage, mustard
   ========================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/media/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf6ee;
  --cream-2: #f4ebdd;
  --paper: #ffffff;
  --ink: #2a2522;
  --ink-soft: #5b524c;
  --line: #e6dccd;
  /* Darker than the original palette so white text and small labels pass WCAG AA */
  --terracotta: #c4491d;
  --terracotta-dark: #a33a15;
  --sage: #4a6a47;
  --sage-light: #e3ecdf;
  --mustard: #e7b04b;
  --mustard-light: #fbefd3;
  --whatsapp: #0f7f3f;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(68, 44, 22, 0.10);
  --shadow-sm: 0 4px 12px rgba(68, 44, 22, 0.08);

  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --font-head: var(--font-body);

  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

/* Line icons from the inline sprite at the top of each page */
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a { color: var(--terracotta-dark); }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 16px rgba(217, 87, 43, 0.3); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #0b6a34; color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-2); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
}
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-word { display: block; line-height: 0.95; }
.logo-word b { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-word b span { color: var(--terracotta); }
.logo-word small {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.main-nav a:hover { background: var(--cream-2); }
.main-nav a[aria-current="page"] { background: var(--sage-light); color: var(--sage); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 12px 16px; font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .header-phone span { display: none; }
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper); }
.section-sage { background: var(--sage-light); }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-alt .eyebrow, .section-sage .eyebrow { background: var(--cream); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 88px; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .highlight {
  background: linear-gradient(transparent 62%, var(--mustard-light) 62%);
  padding: 0 0.1em;
}
.hero .lead { max-width: 560px; margin-bottom: 28px; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-soft);
  font-weight: 700;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

.hero-visual { position: relative; padding: 0 0 48px 70px; }
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-visual .phone {
  position: absolute;
  left: 0;
  bottom: 0;
}
.hero-blob {
  position: absolute;
  inset: 8% -10% -6% 4%;
  background: var(--mustard-light);
  border-radius: 46% 54% 58% 42% / 44% 40% 60% 56%;
  z-index: 0;
}
.hero-sticker {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-sticker .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.hero-sticker .dot svg { width: 18px; height: 18px; }
.hero-sticker small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.8rem; }
.sticker-a { top: 8%; left: 12%; transform: rotate(-4deg); }
.sticker-a .dot { background: var(--sage); }
.sticker-b { bottom: 22%; right: -4%; transform: rotate(3deg); }
.sticker-b .dot { background: var(--terracotta); }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero-visual { padding-left: 40px; }
  .sticker-a { left: 4%; }
  .sticker-b { right: -2%; }
}

/* ---------- Photos ---------- */

.photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.photo-pair img:last-child { margin-top: 48px; }

/* ---------- Phone mockup (example trade site) ---------- */

.phone {
  position: relative;
  z-index: 2;
  width: 290px;
  max-width: 100%;
  background: #1d1a18;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(42, 37, 34, 0.25);
}
.phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 18.5;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1d1a18;
  border-radius: 999px;
  z-index: 3;
}

/* A tiny trade website, themed with --accent */
.mini {
  --accent: var(--terracotta);
  --accent-soft: #fde7dd;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 14px 10px;
  font-weight: 800;
  font-size: 12px;
}
.mini-bar .burger { width: 16px; height: 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.mini-bar .burger::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--ink); }
.mini-hero {
  margin: 0 10px;
  border-radius: 16px;
  padding: 18px 14px;
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mini-hero::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.mini-hero strong { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.15; margin-bottom: 6px; }
.mini-hero span { opacity: 0.9; }
.mini-stars { color: var(--mustard); letter-spacing: 1px; margin-top: 8px; font-size: 12px; }
.mini-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.mini-btn {
  border-radius: 999px;
  text-align: center;
  padding: 8px 4px;
  font-weight: 800;
  font-size: 10.5px;
  background: var(--ink);
  color: #fff;
}
.mini-btn.wa { background: var(--whatsapp); }
.mini-section { padding: 4px 12px 8px; }
.mini-section b { display: block; font-size: 12px; margin-bottom: 6px; }
.mini-services { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-services div {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 8px;
  font-weight: 700;
  font-size: 10px;
}
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mini-gallery div { aspect-ratio: 1; border-radius: 8px; background: var(--accent-soft); }
.mini-gallery div:nth-child(2) { background: var(--accent); opacity: 0.55; }
.mini-gallery div:nth-child(3) { background: var(--accent); opacity: 0.3; }
.mini-foot {
  margin-top: auto;
  background: var(--cream-2);
  padding: 10px 12px 14px;
  font-size: 9.5px;
  color: var(--ink-soft);
}

/* ---------- Trust strip ---------- */

.trust-strip { padding: 0; margin-top: -40px; position: relative; z-index: 5; }
.trust-grid {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px;
  gap: 20px;
  box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--mustard);
  flex: none;
}
.trust-item .ico svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { color: #cfc6bd; font-size: 0.92rem; }

@media (max-width: 920px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.section-alt .card { background: var(--cream); }
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--mustard-light);
  color: var(--terracotta-dark);
}
.card .ico svg { width: 28px; height: 28px; }
.card:nth-child(3n+2) .ico { background: var(--sage-light); color: var(--sage); }
.card:nth-child(3n+3) .ico { background: #fde7dd; color: var(--terracotta); }

/* ---------- Problem / solution ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.wide-right { grid-template-columns: 0.8fr 1.2fr; }
@media (max-width: 860px) { .split, .split.wide-right { grid-template-columns: 1fr; gap: 32px; } }

.check-list, .cross-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .cross-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
}
.check-list li::before, .cross-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.check-list li::before {
  background-color: var(--sage);
  background-image: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.cross-list li::before {
  background-color: #e9d8cf;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8441d' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare .card h3 { font-size: 1.1rem; }
.compare .card.bad { background: var(--cream-2); border-style: dashed; }
.compare .card.good { border: 2px solid var(--sage); }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 28px;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(217, 87, 43, 0.3);
}
.step .card { height: 100%; padding-top: 40px; }
.step .time {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sage);
  margin-bottom: 8px;
}

/* ---------- About / experience ---------- */

.about-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.about-card h2 { color: #fff; }
.about-card p { color: #d9d0c7; }
.about-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(4.5rem, 10vw, 7rem);
  line-height: 0.9;
  color: var(--mustard);
  text-align: center;
}
.about-number small {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .about-card { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .about-number { text-align: left; }
}

/* ---------- Pricing ---------- */

.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .price-wrap { grid-template-columns: 1fr; } }

.price-card {
  background: var(--paper);
  border: 3px solid var(--terracotta);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -18px;
  left: 32px;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  transform: rotate(-2deg);
}
.price-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1;
  margin: 18px 0 4px;
}
.price-amount span { font-size: 1.2rem; font-family: var(--font-body); color: var(--ink-soft); font-weight: 700; }
.price-note { color: var(--ink-soft); margin-bottom: 24px; }
.price-free {
  background: var(--sage-light);
  color: var(--sage);
  font-weight: 800;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.price-card .btn { width: 100%; margin-top: 10px; }

.terms-list { list-style: none; padding: 0; margin: 0; }
.terms-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.terms-list li:first-child { padding-top: 0; }
.terms-list .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mustard-light);
  color: var(--terracotta-dark);
  display: grid;
  place-items: center;
  flex: none;
}
.terms-list .ico svg { width: 22px; height: 22px; }
.terms-list strong { display: block; margin-bottom: 2px; }
.terms-list p { margin: 0; color: var(--ink-soft); }
.why-monthly { margin-top: 28px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.timeline > div { padding: 28px; border-right: 1px solid var(--line); }
.timeline > div:last-child { border-right: 0; }
.timeline .when {
  font-weight: 800;
  color: var(--terracotta-dark);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.timeline .cost { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin: 6px 0; }
.timeline .cost .per { font-size: 1rem; color: var(--ink-soft); }
.timeline p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline > div:last-child { border-bottom: 0; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.section-alt .faq details { background: var(--cream); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 60px 20px 24px;
  font-weight: 800;
  font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mustard-light);
  color: var(--terracotta-dark);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--terracotta); color: #fff; }
.faq details > div { padding: 0 24px 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Examples ---------- */

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .example-grid { grid-template-columns: 1fr; } }

.example {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
/* Smaller phone mockup, used on the examples page and over the home hero photo */
.phone-sm { width: 210px; border-radius: 32px; padding: 9px; }
.phone-sm .phone-screen { border-radius: 24px; }
.phone-sm .phone-notch { top: 15px; width: 64px; height: 16px; }
.phone-sm .mini { font-size: 9px; }
.phone-sm .mini-bar { padding-top: 30px; font-size: 10px; }
.phone-sm .mini-hero strong { font-size: 13px; }
.phone-sm .mini-btn { font-size: 8.5px; padding: 6px 3px; }
.phone-sm .mini-services div { font-size: 8.5px; padding: 6px; }
.phone-sm .mini-section b { font-size: 10px; }
.phone-sm .mini-foot { font-size: 8px; }
@media (max-width: 520px) { .hero-visual .phone-sm { width: 170px; } }
.example-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: var(--cream-2);
  color: var(--ink-soft);
}
.example h3 { margin-bottom: 8px; }
.example p { color: var(--ink-soft); font-size: 0.98rem; }
.example ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 520px) {
  .example { grid-template-columns: 1fr; justify-items: center; text-align: left; padding: 22px; }
}

.example .example-link { margin-top: 18px; }
.phone-link { display: block; color: inherit; text-decoration: none; transition: transform 0.2s ease; }
.phone-link:hover { transform: translateY(-4px) rotate(-1deg); }

.mini.t-plumber { --accent: #2f6f8f; --accent-soft: #dcecf3; }
.mini.t-plumber .mini-gallery div { opacity: 1; background: center / cover no-repeat; }
.mini.t-plumber .mini-gallery div:nth-child(1) { background-image: url("/examples/plumber/img/bathroom-refit.webp"); }
.mini.t-plumber .mini-gallery div:nth-child(2) { background-image: url("/examples/plumber/img/combi-boiler-install.webp"); }
.mini.t-plumber .mini-gallery div:nth-child(3) { background-image: url("/examples/plumber/img/column-radiator.webp"); }
.mini.t-electric { --accent: #c4881a; --accent-soft: #fbefd3; }
.mini.t-roofer { --accent: #8a3b2e; --accent-soft: #f3dfda; }
.mini.t-garden { --accent: #4e7a45; --accent-soft: #e3ecdf; }

.disclaimer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 32px;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }

.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 520px) { .form-card { padding: 24px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.field label .opt { font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 8px; font-size: 1.05rem; padding: 1em; }
.form-small { font-size: 0.88rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}
.form-status.ok { display: block; background: var(--sage-light); color: var(--sage); }
.form-status.err { display: block; background: #fde7dd; color: var(--terracotta-dark); }

.contact-side .card { margin-bottom: 18px; }
.side-photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; margin: 0 0 18px; }
.form-title { font-size: 1.5rem; }
.hours-title { display: flex; align-items: center; gap: 10px; }
.hours-title svg { width: 22px; height: 22px; color: var(--sage); }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.contact-method .ico { margin: 0; flex: none; }
.contact-method strong { display: block; font-size: 1.2rem; }
.contact-method span { color: var(--ink-soft); font-size: 0.95rem; }
.card.whats .ico { background: #dcf3e4; color: var(--whatsapp); }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 48px 0 40px; }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--terracotta);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #ffe9df; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfc6bd;
  padding: 64px 0 28px;
  margin-top: 88px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-word b span { color: var(--mustard); }
.site-footer .logo-word small { color: #cfc6bd; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating mobile call bar ---------- */

.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 246, 238, 0.96);
    border-top: 1px solid var(--line);
    z-index: 60;
  }
  .mobile-bar .btn { padding: 0.8em 0.5em; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Hero video in the phone ---------- */
.phone-video .phone-screen { aspect-ratio: 9 / 16; background: #0b0a0a; position: relative; }
.phone-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 8%;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.video-play[hidden] { display: none; }
.video-play-row { display: flex; align-items: center; gap: 10px; }
.video-play-btn {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.video-play-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.video-play svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.video-play-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}
.video-play:hover .video-play-btn { transform: scale(1.08); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: -8px; border-radius: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .video-play-btn::after { animation: video-pulse 2s ease-out infinite; }
}
@keyframes video-pulse {
  from { transform: scale(0.9); opacity: 1; }
  to { transform: scale(1.35); opacity: 0; }
}
