/*
Theme Name: Zaléváme.cz
Theme URI: https://zalevame.cz
Author: Úklidy.com s.r.o.
Description: Firemní šablona pro realizace a servis automatických závlah.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: zalevame
*/

:root {
  --ink: #102017;
  --green: #0d4f35;
  --green-deep: #073824;
  --lime: #96d22f;
  --blue: #159bd7;
  --cream: #f5f6ef;
  --white: #ffffff;
  --line: #dfe6dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 88px;
  padding: 14px max(5vw, 28px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,32,23,.08);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { position: relative; width: 38px; height: 45px; display: inline-block; }
.drop {
  position: absolute; top: 0; left: 3px; display: grid; place-items: center;
  width: 30px; height: 39px; border-radius: 60% 40% 60% 40%;
  color: transparent; background: var(--blue); transform: rotate(45deg);
}
.drop::after {
  content: ""; position: absolute; inset: 5px 12px 14px 5px;
  border-left: 2px solid rgba(255,255,255,.8); border-radius: 50%;
}
.leaf {
  position: absolute; right: -3px; bottom: 0; z-index: 2;
  display: grid; place-items: center; width: 22px; height: 17px;
  color: transparent; background: var(--lime); border-radius: 100% 0 100% 0;
  transform: rotate(-18deg); border: 2px solid white;
}
.brand strong { display: block; font-size: 20px; letter-spacing: -.02em; color: var(--green-deep); }
.brand small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #587064; }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
nav a { transition: color .2s; }
nav a:hover { color: var(--green); }
.header-phone { display: flex; flex-direction: column; padding-left: 28px; border-left: 1px solid var(--line); font-weight: 800; color: var(--green-deep); }
.header-phone span { margin-bottom: 3px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6d7d72; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,33,21,.88) 0%, rgba(4,33,21,.60) 48%, rgba(4,33,21,.05) 78%),
    url("assets/hero-garden.jpg") center/cover no-repeat;
  color: white;
}
.hero-shade { position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(4,33,21,.55)); }
.hero-content { position: relative; z-index: 2; width: min(720px, 90vw); margin-left: max(8vw, 32px); padding: 78px 0 150px; }
.eyebrow { margin: 0 0 18px; color: #c2ef70; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: #c7ee78; font-style: normal; }
.hero-copy { max-width: 590px; margin: 28px 0 32px; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 26px; border: 0; border-radius: 4px; font-size: 13px; font-weight: 900;
  letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
.button-primary { background: var(--lime); color: #16320d; box-shadow: 0 12px 28px rgba(77,120,18,.25); }
.button-primary:hover { background: #abe147; transform: translateY(-1px); }
.button-ghost { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: white; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: rgba(255,255,255,.78); font-size: 13px; }
.hero-card {
  position: absolute; right: 6vw; bottom: 0; z-index: 3;
  display: flex; gap: 18px; width: min(500px, 44vw); padding: 25px 28px;
  background: white; color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero-card-icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 900; color: var(--green-deep); }
.hero-card strong { display: block; margin-bottom: 7px; font-size: 18px; }
.hero-card p { margin: 0; color: #526158; font-size: 13px; line-height: 1.55; }

.section { padding: 108px max(8vw, 30px); }
.intro { background: var(--cream); }
.section-heading { max-width: 760px; }
.section-heading h2, .smart h2, .contact h2 {
  margin: 0; font-size: clamp(37px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.045em;
}
.section-lead { max-width: 720px; margin: 24px 0 48px; color: #536159; font-size: 17px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 34px; background: white; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 42px rgba(26,58,39,.09); }
.service-card > span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 46px; border-radius: 50%; background: #e8f4d5; color: var(--green); font-weight: 900; }
.service-card h3 { margin: 0 0 15px; font-size: 25px; }
.service-card p { margin: 0; color: #657168; line-height: 1.65; }
.service-card a { position: absolute; left: 34px; bottom: 30px; font-size: 13px; font-weight: 900; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.service-card a b { margin-left: 8px; color: var(--lime); font-size: 18px; }

.irrigation-types {
  background: white;
}
.irrigation-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-top: 48px;
}
.irrigation-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--green-deep);
  color: white;
}
.irrigation-feature img,
.irrigation-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.irrigation-feature::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(4, 33, 21, .92));
}
.irrigation-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  z-index: 2;
}
.irrigation-caption span,
.water-copy > span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.irrigation-caption h3,
.water-copy h3 {
  margin: 10px 0 12px;
  font-size: 30px;
}
.irrigation-caption p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}
.irrigation-side {
  display: grid;
  grid-template-rows: 260px 1fr;
  background: #e8f1df;
}
.irrigation-side picture {
  min-height: 0;
  overflow: hidden;
}
.water-copy {
  padding: 32px;
}
.water-copy p {
  margin: 0;
  color: #58665d;
  line-height: 1.65;
}
.type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.type-pills span {
  padding: 9px 12px;
  border: 1px solid #c8d7c6;
  border-radius: 30px;
  background: rgba(255,255,255,.55);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.rainwater {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 7vw;
  background: #edf5f5;
}
.rainwater-diagram {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(145deg, #d7eeee, #b9dadd);
}
.rainwater-diagram::before {
  content: "";
  width: 230px;
  height: 290px;
  border: 10px solid #0b4c63;
  border-radius: 34px 34px 95px 95px;
  background: linear-gradient(to top, #168cb7 0 58%, rgba(255,255,255,.5) 58%);
  box-shadow: 0 24px 45px rgba(13,79,83,.17);
}
.rainwater-diagram::after {
  content: "DEŠŤOVÁ VODA";
  position: absolute;
  padding-top: 60px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.pump-mark {
  position: absolute;
  right: 18%;
  bottom: 18%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(0,0,0,.16);
}
.rainwater-copy p:not(.eyebrow) {
  color: #566861;
  font-size: 17px;
  line-height: 1.7;
}
.rainwater-copy ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.rainwater-copy li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: #40544b;
}
.rainwater-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.smart { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 720px; padding-top: 90px; padding-bottom: 90px; background: var(--green-deep); color: white; }
.smart-visual { position: relative; display: grid; place-items: center; min-height: 530px; overflow: hidden; }
.smart-visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2b815c, #0a412c); }
.phone-shell { position: relative; z-index: 3; width: 260px; padding: 17px 14px 14px; border: 8px solid #17201b; border-radius: 38px; background: #f6f7f2; color: var(--ink); box-shadow: 0 28px 60px rgba(0,0,0,.4); transform: rotate(-4deg); }
.phone-top { width: 65px; height: 15px; margin: -9px auto 16px; border-radius: 0 0 12px 12px; background: #17201b; }
.app-card > span { display: block; color: #66766b; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.app-card > b { display: block; margin: 4px 0 18px; font-size: 18px; color: var(--green-deep); }
.app-status { display: grid; place-items: center; width: 130px; height: 130px; margin: 0 auto 20px; border: 12px solid var(--lime); border-right-color: #dde4d7; border-radius: 50%; }
.app-status i { font-size: 28px; font-style: normal; font-weight: 900; color: var(--green); }
.app-status small { margin-top: -34px; font-size: 9px; color: #657168; }
.zone-row { display: flex; justify-content: space-between; padding: 13px 3px; border-top: 1px solid #dfe5dc; font-size: 12px; }
.app-card button { width: 100%; margin-top: 8px; padding: 11px; border: 0; border-radius: 5px; background: var(--green); color: white; font-size: 11px; font-weight: 800; }
.signal { position: absolute; border: 1px solid rgba(174,225,93,.25); border-radius: 50%; }
.signal-one { width: 520px; height: 520px; }
.signal-two { width: 610px; height: 610px; }
.smart-copy { align-self: center; max-width: 700px; padding-left: 50px; }
.smart-copy > p:not(.eyebrow) { max-width: 650px; margin: 25px 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.smart-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 24px; padding: 0; list-style: none; }
.smart-copy li { position: relative; padding-left: 26px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.5; }
.smart-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.smart-note { display: block; max-width: 620px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); line-height: 1.5; }

.care { background: #0f2118; color: white; }
.section-heading.light { max-width: 850px; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 16px; margin-top: 52px; }
.care article { padding: 38px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.025); }
.care article.featured { background: white; color: var(--ink); border-top: 5px solid var(--lime); transform: translateY(-12px); }
.season { color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.care h3 { margin: 14px 0 24px; font-size: 26px; }
.care ul { margin: 0 0 30px; padding-left: 19px; color: rgba(255,255,255,.7); line-height: 1.85; }
.care .featured ul { color: #5f6c63; }
.care .featured .button { margin-top: 9px; }

.process { background: white; }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.process-row > div { min-height: 170px; display: flex; gap: 18px; align-items: flex-start; padding: 35px 24px; background: white; }
.process-row b { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; }
.process-row span { color: #637067; font-size: 13px; line-height: 1.5; }
.process-row strong { display: block; margin-bottom: 9px; color: var(--ink); font-size: 17px; }

.service-area {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 8vw;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--green);
  color: white;
}
.service-area h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.service-area > p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 16px;
  line-height: 1.75;
}

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: #e8f1df; }
.contact-copy { align-self: center; }
.contact-copy > p:not(.eyebrow) { max-width: 540px; margin: 22px 0 32px; color: #5d6a60; line-height: 1.7; }
.contact-links { display: grid; gap: 12px; }
.contact-links a { display: flex; flex-direction: column; }
.contact-links span { color: #758078; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.contact-links b { margin-top: 4px; font-size: 21px; color: var(--green-deep); }
form { padding: 38px; background: white; box-shadow: 0 18px 50px rgba(28,58,39,.1); }
label { display: block; margin-bottom: 18px; color: #435249; font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #ccd6cd; border-radius: 3px; background: #fbfcfa; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,79,53,.1); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form small { display: block; margin-top: 14px; color: #7a857d; line-height: 1.4; }
.form-success { margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid var(--lime); background: #edf8dc; color: var(--green-deep); font-weight: 800; }

footer { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; align-items: center; padding: 42px max(8vw, 30px); background: #071a11; color: rgba(255,255,255,.65); font-size: 12px; }
.footer-brand { margin: 0; }
.footer-brand strong { color: white; }
footer p { line-height: 1.6; }
footer > div { display: flex; flex-direction: column; gap: 7px; text-align: right; line-height: 1.45; }
footer b { color: white; }
.company-details {
  display: grid;
  gap: 3px;
  color: rgba(255,255,255,.7);
}
.company-details strong {
  color: white;
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero { min-height: 670px; background-position: 58% center; }
  .hero-card { right: 4vw; width: 48vw; }
  .service-grid, .care-grid { grid-template-columns: 1fr; }
  .irrigation-grid { grid-template-columns: 1fr; }
  .rainwater { grid-template-columns: 1fr; }
  .service-area { grid-template-columns: 1fr; gap: 28px; }
  .service-card { min-height: 280px; }
  .smart { grid-template-columns: 1fr 1.25fr; padding-left: 3vw; padding-right: 5vw; }
  .smart-copy { padding-left: 25px; }
  .smart-copy ul { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > div { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 700px) {
  .site-header { min-height: 70px; padding: 10px 18px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .brand-mark { transform: scale(.8); transform-origin: left center; width: 32px; }
  .header-phone { padding-left: 13px; font-size: 13px; }
  .header-phone span { display: none; }
  .hero { min-height: 700px; align-items: end; background-position: 65% center; }
  .hero-content { width: auto; margin: 0; padding: 150px 22px 190px; background: linear-gradient(0deg, rgba(4,33,21,.92) 25%, transparent 100%); }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 17px; }
  .hero-badges { gap: 11px; font-size: 11px; }
  .hero-card { left: 18px; right: 18px; bottom: 18px; width: auto; padding: 20px; }
  .hero-card-icon { flex-basis: 44px; height: 44px; }
  .section { padding: 74px 20px; }
  .section-heading h2, .smart h2, .contact h2 { font-size: 39px; }
  .smart { grid-template-columns: 1fr; padding: 65px 20px; }
  .irrigation-feature { min-height: 450px; }
  .irrigation-caption { left: 22px; right: 22px; bottom: 22px; }
  .irrigation-caption h3, .water-copy h3 { font-size: 25px; }
  .irrigation-side { grid-template-rows: 220px 1fr; }
  .rainwater-diagram { min-height: 360px; }
  .smart-visual { min-height: 490px; order: 2; }
  .smart-copy { padding: 0; order: 1; }
  .smart-visual::before { width: 340px; height: 340px; }
  .signal-one { width: 400px; height: 400px; }
  .signal-two { width: 460px; height: 460px; }
  .care article.featured { transform: none; }
  .process-row { grid-template-columns: 1fr; }
  .process-row > div { min-height: 120px; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; }
  footer > div { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
