/* Fife Energy North East: brand override, loaded last.
   Same layout as the sister site, in the Fife Energy logo colours: blue base, orange accent, green detail. */

@font-face{
  font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:200 800; font-display:swap;
  src:url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:200 800; font-display:swap;
  src:url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --fe-navy:      #0a2a4a;
  --fe-navy-2:    #0f3d6b;
  --fe-navy-3:    #1a5590;
  --fe-green:     #f37223;
  --fe-green-dark:#1d7a3f;
  --fe-grey:      #f4f6f8;

  --paper:      var(--fe-grey);
  --paper-alt:  #e8edf2;
  --card:       #ffffff;
  --ink:        var(--fe-navy);
  --ink-soft:   #4a5a6b;
  --navy-950:   var(--fe-navy);
  --navy-900:   var(--fe-navy-2);
  --navy-800:   var(--fe-navy);
  --navy-700:   var(--fe-navy-3);
  --navy-600:   var(--fe-green-dark);
  --navy-tint:  #e6eef5;
  --green:      var(--fe-green);
  --green-dark: var(--fe-green-dark);
  --green-tint: #e8f4ec;
  --line:       #dde3ea;
  --line-strong:#7b8794;
  --shadow-soft: 0 18px 40px -18px rgba(10,42,74,.22);
  --shadow-lift: 0 26px 60px -24px rgba(10,42,74,.32);
}

html{ overflow-x:hidden; }
body{ overflow-x:hidden; }

/* Buttons: green on navy text */
.btn-green{ background:var(--fe-green); color:var(--fe-navy); box-shadow:0 10px 24px -10px rgba(243,114,35,.55); }
.btn-green:hover{ background:#f7931e; }
.eyebrow{ color:var(--fe-green-dark); }

/* Inline logo */
.fe-logo{ display:block; height:clamp(38px, 2.8vw, 50px); width:auto; }
.fe-logo text{ font-family:var(--font-display); }
.panel-head .fe-logo{ height:42px; }
.site-footer .fe-logo{ height:52px; margin-bottom:1.1rem; }

/* Hero: no video, navy wash over the house photo */
.hero-media::after{
  background:
    linear-gradient(180deg, rgba(10,42,74,.9) 0%, rgba(15,61,107,.76) 42%, rgba(10,42,74,.86) 100%),
    radial-gradient(60rem 28rem at 50% 115%, rgba(243,114,35,.2), transparent 62%);
}
.hero h1 em{ color:var(--fe-green); }
.hero .trust-chip{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.22); color:#fff; box-shadow:none;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.hero .trust-chip svg{ color:var(--fe-green); flex:none; }
.hero .hero-trust{ justify-content:flex-start; padding-top:.4rem; }
.ticker-track a svg{ color:var(--fe-green-dark); }

/* EPC price finder (finder card) */
.fe-finder::before{ background:linear-gradient(90deg, var(--fe-navy) 0 60%, var(--fe-green) 60%); }
.fe-finder__kicker{ color:var(--fe-navy-3); }
.fe-finder__arrow{ background:var(--green-tint); color:var(--fe-green-dark); }
.fe-finder__opt:hover .fe-finder__arrow{ background:var(--fe-green); color:var(--fe-navy); }
.fe-finder__price{ color:var(--fe-navy); }
.fe-finder__link:hover{ color:var(--fe-green-dark); }
.fe-finder__grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:.6rem; }
.fe-finder__grid .fe-finder__opt{ margin:0; justify-content:center; text-align:center; min-height:56px; padding:.8rem .5rem; }
.fe-finder__grid--5{ grid-template-columns:repeat(5, 1fr); }
@media (max-width: 420px){ .fe-finder__grid--5{ grid-template-columns:repeat(3, 1fr); } }

