:root {
  --green-950: #13271f;
  --green-900: #1f3d31;
  --green-800: #2c5945;
  --green-700: #39735a;
  --green-100: #e4efe9;
  --pink-600: #A95F82;
  --pink-400: #D892B4;
  --pink-200: #E9BDD2;
  --pink-100: #F4E4EC;
  --pink-50: #FBF2F7;
  --violet-700: #665071;
  --violet-100: #eee8f0;
  --white: #ffffff;
  --ink: #1d2a25;
  --muted: #5d6964;
  --line: rgba(31, 61, 49, 0.14);
  --shadow-soft: 0 18px 50px rgba(24, 54, 41, 0.09);
  --shadow-card: 0 12px 30px rgba(24, 54, 41, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; overflow-x: hidden; background: var(--pink-50); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.72; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color 180ms ease; }
a:hover { color: var(--pink-600); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(206, 140, 162, .75); outline-offset: 4px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--white); color: var(--green-950); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .65rem clamp(1rem, 4vw, 4.5rem); border-bottom: 2px solid var(--pink-600); background: rgba(216, 146, 180, .96); box-shadow: 0 10px 30px rgba(99, 41, 70, .16); backdrop-filter: blur(14px); }
.logo-wrap { display: inline-flex; align-items: center; gap: .8rem; color: var(--green-950); text-decoration: none; min-width: 0; }
.logo-wrap img { width: 56px; height: 56px; object-fit: contain; }
.logo-name { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.1; letter-spacing: .01em; }
.logo-name span { display: block; margin-top: .24rem; color: var(--muted); font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.site-header nav a { position: relative; display: inline-block; padding: .52rem .62rem; border-radius: 999px; color: var(--green-950); font-size: .86rem; font-weight: 700; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; transition: background 180ms ease, color 180ms ease; }
.site-header nav a::after { position: absolute; right: .62rem; bottom: .24rem; left: .62rem; height: 2px; border-radius: 2px; background: var(--pink-600); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 220ms ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a:active { background: var(--pink-600); color: var(--white); }
.site-header nav li:last-child a { border: 1px solid rgba(31, 61, 49, .42); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--pink-600); border-radius: 50%; background: var(--pink-100); color: var(--green-950); cursor: pointer; }
.menu-toggle > span:not(.visually-hidden) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }

