:root {
  color-scheme: light;
  font-family: Inter, Roboto, ui-sans-serif, system-ui, sans-serif;
  --ink: #0f172a;
  --muted: #475569;
  --line: #d6d3d1;
  --teal: #0f766e;
  --teal-dark: #134e4a;
  --soft: #f8fafc;
  --footer-ink: #16211d;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, Roboto, ui-sans-serif, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(250, 250, 249, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: #000;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.top-nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--teal);
}

.contact-hero {
  display: block;
  width: 100%;
  min-height: clamp(170px, 25vh, 260px);
  padding: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(30, 41, 59, 0.84)), url("../../img/landingpage_foto.png");
  background-position: center 42%;
  background-size: cover;
}

main.container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.contact-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.subtitle {
  max-width: 680px;
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.alert,
.success-message {
  padding: 12px 16px;
  margin: 0 0 18px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.45;
}

.alert-success,
.success-message {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.alert-error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.website_hp_field {
  display: none;
}

form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.btn-submit {
  justify-self: start;
  min-height: 46px;
  padding: 11px 18px;
  color: #ffffff;
  font-weight: 900;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

footer,
.footer-band {
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--footer-ink);
  background: linear-gradient(#f5f7f4f5 0%, #fcfaf4 100%);
  border-top: 1px solid #35594d26;
}

footer .container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0;
}

footer p {
  margin: 0;
  color: #16211db3;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-band h2,
footer h2 {
  margin: 0 0 0.75rem;
  color: var(--footer-ink);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.footer-links {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  color: #16211da6;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.server-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1rem;
}

.server-list div {
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #35594d26;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 #0000000d;
}

.server-list dt {
  color: #35594d;
  font-weight: 900;
}

.server-list dd {
  margin: 0.25rem 0 0;
  overflow-wrap: break-word;
  color: #16211db3;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 14px;
  }

  .brand span {
    font-size: 16px;
  }

  .top-nav {
    gap: 6px;
  }

  .top-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .contact-hero {
    min-height: 130px;
  }

  main.container {
    padding: 30px 16px;
  }

  .contact-card {
    padding: 22px 16px;
  }

  .btn-submit {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
