/*
Theme Name: HesoPress
Author: HesoPress
Version: 1.0.1
*/
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --wp-clr-primary: #1a3a2a;
  --wp-clr-primary-light: #234d38;
  --wp-clr-accent: #2d8a4e;
  --wp-clr-accent-hover: #24753f;
  --wp-clr-accent-light: #5cb85c;
  --wp-clr-bg: #f5f7f2;
  --wp-clr-bg-alt: #eaf0e4;
  --wp-clr-surface: #ffffff;
  --wp-clr-text: #1e1e1e;
  --wp-clr-text-muted: #5a6a5e;
  --wp-clr-text-light: #8a9a8e;
  --wp-clr-border: #d0ddd2;
  --wp-clr-white: #ffffff;
  --wp-clr-dark: #0f1f16;
  --wp-font-primary: 'Work Sans', sans-serif;
  --wp-radius-sm: 4px;
  --wp-radius-md: 8px;
  --wp-radius-lg: 16px;
  --wp-shadow-sm: 0 1px 3px rgba(26,58,42,.08);
  --wp-shadow-md: 0 4px 12px rgba(26,58,42,.1);
  --wp-shadow-lg: 0 8px 30px rgba(26,58,42,.12);
  --wp-ts-xs: .75rem;
  --wp-ts-sm: .875rem;
  --wp-ts-base: 1rem;
  --wp-ts-md: 1.125rem;
  --wp-ts-lg: 1.375rem;
  --wp-ts-xl: 1.75rem;
  --wp-ts-2xl: 2.25rem;
  --wp-ts-3xl: 3rem;
  --wp-section-py: 3.5rem;
}

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

body {
  font-family: var(--wp-font-primary);
  font-size: var(--wp-ts-base);
  line-height: 1.7;
  color: var(--wp-clr-text);
  background: var(--wp-clr-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wp-clr-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wp-clr-accent-hover); }

/* ── NAV ── */
.wp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--wp-clr-primary);
  border-bottom: 3px solid var(--wp-clr-accent);
}
.wp-header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.5rem;
}
.wp-logo {
  font-size: var(--wp-ts-xl); font-weight: 700;
  color: var(--wp-clr-white); letter-spacing: -.02em;
}
.wp-logo:hover { color: var(--wp-clr-accent-light); }
.wp-nav { display: flex; align-items: center; gap: 1.75rem; }
.wp-nav a { color: var(--wp-clr-white); font-size: var(--wp-ts-sm); font-weight: 500; opacity: .85; transition: opacity .2s; }
.wp-nav a:hover { opacity: 1; color: var(--wp-clr-accent-light); }
.wp-nav-cta {
  background: var(--wp-clr-accent); color: var(--wp-clr-white) !important;
  padding: .5rem 1.25rem; border-radius: var(--wp-radius-sm);
  font-weight: 600; opacity: 1 !important; font-size: var(--wp-ts-sm);
}
.wp-nav-cta:hover { background: var(--wp-clr-accent-hover); }
.wp-burger { display: none; background: none; border: none; cursor: pointer; padding: .25rem; }
.wp-burger span { display: block; width: 24px; height: 2px; background: var(--wp-clr-white); margin: 5px 0; transition: .3s; }
.wp-mobile-nav { display: none; }

/* ── BUTTONS ── */
.wp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; white-space: nowrap; flex-shrink: 0; min-height: 44px; line-height: 1.2;
  padding: .75rem 2rem; border-radius: var(--wp-radius-sm);
  font-family: var(--wp-font-primary); font-weight: 600; font-size: var(--wp-ts-base);
  cursor: pointer; border: none; transition: all .25s;
}
.wp-btn-primary { background: var(--wp-clr-accent); color: var(--wp-clr-white); }
.wp-btn-primary:hover { background: var(--wp-clr-accent-hover); transform: translateY(-1px); box-shadow: var(--wp-shadow-md); }
.wp-btn-outline { background: transparent; color: var(--wp-clr-accent); border: 2px solid var(--wp-clr-accent); }
.wp-btn-outline:hover { background: var(--wp-clr-accent); color: var(--wp-clr-white); }

/* ── BREADCRUMBS ── */
.wp-breadcrumbs { padding: .75rem 0; font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); }
.wp-breadcrumbs a { color: var(--wp-clr-accent); }
.wp-breadcrumbs span { margin: 0 .4rem; }

/* ── HERO ── */
.wp-hero-img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--wp-radius-md); margin: 1.5rem 0;
}

/* ── LAYOUT ── */
.wp-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.wp-grid-article {
  display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem;
  padding: var(--wp-section-py) 0;
}
.wp-article-main { min-width: 0; }

