/* ============================================================
   LowTide — Zahrada & Domov
   Coastal luxury design studio — stylesheet
   Palette: Ocean Blue #78C7DD | Sand Beige #E6D4B8
            Pearl White #FBFBF9 | Slate Gray #70767C
            Bronze Gold #C48749
   ============================================================ */

:root {
  --ocean: #78C7DD;
  --ocean-deep: #4a9cb4;
  --sand: #E6D4B8;
  --pearl: #FBFBF9;
  --slate: #70767C;
  --slate-dark: #3d4247;
  --bronze: #C48749;
  --bronze-dark: #a06d34;
  --ink: #2b2f33;
  --line: rgba(112, 118, 124, 0.18);
  --shadow-sm: 0 2px 10px rgba(43, 47, 51, 0.06);
  --shadow-md: 0 12px 34px rgba(43, 47, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 47, 51, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font-head: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--bronze-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--bronze); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--slate-dark);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: .9rem;
}

.section { padding: 96px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #fff, #f4efe6); }
.section--slate { background: var(--slate-dark); color: #e9ecee; }
.section--slate h2, .section--slate h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section--slate .section-head p { color: #c3c9cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .98rem;
  padding: 14px 30px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-align: center; line-height: 1;
}
.btn--primary { background: var(--bronze); color: #fff; box-shadow: 0 10px 24px rgba(196, 135, 73, 0.3); }
.btn--primary:hover { background: var(--bronze-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(196, 135, 73, 0.38); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--slate-dark); }
.btn--ghost:hover { background: var(--slate-dark); color: #fff; border-color: var(--slate-dark); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--slate-dark); }
.btn--light:hover { background: var(--ocean); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(251, 251, 249, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(251, 251, 249, 0.95); box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--slate-dark); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span b { color: var(--bronze); font-weight: 600; }
.brand small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate-dark); font-weight: 500; font-size: .96rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--bronze); transition: width .25s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 600; color: var(--slate-dark); white-space: nowrap; }
.nav-phone:hover { color: var(--bronze); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--slate-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(120deg, rgba(61,66,71,.72) 0%, rgba(61,66,71,.35) 45%, rgba(120,199,221,.20) 100%),
              var(--hero-img, #3d4247) center/cover no-repeat;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--pearl));
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: var(--ocean); }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.28); }
.hero p { font-size: 1.18rem; color: #eef2f4; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 2.3rem; color: var(--ocean); display: block; line-height: 1; }
.hero-stats .stat span { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: #d7dde0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-media .badge {
  position: absolute; bottom: -26px; left: -26px; background: #fff; padding: 20px 26px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); border-left: 4px solid var(--bronze);
}
.about-media .badge b { font-family: var(--font-head); font-size: 2rem; color: var(--bronze); display: block; }
.about-media .badge span { font-size: .84rem; color: var(--slate); }
.about-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.about-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--slate-dark); }
.about-list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--bronze); font-size: 1.1rem; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: #e7ecef; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--slate); font-size: .98rem; flex: 1; }
.card-price { margin-top: 16px; font-weight: 700; color: var(--bronze-dark); font-size: 1.02rem; }
.card-price small { font-weight: 500; color: var(--slate); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; position: relative; background: #e7ecef; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figure::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px; color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(43,47,51,.78)); opacity: 0; transition: opacity .3s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; background: rgba(43,47,51,.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 30px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step b { counter-increment: step; font-family: var(--font-head); font-size: 2.6rem; color: var(--ocean); display: block; }
.step h3 { color: #fff; font-size: 1.25rem; margin: .3rem 0 .5rem; }
.step p { color: #c3c9cd; font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 36px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured { border: 2px solid var(--bronze); box-shadow: var(--shadow-md); position: relative; }
.plan.featured::before {
  content: "Nejoblíbenější"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--bronze); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin-bottom: .2rem; }
.plan .plan-desc { color: var(--slate); font-size: .92rem; min-height: 42px; }
.plan .price { font-family: var(--font-head); font-size: 2.7rem; color: var(--slate-dark); margin: 14px 0 2px; }
.plan .price span { font-family: var(--font-body); font-size: .95rem; color: var(--slate); font-weight: 500; }
.plan .price-note { font-size: .82rem; color: var(--slate); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan ul li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--slate-dark); }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ocean-deep); font-weight: 700; }
.plan ul li.off { color: #b3b8bc; }
.plan ul li.off::before { content: "–"; color: #cdd2d5; }
.pricing-note { text-align: center; margin-top: 34px; color: var(--slate); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.quote .stars { color: var(--bronze); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-style: italic; color: var(--slate-dark); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ocean); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.quote .who b { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--ink); }
.quote .who span { font-size: .82rem; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 40px 22px 0; font-size: 1.08rem; font-weight: 600; color: var(--slate-dark); cursor: pointer; position: relative; font-family: var(--font-body); }
.faq-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--bronze); transition: transform .3s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 0 22px; color: var(--slate); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info .info-item .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(120,199,221,.18); display: grid; place-items: center; color: var(--ocean-deep); }
.contact-info .info-item h4 { margin: 0 0 2px; font-family: var(--font-body); font-size: 1rem; }
.contact-info .info-item p, .contact-info .info-item a { margin: 0; color: var(--slate); font-size: .96rem; }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed svg { width: 100%; height: 220px; display: block; }

.form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--slate-dark); margin-bottom: 6px; }
.field label .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: #fcfcfb;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(120,199,221,.22);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,.14); }
.field .err { color: #d9534f; font-size: .8rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--slate); }
.check input { width: auto; margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .tick { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: rgba(120,199,221,.2); color: var(--ocean-deep); display: grid; place-items: center; font-size: 2rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ocean-deep), var(--ocean)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #eafafe; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #23272b; color: #b7bdc2; padding: 68px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #8a9096; }
.site-footer p { color: #9ca2a8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b7bdc2; }
.footer-links a:hover { color: var(--ocean); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #80868c; font-size: .86rem; }
.footer-bottom a { color: #80868c; }
.footer-bottom a:hover { color: var(--ocean); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1100; max-width: 900px; margin: 0 auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 22px 26px; display: none; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.cookie.show { display: grid; animation: slideUp .4s var(--ease); }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1.02rem; }
.cookie p { margin: 0; font-size: .9rem; color: var(--slate); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 20px; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 130px 0 90px; }
.legal .container { max-width: 860px; }
.legal h1 { margin-bottom: .3rem; }
.legal .updated { color: var(--slate); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--slate-dark); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-block; margin-top: 40px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: #f4efe6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 48px; height: 48px; border-radius: 50%;
  background: var(--slate-dark); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--bronze); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media .badge { left: 0; }
  .cards, .pricing, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0; background: var(--pearl);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 24px;
    box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .35s var(--ease); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .hero { min-height: auto; padding: 130px 0 90px; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .pricing, .quotes, .steps, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 220px; }
  .gallery .tall { grid-row: span 1; }
  .gallery .wide { grid-column: span 1; }
  .hero-stats { gap: 26px; }
  .cookie { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