.hero { position: relative; isolation: isolate; contain: paint; min-height: clamp(600px, 76vh, 820px); display: grid; place-items: center; overflow: hidden; background: var(--green-950); color: var(--white); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.35s ease, visibility 1.35s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); }
.hero-slide.is-active .hero-bg-img { animation: ken-burns 8s ease-out both; }
.hero-slide:nth-child(2) .hero-bg-img { object-position: center 58%; }
.hero-slide:nth-child(3) .hero-bg-img { object-position: center 48%; }
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(12,29,22,.58), rgba(12,29,22,.2) 48%, rgba(12,29,22,.42)), linear-gradient(0deg, rgba(12,29,22,.68), transparent 55%, rgba(12,29,22,.25)); }
.hero-inner { position: relative; z-index: 2; width: min(780px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.hero-brand { width: fit-content; max-width: 100%; margin: 0 auto clamp(1.1rem, 3vh, 2rem); padding: 1rem 1.8rem .9rem; border: 2px solid rgba(216,146,180,.8); border-radius: var(--radius-lg); background: rgba(244,228,236,.93); box-shadow: 0 18px 70px rgba(5,20,13,.18); color: var(--green-950); backdrop-filter: blur(10px); }
.hero-logo { width: clamp(92px, 11vw, 150px); height: auto; margin: 0 auto .55rem; object-fit: contain; }
.hero-klass, .hero-place { margin: 0; }
.hero-klass { font-family: var(--serif); font-size: clamp(1.1rem, 2.5vw, 1.55rem); line-height: 1.2; }
.hero-place { margin-top: .28rem; color: var(--green-700); font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(2rem, 5.2vw, 4.8rem); font-weight: 400; letter-spacing: -.025em; line-height: .98; text-shadow: 0 4px 25px rgba(0,0,0,.35); }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { margin-top: .25rem; color: #F0BED6; font-style: italic; font-weight: 400; }
.hero-lead { max-width: 680px; margin: clamp(1rem, 2.5vh, 1.7rem) auto 0; color: rgba(255,255,255,.92); font-size: clamp(.98rem, 1.4vw, 1.12rem); line-height: 1.65; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero-controls { position: absolute; right: 0; bottom: 1.5rem; left: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.hero-arrow, .hero-dot { border: 0; background: transparent; color: var(--white); cursor: pointer; }
.hero-arrow { width: 40px; height: 40px; border: 1px solid var(--pink-200); border-radius: 50%; background: rgba(216,146,180,.88); color: var(--green-950); font-size: 1.75rem; line-height: 1; backdrop-filter: blur(7px); transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.hero-arrow:hover { border-color: var(--pink-600); background: var(--pink-600); color: var(--white); }
.hero-dots { display: flex; gap: .65rem; }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 1px solid var(--pink-200); border-radius: 50%; background: rgba(216,146,180,.55); transition: width 180ms ease, background 180ms ease; }
.hero-dot.is-active { width: 28px; border-radius: 999px; background: var(--pink-400); box-shadow: 0 0 0 2px rgba(255,255,255,.65); }

.stats { position: relative; z-index: 4; width: min(1180px, calc(100% - 2rem)); display: grid; grid-template-columns: repeat(4, 1fr); margin: -2.4rem auto 0; padding: 1.25rem clamp(1rem, 3vw, 2.5rem); border: 2px solid var(--pink-400); border-radius: var(--radius-md); background: linear-gradient(135deg, #fffafd, var(--pink-100)); box-shadow: 0 18px 50px rgba(169,95,130,.16); }
.stat { min-width: 0; padding: .4rem 1rem; border-right: 1px solid rgba(216,146,180,.75); text-align: center; }
.stat:last-child { border-right: 0; }
.stat-n, .stat-l { display: block; }
.stat-n { color: var(--pink-600); font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.1; }
.stat-l { margin-top: .3rem; color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.section, .section-in { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-alt { background: linear-gradient(135deg, var(--pink-100), #F8EAF1 58%, #fff8fb); }
.section-label { margin: 0 0 .8rem; color: var(--pink-600); font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.title { position: relative; max-width: 820px; margin: 0 0 2.2rem; padding-bottom: .9rem; color: var(--green-900); font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 4.4rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; }
.title::after { position: absolute; bottom: 0; left: 0; width: 78px; height: 4px; border-radius: 999px; background: var(--pink-400); content: ""; }
.subtitle { margin: 2.2rem 0 .75rem; color: var(--violet-700); font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 400; }
.section p, .section-in > p { max-width: 760px; color: var(--muted); }
.section p + p { margin-top: 1.05rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.about-media { position: relative; }
.about-media::before { position: absolute; right: -18px; bottom: -18px; z-index: -1; width: 62%; height: 62%; border-radius: var(--radius-lg); background: var(--pink-400); content: ""; opacity: .7; }
.about-img { width: 100%; min-height: 430px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); object-fit: cover; }

.plants-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 2.2rem; }
.plant-card { overflow: hidden; border: 1px solid rgba(169,95,130,.38); border-top: 5px solid var(--pink-400); border-radius: var(--radius-md); background: rgba(255,250,253,.94); box-shadow: var(--shadow-card); transition: transform 220ms ease, box-shadow 220ms ease; }
.plant-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(24,54,41,.13); }
.plant-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.plant-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease; }
.plant-card:hover .plant-card-img img { transform: scale(1.055); }
.plant-card-body { padding: 1.5rem; }
.plant-name { margin: 0; color: var(--green-900); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.15; }
.plant-latin { margin: .6rem 0 1rem; color: var(--pink-600); font-family: var(--serif); font-size: .96rem; font-style: italic; }
.plant-desc { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }

.gallery { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(.45rem, 1vw, .85rem); margin: 1.1rem 0 0; padding: 0; list-style: none; }
.gallery li { min-width: 0; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); box-shadow: 0 5px 18px rgba(24,54,41,.08); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease, filter 450ms ease; }
.gallery a:hover img, .gallery a:focus-visible img { filter: saturate(1.08); transform: scale(1.08); }

#uprawa { position: relative; }
#uprawa::after { position: absolute; top: 6rem; right: 0; width: clamp(130px, 18vw, 250px); height: clamp(130px, 18vw, 250px); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--pink-100), var(--violet-100)); content: ""; opacity: .65; pointer-events: none; z-index: -1; }
.faq-list { max-width: 900px; border-top: 2px solid var(--pink-400); }
.faq-item { border-bottom: 1px solid rgba(216,146,180,.55); }
.faq-q { position: relative; padding: 1.3rem 3rem 1.3rem 0; color: var(--green-900); font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.38rem); cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { position: absolute; top: 50%; right: .4rem; color: var(--pink-600); content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 300; transform: translateY(-50%); transition: transform 180ms ease; }
.faq-item[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-width: 760px; margin: 0; padding: 0 3rem 1.4rem 0; color: var(--muted); }

.ai-strip { padding: .8rem clamp(1rem, 4vw, 4rem); background: var(--pink-600); color: rgba(255,255,255,.92); font-size: .75rem; letter-spacing: .055em; line-height: 1.6; text-align: center; }
.ai-strip a { color: var(--white); }
.lang-section { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); background: var(--pink-400); }
.lang-section > p { margin: 0 0 1.4rem; color: var(--green-900); font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.lang-grid { width: min(1080px, 100%); display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0 auto; padding: 0; list-style: none; }
.lang-item { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .48rem .78rem; border: 1px solid rgba(91,37,64,.3); border-radius: 999px; background: rgba(244,228,236,.82); color: var(--green-950); font-size: .78rem; font-weight: 700; text-decoration: none; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.lang-item:hover, .lang-item.active { border-color: var(--pink-400); background: var(--white); color: var(--pink-600); transform: translateY(-2px); }
.lang-item img { width: 18px; height: 12px; object-fit: cover; }

footer { padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 1.5rem; border-top: 8px solid var(--pink-400); background: var(--green-950); color: rgba(255,255,255,.78); }
.footer-grid { width: min(1180px, 100%); display: grid; grid-template-columns: 1.7fr .8fr .9fr; gap: clamp(2rem, 6vw, 6rem); margin: 0 auto; }
.footer-logo-name { margin: 0 0 1rem; color: var(--white); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.footer-desc { max-width: 560px; margin: .75rem 0; font-size: .88rem; }
.footer-desc a { color: var(--pink-200); }
.footer-col h3, .footer-col h4 { margin: 0 0 1rem; color: var(--pink-200); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: .5rem 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.footer-col a, .footer-bottom a { color: rgba(255,255,255,.83); text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--pink-200); }
.footer-bottom { width: min(1180px, 100%); display: flex; justify-content: space-between; gap: 1.5rem; margin: 3.5rem auto 0; padding-top: 1.3rem; border-top: 1px solid rgba(216,146,180,.6); font-size: .75rem; }

#uprawa > p:last-child a { display: inline-block; padding: .72rem 1.1rem; border: 1px solid var(--pink-600); border-radius: 999px; background: var(--pink-400); color: var(--green-950); font-weight: 700; text-decoration: none; }
#uprawa > p:last-child a:hover, #uprawa > p:last-child a:focus-visible { background: var(--pink-600); color: var(--white); }
.footer-bottom p { margin: 0; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 980px) {
  :root { --header-height: 70px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { position: absolute; top: 100%; right: 0; left: 0; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; background: rgba(216,146,180,.98); opacity: 0; pointer-events: none; transition: max-height 260ms ease, opacity 180ms ease, border-color 180ms ease; }
  .site-header nav.is-open { max-height: 440px; border-color: var(--line); opacity: 1; pointer-events: auto; }
  .site-header nav ul { display: block; padding: .8rem clamp(1rem, 4vw, 4.5rem) 1.25rem; }
  .site-header nav li { border-bottom: 1px solid rgba(169,95,130,.52); }
  .site-header nav li:last-child { border-bottom: 0; }
  .site-header nav a { width: 100%; padding: .9rem 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 720px; }
  .plants-grid { grid-template-columns: 1fr; }
  .plant-card { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); }
  .plant-card-img { height: 100%; min-height: 320px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr .7fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { padding-inline: .85rem; }
  .logo-wrap img { width: 50px; height: 50px; }
  .logo-name { font-size: 1rem; }
  .logo-name span { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { min-height: clamp(560px, 68svh, 700px); }
  .hero-inner { width: min(100% - 1rem, 620px); padding: 1.1rem .7rem 4rem; }
  .hero-brand { padding: .8rem 1.15rem .7rem; border-radius: var(--radius-md); }
  .hero-logo { width: 88px; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3.45rem); }
  .hero-lead { display: -webkit-box; max-width: 36ch; overflow: hidden; font-size: .92rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .hero-controls { bottom: 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -1.4rem; padding: .8rem; }
  .stat { padding: .85rem .45rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat-n { font-size: 1.7rem; }
  .section, .section-in { width: min(100% - 2rem, 1180px); padding-block: 4rem; }
  .title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .about-img { min-height: 320px; }
  .about-media::before { right: -9px; bottom: -9px; }
  .plant-card { display: block; }
  .plant-card-img { min-height: auto; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #uprawa::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: .8rem; }
}

@media (max-width: 430px) {
  .logo-name span { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-item { min-height: 38px; padding-inline: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide.is-active .hero-bg-img { animation: none; }
}