/* Services: 6 cards, 3 x 2 */
.service-card .card-text{ color:var(--ink-soft); font-size:.98rem; flex:1; margin:.35rem 0 1.3rem; }
.service-card .btn{ margin-top:auto; }
.card-photo::after{ background:linear-gradient(165deg, rgba(10,42,74,.34) 0%, rgba(10,42,74,.06) 45%, rgba(243,114,35,.14) 100%); }
.card-flag--green{ background:var(--fe-green); color:var(--fe-navy); }
.chooser-grid > *{ min-width:0; }

/* Prices: 4 cards */
.prices{ background:var(--paper-alt); }
.prices-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1.2rem; align-items:stretch; }
@media (max-width: 1040px){ .prices-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .prices-grid{ grid-template-columns:minmax(0,1fr); } }
.price-card{ padding-top:2rem; }
.price-card .card-price{ font-size:2.1rem; color:var(--fe-navy); margin:.5rem 0 .4rem; }
.price-card .card-price small{ font-size:.9rem; }
.price-card .card-price .tbc{ color:var(--ink-soft); }
.price-card .card-price--text{ font-size:1.35rem; line-height:1.2; }
.price-card.featured{ border-color:var(--fe-green-dark); }
.prices-note{ margin-top:1.4rem; text-align:center; color:var(--ink-soft); font-size:.95rem; }

/* How it works: 3 numbered panels */
.how{ background:var(--paper); }
.how .explainer-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width: 860px){ .how .explainer-grid{ grid-template-columns:minmax(0,1fr); } }
.step-n{ display:inline-grid; place-items:center; width:48px; height:48px; border-radius:50%;
  background:var(--fe-navy); color:var(--fe-green); font-family:var(--font-display); font-weight:800; font-size:1.2rem; margin-bottom:1rem; }
.explainer-panel .tag{ color:var(--fe-navy-3); background:var(--navy-tint); }

/* Areas */
.area-tile svg{ color:var(--fe-green-dark); }
.area-tile.priority svg{ color:var(--fe-green); }
.area-tile--plain{ background:transparent; border-style:dashed; box-shadow:none; color:var(--ink-soft); }
.areas-note svg{ color:var(--fe-green-dark); }