/* ── ARTICLE TYPOGRAPHY ── */
.wp-kicker {
  display: inline-block; background: var(--wp-clr-accent); color: var(--wp-clr-white);
  padding: .2rem .75rem; border-radius: var(--wp-radius-sm);
  font-size: var(--wp-ts-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .75rem;
}
.wp-article-title {
  font-size: var(--wp-ts-3xl); font-weight: 700; line-height: 1.15;
  color: var(--wp-clr-primary); margin-bottom: .75rem; letter-spacing: -.02em;
}
.wp-byline { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.wp-byline strong { color: var(--wp-clr-text); font-weight: 600; }
.wp-standfirst {
  font-size: var(--wp-ts-lg); font-style: italic; color: var(--wp-clr-text-muted);
  line-height: 1.6; margin-bottom: 1.5rem; border-left: 3px solid var(--wp-clr-accent);
  padding-left: 1.25rem;
}
.wp-article-body h2 {
  font-size: var(--wp-ts-2xl); font-weight: 700; color: var(--wp-clr-primary);
  margin: 2.5rem 0 1rem; line-height: 1.2; letter-spacing: -.01em;
}
.wp-article-body h3 {
  font-size: var(--wp-ts-xl); font-weight: 600; color: var(--wp-clr-primary);
  margin: 2rem 0 .75rem; line-height: 1.3;
}
.wp-article-body p { margin-bottom: 1.25rem; }
.wp-article-body blockquote {
  border-left: 4px solid var(--wp-clr-accent); background: var(--wp-clr-bg-alt);
  padding: 1.5rem 1.75rem; margin: 2rem 0; border-radius: 0 var(--wp-radius-md) var(--wp-radius-md) 0;
  font-size: var(--wp-ts-md); font-style: italic; color: var(--wp-clr-primary);
}
.wp-article-body blockquote cite {
  display: block; margin-top: .75rem; font-size: var(--wp-ts-sm);
  font-style: normal; font-weight: 600; color: var(--wp-clr-accent);
}
.wp-pullquote {
  background: var(--wp-clr-primary); color: var(--wp-clr-white);
  padding: 2rem 2.5rem; margin: 2.5rem -1rem; border-radius: var(--wp-radius-md);
  font-size: var(--wp-ts-xl); font-weight: 500; line-height: 1.5; position: relative;
}
.wp-pullquote::before {
  content: '\201C'; position: absolute; top: -.25rem; left: 1rem;
  font-size: 5rem; color: var(--wp-clr-accent); opacity: .5; line-height: 1;
  pointer-events: none;
}
.wp-data-box {
  background: var(--wp-clr-surface); border: 1px solid var(--wp-clr-border);
  border-radius: var(--wp-radius-md); padding: 1.5rem 2rem; margin: 2rem 0;
}
.wp-data-box .wp-data-label { font-size: var(--wp-ts-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--wp-clr-text-muted); margin-bottom: .25rem; }
.wp-data-box .wp-data-value { font-size: var(--wp-ts-2xl); font-weight: 700; color: var(--wp-clr-accent); }
.wp-data-box .wp-data-source { font-size: var(--wp-ts-xs); color: var(--wp-clr-text-light); margin-top: .25rem; }
.wp-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--wp-clr-border); }
.wp-tag {
  background: var(--wp-clr-bg-alt); color: var(--wp-clr-text-muted); padding: .3rem .85rem;
  border-radius: 99px; font-size: var(--wp-ts-xs); font-weight: 500;
}

/* ── SIDEBAR ── */
.wp-sidebar { position: sticky; top: 5rem; align-self: start; }
.wp-sidebar-section {
  background: var(--wp-clr-surface); border-radius: var(--wp-radius-md);
  border: 1px solid var(--wp-clr-border); padding: 1.25rem; margin-bottom: 1.25rem;
}
.wp-sidebar-title {
  font-size: var(--wp-ts-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--wp-clr-primary); margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--wp-clr-accent);
}
.wp-sidebar-item { padding: .75rem 0; border-bottom: 1px solid var(--wp-clr-border); }
.wp-sidebar-item:last-child { border-bottom: none; }
.wp-sidebar-item a { display: block; }
.wp-sidebar-item a:hover { color: var(--wp-clr-accent); }
.wp-sidebar-item h4 { font-size: var(--wp-ts-sm); font-weight: 600; color: var(--wp-clr-primary); line-height: 1.4; margin-bottom: .25rem; }
.wp-sidebar-item p { font-size: var(--wp-ts-xs); color: var(--wp-clr-text-muted); line-height: 1.4; }
.wp-sidebar-item:hover h4 { color: var(--wp-clr-accent); }

