/*
Theme Name: WOCON
Theme URI: https://theseo.al/
Author: TheSEO.al
Author URI: https://theseo.al/
Description: Profesionalna WordPress tema za građevinske kompanije — radovi na visini, demit fasade i farbanje. Čist, moderan i responzivan dizajn sa prilagodljivim sekcijama, tipom sadržaja „Projekti" i „Recenzije", te podešavanjima kontakta putem Customizer-a. Napravljeno za WOCON D.O.O. iz Podgorice.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wocon
Tags: business, custom-logo, custom-menu, featured-images, translation-ready, two-columns, right-sidebar, footer-widgets, custom-colors
*/

/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
  --accent:        #ee6c1a;   /* safety amber — radovi na visini / hi-vis */
  --accent-dark:   #cf560c;
  --accent-soft:   #fdf1e7;

  --ink:           #1b1613;   /* warm near-black */
  --ink-2:         #221c18;
  --ink-3:         #2c2621;
  --body:          #4a423c;   /* body text */
  --muted:         #8a8078;   /* captions / meta */
  --line:          #e7e1d9;   /* hairline borders */
  --gray:          #f6f3ef;   /* section--gray */
  --gray-2:        #efe9e2;
  --white:         #ffffff;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(27, 22, 19, .06);
  --shadow-md: 0 18px 40px -18px rgba(27, 22, 19, .28);
  --shadow-lg: 0 40px 80px -30px rgba(27, 22, 19, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============================================================
   2. Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.page-offset { padding-top: 78px; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.015em;
}

p { text-wrap: pretty; }

ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.mt-2 { margin-top: 1.75rem; }

/* ============================================================
   3. Buttons
   ============================================================ */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  line-height: 1;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: 0 12px 26px -10px rgba(238, 108, 26, .6); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 16px 30px -10px rgba(238, 108, 26, .7); }

