/* ═══════════════════════════════════════════
   Zámocká Záhrada — štýly
   ═══════════════════════════════════════════ */

:root {
  --petrol-900: #0c2836;
  --petrol-800: #123648;
  --petrol-700: #17475e;
  --teal-500: #2e6d8c;
  --green-300: #7fc99a;
  --gold: #c9a24b;
  --gold-light: #e6c87c;
  --cream: #f7f4ec;
  --cream-dark: #ece7d9;
  --ink: #1a232b;
  --white: #ffffff;

  --font-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 24px 60px -12px rgba(12, 40, 54, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 72px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--dark { background: var(--petrol-900); color: var(--cream); }
.section--tint { background: var(--cream-dark); }

.section__eyebrow {
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  font-weight: 600;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.section__lead { max-width: 46ch; opacity: .85; margin-bottom: 2.5rem; }

/* ── Tlačidlá ────────────────────────────── */
.btn {
  display: inline-block;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--petrol-900);
  box-shadow: 0 10px 30px -8px rgba(201, 162, 75, .55);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px -8px rgba(201, 162, 75, .7);
}
.btn--ghost {
  color: var(--cream);
  border: 1px solid rgba(247, 244, 236, .45);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(247, 244, 236, .12); transform: translateY(-3px); }

/* ═══ Loading screen ═══ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--cream);
  pointer-events: none;
}
.preloader__logo {
  width: min(640px, 82vw, 80vh);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .preloader {
    animation: preloaderOut .8s ease 2.7s forwards;
  }
  .preloader__logo {
    animation: logoPulse 2.6s ease-in-out forwards;
  }
  @keyframes logoPulse {
    0%   { opacity: 0; transform: scale(.96); }
    45%  { opacity: 1; transform: scale(1); }
    62%  { opacity: 1; transform: scale(1.01); }
    100% { opacity: 0; transform: scale(1.03); }
  }
  @keyframes preloaderOut {
    to { opacity: 0; visibility: hidden; }
  }
  /* hero animácie počkajú, kým dobehne intro */
  .hero .hero__word { animation-delay: calc(3s + var(--i) * .18s); }
  .hero .hero__word--accent { animation-delay: calc(3s + var(--i) * .18s), 4.4s; }
  .hero .reveal-line span { animation-delay: calc(var(--d, .6s) + 2.75s); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* ═══ Navigácia ═══ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 1.1rem 0;
}
.nav--scrolled {
  background: rgba(12, 40, 54, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4);
  padding: .6rem 0;
}
.nav__inner {
  width: min(1160px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--cream);
}
.nav__logo-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  padding: 5px;
}
.nav__logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav__logo-text { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; }
.nav__logo-text em { color: var(--gold-light); font-style: italic; }

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-size: .92rem;
  opacity: .85;
  transition: opacity .25s;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { opacity: 1; color: var(--gold-light); }
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta {
  border: 1px solid var(--gold);
  padding: .45rem 1.2rem;
  border-radius: 999px;
  color: var(--gold-light);
  opacity: 1;
}
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover { background: var(--gold); color: var(--petrol-900); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; }
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  margin: 6px 0;
  transition: transform .3s, opacity .3s;
}

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 162, 75, .18), transparent 60%),
    radial-gradient(ellipse 70% 70% at 20% 80%, rgba(46, 125, 79, .35), transparent 65%),
    linear-gradient(160deg, var(--petrol-800), var(--petrol-900) 60%);
  background-size: 160% 160%;
  animation: heroShift 18s ease-in-out infinite alternate;
}
@keyframes heroShift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; }

.hero__content { position: relative; z-index: 2; padding: 0 1.5rem; max-width: 860px; }

.hero__eyebrow span {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, .4);
  padding: .45rem 1.3rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 10.5vw, 7rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(2deg);
  animation: wordUp 1.1s var(--ease-out) forwards;
  animation-delay: calc(.25s + var(--i) * .18s);
}
.hero__word--accent {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold-light), var(--gold) 55%, var(--gold-light));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordUp 1.1s var(--ease-out) forwards, shimmer 5s linear 1.6s infinite;
  animation-delay: calc(.25s + var(--i) * .18s), 1.6s;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