/* ── LATEST / RELATED CARDS ── */
.wp-section-label {
  font-size: var(--wp-ts-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--wp-clr-primary); margin-bottom: 1.5rem;
  padding-bottom: .5rem; border-bottom: 3px solid var(--wp-clr-accent); display: inline-block;
}
.wp-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.wp-card {
  background: var(--wp-clr-surface); border-radius: var(--wp-radius-md);
  border: 1px solid var(--wp-clr-border); padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.wp-card:hover { transform: translateY(-3px); box-shadow: var(--wp-shadow-md); }
.wp-card-kicker { font-size: var(--wp-ts-xs); font-weight: 600; color: var(--wp-clr-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.wp-card h3 { font-size: var(--wp-ts-md); font-weight: 600; color: var(--wp-clr-primary); margin-bottom: .5rem; line-height: 1.35; }
.wp-card p { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); line-height: 1.5; margin-bottom: .5rem; }
.wp-card-meta { font-size: var(--wp-ts-xs); color: var(--wp-clr-text-light); }

/* ── CTA SECTION ── */
.wp-cta-section {
  background: var(--wp-clr-primary); border-radius: var(--wp-radius-lg);
  padding: 3rem; margin: var(--wp-section-py) 0; text-align: center;
  position: relative; overflow: hidden;
}
.wp-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(45,138,78,.2) 0%, transparent 60%);
  pointer-events: none;
}
.wp-cta-section h2 { font-size: var(--wp-ts-2xl); color: var(--wp-clr-white); margin-bottom: .75rem; position: relative; }
.wp-cta-section p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; font-size: var(--wp-ts-md); max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }

/* ── FORMS ── */
.wp-form { position: relative; }
.wp-form-row { margin-bottom: 1rem; }
.wp-form label { display: block; font-size: var(--wp-ts-sm); font-weight: 600; color: var(--wp-clr-primary); margin-bottom: .35rem; }
.wp-form input, .wp-form textarea, .wp-form select {
  width: 100%; padding: .7rem 1rem; border: 1px solid var(--wp-clr-border);
  border-radius: var(--wp-radius-sm); font-family: var(--wp-font-primary);
  font-size: var(--wp-ts-base); background: var(--wp-clr-surface); transition: border-color .2s;
}
.wp-form input:focus, .wp-form textarea:focus { outline: none; border-color: var(--wp-clr-accent); box-shadow: 0 0 0 3px rgba(45,138,78,.12); }
.wp-form textarea { min-height: 100px; resize: vertical; }

/* ── FOOTER ── */
.wp-footer { background: var(--wp-clr-dark); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; margin-top: var(--wp-section-py); }
.wp-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.wp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.wp-footer h4 { color: var(--wp-clr-white); font-size: var(--wp-ts-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.wp-footer a { color: rgba(255,255,255,.6); font-size: var(--wp-ts-sm); }
.wp-footer a:hover { color: var(--wp-clr-accent-light); }
.wp-footer-links { list-style: none; }
.wp-footer-links li { margin-bottom: .5rem; }
.wp-footer-disclaimer {
  font-size: var(--wp-ts-xs); color: rgba(255,255,255,.4); padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1); text-align: center; line-height: 1.6;
}
.wp-footer-logo { font-size: var(--wp-ts-xl); font-weight: 700; color: var(--wp-clr-white); margin-bottom: .75rem; display: inline-block; }
.wp-footer-about-text { font-size: var(--wp-ts-sm); line-height: 1.6; margin-bottom: 1rem; }

/* ── PROGRESS BAR ── */
.wp-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--wp-clr-accent-light); z-index: 200; width: 0; transition: width .1s; }

/* ── COOKIE BANNER ── */
.wp-cc-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--wp-clr-surface); box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: 1.25rem 1.5rem; align-items: center; justify-content: space-between; gap: 1rem;
}
.wp-cc-banner p { font-size: var(--wp-ts-sm); color: var(--wp-clr-text); flex: 1; }
.wp-cc-banner a { color: var(--wp-clr-accent); font-weight: 500; }
.wp-cc-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
.wp-cc-modal-body {
  background: var(--wp-clr-surface); border-radius: var(--wp-radius-lg);
  padding: 2rem; max-width: 520px; width: 90%; max-height: 80vh; overflow-y: auto;
}
.wp-cc-modal-body h3 { font-size: var(--wp-ts-xl); color: var(--wp-clr-primary); margin-bottom: 1rem; }
.wp-cc-modal-body p { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); margin-bottom: 1rem; }

