:root {
  --bg: #f8f4ef;
  --bg-soft: #f4eee7;
  --white: #ffffff;
  --text: #241b16;
  --muted: #6f625b;
  --line: rgba(197, 146, 98, 0.35);
  --accent: #ef8a22;
  --accent-dark: #d87312;
  --shadow: 0 18px 50px rgba(31, 20, 13, 0.08);
  --shadow-soft: 0 12px 30px rgba(31, 20, 13, 0.06);
  --radius: 22px;
  --radius-sm: 16px;
  --header-height: 92px;
  --container: 1200px;
  --transition: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section--first {
  padding-top: 0;
}

.section--soft {
  background: var(--bg-soft);
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-heading h2,
.leaseback__content h2,
.about__content h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
}

.section-heading h2 span,
.hero__title span,
.leaseback__content h2 span,
.about__content h2 span {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 👈 důležité */
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn__icon svg {
  width: 18px;
  height: 18px;
}


.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 18px 35px rgba(239, 138, 34, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 24px 40px rgba(239, 138, 34, 0.35);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: #fff;
}

.btn--full {
  width: 100%;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-top: 14px;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.header--hidden {
  transform: translateY(-110%);
}

.site-header.header--scrolled {
  padding-top: 0;
}

.site-header.header--scrolled .header__inner {
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(32, 22, 16, 0.09);
}

.header__inner {
  min-height: var(--header-height);
  padding: 0 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: var(--transition);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand__text span {
  font-size: 0.92rem;
  color: #ef8a22;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: #2d241f;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffb062);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background: url("../imgs/bg.webp") center center / cover no-repeat;
  transform: scale(1.05);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(15, 10, 7, 0.56) 0%, rgba(15, 10, 7, 0.28) 40%, rgba(15, 10, 7, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 10, 7, 0.30) 0%, rgba(15, 10, 7, 0.18) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: calc(var(--header-height) + 110px);
  padding-bottom: 120px;
  display: flex;          
  flex-direction: column;
  align-items: center;      
  justify-content: center; 
}


.hero__title {
  margin: 0 0 22px;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  line-height: 0.98;
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 680px;
}

.hero__title span {
  display: block;
}

.hero__text {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 34px;
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* SERVICES */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;   
  text-align: center;

}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(239, 138, 34, 0.45);
}

.service-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(239, 138, 34, 0.14), rgba(239, 138, 34, 0.06));
  margin-bottom: 18px;
  transition: transform var(--transition), background var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* LEASEBACK */
.leaseback__grid,
.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.leaseback__content h3 {
  margin: 12px 0 18px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.leaseback__lead,
.about__content p {
  color: var(--muted);
  margin-bottom: 22px;
}

.feature-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 38px;
  font-weight: 500;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 138, 34, 0.18), rgba(239, 138, 34, 0.08));
  border: 1px solid rgba(239, 138, 34, 0.28);
}

.feature-list li::after,
.check-list li::after {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.leaseback__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.leaseback-card {
  width: min(100%, 430px);
  min-height: 320px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(239, 138, 34, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.leaseback-card__top {
  height: 86px;
  background: linear-gradient(135deg, rgba(239, 138, 34, 0.22), rgba(255, 214, 165, 0.24));
}

.leaseback-card__body {
  padding: 28px;
}

.mini-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(36, 27, 22, 0.1);
  margin-bottom: 14px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }

.mini-boxes {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.mini-boxes span {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(239, 138, 34, 0.12);
}

.mini-house {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: rgba(239, 138, 34, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.mini-house svg {
  width: 34px;
  height: 34px;
}

.floating-badge {
  position: absolute;
  right: 10%;
  bottom: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 35px rgba(239, 138, 34, 0.28);
}

/* ABOUT */
.about__image img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(31, 20, 13, 0.12));
}

/* CONTACT */
.contact__info h3,
.contact-form h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
}

.contact__info {
  align-self: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(239, 138, 34, 0.12);
  flex: 0 0 auto;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item span {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-weight: 600;
}

.contact__form-wrap {
  align-self: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.82);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(239, 138, 34, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.form-row {
  margin-bottom: 18px;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(197, 146, 98, 0.45);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 138, 34, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  margin-top: 16px;
  font-weight: 600;
  min-height: 24px;
}

.form-message.success {
  color: #198754;
}

.form-message.error {
  color: #d63333;
}

/* FOOTER */
.site-footer {
  background: #b8aea7;
  color: #fff;
  padding-top: 42px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer__grid h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color:#2d241f;
}

.footer__grid p,
.footer__grid a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.92);
}

.footer__bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 18px 16px 24px;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leaseback__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
.eyebrow{
    text-align: center;
}
.leaseback__content h2{
    text-align: center;
}
.leaseback__content h3{
    text-align: center;
}
.about__content h2{
    text-align: center;
}

.contact-form h3{
    text-align: center;
}
  .leaseback__visual {
    min-height: 320px;
  }

  .about__image {
    order: -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    padding-top: 10px;
  }

  .header__inner {
    padding: 0 16px;
    border-radius: 18px;
  }

  .brand__text strong {
    font-size: 0.98rem;
  }

  .brand__text span {
    font-size: 0.85rem;
    color:#ef8a22;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(250, 246, 241, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 146, 98, 0.18);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 90px);
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .services__grid,
  .footer__grid,
  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 👈 důležité */
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn__icon svg {
  width: 18px;
  height: 18px;
}

  .hero__title {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .service-card h3 {
    font-size: 1.35rem;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .floating-badge {
    right: 18px;
    bottom: 10px;
    font-size: 0.92rem;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
  }
}