/* ============================================================
   UK Overheating — Service Page Design System
   Add this file to your theme via Appearance > Theme Editor
   ============================================================ */

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

:root {
  --brand-dark:     #1C1C1C;
  --brand-green:    #7DC242;
  --brand-green-dk: #5FA030;
  --brand-green-lt: #EEF7E4;
  --brand-mid:      #2A2A2A;
  --brand-white:    #FFFFFF;
  --brand-off:      #F7F7F5;
  --text:           #1A1A1A;
  --text-mid:       #4C4C4C;
  --text-light:     #888888;
  --border:         #E0E0DA;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--brand-white); line-height: 1.6; font-size: 16px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ================================================================ HEADER */
.site-header { background: var(--brand-white); position: sticky; top: 0; z-index: 200; border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; height: 72px; gap: 32px; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--brand-dark); display: none; }
.nav-logo-text span { color: var(--brand-green); }

.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a,
.nav-menu > li > button {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 13px; font-size: 13.5px; font-weight: 400;
  color: var(--text-mid); text-decoration: none;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; border-radius: 6px;
  transition: color 0.16s, background 0.16s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > button:hover { color: var(--brand-dark); background: var(--brand-off); }
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a { color: var(--brand-green-dk); font-weight: 500; }

/* Chevron on parent items */
.nav-menu .menu-item-has-children > a::after,
.nav-menu .menu-item-has-children > button::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.45;
  margin-left: 3px;
  transition: transform 0.2s;
}
.nav-menu .menu-item-has-children.open > a::after,
.nav-menu .menu-item-has-children.open > button::after { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--brand-white); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 0 8px; list-style: none;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.16s, transform 0.16s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 100;
}
.nav-menu .menu-item-has-children.open .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.sub-menu li a { display: block; padding: 10px 20px; font-size: 13.5px; color: var(--text-mid); text-decoration: none; transition: color 0.13s, background 0.13s; white-space: nowrap; }
.sub-menu li a:hover { color: var(--brand-dark); background: var(--brand-off); }

.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; background: var(--brand-green); color: var(--brand-dark) !important; font-size: 14px; font-weight: 600; border-radius: 7px; text-decoration: none; white-space: nowrap; transition: background 0.16s; flex-shrink: 0; }
.nav-cta:hover { background: var(--brand-green-dk); color: #fff !important; }

/* ================================================================ SERVICE STRIP */
.service-strip { background: var(--brand-off); border-bottom: 1px solid var(--border); overflow-x: auto; }
.service-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; gap: 2px; }
.service-strip-inner ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.service-strip-inner ul li a,
.service-strip a { display: inline-block; padding: 12px 16px; font-size: 13px; color: var(--text-mid); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s; }
.service-strip-inner ul li a:hover,
.service-strip a:hover { color: var(--text); }
.service-strip-inner ul li.current-menu-item a,
.service-strip a.active { color: var(--brand-dark); font-weight: 600; border-bottom-color: var(--brand-green); }

/* ================================================================ HERO */
.ukh-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.ukh-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-color: var(--brand-dark); }
.ukh-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0.62) 55%, rgba(18,18,18,0.2) 100%); }
.ukh-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 32px 72px; width: 100%; }

.ukh-breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 20px; }
.ukh-breadcrumb a { color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.13s; }
.ukh-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.ukh-breadcrumb .bsep { color: rgba(255,255,255,0.22); }

.ukh-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; background: rgba(125,194,66,0.13); border: 1px solid rgba(125,194,66,0.3); border-radius: 100px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.5px; color: #a9d87c; text-transform: uppercase; margin-bottom: 20px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; }

.ukh-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); color: #fff; line-height: 1.12; letter-spacing: -0.5px; max-width: 600px; margin-bottom: 18px; }
.ukh-hero h1 em { font-style: italic; color: var(--brand-green); }
.ukh-hero-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.62); max-width: 520px; line-height: 1.7; margin-bottom: 34px; }