.hero__subtitle span, .hero__actions span, .hero__eyebrow span {
  display: inline-block;
}
.reveal-line span {
  opacity: 0;
  transform: translateY(28px);
  animation: wordUp .9s var(--ease-out) forwards;
  animation-delay: var(--d, .6s);
}
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); opacity: .92; max-width: 56ch; margin: 0 auto 2.4rem; }
.hero__actions span { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid rgba(247, 244, 236, .5);
  border-radius: 999px;
  z-index: 2;
}
.hero__scroll-dot {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══ Štatistiky ═══ */
.stats {
  background: var(--petrol-700);
  color: var(--cream);
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat__num, .stat__suffix {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.7vw, 3.4rem);
  color: var(--gold-light);
}
.stat__label {
  display: block;
  font-size: .88rem;
  letter-spacing: .06em;
  opacity: .8;
  margin-top: .2rem;
}

/* ═══ Scroll-reveal (spoločné) ═══ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══ O projekte ═══ */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__list { list-style: none; margin-top: 1.8rem; }
.about__list li {
  padding: .65rem 0 .65rem 2.1rem;
  position: relative;
  border-bottom: 1px solid rgba(27, 36, 30, .09);
}
.about__list li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold);
}
.about__visual { position: relative; }
.about__card--main {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1684 / 1191; /* pomer strán urbanistického návrhu */
  background: var(--white);
}
.about__card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.about__card--main:hover .about__card-img { transform: scale(1.03); }
.about__doc-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 162, 75, .55);
  transition: color .25s, border-color .25s;
}
.about__doc-link:hover { color: var(--petrol-700); border-bottom-style: solid; }
.about__card--float {
  position: absolute;
  bottom: -1.6rem; left: -2.2rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.about__card-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--petrol-700);
  display: block;
}
.about__card-label { font-size: .82rem; opacity: .7; }

/* ═══ Pozemky — mapa na celú šírku ═══ */
.plots__map-wrap {
  position: relative;
  width: 100%;
  margin: 1rem 0 2rem;
}
.plots__map { width: 100%; height: auto; display: block; }
.map__plot polygon, .map__plot path {
  fill: rgba(127, 201, 154, .18);
  stroke: var(--green-300);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: fill .3s, transform .3s var(--ease-out);
  transform-origin: center;
  transform-box: fill-box;
  cursor: pointer;
}
.map__plot text {
  fill: var(--cream);
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 600;
  text-anchor: middle;
  text-shadow: 0 3px 18px rgba(12, 40, 54, .85);
  pointer-events: none;
}
.map__plot:hover polygon, .map__plot:hover path, .map__plot.is-active polygon, .map__plot.is-active path {
  fill: rgba(230, 200, 124, .4);
  stroke: var(--gold-light);
  transform: scale(1.045);
}
/* rezervovaný aj predaný = červený, voľný = zelený (základ vyššie) */
.map__plot--reserved polygon, .map__plot--reserved path { fill: rgba(224, 82, 82, .3); stroke: #e05252; stroke-dasharray: 6 5; }
.map__plot--reserved:hover polygon, .map__plot--reserved:hover path { fill: rgba(224, 82, 82, .45); stroke: #ef6b6b; }
.map__plot--sold polygon, .map__plot--sold path { fill: rgba(224, 82, 82, .3); stroke: #e05252; cursor: not-allowed; }
.map__plot--sold text { fill: rgba(247, 244, 236, .75); }
.map__plot--sold:hover polygon, .map__plot--sold:hover path { transform: none; fill: rgba(224, 82, 82, .3); stroke: #e05252; }

.plots__legend {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
  font-size: .85rem;
  opacity: .85;
}

/* ═══ Detail pozemku pod mapou ═══ */
.plot-detail[hidden] { display: none; }
.plot-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(230, 200, 124, .4);
  border-radius: 18px;
  background: rgba(230, 200, 124, .07);
  animation: detailIn .45s var(--ease-out);
}
@keyframes detailIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.plot-detail__head { display: flex; align-items: center; gap: 1rem; }
.plot-detail__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--gold-light);
}
.plot-detail__stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.plot-detail__stat b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.2;
}
.plot-detail__stat span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
}
.plot-detail__stat--text b { font-size: 1.15rem; line-height: 1.8; }
.plot-card__price--text { font-family: var(--font-sans); font-size: .95rem; color: var(--gold-light); }
.plots__plan-link {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px dashed rgba(230, 200, 124, .5);
  transition: border-color .25s;
}
.plots__plan-link:hover { border-bottom-style: solid; }
.dot {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  margin-right: .4rem;
}
.dot--free { background: var(--green-300); }
.dot--reserved { background: #e05252; }
.dot--sold { background: rgba(224, 82, 82, .55); }

.plots__tooltip {
  position: absolute;
  z-index: 5;
  background: var(--cream);
  color: var(--ink);
  border-radius: 12px;
  padding: .7rem 1rem;
  font-size: .85rem;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 14px));
}
.plots__tooltip strong { color: var(--petrol-700); }

