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

:root {
  --wp-primary: #E8740C;
  --wp-primary-hover: #CC6200;
  --wp-primary-light: #FEECD6;
  --wp-bg: #FFF7F0;
  --wp-bg-alt: #FFF0E3;
  --wp-surface: #FFFFFF;
  --wp-text: #2D2A26;
  --wp-text-muted: #6B6560;
  --wp-text-light: #9A9490;
  --wp-border: #F0DCC8;
  --wp-accent: #F5A623;
  --wp-accent2: #D4622B;
  --wp-shadow: 0 2px 12px rgba(93,55,16,0.08);
  --wp-shadow-lg: 0 8px 32px rgba(93,55,16,0.12);
  --wp-font: 'Work Sans', sans-serif;
  --wp-radius: 10px;
  --wp-radius-sm: 6px;
  --wp-radius-lg: 16px;
  --wp-ts-xs: 0.75rem;
  --wp-ts-sm: 0.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); color: var(--wp-text); background: var(--wp-bg); line-height: 1.7; font-size: var(--wp-ts-base); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wp-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wp-primary-hover); }

/* ── BUTTONS ── */
.wp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wp-primary); color: #fff; font-family: var(--wp-font);
  font-weight: 600; font-size: var(--wp-ts-sm);
  padding: 0.75rem 1.75rem; border-radius: var(--wp-radius);
  border: none; cursor: pointer; transition: all .25s ease;
  box-sizing: border-box; white-space: nowrap; flex-shrink: 0;
  min-height: 44px; line-height: 1.2; text-decoration: none;
  box-shadow: 0 2px 8px rgba(232,116,12,0.25);
}
.wp-btn:hover { background: var(--wp-primary-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,116,12,0.35); color: #fff; }
.wp-btn--outline {
  background: transparent; color: var(--wp-primary);
  border: 2px solid var(--wp-primary); box-shadow: none;
}
.wp-btn--outline:hover { background: var(--wp-primary); color: #fff; }
.wp-btn--sm { padding: 0.5rem 1.25rem; font-size: var(--wp-ts-xs); min-height: 36px; }

/* ── LAYOUT ── */
.wp-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.wp-section { padding: var(--wp-section-py) 0; }
.wp-grid { display: grid; gap: 2rem; }
.wp-grid--2 { grid-template-columns: 1fr 1fr; }
.wp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wp-main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }

/* ── HEADER / NAV ── */
.wp-header {
  background: var(--wp-surface); border-bottom: 1px solid var(--wp-border);
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px);
}
.wp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.25rem;
}
.wp-logo {
  font-size: var(--wp-ts-xl); font-weight: 800; color: var(--wp-primary);
  text-decoration: none; letter-spacing: -0.03em;
}
.wp-logo:hover { color: var(--wp-primary-hover); }
.wp-nav { display: flex; align-items: center; gap: 1.5rem; }
.wp-nav a { font-size: var(--wp-ts-sm); font-weight: 500; color: var(--wp-text); }
.wp-nav a:hover { color: var(--wp-primary); }
.wp-nav-cta { margin-left: 0.5rem; }
.wp-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.wp-burger span { display: block; width: 22px; height: 2px; background: var(--wp-text); border-radius: 2px; transition: .3s; }
.wp-mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--wp-surface);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.wp-mobile-nav.active { display: flex; }
.wp-mobile-nav a { font-size: var(--wp-ts-xl); font-weight: 600; color: var(--wp-text); }
.wp-mobile-close {
  position: absolute; top: 1rem; right: 1.25rem; background: none; border: none;
  font-size: 2rem; cursor: pointer; color: var(--wp-text);
}

/* ── BREADCRUMBS ── */
.wp-breadcrumbs {
  display: flex; align-items: center; gap: 0.5rem; font-size: var(--wp-ts-xs);
  color: var(--wp-text-muted); padding: 1rem 0 0.5rem; flex-wrap: wrap;
}
.wp-breadcrumbs a { color: var(--wp-text-muted); }
.wp-breadcrumbs a:hover { color: var(--wp-primary); }
.wp-breadcrumbs .sep { opacity: 0.4; }

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

/* ── HERO ── */
.wp-hero { position: relative; overflow: hidden; margin-bottom: 0; }
.wp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,116,12,0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
}
.wp-hero-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--wp-radius-lg); }
.wp-kicker {
  display: inline-block; font-size: var(--wp-ts-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp-primary);
  background: var(--wp-primary-light); padding: 0.25rem 0.75rem;
  border-radius: var(--wp-radius-sm); margin-bottom: 0.75rem;
}
.wp-byline {
  display: flex; align-items: center; gap: 0.75rem; font-size: var(--wp-ts-xs);
  color: var(--wp-text-muted); margin: 0.75rem 0 1.25rem; flex-wrap: wrap;
}
.wp-byline .dot { opacity: 0.4; }
.wp-standfirst {
  font-size: var(--wp-ts-md); font-style: italic; color: var(--wp-text-muted);
  line-height: 1.8; border-left: 3px solid var(--wp-primary); padding-left: 1.25rem;
  margin: 1.5rem 0 2rem;
}

