/* rurall.work home page (design: design-reference/website/Rurall Home.dc.html).
   No scripts, no outside requests: the font is served from this site.
   The privacy and delete-account pages keep styles.css. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}
:root {
  --green: #107a4c;
  --green-dark: #0c5f3b;
  --forest: #0f3a28;
  --forest-2: #0f2a1d;
  --mint: #9ff0c4;
  --mint-soft: #7fc9a2;
  --ink: #13201a;
  --muted: #45514b;
  --muted-2: #5b6761;
  --on-dark: #b4c6bc;
  --line: #e3eae5;
  --bg: #f7f9f7;
  --tint: #e4f0e9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { flex: none; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ico { display: flex; align-items: center; justify-content: center; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 249, 247, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #e5ebe7; }
.top .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { display: block; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: #e8eee9; color: var(--ink); }
.nav a.contact { font-weight: 800; color: #fff; background: var(--ink); padding: 9px 16px; border-radius: 12px; margin-left: 6px; }
.nav a.contact:hover { background: var(--green); color: #fff; }

/* Hero */
.hero .wrap { padding-top: 64px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero-text { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; background: #fff; border: 1px solid #e1e8e3; padding: 6px 14px 6px 8px; border-radius: 30px; box-shadow: 0 2px 8px rgba(16, 40, 28, .04); }
.badge b { font-size: 11px; font-weight: 800; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 20px; }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h1 span { color: var(--green); }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 540px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; font-size: 15.5px; font-weight: 800; text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(16, 122, 76, .28); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid #dde5df; color: var(--ink); font-weight: 700; padding: 0 22px; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.ticks { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #2c3832; }

/* Hero photos: a tall portrait and two service photos */
.collage { position: relative; min-width: 0; }
.collage-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(460px, 52vw, 580px); }
.photo { position: relative; overflow: hidden; border-radius: 24px; display: block; text-decoration: none; color: var(--ink); transition: transform .2s; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.photo:hover { transform: translateY(-3px); color: var(--ink); }
.photo-main { grid-row: span 2; border-radius: 28px; background: var(--forest); box-shadow: 0 30px 60px -30px rgba(15, 58, 40, .55); }
.photo-plumb { background: #dff0e6; }
.photo-salon { background: #f6ecdc; }
.chip { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 30px; background: rgba(255, 255, 255, .95); font-size: 12px; font-weight: 800; color: var(--forest); }
.chip .ico { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; }
.caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 20px; background: linear-gradient(180deg, rgba(15, 58, 40, 0) 0%, rgba(15, 58, 40, .92) 55%); color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.45; display: flex; flex-direction: column; gap: 4px; }
.caption b { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.label { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .95); }
.label .ico { width: 30px; height: 30px; border-radius: 9px; background: #dff0e6; color: var(--green); }
.photo-salon .label .ico { background: #f6ecdc; color: #a8630c; }
.label > span:last-child { min-width: 0; display: flex; flex-direction: column; font-size: 11.5px; color: var(--muted-2); }
.label > span:last-child, .label b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.label b { font-size: 14px; font-weight: 800; color: var(--ink); }
.float { position: absolute; left: -22px; bottom: -26px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(19, 32, 26, .35); font-size: 12px; color: var(--muted-2); }
.float .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: #fff; }
.float > span:last-child { display: flex; flex-direction: column; }
.float b { font-size: 14px; font-weight: 800; color: var(--ink); }
.pos-portrait { object-position: 50% 12%; }
.pos-plumber { object-position: 55% 40%; }
.pos-salon { object-position: 45% 30%; }

/* Section heads */
.section { scroll-margin-top: 70px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.head > div { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--green); }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.head p { font-size: 15.5px; color: var(--muted-2); line-height: 1.6; max-width: 400px; }

/* Services: tabs + a photo panel. One radio per service (no scripts);
   each service sets its colours, the checked radio picks tab and panel. */
#services { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 30px; }
#services h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
.svc-elec { --svc-bg: var(--forest); --svc-soft: #dff0e6; --accent: var(--green); --dot: var(--green); }
.svc-plumb { --svc-bg: #dff0e6; --svc-soft: #dff0e6; --accent: var(--green); --dot: var(--green); }
.svc-ac { --svc-bg: #e0ecec; --svc-soft: #e0ecec; --accent: #2f6f6a; --dot: var(--green); }
.svc-salon { --svc-bg: #f6ecdc; --svc-soft: #f6ecdc; --accent: #a8630c; --dot: #c98a2b; }
.tabs { position: relative; display: flex; flex-direction: column; gap: 14px; }
.sr { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.tabbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.tab { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.tab:hover { border-color: #c9d6cc; }
.tab .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--svc-soft); color: var(--accent); }
.tab > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tab-name { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; }
.tab-sub { font-size: 12.5px; color: var(--muted-2); }
.new { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 20px; background: var(--green); color: #fff; }
#t-elec:checked ~ .tabbar [for="t-elec"],
#t-plumb:checked ~ .tabbar [for="t-plumb"],
#t-ac:checked ~ .tabbar [for="t-ac"],
#t-salon:checked ~ .tabbar [for="t-salon"] { background: var(--svc-bg); border-color: var(--svc-bg); }
#t-plumb:checked ~ .tabbar [for="t-plumb"] .ico,
#t-ac:checked ~ .tabbar [for="t-ac"] .ico,
#t-salon:checked ~ .tabbar [for="t-salon"] .ico { background: #fff; }
#t-elec:checked ~ .tabbar [for="t-elec"] { color: #fff; }
#t-elec:checked ~ .tabbar [for="t-elec"] .ico { background: rgba(255, 255, 255, .12); color: var(--mint); }
#t-elec:checked ~ .tabbar [for="t-elec"] .tab-sub { color: rgba(255, 255, 255, .72); }
#t-elec:focus-visible ~ .tabbar [for="t-elec"],
#t-plumb:focus-visible ~ .tabbar [for="t-plumb"],
#t-ac:focus-visible ~ .tabbar [for="t-ac"],
#t-salon:focus-visible ~ .tabbar [for="t-salon"] { outline: 2px solid var(--green); outline-offset: 2px; }
.panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
#t-elec:checked ~ .panels .p-elec,
#t-plumb:checked ~ .panels .p-plumb,
#t-ac:checked ~ .panels .p-ac,
#t-salon:checked ~ .panels .p-salon { display: grid; }
.panel-photo { position: relative; min-height: 480px; border-radius: 20px; overflow: hidden; background: var(--svc-bg); }
.panel-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.inset { position: absolute; right: 16px; bottom: 16px; width: 36%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 18px 40px -16px rgba(19, 32, 26, .5); background: #e0ecec; }
.inset img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block; }
.pos-elec { object-position: 50% 30%; }
.pos-plumb { object-position: 60% 35%; }
.pos-ac { object-position: 40% 30%; }
.panel .pos-salon { object-position: 50% 30%; }
.panel-body { padding: clamp(16px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.panel-body > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.panel h3 { margin: 0; font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.panel-body p { font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); column-gap: 24px; }
.jobs li { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #eff3f0; font-size: 15px; font-weight: 600; }
.jobs li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: 0 0 6px; }
.book { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.more { display: flex; align-items: center; gap: 14px; border: 1.5px dashed #c9dccf; border-radius: 22px; padding: 16px 20px; flex-wrap: wrap; }
.more .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--green); }
.more p { flex: 1 1 280px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.more strong { color: var(--ink); }
.more a { font-weight: 700; }

/* Why */
#why { padding-top: 40px; padding-bottom: 72px; }
.why { position: relative; overflow: hidden; background: var(--forest-2); border-radius: 32px; padding: clamp(28px, 4.5vw, 56px); color: #fff; display: flex; flex-direction: column; gap: 34px; }
.why::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(127, 201, 162, .07); }
.why .head, .why .grid4 { position: relative; }
.why .eyebrow { color: var(--mint-soft); }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.point { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.point .ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(127, 201, 162, .16); color: var(--mint); }
.point-name { font-size: 17px; font-weight: 800; }
.point p { font-size: 14px; color: var(--on-dark); line-height: 1.55; }

/* How to book */
#how { padding-bottom: 72px; display: flex; flex-direction: column; gap: 30px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.way { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.way-head { position: relative; display: flex; align-items: center; gap: 14px; }
.way-head .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--green); }
.way-head > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.way-tag { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--green); }
.way-name { font-size: 21px; font-weight: 800; }
.way ol { position: relative; display: flex; flex-direction: column; gap: 16px; }
.way li { display: flex; gap: 14px; align-items: flex-start; }
.num { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--tint); color: var(--green); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.way li > span:last-child { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.step { font-size: 16px; font-weight: 800; }
.way li p { font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.way-dark { background: var(--forest); border: 0; color: #fff; }
.way-dark::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(127, 201, 162, .08); }
.way-dark .way-head .ico { background: #1b5a3e; color: var(--mint); }
.way-dark .way-tag { color: var(--mint-soft); }
.way-dark .num { background: rgba(159, 240, 196, .16); color: var(--mint); }
.way-dark li p { color: var(--on-dark); }
.soon { font-size: 11px; letter-spacing: .06em; color: #0c2a1c; background: var(--mint); padding: 3px 9px; border-radius: 20px; }
.soon-btn { position: relative; align-self: flex-start; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 14px; border: 1.5px dashed rgba(159, 240, 196, .5); color: var(--mint); font-size: 15px; font-weight: 800; }

/* Contact */
.ask-wrap { padding-bottom: 72px; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px; }
.ask > div { display: flex; align-items: center; gap: 16px; flex: 1 1 380px; }
.ask .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--green); }
.ask > div > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.ask-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.01em; }
.ask p { font-size: 15px; color: var(--muted-2); }
.ask .btn-primary { box-shadow: 0 12px 26px rgba(16, 122, 76, .25); }

/* Footer */
.foot { background: var(--forest-2); color: var(--on-dark); }
.foot .wrap { padding-top: 30px; padding-bottom: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot small { font-size: 13.5px; margin-left: 6px; color: var(--on-dark); }
.foot nav { display: flex; gap: 4px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; font-weight: 700; color: #e2ebe5; text-decoration: none; padding: 7px 12px; border-radius: 9px; }
.foot nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Phones: 16px side gutter */
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  /* One-row header: logo + Contact us; the section links are one scroll away */
  .top .wrap { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .nav a:not(.contact) { display: none; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .collage-grid { height: 420px; gap: 10px; }
  .float { left: 12px; bottom: -22px; }
  .panel-photo { min-height: 320px; }
  .ask { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