.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-white:hover { background: #fff; color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); }

/* ============================================================
   4. Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 78px;
}

.nav__logo { display: inline-flex; align-items: center; gap: .7rem; }
.nav__logo-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: var(--accent);
  flex: none;
}
.nav__logo-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav__logo-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
}
.nav__logo-text span { color: var(--accent); }
.nav__logo-sub {
  display: block;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}
.nav__logo img.custom-logo { max-height: 48px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__menu li { position: relative; }
.nav__menu a {
  position: relative;
  padding: .55rem .95rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--body);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after,
.nav__menu a.active::after,
.nav__menu .current-menu-item > a::after,
.nav__menu .current_page_item > a::after { width: 20px; }
.nav__menu a.active,
.nav__menu .current-menu-item > a,
.nav__menu .current_page_item > a { color: var(--ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.35rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  border-radius: 999px;
  transition: background .25s, transform .25s var(--ease);
}
.nav__cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  position: fixed;
  inset: 78px 0 auto 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .5rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-md);
}
.nav__mobile.is-open { transform: translateY(0); }
.nav__mobile-list { display: flex; flex-direction: column; width: 100%; }
.nav__mobile-list li { width: 100%; }
.nav__mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__mobile > a:last-child,
.nav__mobile-list li:last-child a { border-bottom: 0; }
.nav__mobile a span { color: var(--accent); transition: transform .25s var(--ease); }
.nav__mobile a:hover span { transform: translateX(5px); }

/* ============================================================
   5. Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(20,16,13,.94) 8%, rgba(20,16,13,.55) 60%, rgba(20,16,13,.35) 100%),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 85% 15%, rgba(238,108,26,.28), transparent 55%);
}
.hero .container { position: relative; z-index: 2; }
.hero__content {
  max-width: 640px;
  padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(6rem, 12vw, 9rem);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 7vw, 5rem);
  margin: 1.4rem 0 0;
  letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__desc {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  max-width: 540px;
  margin-top: 1.5rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__stat {
  padding: 2rem 0;
  text-align: center;
  position: relative;
}
.hero__stat + .hero__stat::before {
  content: "";
  position: absolute;
  left: 0; top: 25%;
  height: 50%; width: 1px;
  background: rgba(255,255,255,.14);
}
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
  line-height: 1;
}
.hero__stat-label {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   6. Section scaffolding
   ============================================================ */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2 { color: #fff; }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.section--dark .section-label { color: var(--accent); }

.section-header { max-width: 560px; }
.section-header h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-header p { margin-top: 1rem; color: var(--body); }
.section--dark .section-header p { color: rgba(255,255,255,.75); }

.section-header--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

/* header + button row */
.divider {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.divider .section-header { margin-bottom: 0; }

/* ============================================================
   7. About
   ============================================================ */
.about { padding: clamp(4rem, 9vw, 7rem) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__img-wrap { position: relative; }
.about__img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute;
  right: -18px; bottom: -22px;
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: var(--shadow-md);
}
.about__badge-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
}
.about__badge-text {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.about__text h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .6rem; }
.about__text p { margin-top: 1.1rem; }
.about__checklist {
  margin-top: 1.6rem;
  display: grid;
  gap: .8rem;
}
.about__checklist li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 500;
  color: var(--ink-2);
}
.about__checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee6c1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

/* ============================================================
   8. Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card__img { width: 100%; height: 200px; object-fit: cover; }
.service-card__body { padding: 1.75rem; display: flex; flex-direction: column; height: 100%; }
.service-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 14px;
  margin: -3.4rem 0 1.1rem;
  position: relative;
  border: 4px solid #fff;
}
.service-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.4rem; }
.service-card p { margin-top: .7rem; flex-grow: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  transition: gap .25s var(--ease), color .25s;
}
.service-card__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card__link:hover { color: var(--accent); gap: .85rem; }

/* ============================================================
   9. Projects
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.project-card--wide { grid-column: span 2; aspect-ratio: 16 / 8; }
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card:hover img { transform: scale(1.06); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  background: linear-gradient(0deg, rgba(20,16,13,.85) 0%, rgba(20,16,13,.25) 45%, transparent 75%);
}
.project-card__category {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}
.project-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.15;
}

/* ============================================================
   10. Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.testimonial-card__stars {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: .15em;
  margin-bottom: 1.1rem;
}
.testimonial-card > p {
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
  line-height: 1.7;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  object-fit: cover;
}
.testimonial-card__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.testimonial-card__loc {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   11. CTA banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 90% 20%, rgba(255,255,255,.18), transparent 60%);
}
.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-banner p { margin-top: .6rem; color: rgba(255,255,255,.9); font-size: 1.1rem; }

/* ============================================================
   12. Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
.footer .nav__logo-text { color: #fff; }
.footer .nav__logo-sub { color: rgba(255,255,255,.55); }
.footer .nav__logo-mark { background: rgba(255,255,255,.08); }
.footer__tagline { margin-top: 1.1rem; max-width: 300px; font-size: .95rem; }
.footer__social {
  display: flex;
  gap: .6rem;
  margin-top: 1.4rem;
}
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  color: #fff;
  transition: background .25s, transform .25s var(--ease);
}
.footer__social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer__col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
}
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { transition: color .2s, padding-left .2s; }
.footer__col ul a:hover { color: var(--accent); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .9rem;
  font-size: .95rem;
}
.footer__contact-item svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  fill: none; stroke: var(--accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.footer__contact-item a:hover { color: var(--accent); }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer__copy a { color: var(--accent); font-weight: 600; }
.footer__copy a:hover { text-decoration: underline; }

/* ============================================================
   13. Generic content (pages, posts, archives)
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 100% at 90% 10%, rgba(238,108,26,.22), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .breadcrumbs { color: rgba(255,255,255,.65); margin-bottom: .8rem; font-size: .9rem; }
.page-hero .breadcrumbs a:hover { color: var(--accent); }

.content-area { padding: clamp(3rem, 7vw, 5rem) 0; }
.entry {
  max-width: 760px;
  margin-inline: auto;
}
.entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.entry-content { font-size: 1.06rem; }
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2 { font-size: 1.9rem; margin-top: 2.5rem; }
.entry-content h3 { font-size: 1.45rem; margin-top: 2rem; }
.entry-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: .5rem 0 .5rem 1.4rem;
  color: var(--ink-2);
  font-style: italic;
  font-size: 1.15rem;
}
.entry-content .featured-thumb { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-card__meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.post-card h3 { font-size: 1.3rem; margin-top: .5rem; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { margin-top: .6rem; flex-grow: 1; }
.post-card__more { margin-top: 1rem; font-weight: 700; color: var(--accent-dark); font-family: var(--font-display); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Comments */
.comments-area { max-width: 760px; margin: 3.5rem auto 0; }
.comments-area h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.comment-list { display: grid; gap: 1.5rem; }
.comment-list li { list-style: none; background: var(--gray); padding: 1.5rem; border-radius: var(--radius); }
.comment-author { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.comment-metadata { font-size: .82rem; color: var(--muted); }
.comment-respond { margin-top: 2.5rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.wpcf7 input, .wpcf7 textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-top: .35rem;
}
.comment-form p { margin-top: 1rem; }
.comment-form textarea { min-height: 140px; }

/* 404 & search */
.error-404, .no-results {
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0;
}
.error-404 .code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: .9;
  color: var(--accent);
}
.error-404 h1 { margin: 1rem 0; }

.search-form { display: flex; gap: .5rem; max-width: 460px; margin: 1.5rem auto 0; }
.search-form input[type="search"] {
  flex: 1;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
}

/* ============================================================
   14. Scroll reveal + a11y helpers
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ============================================================
   15. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .about__grid { grid-template-columns: 1fr; }
  .about__img-wrap { max-width: 520px; }
  .about__badge { right: 12px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body.page-offset { padding-top: 70px; }
  .nav__inner { height: 70px; }
  .nav__mobile { inset-block-start: 70px; }
  .hero__stats-inner { grid-template-columns: 1fr; }
  .hero__stat + .hero__stat::before { display: none; }
  .hero__stat { padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero__stat:first-child { border-top: 0; }
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .posts-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .divider { flex-direction: column; align-items: flex-start; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