/* Why us: the stats band */
.why .section-head h2{ color:#fff; }
.why .eyebrow{ color:var(--fe-green); }
.why .stat b{ font-size:clamp(1.25rem, 1.9vw, 1.55rem); line-height:1.2; color:var(--fe-green); }
.why .stat span{ margin-top:.55rem; color:#c3cdd8; font-weight:500; line-height:1.5; }
.why .stats-grid{ text-align:left; gap:2rem 2.4rem; }
.why .stat{ border-top:3px solid rgba(243,114,35,.5); padding-top:1.1rem; }
@media (max-width: 560px){ .why .stats-grid{ grid-template-columns:minmax(0,1fr); } }

/* FAQ */
.faq-section{ background:var(--paper-alt); }
.faq-wrap{ max-width:860px; }
.faq-item summary{ font-size:1.05rem; }
.faq-item summary::after{ color:var(--fe-green-dark); }
.faq-a p{ color:var(--ink-soft); }

/* Booking form: prominent, on navy */
.quote{ background:linear-gradient(160deg, var(--fe-navy) 0%, var(--fe-navy-2) 100%); }
.quote .quote-info h2{ color:#fff; }
.quote .eyebrow{ color:var(--fe-green); }
.quote .quote-info p, .quote .quote-contacts li{ color:#c3cdd8; }
.quote .quote-contacts a{ color:#fff; }
.quote .quote-contacts svg{ color:var(--fe-green); }
.quote-form-card{ border:0; box-shadow:0 34px 70px -26px rgba(6,13,21,.75); border-top:5px solid var(--fe-green); }
.form-row--3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width: 560px){ .form-row--3{ grid-template-columns:minmax(0,1fr); } }
.form-row > *{ min-width:0; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--fe-green-dark); box-shadow:0 0 0 3px rgba(243,114,35,.3); }
.form-success .tick{ background:var(--green-tint); color:var(--fe-green-dark); }
.quote-badge{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); box-shadow:none; }
.quote-badge span{ color:#c3cdd8; max-width:none; }

/* Footer */
.site-footer{ color:#c3cdd8; }
.site-footer a{ color:#c3cdd8; }
.footer-line{ margin-top:.2rem; }
.fe-sister{ display:inline-block; margin-top:1.1rem; padding:.4rem .85rem; border-radius:999px;
  border:1px solid rgba(243,114,35,.45); color:#fff; font-size:.85rem; font-weight:600; }

/* Mobile CTA bar: Call + Book */
.cta-bar-inner{ grid-template-columns:1fr 1.4fr; }
.cta-bar .cta-quote{ background:var(--fe-green); color:var(--fe-navy); }

/* Focus ring in brand navy */
:focus-visible{ outline-color:var(--fe-navy); }
.quote :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .why :focus-visible{ outline-color:var(--fe-green); }

/* Quote card (replaces the price finder, Nov 2026: Fife Energy quotes every job) */
.fe-quote-card .fe-finder__q{ margin:.2rem 0 1rem; }
.fe-finder__grid--2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.fe-quote-card .fe-finder__opt{ display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; text-align:left;
  gap:.25rem; min-height:92px; padding:1rem 1.1rem; text-decoration:none; color:var(--ink); }
.fe-quote-card .fe-finder__opt strong{ font-family:var(--font-display); font-size:1.08rem; font-weight:800; color:var(--fe-navy); }
.fe-quote-card .fe-finder__opt span{ font-size:.9rem; line-height:1.35; color:var(--ink-soft); }
.fe-quote-card .fe-finder__opt:hover strong{ color:var(--fe-navy-3); }
.fe-quote-card__note{ margin:1rem 0 0; font-size:.92rem; color:var(--ink-soft); }
.fe-quote-card .fe-finder__foot{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-top:1.1rem; }
@media (max-width: 420px){ .fe-finder__grid--2{ grid-template-columns:minmax(0,1fr); } }

/* Services: 7 cards on a 6-column grid. Residential + Commercial lead (2 wide),
   then 3 cards, then 2. Single column under 940px as before. */
@media (min-width: 941px){
  .chooser-grid--7{ grid-template-columns:repeat(6, minmax(0,1fr)); }
  .chooser-grid--7 > .service-card{ grid-column:span 2; }
  .chooser-grid--7 > .service-card:nth-child(1),
  .chooser-grid--7 > .service-card:nth-child(2),
  .chooser-grid--7 > .service-card:nth-child(6),
  .chooser-grid--7 > .service-card:nth-child(7){ grid-column:span 3; }
  .chooser-grid--7 > .service-card:nth-child(-n+2) .card-photo img{ aspect-ratio:16/7; object-fit:cover; }
}

/* Real Fife Energy logo (img, not inline SVG) */
img.fe-logo{ height:clamp(44px, 3.4vw, 58px); width:auto; }
.site-footer img.fe-logo{ height:56px; }

/* Privacy policy page */
.legal .section-head h1{ font-size:clamp(2rem,4vw,3rem); }
.legal-body{ max-width:760px; }
.legal-body h2{ font-size:1.3rem; margin:2rem 0 .6rem; }
.legal-body p{ color:var(--ink-soft); line-height:1.7; margin-bottom:1rem; }
.legal-body a:not(.btn){ color:var(--fe-navy-3); }
.page-inner .site-header{ background:var(--navy-950); box-shadow:0 6px 24px -12px rgba(10,42,74,.6); }

/* ===== Inner pages (full site, 24 Nov 2026) ===== */
.page-hero{ position:relative; color:#fff; padding:clamp(8.5rem,12vw,11rem) 0 clamp(3rem,6vw,4.5rem); overflow:hidden;
  background:linear-gradient(180deg, rgba(10,42,74,.92) 0%, rgba(15,61,107,.82) 55%, rgba(10,42,74,.9) 100%), var(--hero-img) center / cover no-repeat, var(--fe-navy); }
.page-hero h1{ color:#fff; font-size:clamp(2.2rem,5vw,3.6rem); max-width:16ch; margin:.6rem 0 1rem; }
.page-hero h1 em{ font-style:normal; color:var(--fe-green); }
.page-lead{ max-width:60ch; font-size:clamp(1.05rem,1.4vw,1.2rem); color:#dbe5ef; line-height:1.6; margin-bottom:1.6rem; }
.page-hero .hero-ctas{ display:flex; flex-wrap:wrap; gap:.8rem; }
.page-hero .btn-outline{ color:#fff; box-shadow:inset 0 0 0 2px rgba(255,255,255,.9); background:transparent; }
.crumbs ol{ display:flex; flex-wrap:wrap; gap:.35rem; list-style:none; margin:0; padding:0; font-size:.9rem; color:#b9c8d8; }
.crumbs li+li::before{ content:"/"; margin-right:.35rem; opacity:.6; }
.crumbs a{ color:#fff; text-decoration:none; } .crumbs a:hover{ text-decoration:underline; }
.page-body{ background:var(--paper); padding:clamp(3rem,6vw,5rem) 0; }
.page-grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
@media (max-width: 940px){ .page-grid{ grid-template-columns:minmax(0,1fr); } }
.prose{ max-width:68ch; }
.prose h2{ font-size:clamp(1.4rem,2.2vw,1.8rem); margin:2.2rem 0 .8rem; } .prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--ink-soft); line-height:1.75; margin-bottom:1rem; font-size:1.05rem; }
.prose a{ color:var(--fe-navy-3); }
.tick-list{ list-style:none; padding:0; margin:0 0 1.2rem; display:grid; gap:.55rem; }
.tick-list li{ display:flex; gap:.6rem; align-items:flex-start; color:var(--ink); line-height:1.5; }
.tick-list svg{ color:var(--fe-green-dark); flex:none; margin-top:.15rem; }
.side-card{ position:sticky; top:110px; background:#fff; border-radius:18px; padding:1.6rem; box-shadow:var(--shadow-soft); border-top:5px solid var(--fe-green); }
.side-card h2{ font-size:1.4rem; margin-bottom:.5rem; }
.side-card p{ color:var(--ink-soft); font-size:.97rem; line-height:1.55; margin-bottom:1rem; }
.side-card .btn{ width:100%; justify-content:center; }
.side-phone{ display:flex; align-items:center; justify-content:center; gap:.5rem; margin:.8rem 0 1.4rem; font-weight:700; color:var(--fe-navy); text-decoration:none; }
.side-card h3{ font-size:1rem; margin:0 0 .5rem; padding-top:1rem; border-top:1px solid var(--line); }
.side-links{ list-style:none; padding:0; margin:0 0 1rem; display:grid; gap:.15rem; }
.side-links a{ display:block; padding:.35rem 0; color:var(--ink); text-decoration:none; font-weight:600; font-size:.95rem; }
.side-links a:hover, .side-links a[aria-current]{ color:var(--fe-navy-3); }
.side-links a[aria-current]::before{ content:"\2192  "; color:var(--fe-green); }
.side-note{ font-size:.88rem !important; margin:0 !important; }
.side-note a{ color:var(--fe-navy-3); }
@media (max-width: 940px){ .side-card{ position:static; } }
.related{ background:var(--paper-alt); }
.service-card h3 a{ color:inherit; text-decoration:none; } .service-card h3 a:hover{ color:var(--fe-navy-3); }
.faq-more{ margin-top:1.4rem; text-align:center; } .faq-more a{ font-weight:700; color:var(--fe-navy-3); }
.page-inner .areas{ background:var(--paper); }
.page-hero .hero-ctas{ justify-content:flex-start; }
.prose .tick-list a{ color:var(--ink); font-weight:600; text-decoration:none; } .prose .tick-list a:hover{ color:var(--fe-navy-3); text-decoration:underline; }