/* ── ARTICLE BODY ── */
.wp-article h1 {
  font-size: var(--wp-ts-3xl); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--wp-text);
}
.wp-article h2 {
  font-size: var(--wp-ts-xl); font-weight: 700; margin: 2.5rem 0 1rem;
  color: var(--wp-text); position: relative; padding-bottom: 0.5rem;
}
.wp-article h2::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px;
  background: var(--wp-primary); border-radius: 2px; pointer-events: none;
}
.wp-article h3 { font-size: var(--wp-ts-lg); font-weight: 600; margin: 2rem 0 0.75rem; }
.wp-article p { margin-bottom: 1.25rem; }
.wp-article blockquote {
  border-left: 4px solid var(--wp-accent); background: var(--wp-bg-alt);
  padding: 1.5rem 1.75rem; margin: 2rem 0; border-radius: 0 var(--wp-radius) var(--wp-radius) 0;
  font-style: italic; font-size: var(--wp-ts-md);
}
.wp-article blockquote cite {
  display: block; font-style: normal; font-size: var(--wp-ts-sm);
  color: var(--wp-text-muted); margin-top: 0.75rem;
}
.wp-pullquote {
  font-size: var(--wp-ts-xl); font-weight: 600; color: var(--wp-primary);
  text-align: center; padding: 2rem 1.5rem; margin: 2.5rem 0;
  border-top: 2px solid var(--wp-border); border-bottom: 2px solid var(--wp-border);
  position: relative;
}
.wp-pullquote::before {
  content: '\201E'; font-size: 4rem; color: var(--wp-primary-light);
  position: absolute; top: -0.5rem; left: 50%; transform: translateX(-50%);
  pointer-events: none; line-height: 1;
}

/* ── DROP CAP ── */
.wp-dropcap::first-letter {
  float: left; font-size: 3.5rem; font-weight: 800; line-height: 0.8;
  margin: 0.1em 0.15em 0 0; color: var(--wp-primary);
}

/* ── SIDEBAR ── */
.wp-sidebar {
  position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 1.5rem;
}
.wp-sidebar-block {
  background: var(--wp-surface); border-radius: var(--wp-radius);
  padding: 1.5rem; border: 1px solid var(--wp-border);
}
.wp-sidebar-title {
  font-size: var(--wp-ts-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--wp-primary); margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--wp-primary-light);
}
.wp-sidebar-item {
  display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--wp-border);
  transition: background .2s; text-decoration: none;
}
.wp-sidebar-item:last-child { border-bottom: none; }
.wp-sidebar-item:hover { background: var(--wp-bg-alt); margin: 0 -0.75rem; padding: 0.75rem; border-radius: var(--wp-radius-sm); }
.wp-sidebar-item h4 { font-size: var(--wp-ts-sm); font-weight: 600; color: var(--wp-text); margin-bottom: 0.25rem; }
.wp-sidebar-item p { font-size: var(--wp-ts-xs); color: var(--wp-text-muted); line-height: 1.5; }

