/* ── Custom properties ── */
:root {
  --color-primary: #E8650A;
  --color-secondary: #2D3748;
  --color-bg: #ffffff;
  --color-bg-light: #F7F7F7;
  --color-text: #333333;
  --color-text-muted: #666666;
  --font-main: 'Barlow', sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

/* ── Reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container { max-width: 1200px; padding: 0 24px; margin: 0 auto; }

/* ── Typography ── */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.4; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline-white {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #c9560a; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-white { background: #fff; color: var(--color-secondary); }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-full { width: 100%; display: block; }

/* ── Cards ── */
.service-card, .value-card, .blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── Sections ── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ── Page header ── */
.page-header {
  background: var(--color-secondary);
  color: #fff;
  padding: 60px 0 48px;
  min-height: 200px;
  display: flex;
  align-items: center;
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.page-subtitle { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-top: 0.5rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.75rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ── Sticky header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 70px;
}
.header-logo a { display: flex; align-items: center; gap: 8px; }
.header-logo img { height: 44px; width: auto; }
.logo-fallback { font-size: 1.4rem; font-weight: 700; color: var(--color-primary); }

/* ── Nav ── */
.header-nav { margin-left: auto; }
.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--color-primary); }
.nav-list > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--color-bg-light); color: var(--color-primary); }

/* Header phone */
.header-phone a {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color var(--transition);
}
.header-phone a:hover { color: var(--color-primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--color-secondary) url('/wp-content/themes/jkmont/assets/images/hero-bg.jpg') center/cover no-repeat;
  background-size: cover;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 740px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.25rem; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 2rem; color: rgba(255,255,255,0.9); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Services grid ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { padding: 2rem; transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-icon { color: var(--color-primary); margin-bottom: 1.25rem; }
.service-card h3 { margin-bottom: 0.75rem; }
.card-link { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; transition: gap var(--transition); }
.card-link:hover { text-decoration: underline; }

/* ── About preview ── */
.about-preview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-preview-text h2 { margin-bottom: 1rem; }
.about-preview-text p { margin-bottom: 1.5rem; color: var(--color-text-muted); }
.about-preview-image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-placeholder { background: #e0e0e0; border-radius: var(--radius); aspect-ratio: 4/3; }

/* ── Projects grid ── */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.project-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-thumb:hover img { transform: scale(1.04); }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.45); }
.gallery-overlay svg { opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; }



/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform var(--transition); }
.faq-question[aria-expanded="true"] { color: var(--color-primary); }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 18px; color: var(--color-text-muted); }

