/* Punime Shtëpie — public site styles. Colors come from the admin Color Palette (CSS variables in <head>). */
:root {
  --primary: #e8772e; --secondary: #1f2a37; --accent: #f6b93b; --bg: #f7f5f2; --text: #1e2329;
  --surface: #fff;
  --muted: color-mix(in srgb, var(--text) 62%, #fff);
  --line: color-mix(in srgb, var(--text) 12%, #fff);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, #fff);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; border: 2px solid transparent; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, #000); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; }

/* Top bar & header */
.topbar { background: var(--secondary); color: #fff; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar-contacts, .topbar-right { display: flex; gap: 20px; align-items: center; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { padding: 2px 6px; border-radius: 6px; font-weight: 700; }
.lang-switch a.active { background: var(--primary); }

.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo img { max-height: 48px; width: auto; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff; }
.logo-mark .icon { width: 22px; height: 22px; }
.nav-desktop { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-desktop > a, .has-dropdown > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 20px 50px rgb(0 0 0 / .15); opacity: 0; visibility: hidden; transition: opacity .2s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown .icon { color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--text); }
.nav-toggle .icon { width: 28px; height: 28px; }

.mobile-nav { position: fixed; inset: 0; z-index: 100; background: var(--surface); padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.2rem; }
.nav-close { background: none; border: 0; padding: 8px; }
.nav-close .icon { width: 28px; height: 28px; }
.mobile-nav nav > a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav .sub { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .sub .icon { color: var(--primary); }

/* Hero slider — text is kept short and boxed to the left so the photo stays visible */
.hero-slider { position: relative; height: clamp(440px, 72vh, 680px); overflow: hidden; background: var(--secondary); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .25) 50%, transparent 75%); }
.slide-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; left: 0; right: 0; }
.slide-text { max-width: 540px; color: #fff; }
.slide-title { font-size: clamp(1.7rem, 4.2vw, 3.1rem); font-weight: 800; margin-bottom: .35em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 12px rgb(0 0 0 / .3); }
.slide-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .95; margin-bottom: 1.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slider-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .18); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 16px; } .slider-arrow.prev .icon { transform: rotate(180deg); }
.slider-arrow.next { right: 16px; }
.slider-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgb(255 255 255 / .5); transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 30px; background: var(--primary); }

/* Stats */
.stats { background: var(--secondary); color: #fff; padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { display: flex; align-items: center; gap: 14px; justify-content: center; }
.stat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgb(255 255 255 / .08); color: var(--accent); }
.stat-icon .icon { width: 26px; height: 26px; }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1; }
.stat-plus { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: .9rem; opacity: .8; }

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 8px; }
.ratio-3x2 { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.ratio-3x2 img { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(0 0 0 / .12); }
.service-card img { transition: transform .5s; }
.service-card:hover img { transform: scale(1.05); }
.service-card-icon { position: absolute; left: 16px; top: -23px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgb(0 0 0 / .2); }
.service-card-body { position: relative; padding: 32px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { margin-bottom: 6px; }
.service-card-body p { color: var(--muted); font-size: .93rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); font-size: .92rem; }
.more .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .more .icon { transform: translateX(4px); }

/* Features & process */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--bg); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.feature-icon .icon { width: 24px; height: 24px; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process li { position: relative; padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }
.process-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--secondary); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Page hero */
.page-hero { padding: 40px 0; background: linear-gradient(180deg, var(--surface), var(--bg)); }
.page-hero-simple { padding: 32px 0 8px; }
.page-hero-simple .lead { max-width: 720px; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }
.hero-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary); color: #fff; margin-bottom: 14px; }
.hero-icon .icon { width: 28px; height: 28px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { border-radius: 18px; box-shadow: 0 20px 50px rgb(0 0 0 / .15); }

/* Service detail */
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.prose { font-size: 1.03rem; }
.prose p { color: color-mix(in srgb, var(--text) 85%, #fff); }
.prose h2, .prose h3 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--surface); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.rich-sm p:last-child, .rich-sm ul:last-child { margin-bottom: 1em; }
.rich-sm ul, .rich-sm ol { padding-left: 1.2em; }
.team-card .rich-sm a { color: var(--accent); text-decoration: underline; }
.price-card .rich-sm a { color: var(--primary); text-decoration: underline; }
.team-card { padding: 28px; border-radius: var(--radius); background: var(--secondary); color: #fff; }
.team-card p { opacity: .85; }
.team-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; background: var(--primary); font-weight: 700; font-size: .88rem; margin-bottom: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--accent); margin-top: 2px; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.work h3 { font-size: 1.02rem; margin-bottom: 4px; }
.work p { margin: 0; color: var(--muted); font-size: .93rem; }
.work-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; flex-shrink: 0; }
.work-icon .icon { width: 18px; height: 18px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { border-radius: 12px; }
.gallery img { transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }
.price-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.price-card { padding: 32px; border-radius: var(--radius); background: var(--bg); border: 2px solid var(--primary-soft); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); }

/* Contact */
.contact-section { background: var(--surface); border-top: 1px solid var(--line); }
.view-contact .contact-section { border-top: 0; padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list span { font-weight: 700; }
.cities-box { padding: 18px 20px; border-radius: var(--radius); background: var(--secondary); color: #fff; }
.cities-box strong { display: flex; align-items: center; gap: 8px; }
.cities-box .icon { color: var(--accent); }
.cities-line { margin: 6px 0 0; font-weight: 700; font-size: 1.05rem; color: #fff !important; letter-spacing: .01em; }
.contact-form { padding: 28px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d93636; }
.field-err { display: block; color: #d93636; font-size: .82rem; min-height: 0; }
.form-status { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; }
.form-status.ok { background: #e6f6ec; color: #17693a; }
.form-status.err { background: #fdecec; color: #a32121; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.form-note a { text-decoration: underline; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Footer */
.footer { background: var(--secondary); color: rgb(255 255 255 / .82); padding-top: 52px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer-services { columns: 2; column-gap: 20px; }
.footer-services li { margin-bottom: 6px; break-inside: avoid; }
.footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.footer-contact .icon { color: var(--accent); width: 18px; height: 18px; }
.logo-footer { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding: 18px 0; font-size: .85rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.credit { margin-top: 10px; opacity: .75; }
.credit a { text-decoration: underline; }

/* Mobile bar, cookie, lightbox */
.mobile-bar { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 20px 60px rgb(0 0 0 / .25); font-size: .92rem; }
.cookie a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie .btn { padding: 9px 16px; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgb(0 0 0 / .9); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: #fff; }
.lightbox-close .icon { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .features, .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero-grid, .intro-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-grid, .works { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  body { padding-bottom: 64px; }
  .hide-sm { display: none !important; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  .hero-slider { height: 78vh; min-height: 460px; max-height: 620px; }
  .slide::after { background: linear-gradient(0deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .2) 55%, transparent 80%); }
  .slide-content { align-items: flex-end; padding-bottom: 64px; }
  .slider-arrow { display: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .stat { justify-content: flex-start; }
  .service-grid, .works, .features, .process { grid-template-columns: 1fr; }
  .gallery { gap: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-in { flex-direction: column; }
  .logo { font-size: 1.1rem; }
  .logo-mark { width: 36px; height: 36px; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(0 0 0 / .08); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: .78rem; font-weight: 700; }
  .mobile-bar a.primary { background: var(--primary); color: #fff; }
  .cookie { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
