/* ============================================================
   NETFORMA — kontakt.css
   Mobile-first responsive stylesheet
   Breakpoints: 480px | 768px | 1024px | 1440px
   ============================================================ */

/* ======================== RESET & BASE ======================== */

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

:root {
  --green:        #2F4F4F;
  --green-dark:   #1E3535;
  --orange:       #E8603C;
  --orange-deep:  #c94e2c;
  --bg:           #F6F3EE;
  --white:        #FFFFFF;
  --text:         #2C2C2A;
  --text-muted:   #5F5E5A;
  --text-light:   #9FBFBF;
  --text-dim:     #7FAFAF;
  --text-ghost:   #4A7070;
  --border:       #DDD6CA;
  --badge-bg:     #EAE6DF;
  --max-width:    1440px;

  --cream:        var(--bg);
  --cream-dark:   var(--border);

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --shadow-card:  0 4px 24px rgba(47,79,79,.10);
  --shadow-panel: 0 8px 48px rgba(47,79,79,.18);

  --font-display: 'Satoshi', sans-serif;
  --font-body:    'Satoshi', sans-serif;

  --max-content:  1200px;
  --max-panel:    860px;

  --container-padding: 1.25rem;
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}


/* ======================== CONTACT SECTION ======================== */

.contact {
  padding: 3rem var(--container-padding) 4rem;
}

.contact__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* --- Left column --- */
.contact__left {
  display: flex;
  flex-direction: column;
}

.contact__tag {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact__heading {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 500;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.contact__desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 42ch;
}

.contact__email-block {
  margin-bottom: 3rem;
}

.contact__email-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-ghost);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact__email-link {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--orange);
  border-bottom: 1.5px solid rgba(232, 96, 60, 0.3);
  padding-bottom: 2px;
  transition: border-color var(--transition);
  word-break: break-all;
}

.contact__email-link:hover {
  border-color: var(--orange);
}

/* --- Meta list --- */
.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact__meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--text-ghost);
  opacity: 0.5;
  flex-shrink: 0;
}

.contact__dot--live {
  background-color: #4CAF50;
  opacity: 1;
}

/* ======================== CONTACT FORM ======================== */

.contact-form {
  background: var(--green);
  color: var(--bg);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
}

.contact-form__title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--bg);
}

/* --- Form fields --- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-field__optional {
  font-weight: 400;
  opacity: 0.7;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--green-dark);
  color: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237FAFAF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field select option {
  background: var(--green-dark);
  color: var(--bg);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

/* --- Submit button --- */
.form-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}

.form-submit:hover {
  background: var(--orange-deep);
}

.form-submit:active {
  transform: scale(0.99);
}

/* --- Form note --- */
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
}

/* ======================== FOOTER ======================== */

.footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer__logo:hover {
  opacity: 1;
}

.footer__tagline {
  font-size: 0.82rem;
  color: var(--text-ghost);
  margin-top: 0.3rem;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--green);
}

.footer__email {
  font-size: 0.85rem;
  color: var(--orange);
  border-bottom: 1px solid rgba(232, 96, 60, 0.25);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.footer__email:hover {
  border-color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-ghost);
}

/* ======================== BREAKPOINT: 480px ======================== */

@media (min-width: 480px) {
  :root {
    --container-padding: 1.75rem;
  }

  .contact {
    padding: 3.5rem var(--container-padding) 5rem;
  }

  .contact-form {
    padding: 2.25rem 2rem;
  }
}

/* ======================== BREAKPOINT: 768px ======================== */

@media (min-width: 768px) {
  :root {
    --container-padding: 2.5rem;
  }

  .navbar__inner {
    height: 68px;
  }

  .navbar__hamburger {
    display: none;
  }

  .navbar__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    padding-top: 0;
    gap: 0.25rem;
    inset: auto;
  }

  .navbar__list {
    flex-direction: row;
    gap: 0;
    width: auto;
  }

  .navbar__link {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    width: auto;
    text-align: left;
  }

  .navbar__cta {
    margin-top: 0;
    margin-left: 1rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }

  .contact {
    padding: 4rem var(--container-padding) 6rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* ======================== BREAKPOINT: 1024px ======================== */

@media (min-width: 1024px) {
  :root {
    --container-padding: 3rem;
  }

  .contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-form {
    padding: 2.5rem;
  }
}

/* ======================== BREAKPOINT: 1440px ======================== */

@media (min-width: 1440px) {
  :root {
    --container-padding: 4rem;
  }

  .contact__inner {
    gap: 6rem;
  }

  .contact {
    padding: 5rem var(--container-padding) 7rem;
  }
}

/* ======================== ACCESSIBILITY ======================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}