.ukh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 38px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--brand-green); color: var(--brand-dark); font-size: 15px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: background 0.16s, transform 0.13s; }
.btn-primary:hover { background: var(--brand-green-dk); color: #fff; transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 15px; font-weight: 400; border-radius: 8px; text-decoration: none; transition: background 0.16s; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.ukh-hero-trust { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.52); }
.trust-tick { width: 18px; height: 18px; border-radius: 50%; background: rgba(125,194,66,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ================================================================ LAYOUT */
.ukh-section { padding: 72px 32px; }
.ukh-section-alt { background: var(--brand-off); }
.ukh-container { max-width: 1200px; margin: 0 auto; }
.ukh-page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section-label { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-green); margin-bottom: 10px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(28px, 3.5vw, 40px); color: var(--brand-dark); line-height: 1.18; letter-spacing: -0.3px; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--text-mid); max-width: 560px; line-height: 1.7; margin-bottom: 44px; }

/* ================================================================ PAGE LAYOUT (content + sidebar) */
.ukh-page-layout { max-width: 1200px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 316px; gap: 56px; align-items: start; }
.ukh-main-content { min-width: 0; overflow: hidden; }
.ukh-main-content .wrapper { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.ukh-main-content .grid-container { max-width: 100% !important; }
.ukh-main-content img { max-width: 100% !important; height: auto; }
.ukh-sidebar { position: sticky; top: 92px; }

/* ================================================================ CONTENT BLOCKS */
.content-block { margin-bottom: 54px; }
.content-block p { font-size: 15px; color: var(--text-mid); line-height: 1.78; margin-bottom: 14px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mid); line-height: 1.55; }
.check-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ================================================================ PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.process-step { padding: 28px 22px; border-right: 1px solid var(--border); transition: background 0.16s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--brand-green-lt); }
.step-num { font-family: 'DM Serif Display', serif; font-size: 36px; font-style: italic; color: #ddd; line-height: 1; margin-bottom: 16px; }
.step-bar { width: 28px; height: 3px; background: var(--brand-green); border-radius: 2px; margin-bottom: 12px; }
.step-title { font-weight: 600; font-size: 14px; color: var(--brand-dark); margin-bottom: 7px; }
.step-desc { font-size: 13px; color: var(--text-mid); line-height: 1.62; }

/* ================================================================ METHODOLOGY CARDS */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.method-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 26px; position: relative; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.method-card:hover { border-color: var(--brand-green); box-shadow: 0 4px 24px rgba(125,194,66,0.1); }
.method-card.featured { border-color: var(--brand-green); background: var(--brand-green-lt); }
.method-rec { position: absolute; top: 16px; right: 16px; background: var(--brand-green); color: var(--brand-dark); font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.method-icon-box { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.method-title { font-family: 'DM Serif Display', serif; font-size: 21px; color: var(--brand-dark); margin-bottom: 10px; }
.method-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.method-pros { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; padding: 0; }
.method-pros li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); }
.pro-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; }
.method-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--brand-dark); text-decoration: none; border-bottom: 1px solid var(--brand-green); padding-bottom: 1px; transition: gap 0.15s; }
.method-link:hover { gap: 9px; }