/* ── CARDS ── */
.wp-card {
  background: var(--wp-surface); border-radius: var(--wp-radius);
  border: 1px solid var(--wp-border); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.wp-card:hover { transform: translateY(-3px); box-shadow: var(--wp-shadow-lg); }
.wp-card-body { padding: 1.25rem; }
.wp-card .wp-kicker { margin-bottom: 0.5rem; }
.wp-card h3 { font-size: var(--wp-ts-base); font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
.wp-card h3 a { color: var(--wp-text); }
.wp-card h3 a:hover { color: var(--wp-primary); }
.wp-card p { font-size: var(--wp-ts-sm); color: var(--wp-text-muted); }
.wp-card-meta { font-size: var(--wp-ts-xs); color: var(--wp-text-light); margin-top: 0.75rem; }

/* ── SECTION LABELS ── */
.wp-section-label {
  font-size: var(--wp-ts-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--wp-primary); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.wp-section-label::after {
  content: ''; flex: 1; height: 1px; background: var(--wp-border);
}

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

/* ── CTA SECTION ── */
.wp-cta-section {
  background: linear-gradient(135deg, var(--wp-primary), var(--wp-accent2));
  border-radius: var(--wp-radius-lg); padding: 3rem 2.5rem; text-align: center;
  color: #fff; position: relative; overflow: hidden; margin: var(--wp-section-py) 0;
}
.wp-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.wp-cta-section h2 { color: #fff; font-size: var(--wp-ts-2xl); margin-bottom: 0.75rem; }
.wp-cta-section h2::after { display: none; }
.wp-cta-section p { opacity: 0.9; margin-bottom: 1.5rem; font-size: var(--wp-ts-md); }
.wp-cta-section .wp-btn { background: #fff; color: var(--wp-primary); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.wp-cta-section .wp-btn:hover { background: var(--wp-bg); transform: translateY(-2px); }

/* ── FORMS ── */
.wp-form { display: flex; flex-direction: column; gap: 1rem; }
.wp-form label { font-size: var(--wp-ts-sm); font-weight: 500; color: var(--wp-text); }
.wp-form input, .wp-form textarea, .wp-form select {
  font-family: var(--wp-font); font-size: var(--wp-ts-base);
  padding: 0.75rem 1rem; border: 1px solid var(--wp-border); border-radius: var(--wp-radius);
  background: var(--wp-surface); color: var(--wp-text);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.wp-form input:focus, .wp-form textarea:focus {
  outline: none; border-color: var(--wp-primary);
  box-shadow: 0 0 0 3px rgba(232,116,12,0.12);
}
.wp-form textarea { min-height: 120px; resize: vertical; }
.wp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── TAGS ── */
.wp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.wp-tag {
  font-size: var(--wp-ts-xs); padding: 0.3rem 0.75rem;
  background: var(--wp-primary-light); color: var(--wp-primary);
  border-radius: 99px; font-weight: 500;
}

/* ── FOOTER ── */
.wp-footer {
  background: var(--wp-text); color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem; margin-top: var(--wp-section-py);
}
.wp-footer a { color: rgba(255,255,255,0.8); }
.wp-footer a:hover { color: #fff; }
.wp-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
}
.wp-footer-brand { font-size: var(--wp-ts-xl); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.wp-footer-desc { font-size: var(--wp-ts-sm); line-height: 1.6; margin-bottom: 1rem; }
.wp-footer h4 { color: #fff; font-size: var(--wp-ts-sm); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.wp-footer ul { list-style: none; }
.wp-footer li { margin-bottom: 0.5rem; }
.wp-footer li a { font-size: var(--wp-ts-sm); }
.wp-footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding: 1.5rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: var(--wp-ts-xs);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.wp-footer-disclaimer {
  font-size: var(--wp-ts-xs); color: rgba(255,255,255,0.5);
  max-width: 1200px; margin: 1rem auto 0; padding: 0 1.25rem;
  font-style: italic;
}

/* ── COOKIE BANNER ── */
.wp-cc-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--wp-surface); border-top: 1px solid var(--wp-border);
  padding: 1.25rem; z-index: 500; box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.wp-cc-banner p { font-size: var(--wp-ts-sm); margin: 0; }
.wp-cc-banner .wp-btn { flex-shrink: 0; }
.wp-cc-modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 600; align-items: center; justify-content: center; padding: 1.25rem;
}
.wp-cc-modal-content {
  background: var(--wp-surface); border-radius: var(--wp-radius-lg);
  max-width: 600px; width: 100%; padding: 2rem; max-height: 85vh; overflow-y: auto;
}

/* ── PAGE SPECIFIC ── */
.wp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.wp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.wp-success-center { text-align: center; max-width: 600px; margin: 4rem auto; }
.wp-error-center { text-align: center; max-width: 600px; margin: 4rem auto; }
.wp-legal { max-width: 800px; margin: 0 auto; }
.wp-legal h1 { margin-bottom: 1rem; }
.wp-legal h2 { font-size: var(--wp-ts-lg); margin: 2rem 0 0.75rem; }
.wp-legal h2::after { display: none; }
.wp-legal p, .wp-legal li { font-size: var(--wp-ts-sm); }
.wp-legal ul { margin: 0.5rem 0 1rem 1.5rem; }
.wp-legal li { margin-bottom: 0.4rem; }
.wp-map-wrap { border-radius: var(--wp-radius); overflow: hidden; border: 1px solid var(--wp-border); }
.wp-map-wrap iframe { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wp-main-grid { grid-template-columns: 1fr; }
  .wp-footer-grid { grid-template-columns: 1fr 1fr; }
  .wp-grid--2, .wp-grid--3 { grid-template-columns: 1fr; }
  .wp-about-grid { grid-template-columns: 1fr; }
  .wp-contact-grid { grid-template-columns: 1fr; }
  .wp-article h1 { font-size: var(--wp-ts-2xl); }
  .wp-form-row { grid-template-columns: 1fr; }
  .wp-burger { display: flex; }
  .wp-nav { display: none; }
  .wp-sidebar { position: static; }
}
@media (max-width: 600px) {
  .wp-footer-grid { grid-template-columns: 1fr; }
  .wp-footer-bottom { flex-direction: column; text-align: center; }
  .wp-hero-img { aspect-ratio: 16/9; }
  :root { --wp-section-py: 2.5rem; }
}
