/* =============================================================================
   Fraser's Farming & Consultancy Services — brand layer
   Source of truth: the client's banner — orange hen + green leaf, green
   "Fraser's" wordmark with orange 's and swoosh, condensed green capitals,
   green / orange ribbons over farm photography, sky + rolling green fields.
   Colours sampled from the logo: wordmark #255239, leaf #236d2f, hen #eb871c, 's #d76c25.
   ============================================================================= */
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-sc-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow SC"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-sc-700.woff2") format("woff2"); }

:root {
  --forest: #255239; --leaf: #236d2f; --leaf-2: #2f8a3c; --orange: #eb871c; --orange-2: #d76c25; --sky: #eaf3f7;
  --primary: #236d2f; --accent: #e07a1f; --on-accent: #1d1206; --on-primary: #ffffff;
  --ink: #1d2b22; --muted: #4f5f53; --line: #e3e5d8; --bg: #ffffff; --surface: #fbf7ef; --surface-2: #f3eddf;
  --font-display: "Barlow", "Inter", system-ui, sans-serif; --font-cond: "Barlow SC", "Barlow", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px; --radius-sm: 10px; --btn-radius: 999px; --header-h: 88px; --container: 1200px;
  --topbar-bg: #1d4a30; --header-bg: #ffffff; --shadow: 0 14px 34px -18px rgba(29, 74, 48, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body { background: #fff; }
h1, h2, h3 { font-family: var(--font-display); color: var(--forest); letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.12; }
h3 { font-size: 1.18rem; font-weight: 700; }
.eyebrow { font-family: var(--font-cond); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #b9561b; }
.lead { color: var(--muted); font-size: 1.08rem; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--cream { background: var(--surface); }
.section--forest { background: linear-gradient(160deg, #24603a, #1c4a30); color: #f2f7f0; }
.section--forest h2, .section--forest h3 { color: #fff; } .section--forest .lead, .section--forest p { color: rgba(242, 247, 240, .88); } .section--forest .eyebrow { color: #ffc27a; }

/* ---- buttons: green primary, orange with dark text for contrast ---- */
.btn { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: #ec8a30; border-color: #ec8a30; }
.btn--secondary { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.btn--secondary:hover { background: #1c5a26; border-color: #1c5a26; }
.btn--outline { color: var(--forest); border-color: rgba(37, 82, 57, .35); } .btn--outline:hover { background: rgba(35, 109, 47, .07); border-color: var(--forest); }
.section--forest .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.link-arrow { color: var(--leaf); font-weight: 700; }

/* ---- header lockup: the real logo artwork + the banner's subtitle ---- */
.topbar { background: var(--topbar-bg); }
.header__bar { box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__bar { box-shadow: 0 10px 30px -22px rgba(29, 74, 48, .5); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 62px; width: auto; max-width: none; }
.brand__sub { font-family: var(--font-cond); font-weight: 700; font-size: .8rem; line-height: 1.12; letter-spacing: .05em; text-transform: uppercase; color: var(--forest); padding-left: 12px; border-left: 2px solid rgba(235, 135, 28, .7); white-space: nowrap; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--leaf); }
.drawer__title .brand img { height: 44px; }
.drawer__panel { background: #fff; }

/* ---- hero ---- */
.fhero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--sky) 0%, #f6f9f1 55%, var(--surface) 100%); padding: clamp(40px, 6vw, 72px) 0 clamp(120px, 12vw, 170px); }
.fhero__fields { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; width: 100%; height: clamp(120px, 16vw, 210px); }
.fhero__in { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lockup { position: relative; display: inline-block; width: min(100%, 321px); margin: 0 0 22px; }
.lockup img { display: block; width: 100%; height: auto; }
.lockup__sub { position: absolute; left: 46.5%; top: 55%; font-family: var(--font-cond); font-weight: 700; color: var(--forest); text-transform: uppercase; letter-spacing: .02em; line-height: 1.04; font-size: clamp(.95rem, 4.6vw, 1.12rem); }
.fhero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-cond); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: #b9561b; margin-bottom: 12px; }
.fhero__kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
.fhero__claim { font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.12; margin: 0 0 16px; max-width: 18ch; }
.fhero__text { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin: 0 0 26px; }
.fhero__call { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.fhero__call a { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); }
.fhero__call .icon { width: 20px; height: 20px; color: var(--orange-2); }
/* photo collage — each photo is shown at (or below) its real pixel size */
.collage { position: relative; min-height: 500px; }
.pcard { position: absolute; margin: 0; background: #fff; padding: 7px; border-radius: 14px; box-shadow: 0 22px 44px -24px rgba(29, 74, 48, .55); transition: transform .5s var(--ease); }
.pcard img { display: block; width: 100%; height: auto; border-radius: 9px; }
.pcard figcaption { position: absolute; left: -10px; top: -14px; padding: 7px 14px; border-radius: 8px; font-family: var(--font-cond); font-weight: 700; font-size: .92rem; letter-spacing: .02em; color: #fff; background: linear-gradient(90deg, var(--leaf), #2f8a3c); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); display: inline-flex; align-items: center; gap: 7px; }
.pcard figcaption .icon { width: 16px; height: 16px; }
.pcard--orange figcaption { background: linear-gradient(90deg, #d76c25, var(--orange)); color: #1d1206; }
.pcard:hover { transform: translateY(-4px) rotate(-.4deg); }
.pcard:nth-child(1) { left: 0; top: 14px; width: min(306px, 56%); z-index: 1; }
.pcard:nth-child(2) { right: 0; top: 120px; width: min(366px, 66%); z-index: 2; }
.pcard:nth-child(3) { left: 6%; top: 300px; width: min(328px, 60%); z-index: 3; }

/* ---- ribbon strip (banner ribbons) ---- */
.ribbons { background: linear-gradient(90deg, #1f5a33, #236d2f 60%, #2b7a39); color: #fff; position: relative; }
.ribbons::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange-2), var(--orange)); }
.ribbons .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.rib { display: flex; align-items: center; gap: 12px; padding: 22px 16px; border-right: 1px solid rgba(255, 255, 255, .14); }
.rib:last-child { border-right: 0; }
.rib__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--orange-2); }
.rib__ic .icon { width: 24px; height: 24px; }
.rib strong { display: block; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.2; }
.rib div > span { font-size: .9rem; color: rgba(255, 255, 255, .88); }
.rib .rib__ic { color: var(--orange-2); }

/* ---- intro ---- */
.intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.framed { position: relative; width: min(100%, 338px); margin: 0 18px 18px 0; }
.framed::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 18px; background: linear-gradient(135deg, var(--orange), #f2a54d); z-index: -1; }
.framed > img { display: block; width: 100%; height: auto; border-radius: 14px; border: 8px solid #fff; box-shadow: var(--shadow); }
.framed__leaf { position: absolute; left: -18px; top: -18px; width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.framed__leaf img { width: 50px; height: auto; }
.person-card { display: flex; gap: 16px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border-left: 5px solid var(--orange); }
.person-card__mark { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.person-card__mark img { width: 44px; height: auto; }
.person-card strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--forest); }
.roles { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 6px; padding: 0; }
.roles li { list-style: none; font-family: var(--font-cond); font-weight: 700; font-size: .84rem; letter-spacing: .03em; text-transform: uppercase; color: var(--leaf); background: #fff; border: 1px solid rgba(35, 109, 47, .3); padding: 3px 10px; border-radius: 999px; }

/* ---- service rows (photo medallion ≤ native size, or icon) ---- */
.group { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.group__head p { margin-top: 14px; }
.group__head .btn-row { margin-top: 24px; }
.srows { display: grid; gap: 14px; }
.srow { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.srow:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.srow__media { width: 140px; height: 104px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.srow__media img { width: 100%; height: 100%; object-fit: cover; }
.srow__media .icon { width: 40px; height: 40px; color: var(--leaf); }
.srow h3 { font-size: 1.12rem; margin-bottom: 4px; }
.srow p { color: var(--muted); font-size: .95rem; margin: 0; }
.srow a { display: inline-flex; margin-top: 6px; font-weight: 700; font-size: .9rem; color: var(--leaf); }
.section--forest .srow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section--forest .srow h3 { color: #fff; } .section--forest .srow p { color: rgba(242, 247, 240, .85); } .section--forest .srow a { color: #ffc27a; }
.section--forest .srow__media { background: rgba(255, 255, 255, .1); } .section--forest .srow__media .icon { color: #ffc27a; }
.badge-vet { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.badge-vet i { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #d4462c; }
.badge-vet i .icon { width: 28px; height: 28px; }

/* ---- feature band (Home & Farm Visits, Training) ---- */
.feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature--rev { grid-template-columns: 1fr auto; }
.feature--rev .feature__media { order: 2; }
.steps-v { display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; counter-reset: st; }
.steps-v li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; list-style: none; }
.steps-v li::before { counter-increment: st; content: counter(st); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #1d1206; background: linear-gradient(135deg, var(--orange), #f2a54d); }
.steps-v h3 { font-size: 1.05rem; margin-bottom: 2px; } .steps-v p { margin: 0; color: var(--muted); font-size: .95rem; }
.pest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pest__l { display: flex; gap: 18px; align-items: center; }
.pest__ic { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--leaf); }
.pest__ic .icon { width: 32px; height: 32px; }
.pest h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.pest p { margin: 4px 0 0; color: var(--muted); }

/* ---- why ---- */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.whys .why { padding: 26px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); display: block; }
.whys .why__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: #ffc27a; margin-bottom: 8px; }

/* ---- polaroid gallery (photos never enlarged) ---- */
.pgrid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px; }
.pgrid .gcard { width: auto; max-width: 100%; background: #fff; padding: 10px 10px 14px; border-radius: 14px; box-shadow: 0 16px 34px -22px rgba(29, 74, 48, .5); border: 1px solid var(--line); }
.pgrid .gcard__media { display: block; padding: 0; border: 0; background: none; border-radius: 9px; overflow: hidden; cursor: zoom-in; aspect-ratio: auto; height: auto; }
.pgrid .gcard__media img { display: block; width: auto; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; transition: transform .6s var(--ease); }
.pgrid .gcard:hover .gcard__media img { transform: scale(1.03); }
.pgrid .gcard__body { padding: 10px 4px 0; max-width: 360px; }
.pgrid .gcard__body h3 { font-size: 1rem; } .pgrid .gcard__cap { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.pgrid .badge { display: none; }
.modal__fig img { width: auto !important; max-width: 100%; height: auto !important; margin: 0 auto; }

/* ---- call band (banner "Call Us Today!") ---- */
.callband { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: linear-gradient(120deg, #1f5a33, #236d2f); color: #fff; position: relative; overflow: hidden; }
.callband::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(235, 135, 28, .35), transparent); }
.callband__t { font-family: var(--font-display); font-style: italic; font-weight: 700; color: #ffc27a; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.callband h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.callband p { color: rgba(255, 255, 255, .88); margin: 10px 0 0; }
.callband .btn-row { margin-top: 20px; }
.callband__nums { display: grid; gap: 10px; position: relative; z-index: 1; }
.callband__nums a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); transition: background-color .25s; }
.callband__nums a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.callband__nums .icon { width: 24px; height: 24px; color: #ffc27a; }

/* ---- inner page banner (sky + fields, no stretched photo) ---- */
.pbanner { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--sky), #f4f8ef); padding: clamp(40px, 6vw, 70px) 0 clamp(90px, 10vw, 130px); }
.pbanner .fhero__fields { height: clamp(80px, 10vw, 130px); }
.pbanner h1 { margin: 8px 0 10px; }
.pbanner p { color: var(--muted); max-width: 60ch; font-size: 1.06rem; margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); } .crumbs a { color: var(--leaf); }

/* ---- about ---- */
.mission { background: linear-gradient(110deg, #e07a1f, var(--orange)); color: #1d1206; border-radius: 20px; padding: clamp(24px, 4vw, 38px); }
.mission h2 { color: #1d1206; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.mission p { margin: 8px 0 0; font-size: 1.12rem; font-weight: 600; color: #1d1206; }
.animals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; padding: 0; margin: 18px 0 0; }
.animals li { display: flex; gap: 10px; align-items: center; list-style: none; font-weight: 600; }
.animals .icon { width: 22px; height: 22px; color: #fff; background: var(--leaf); border-radius: 50%; padding: 4px; flex: none; }
.values-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values-g .value { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }

/* ---- services page ---- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.srow__cat { display: inline-block; font-family: var(--font-cond); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #b9561b; margin-bottom: 2px; }
.chip.is-on { background: var(--leaf); border-color: var(--leaf); color: #fff; }

/* ---- contact ---- */
.form-card { border-top: 5px solid var(--leaf); }
.form-card .note--lead { color: var(--forest); font-weight: 600; font-size: 1rem; }
.cinfo__icon { background: var(--surface-2); color: var(--leaf); }

/* ---- footer: light, so the full-colour logo reads perfectly ---- */
.footer { background: var(--surface); color: var(--ink); border-top: 5px solid var(--leaf); }
.footer h3 { color: var(--forest); font-family: var(--font-cond); letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
.footer a { color: var(--ink); } .footer a:hover { color: var(--leaf); }
.footer .lockup { width: min(260px, 100%); margin-bottom: 12px; }
.footer .lockup__sub { font-size: .9rem; }
.footer p { color: var(--muted); }
.footer__bottom { border-top: 1px solid var(--line); color: var(--muted); }
.footer .icon { color: var(--leaf); }
.footer__cta h3 { text-transform: none; letter-spacing: 0; font-family: var(--font-display); font-size: 1.2rem; }

/* ---- motion ---- */
@media (prefers-reduced-motion: reduce) { .pcard, .srow, .btn { transition: none !important; } }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .brand__sub { display: none; }
}
@media (max-width: 960px) {
  .fhero__in, .group, .intro, .feature, .feature--rev, .callband { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .collage { min-height: 0; display: grid; gap: 30px; justify-items: center; }
  .pcard { position: relative; inset: auto !important; width: min(100%, 352px) !important; }
  .pcard:nth-child(n+3) { display: none; }
  .ribbons .container { grid-template-columns: 1fr 1fr; }
  .rib:nth-child(2) { border-right: 0; } .rib:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .whys, .values-g { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .brand__sub { display: block; }
}
@media (max-width: 640px) {
  :root { --header-h: 74px; }
  .brand img { height: 50px; }
  .brand__sub { font-size: .7rem; padding-left: 9px; }
  .header__cta { display: none; }
  .ribbons .container { grid-template-columns: 1fr; }
  .rib { border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .rib:last-child { border-bottom: 0; }
  .srow { grid-template-columns: 104px 1fr; gap: 14px; }
  .srow__media { width: 104px; height: 88px; }
  .animals { grid-template-columns: 1fr; }
  .callband__nums a { font-size: 1.25rem; }
  .pest { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .brand img { height: 44px; } .brand__sub { font-size: .64rem; }
}

/* shared .gallery hook (used by the Admin/QA) — keep the polaroid layout */
.gallery.pgrid { display: flex; grid-template-columns: none; }
