:root {
  /* ── Green palette anchored to #7aaa50 ── */
  --green: #7aaa50;
  /* primary accent */

  --green-dark: #4d7a2e;
  /* deep forest – hover, headings */

  --green-mid: #5f9140;
  /* mid tone – divider, dots */

  --green-lt: #a8cc82;
  /* light – focus ring, subtle tint */

  --green-pale: #e8f2e0;
  /* very light – warm bg tint */


  --bg: #f3f7ef;
  /* page background: cool green-white */

  --surface: #ffffff;
  /* card / form */

  --ink: #1e2b18;
  /* deep forest ink */
  --ink-60: rgba(30, 43, 24, .58);
  --ink-30: rgba(30, 43, 24, .30);
  --ink-10: rgba(30, 43, 24, .08);

  --radius: 14px;
  --radius-sm: 8px;
}


body {  
  font-family: 'DM Sans', sans-serif;
  /* max-width: var(--max);   */
}


.wrapper {  
  margin: 0 auto;
  padding: 0;
  /* position: relative; */
  /* z-index: 1; */
  max-width: 980px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
  padding-top: 4rem;
}



/* ── LEFT COLUMN ── ------------------------------------------*/
.info {
  padding-top: 0.4rem;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  color: green;
  margin-bottom: 1.2rem;
}



.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--accent);
}


/* minimum value, preferred value, maximum allowed value */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.8rem;
}


.section-title em {
  font-style: italic;
  color: var(--green);
}


/* color: var(--ink-60); */
.section-body {
  font-size: 1.0rem;
  font-weight: 300;
  line-height: 1.8;
  color: black;
  margin-bottom: 1rem;
}

.section-body strong {
  font-weight: 500;
  color: var(--ink);
}

.divider {
  width: 136px;
  height: 1px;
  background: var(--green-mid);
  margin: 2.4rem 0;
  opacity: 0.5;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}


/* color: var(--ink-60); ------------------------------*/
.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: black;
  font-weight: 500;
  line-height: 1.75;
}



/* ── FORM ── --------------------------------------------------*/
.kontakt-form {
  background: var(--surface);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  padding: 2.8rem 2.5rem 2.5rem;
  box-shadow:
    0 2px 40px rgba(30, 43, 24, .06),
    0 0 0 1px rgba(122, 170, 80, .06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-field:last-of-type {
  margin-bottom: 0;
}

label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  color: black;
}

input,
select,
textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-30);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #f9fcf6;
  box-shadow: 0 0 0 3px rgba(122, 170, 80, .14);
}



/* custom select arrow --------------------------------------------------*/
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--green);
  pointer-events: none;
}

select {
  cursor: pointer;
  padding-right: 2rem;
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.7;
}

.form-submit {
  margin-top: 2rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--green-dark);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .25s;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateX(-100%);
  transition: transform .35s ease;
}

.form-submit:hover::after {
  transform: translateX(0);
}

.form-submit span {
  position: relative;
  z-index: 1;
}



/* success state */
.success-msg {
  display: none;
  text-align: center;
  padding: 2rem 0 1rem;
}

.msg-sending-now {
  display: none;
  text-align: center;
  padding: 2rem 0 1rem;
}


.success-msg .check {
  width: 44px;
  height: 44px;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.success-msg p {
  font-size: 0.85rem;
  color: var(--ink-60);
  line-height: 1.7;
}

.status {
  margin-bottom: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.success {
  background: #e3f5ec;
  color: #145c32;
  border: 1px solid #b7e3c8;
}

/* .status .error {
    background: #fdeaea;
    color: #8b1f1f;
    border: 1px solid #f3b5b5;
    } */

.error {
  background: #fdeaea;
  color: #8b1f1f;
  border: 1px solid #f3b5b5;
}



/* ── RESPONSIVE ── --------------------------------------------------*/
@media (max-width: 700px) {
  .wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    /* margin: 15px; */
  }

  .info {
    margin: 15px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .kontakt-form {
    padding: 2rem 1.4rem 2rem 1.4rem;
    margin: 15px 15px 50px 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-spacer {
    margin-top: 1.5rem;
  }
}

/* entrance animation --------------------------------------*/
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info {
  animation: fadeUp .6s ease both;
}

.kontakt-form {
  animation: fadeUp .6s .12s ease both;
}