/*
Theme Name: Údržba exteriérov
Theme URI: https://udrzbaexterierov.sk
Author: udrzbaexterierov.sk
Description: Prezentačná jednostránková téma pre celoročnú údržbu exteriérov – kosenie, lístie, príprava záhrady na zimu, odhŕňanie snehu. Meno, kontakt, ceny a texty sa upravujú vo Vzhľad → Prispôsobiť → Údržba exteriérov.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: udrzba
*/

:root {
	--green-900: #14301f;
	--green-800: #1d4430;
	--green-700: #255a3d;
	--green-600: #2f7a4f;
	--green-100: #e6f0e8;
	--green-50: #f3f8f4;
	--sand: #f7f4ec;
	--amber: #e8a33d;
	--amber-dark: #c9831f;
	--ice: #e9f2f8;
	--ink: #1a2420;
	--muted: #5a6b62;
	--line: #dfe7e1;
	--white: #ffffff;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(20, 48, 31, .08);
	--font-head: "Fraunces", Georgia, serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); font-weight: 600; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.section { padding: 80px 0; }
.section--tint { background: var(--green-50); }
.section--sand { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
	text-transform: uppercase; color: var(--green-600); margin-bottom: 12px;
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease;
	font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--green-900); }
.btn--primary:hover { background: var(--amber-dark); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--green-800); color: var(--white); }
.btn--dark:hover { background: var(--green-900); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand-mark {
	width: 40px; height: 40px; border-radius: 12px; background: var(--green-700);
	display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; }
.brand-text span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.main-nav { display: none; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; margin-left: 26px; }
.main-nav a:hover { color: var(--green-600); }
.header-call { padding: 10px 18px; font-size: .92rem; }
.header-call .label-long { display: none; }

/* Hero */
.hero {
	position: relative; color: var(--white); overflow: hidden;
	background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image: var(--hero-image, none); background-size: cover; background-position: center;
	opacity: .28;
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 80V40c120 18 240 26 360 20S600 34 720 30s240 6 360 14 240 12 360-4v40z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.hero .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 130px; }
.hero h1 { color: var(--white); max-width: 760px; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-lead { font-size: 1.18rem; max-width: 600px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.92); }
.hero-badges svg { width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; }

/* Seasons strip */
.seasons { margin-top: -70px; position: relative; z-index: 2; }
.seasons-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.season {
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 22px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line);
}
.season-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.season-icon svg { width: 26px; height: 26px; }
.season--summer .season-icon { background: var(--green-100); color: var(--green-700); }
.season--autumn .season-icon { background: #fbefdc; color: var(--amber-dark); }
.season--winter .season-icon { background: var(--ice); color: #2d6a96; }
.season h3 { margin-bottom: 4px; font-size: 1.1rem; }
.season p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Services */
.services-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.service {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.service-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; }
.service--winter .service-icon { background: var(--ice); color: #2d6a96; }
.service--autumn .service-icon { background: #fbefdc; color: var(--amber-dark); }
.tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-700); }
.service--winter .tag { background: var(--ice); color: #2d6a96; }
.service--autumn .tag { background: #fbefdc; color: var(--amber-dark); }
.service p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-price { font-weight: 800; color: var(--green-900); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; }
.service-price small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.service--featured { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.service--featured h3, .service--featured .service-price { color: var(--white); }
.service--featured p, .service--featured .service-price small { color: rgba(255,255,255,.78); }
.service--featured .service-price { border-top-color: rgba(255,255,255,.22); }
.service--featured .service-icon { background: rgba(255,255,255,.12); color: var(--amber); }
.service--featured .tag { background: var(--amber); color: var(--green-900); }

.note {
	margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; background: var(--sand);
	border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--amber);
}
.note svg { width: 24px; height: 24px; color: var(--amber-dark); flex-shrink: 0; margin-top: 2px; }
.note p { margin: 0; }

/* Why */
.why-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
.why-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
.why-item { display: flex; gap: 16px; background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.why-item .num {
	width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: var(--white);
	display: grid; place-items: center; flex-shrink: 0;
}
.why-item .num svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.promise {
	background: var(--green-800); color: var(--white); border-radius: 24px; padding: 34px 28px; position: relative; overflow: hidden;
}
.promise::after {
	content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
	background: rgba(232,163,61,.18);
}
.promise h2 { color: var(--white); }
.promise p { color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.promise .signature { font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--amber); margin: 0; }

/* Pricing */
.price-table { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .name { font-weight: 700; }
.price-row .name small { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }
.price-row .value { font-weight: 800; color: var(--green-700); font-size: 1.05rem; white-space: nowrap; }
.price-row--highlight { background: var(--ice); }
.price-row--highlight .value { color: #2d6a96; }
.price-foot { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.example {
	margin-top: 22px; background: var(--green-50); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.example svg { width: 24px; height: 24px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.example p { margin: 0; }

/* Steps */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 24px 24px; border: 1px solid var(--line); }
.step::before {
	counter-increment: step; content: counter(step);
	font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--amber); line-height: 1; display: block; margin-bottom: 10px;
}
.step p { margin: 0; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
.about-photo {
	aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--green-100);
	display: grid; place-items: center; color: var(--green-700); max-width: 420px; width: 100%;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder { text-align: center; padding: 20px; }
.about-photo .placeholder svg { width: 70px; height: 70px; margin: 0 auto 10px; opacity: .6; }
.about-text .lead { font-size: 1.12rem; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.facts li { background: var(--green-50); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; color: var(--green-800); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green-600); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: var(--green-900); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,.78); }
.contact .eyebrow { color: var(--amber); }
.contact-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
	display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius); padding: 18px 20px; color: var(--white); text-decoration: none; transition: background .15s ease;
}
a.contact-card:hover { background: rgba(255,255,255,.13); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--amber); color: var(--green-900); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 600; }
.contact-card strong { font-size: 1.1rem; word-break: break-word; }
.contact-form { background: var(--white); color: var(--ink); border-radius: 22px; padding: 26px 22px; }
.contact-form h3 { margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700; }
.form-msg--ok { background: var(--green-100); color: var(--green-800); }
.form-msg--err { background: #fde8e6; color: #9b2c22; }
.contact-form .btn { width: 100%; }
.form-small { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* Footer */
.site-footer { background: #0f2418; color: rgba(255,255,255,.7); padding: 30px 0 90px; font-size: .9rem; }
.site-footer .container { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); }

/* Mobile call bar */
.mobile-cta {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 10px;
}
.mobile-cta .btn { flex: 1; padding: 14px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* Generic page content (index.php) */
.page-content { padding: 60px 0; }
.page-content .container { max-width: 780px; }

@media (min-width: 640px) {
	.seasons-grid { grid-template-columns: repeat(3, 1fr); }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.why-list { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.header-call .label-long { display: inline; }
	.header-call .label-short { display: none; }
}
@media (min-width: 960px) {
	.section { padding: 100px 0; }
	.main-nav { display: flex; }
	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.why-grid { grid-template-columns: 1.35fr 1fr; gap: 40px; }
	.about-grid { grid-template-columns: 420px 1fr; gap: 60px; }
	.contact-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
	.contact-form { padding: 32px; }
	.mobile-cta { display: none; }
	.site-footer { padding-bottom: 30px; }
	.site-footer .container { flex-direction: row; justify-content: space-between; }
	.hero .container { padding-top: 100px; padding-bottom: 170px; }
}