/* ═══ Pozemky — karty ═══ */
.plots__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.plot-card {
  background: rgba(247, 244, 236, .06);
  border: 1px solid rgba(247, 244, 236, .12);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: transform .4s var(--ease-out), border-color .3s, background .3s, opacity .6s var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
}
.plot-card.is-visible { opacity: 1; transform: none; }
.plot-card:hover:not(.plot-card--sold),
.plot-card.is-active {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(230, 200, 124, .08);
}
.plot-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .6rem;
}
.plot-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.65rem; color: var(--gold-light); }
.plot-card__badge {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 999px;
}
.plot-card__badge--free { background: rgba(127, 201, 154, .18); color: var(--green-300); }
.plot-card__badge--reserved { background: rgba(201, 162, 75, .18); color: var(--gold-light); }
.plot-card__badge--sold { background: rgba(247, 244, 236, .1); color: rgba(247, 244, 236, .5); }
.plot-card__meta { font-size: .9rem; opacity: .8; margin-bottom: .8rem; }
.plot-card__price { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--cream); }
.plot-card__price small { font-family: var(--font-sans); font-size: .78rem; opacity: .55; margin-left: .3rem; }
.plot-card--sold { opacity: .45 !important; }
.plot-card--sold .plot-card__price { text-decoration: line-through; opacity: .5; }

/* ═══ Výhody ═══ */
.perks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.perk {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 34px -18px rgba(12, 40, 54, .18);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              opacity .9s var(--ease-out);
}
.perk:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -20px rgba(12, 40, 54, .3);
}
.perk__icon {
  font-size: 1.9rem;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46, 125, 79, .12), rgba(201, 162, 75, .16));
  margin-bottom: 1.1rem;
}
.perk h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; margin-bottom: .4rem; }
.perk p { font-size: .93rem; opacity: .75; }

/* ═══ Mapa lokality ═══ */
.map-embed {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 55vh, 620px);
  border: none;
}
.map-embed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.4rem;
  font-size: .9rem;
}
.btn--small { padding: .55rem 1.3rem; font-size: .85rem; }

/* ═══ Galéria ═══ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(150px, 21vw, 250px);
  grid-auto-flow: dense;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.gallery__item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 10px 34px -18px rgba(12, 40, 54, .25);
}
/* mozaika: každá štvrtá fotka veľká (2×2), dense tok vypĺňa medzery */
.gallery__item:nth-child(4n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1.2rem .9rem;
  font-size: .85rem;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(12, 40, 54, .75));
  opacity: 0;
  transition: opacity .35s;
}
.gallery__item:hover figcaption { opacity: 1; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(110px, 26vw, 180px); }
}

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  gap: .8rem;
  grid-template-rows: 1fr auto;
  padding: 3.5rem 1.5rem 1.5rem;
  background: rgba(12, 40, 54, .93);
  backdrop-filter: blur(6px);
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.lightbox__caption { color: var(--cream); font-size: .95rem; opacity: .85; }
.lightbox__close {
  position: absolute;
  top: 1rem; right: 1.4rem;
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  opacity: .8;
}
.lightbox__close:hover { opacity: 1; }

/* ═══ Kontakt ═══ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__lines { display: grid; gap: .7rem; margin-top: 1.8rem; }
.contact__line {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.02rem;
  transition: color .25s;
}
a.contact__line:hover { color: var(--gold-light); }

.contact__agency { margin-top: 2rem; }
.contact__agency img { width: 200px; height: auto; }

.contact__form {
  background: rgba(247, 244, 236, .06);
  border: 1px solid rgba(247, 244, 236, .12);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.contact__form label { display: grid; gap: .35rem; font-size: .85rem; }
.contact__form label span { opacity: .8; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: rgba(12, 40, 54, .5);
  border: 1px solid rgba(247, 244, 236, .18);
  border-radius: 10px;
  padding: .8rem .95rem;
  color: var(--cream);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
}
.contact__form-full { grid-column: 1 / -1; }
.contact__form-note { color: var(--green-300); font-size: .95rem; }

/* ═══ Päta ═══ */
.footer {
  background: #081a24;
  color: rgba(247, 244, 236, .55);
  font-size: .82rem;
  padding: 1.6rem 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__agency { text-align: center; line-height: 1.6; }

/* ═══ Responzivita ═══ */
@media (max-width: 880px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__card--float { left: auto; right: -.5rem; }

  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(12, 40, 54, .97);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    font-size: 1.2rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-out);
  }
  .nav__links.is-open { transform: none; }
  .nav--menu-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav--menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--menu-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__burger { position: relative; z-index: 110; }
}
@media (max-width: 560px) {
  .contact__form { grid-template-columns: 1fr; }
}