/* ================================================================ SIDEBAR */
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.sidebar-head { background: var(--brand-dark); padding: 22px 24px; }
.sidebar-head h3 { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; margin-bottom: 4px; }
.sidebar-head p { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; }
.sidebar-body { padding: 22px 24px; }
.sidebar-field { margin-bottom: 14px; }
.sidebar-field label { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-light); margin-bottom: 6px; }
.sidebar-field select,
.sidebar-field input[type="email"],
.sidebar-field input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: #fff; transition: border-color 0.14s; -webkit-appearance: none; }
.sidebar-field select:focus,
.sidebar-field input:focus { outline: none; border-color: var(--brand-green); }
.cta-contact { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(0,0,0,0.04); border: 1px solid var(--border); border-radius: 8px; color: var(--text-mid); font-size: 14px; text-decoration: none; transition: background 0.15s, color 0.15s; margin-top: 8px; }
.cta-contact:hover { background: var(--brand-off); color: var(--brand-dark); }
.sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ================================================================ FAQ */
.faq-list { max-width: 860px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background: none; border: none; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; text-align: left; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--brand-dark); transition: background 0.14s; position: relative; }
.faq-question:hover { background: var(--brand-off); }
.faq-item.open .faq-question { background: var(--brand-off); }
.faq-q-left { display: flex; align-items: center; gap: 13px; flex: 1; }
.faq-icon-box { width: 30px; height: 30px; background: var(--brand-green-lt); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-icon-box svg { width: 14px; height: 14px; stroke: var(--brand-green); }
.faq-doc-tag { position: absolute; right: 54px; top: 50%; transform: translateY(-50%); background: rgba(125,194,66,0.12); color: var(--brand-green-dk); font-size: 10.5px; font-weight: 600; letter-spacing: 0.3px; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.faq-chevron-box { width: 22px; height: 22px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.18s, transform 0.24s; }
.faq-chevron-box svg { width: 10px; height: 10px; stroke: var(--text-light); transition: stroke 0.18s; }
.faq-item.open .faq-chevron-box { background: var(--brand-green); transform: rotate(180deg); }
.faq-item.open .faq-chevron-box svg { stroke: var(--brand-dark); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.34s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 4px 26px 24px 69px; font-size: 14px; color: var(--text-mid); line-height: 1.78; }
.faq-answer-inner p { margin-bottom: 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--brand-dark); font-weight: 500; border-bottom: 1px solid var(--brand-green); text-decoration: none; }
.faq-answer-inner a:hover { color: var(--brand-green-dk); }
.faq-answer-inner ul { list-style: none; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; padding: 0; }
.faq-answer-inner ul li { padding-left: 14px; position: relative; }
.faq-answer-inner ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-green); }

/* ================================================================ SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 7px; transition: border-color 0.16s, box-shadow 0.16s, transform 0.13s; }
.service-card:hover { border-color: var(--brand-green); box-shadow: 0 2px 16px rgba(125,194,66,0.1); transform: translateY(-2px); }
.sc-icon { width: 38px; height: 38px; background: var(--brand-white); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.sc-icon svg { width: 17px; height: 17px; }
.sc-title { font-weight: 600; font-size: 14px; color: var(--brand-dark); line-height: 1.35; }
.sc-desc { font-size: 12.5px; color: var(--text-light); line-height: 1.5; }
.sc-arrow { margin-top: auto; padding-top: 7px; font-size: 13px; font-weight: 500; color: var(--brand-green-dk); display: flex; align-items: center; gap: 4px; }
.sc-arrow svg { width: 11px; height: 11px; transition: transform 0.13s; fill: none; stroke: var(--brand-green-dk); }
.service-card:hover .sc-arrow svg { transform: translateX(3px); }

/* ================================================================ FOOTER */
.ukh-footer { background: var(--brand-mid); padding: 56px 32px 32px; }
.ukh-footer-inner { max-width: 1200px; margin: 0 auto; }
.ukh-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.ukh-footer-logo img { height: 30px; margin-bottom: 14px; display: block; }
.ukh-footer-logo-text { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; display: none; margin-bottom: 14px; }
.ukh-footer-logo-text span { color: var(--brand-green); }
.ukh-footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.36); line-height: 1.7; max-width: 280px; }
.ukh-footer-col h4 { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.38); margin-bottom: 14px; }
.ukh-footer-col a { display: block; color: rgba(255,255,255,0.48); font-size: 13.5px; text-decoration: none; margin-bottom: 9px; transition: color 0.13s; }
.ukh-footer-col a:hover { color: #fff; }
.ukh-footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.24); flex-wrap: wrap; gap: 8px; }
.ukh-footer-bottom a { color: rgba(255,255,255,0.28); text-decoration: none; margin-left: 16px; transition: color 0.13s; }
.ukh-footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ================================================================ RESPONSIVE */
@media (max-width: 960px) {
  .ukh-page-layout { grid-template-columns: 1fr; padding: 48px 24px; }
  .ukh-sidebar { position: static; }
  .method-grid { grid-template-columns: 1fr; }
  .ukh-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-menu { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ukh-section { padding: 48px 20px; }
  .ukh-hero-content { padding: 56px 20px 48px; }
  .process-grid { grid-template-columns: 1fr; }
  .ukh-footer-top { grid-template-columns: 1fr; }
  .ukh-footer-bottom { flex-direction: column; align-items: flex-start; }
  .service-strip-inner { padding: 0 16px; }
  .ukh-page-wrap { padding: 0 20px; }
}