/* ── ABOUT / CONTACT PAGES ── */
.wp-page-hero {
  background: var(--wp-clr-primary); color: var(--wp-clr-white);
  padding: 3.5rem 0; text-align: center; position: relative; overflow: hidden;
}
.wp-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(92,184,92,.15) 0%, transparent 50%);
  pointer-events: none;
}
.wp-page-hero h1 { font-size: var(--wp-ts-3xl); font-weight: 700; position: relative; margin-bottom: .5rem; }
.wp-page-hero p { font-size: var(--wp-ts-lg); opacity: .8; position: relative; max-width: 600px; margin: 0 auto; }

.wp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: var(--wp-section-py) 0; align-items: start; }
.wp-team-card { background: var(--wp-clr-surface); border-radius: var(--wp-radius-md); border: 1px solid var(--wp-clr-border); padding: 1.75rem; text-align: center; }
.wp-team-card h3 { font-size: var(--wp-ts-md); font-weight: 600; color: var(--wp-clr-primary); margin-bottom: .25rem; }
.wp-team-card p { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); }

.wp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: var(--wp-section-py) 0; }
.wp-map-wrap { border-radius: var(--wp-radius-md); overflow: hidden; height: 350px; border: 1px solid var(--wp-clr-border); }
.wp-map-wrap iframe { width: 100%; height: 100%; border: 0; }
.wp-contact-info-item { margin-bottom: 1.25rem; }
.wp-contact-info-item h4 { font-size: var(--wp-ts-sm); font-weight: 600; color: var(--wp-clr-primary); margin-bottom: .25rem; }
.wp-contact-info-item p { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); }

/* ── SUCCESS / 404 ── */
.wp-result-page { text-align: center; padding: 5rem 1.5rem; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wp-result-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.wp-result-page h1 { font-size: var(--wp-ts-3xl); color: var(--wp-clr-primary); margin-bottom: 1rem; }
.wp-result-page p { font-size: var(--wp-ts-md); color: var(--wp-clr-text-muted); max-width: 480px; margin: 0 auto 2rem; }

/* ── LEGAL PAGES ── */
.wp-legal { padding: var(--wp-section-py) 0; }
.wp-legal h1 { font-size: var(--wp-ts-2xl); color: var(--wp-clr-primary); margin-bottom: 1.5rem; }
.wp-legal h2 { font-size: var(--wp-ts-xl); color: var(--wp-clr-primary); margin: 2rem 0 .75rem; }
.wp-legal h3 { font-size: var(--wp-ts-md); font-weight: 600; color: var(--wp-clr-primary); margin: 1.25rem 0 .5rem; }
.wp-legal p, .wp-legal li { font-size: var(--wp-ts-sm); color: var(--wp-clr-text-muted); margin-bottom: .75rem; line-height: 1.7; }
.wp-legal ul, .wp-legal ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.wp-legal-toc { background: var(--wp-clr-bg-alt); border-radius: var(--wp-radius-md); padding: 1.5rem 2rem; margin-bottom: 2rem; }
.wp-legal-toc h3 { margin-top: 0; }
.wp-legal-toc ol { margin-bottom: 0; }
.wp-legal-toc a { font-size: var(--wp-ts-sm); }
.wp-legal-dl dt { font-weight: 600; color: var(--wp-clr-primary); margin-top: 1rem; }
.wp-legal-dl dd { color: var(--wp-clr-text-muted); font-size: var(--wp-ts-sm); margin-left: 1.5rem; margin-bottom: .5rem; }

/* ── DIVIDER ── */
.wp-divider {
  height: 1px; border: none;
  background: linear-gradient(90deg, transparent, var(--wp-clr-border), var(--wp-clr-accent), var(--wp-clr-border), transparent);
  margin: var(--wp-section-py) 0;
}

/* ── SECTION ── */
.wp-section { padding: var(--wp-section-py) 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wp-grid-article { grid-template-columns: 1fr; }
  .wp-sidebar { position: static; margin-top: 2rem; }
  .wp-about-grid, .wp-contact-grid, .wp-footer-grid { grid-template-columns: 1fr; }
  .wp-cards-grid { grid-template-columns: 1fr; }
  .wp-nav { display: none; }
  .wp-burger { display: block; }
  .wp-mobile-nav.active {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--wp-clr-primary); padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  }
  .wp-mobile-nav a { color: var(--wp-clr-white); padding: .65rem 0; font-size: var(--wp-ts-base); display: block; }
  .wp-article-title { font-size: var(--wp-ts-2xl); }
  .wp-page-hero h1 { font-size: var(--wp-ts-2xl); }
  .wp-cta-section { padding: 2rem 1.5rem; }
  .wp-pullquote { margin: 2rem 0; padding: 1.5rem; }
}