/* ── CTA Banner ── */
.cta-banner { background: var(--color-primary); color: #fff; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-banner-btns { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── Service blocks ── */
.service-block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.service-block-reverse .service-block-inner { direction: rtl; }
.service-block-reverse .service-block-text,
.service-block-reverse .service-block-image { direction: ltr; }
.service-block-image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-block-text h2 { margin-bottom: 1rem; }
.service-block-text p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* ── Content with sidebar ── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.content-section { padding: 60px 0; }
.content-main h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { color: var(--color-text-muted); }
.styled-list { padding-left: 0; margin: 1rem 0 1.5rem; }
.styled-list li { padding: 6px 0 6px 24px; position: relative; color: var(--color-text-muted); }
.styled-list li::before { content: '→'; position: absolute; left: 0; color: var(--color-primary); }
.styled-list li a { color: var(--color-primary); }
.styled-list li a:hover { text-decoration: underline; }

/* ── Sidebar card ── */
.sidebar-contact-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.sidebar-contact-card h3 { margin-bottom: 0.75rem; }
.sidebar-contact-card p { color: var(--color-text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.sidebar-links h3 { margin-bottom: 0.75rem; }
.sidebar-links ul { padding: 0; }
.sidebar-links li { padding: 6px 0; border-bottom: 1px solid #e5e7eb; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { color: var(--color-text-muted); transition: color var(--transition); font-size: 0.95rem; }
.sidebar-links a:hover { color: var(--color-primary); }

/* ── About main ── */
.about-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--color-text-muted); margin-bottom: 1rem; }
.about-image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ── Values ── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.value-card { padding: 2rem; text-align: center; }
.value-icon { margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.95rem; color: var(--color-text-muted); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info > p { color: var(--color-text-muted); margin-bottom: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; background: var(--color-bg-light); border-radius: var(--radius); }
.contact-card-icon { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; font-weight: 600; margin-bottom: 4px; }
.contact-card a { color: var(--color-primary); font-size: 1.05rem; display: block; }
.contact-note { font-size: 0.8rem; color: var(--color-text-muted); }
.contact-card span { display: block; color: var(--color-text-muted); }

/* ── Contact form ── */
.contact-form-wrap h2 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.95rem; }
.form-group label span { color: var(--color-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,101,10,0.15);
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-response { margin-top: 1rem; padding: 12px 16px; border-radius: var(--radius); display: none; font-weight: 500; }
.form-response.success { display: block; background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-response.error { display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.blog-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-date { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.5rem; display: block; }
.blog-card-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-excerpt { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

/* ── Single post ── */
.post-thumbnail img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 2rem; }
.post-meta { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.post-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.post-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.post-content a { color: var(--color-primary); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--color-text-muted); }
.post-content li { margin-bottom: 0.4rem; }
.post-navigation { display: flex; justify-content: space-between; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; font-size: 0.95rem; }
.post-navigation a { color: var(--color-primary); }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination .current {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.pagination a:hover, .pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ── Footer ── */
.site-footer { background: var(--color-secondary); color: rgba(255,255,255,0.8); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 3rem; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-logo .logo-fallback { font-size: 1.3rem; font-weight: 700; color: var(--color-primary); margin-bottom: 1rem; display: block; }
.footer-about p { font-size: 0.95rem; color: rgba(255,255,255,0.65); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color var(--transition); padding: 6px; }
.footer-social a:hover { color: var(--color-primary); }
.footer-links h3, .footer-contact h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); transition: color var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-primary); }
.footer-contact address { font-style: normal; }
.contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.contact-item svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.contact-item a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.45); text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ── 404 ── */
.error-code { font-size: 8rem; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 1rem; }
.error-nav { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Lightbox ── */
#jk-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
#jk-lightbox.open { opacity: 1; }
#jk-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 4px; object-fit: contain; }
.lb-btn {
  position: fixed;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  border-radius: 50%;
}
.lb-btn:hover { background: rgba(255,255,255,0.2); }
#lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.5rem; }
#lb-prev { left: 16px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.5rem; }
#lb-next { right: 16px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.5rem; }
#lb-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.9rem; pointer-events: none; }

/* ── content-visibility for below-fold sections ── */
.services-section, .about-preview, .projects-preview, .reviews-section, .faq-section, .gallery-section, .blog-section, .about-main, .values-section, .contact-section, .content-section { content-visibility: auto; contain-intrinsic-size: 0 400px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview-inner, .service-block-inner, .about-main-grid, .contact-grid { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .content-with-sidebar { grid-template-columns: 1fr 280px; gap: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  section { padding: 48px 0; }
  .page-header { padding: 40px 0 32px; min-height: 140px; }

  .hero-section { height: 85vh; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .about-preview-inner { grid-template-columns: 1fr; }
  .service-block-inner { grid-template-columns: 1fr; }
  .service-block-reverse .service-block-inner { direction: ltr; }
  .service-block-image { order: -1; }
  .about-main-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-contact-card { position: static; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Hamburger */
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    margin-left: 0;
    z-index: 99;
  }
  .header-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 1rem; }
  .dropdown li a { padding: 8px 0; border-bottom: 1px solid #f8f8f8; }
}

/* ═══════════════════════════════════════════
   IZMJENE v2
═══════════════════════════════════════════ */

/* ── Touch targets ── */
a, button { min-height: 44px; }
nav a, .card-link, .footer-links a, .breadcrumb a { min-height: unset; }

/* ── Logo veličina ── */
.header-logo img { height: 70px; width: auto; }
.header-inner { height: 86px; }

/* ── Header phone — desktop ── */
.header-phone { display: flex; align-items: center; }
.header-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  min-height: 44px;
  transition: opacity var(--transition);
}
.header-phone-link:hover { opacity: 0.85; }

/* ── Footer phone ── */
.footer-phone-link {
  display: block;
  color: var(--color-primary) !important;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25D366 !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}
.footer-whatsapp-link:hover { opacity: 0.85; }

/* ── Contact phone highlight ── */
.contact-phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary) !important;
  display: block;
  margin: 0.4rem 0 0.25rem;
}
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25D366;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.contact-whatsapp:hover { opacity: 0.85; }

/* ── Floating buttons ── */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  min-height: unset;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,0,0,0.28); }
.float-phone { background: #E8650A; box-shadow: 0 4px 16px rgba(232,101,10,0.4); }
.float-phone:hover { box-shadow: 0 6px 22px rgba(232,101,10,0.55); }
.float-whatsapp { background: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.float-whatsapp:hover { box-shadow: 0 6px 22px rgba(37,211,102,0.55); }
.float-phone::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232,101,10,0.4);
  animation: pulse 2s infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── Hero parallax + animacije ── */
.hero-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.hero-content {
  animation: heroFadeUp 1s ease forwards;
  opacity: 0;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-subtitle { animation: heroFadeUp 1s 0.2s ease forwards; opacity: 0; }
.hero-buttons  { animation: heroFadeUp 1s 0.4s ease forwards; opacity: 0; }
.hero-title { text-shadow: 0 2px 8px rgba(0,0,0,0.4); font-weight: 700; line-height: 1.15; }

/* Hero highlight */
.hero-highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.8s 0.8s ease forwards;
}
@keyframes underlineGrow { to { transform: scaleX(1); } }

/* ── Section title underline ── */
.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 0.75rem;
}

/* ── Included cards grid ── */
.included-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.included-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.included-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.included-card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.included-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}
.included-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Design poboljšanja ── */
.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.btn-primary { padding: 0.85rem 2rem; border-radius: 4px; font-weight: 600; letter-spacing: 0.03em; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: #d45a08; transform: translateY(-2px); }

/* ── Mobile responsive dodaci ── */
@media (max-width: 768px) {
  .site-header { padding: 0; }
  .header-inner { height: 70px; }
  .header-logo img { height: 52px; }
  .header-phone { display: none; }
  .hero-section { background-attachment: scroll; }
  .hero-section { min-height: 85vh; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; text-align: center; }
  .included-cards-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .contact-item { text-align: left; }
}
@media (max-width: 480px) {
  .included-cards-grid { grid-template-columns: 1fr; }
  .floating-buttons { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; }
  .float-phone::before { width: 50px; height: 50px; }
  .included-grid { grid-template-columns: 1fr; }
}

/* ── Stats section ── */
.stats-section {
  background: #2D3748;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #E8650A;
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #E8650A;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
