html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: "Lato", sans-serif;
}

body {
  background-color: #fff;
  overflow-x: hidden;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  margin: 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
}

header.top {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 1000;
  position: fixed;
}
header.top nav {
  display: flex;
  height: 60px;
  align-content: center;
  align-items: center;
  position: relative;
}
header.top nav .logo {
  padding-left: 20px;
}
header.top nav .menu-toggle {
  display: none;
  margin-left: auto;
  margin-right: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  height: 40px;
  width: 44px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  z-index: 1100;
}
header.top nav .menu-toggle:focus-visible {
  outline: 2px solid #fb1;
  outline-offset: 2px;
}
header.top nav .menu-toggle .menu-icon,
header.top nav .menu-toggle .menu-icon::before,
header.top nav .menu-toggle .menu-icon::after {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease, opacity 0.2s ease;
}
header.top nav .menu-toggle .menu-icon {
  top: 50%;
  transform: translateY(-50%);
}
header.top nav .menu-toggle .menu-icon::before {
  top: -8px;
}
header.top nav .menu-toggle .menu-icon::after {
  top: 8px;
}
header.top nav ul {
  margin-left: auto;
  display: flex;
  list-style: none;
  margin-right: 20px;
}
header.top nav ul li {
  padding: 5px 10px;
}
header.top nav ul li a {
  text-decoration: none;
  color: #fff;
}
header.top nav ul li a:hover {
  color: #fb1;
}

.pages {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.pages .page {
  min-height: 100vh;
  line-height: 1.5;
}
.pages .page a {
  color: #fb1;
  text-decoration: none;
}
.pages .page a:hover {
  text-decoration: underline;
}
.pages .intro, .pages .outro {
  background: url(../img/intro.5237f5412693f6eee336.jpg) no-repeat fixed 50% 50%;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pages .intro .logo, .pages .outro .logo {
  width: 350px;
  height: 350px;
  filter: drop-shadow(0 0 40px #000);
  margin-bottom: 50px;
}
.pages .intro .arrow, .pages .outro .arrow {
  position: absolute;
  bottom: 0;
  height: 75px;
  width: 100%;
  background: url(../img/finish.2b655137a046778491b8.svg) no-repeat center;
}
.pages .outro .arrow {
  transform: rotate(180deg);
  top: 0;
}
.pages .outro blockquote {
  font-size: 2rem;
  font-weight: 900;
  text-align: left;
  margin: 0;
  font-family: serif;
  font-style: italic;
  width: 50%;
  position: relative;
  line-height: 1.5;
  overflow: hidden;
}
.pages .outro blockquote::before {
  font-size: 10rem;
  font-weight: 900;
  font-family: serif;
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  content: open-quote;
  top: -150px;
}

address {
  font-style: normal;
}

.grid-full {
  grid-column: 1/-1;
}

.grid {
  width: 100%;
  max-width: 1000px;
  margin: 150px auto;
  padding: 0 16px;
}
.grid > section {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.grid > section:nth-child(2n-1) {
  flex-direction: row-reverse;
}
.grid > section > figure, .grid > section > div {
  flex: 1;
  align-content: center;
}
.grid > section > figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 1/1;
  border-radius: 15px;
  overflow: hidden;
}
.grid > section > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  transition: transform 0.5s;
}
.grid > section > figure:hover img {
  transform: scale(1.1);
}

#rodo {
  margin-top: 60px !important;
  line-height: 1.5em;
  font-size: 0.9em;
}
#rodo header {
  margin-bottom: 30px;
}
#rodo address {
  font-style: normal;
}

.contact-form h3 {
  margin-top: 0;
}
.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}
.contact-form form .grid-full {
  grid-column: 1/-1;
}
.contact-form form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.contact-form form label span {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #222;
}
.contact-form form label input, .contact-form form label select, .contact-form form label textarea {
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  background: #fcfcfc;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form form label textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form form label input:focus, .contact-form form label select:focus, .contact-form form label textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}
.contact-form form label .required {
  color: red;
  margin-left: 2px;
}
.contact-form form small {
  color: #666;
  font-size: 0.8rem;
}
.contact-form form input[type=submit] {
  width: auto;
  padding: 10px 16px;
  border: 1px solid #111;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.contact-form form input[type=submit]:hover {
  background: #222;
  border-color: #222;
}
.contact-form form input[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.contact-form form input[type=file] {
  padding: 6px 0 2px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 0.9rem;
  appearance: none;
}
.contact-form form input[type=file]::file-selector-button {
  margin-right: 10px;
  padding: 10px 16px;
  border: 1px solid rgb(246.5, 176.0714285714, 0);
  border-radius: 999px;
  background: #fb1;
  color: #000;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-form form input[type=file]::file-selector-button:hover {
  background: rgb(246.5, 176.0714285714, 0);
  border-color: rgb(231.2, 165.1428571429, 0);
}
.contact-form form input[type=file]::-webkit-file-upload-button {
  margin-right: 10px;
  padding: 10px 16px;
  border: 1px solid rgb(246.5, 176.0714285714, 0);
  border-radius: 999px;
  background: #fb1;
  color: #000;
  font-weight: 600;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-form form input[type=file]::-webkit-file-upload-button:hover {
  background: rgb(246.5, 176.0714285714, 0);
  border-color: rgb(231.2, 165.1428571429, 0);
}
.contact-form form.success {
  padding: 20px;
  background: #f1fbf1;
  border: 1px solid #9ad59a;
  border-radius: 8px;
  display: block;
}
.contact-form .rules {
  font-size: 0.9em;
  line-height: 1.4em;
}
.contact-form .attachments-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.contact-form .attachments-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #f6f6f6;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  font-size: 0.85rem;
}
.contact-form .attachments-list .remove-btn {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 1px;
}
.contact-form .attachments-summary {
  font-size: 0.85rem;
  color: #333;
  margin-top: 8px;
  padding: 8px 10px;
}
.contact-form .required {
  color: red;
}

@media (max-width: 900px) {
  header.top nav .menu-toggle {
    display: inline-flex;
  }
  header.top nav ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  header.top nav.open ul {
    display: flex;
  }
  header.top nav ul.is-open {
    display: flex;
  }
  header.top nav ul li {
    padding: 0;
  }
  header.top nav ul li a {
    display: block;
    padding: 12px;
  }
  header.top nav.open .menu-toggle .menu-icon {
    background: transparent;
  }
  header.top nav.open .menu-toggle .menu-icon::before {
    transform: translateY(8px) rotate(45deg);
  }
  header.top nav.open .menu-toggle .menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
  }
  header.top nav ul {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .pages .intro .logo, .pages .outro .logo {
    width: 220px;
    height: 220px;
  }
  .pages .outro blockquote {
    width: 85%;
    font-size: 1.5rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .pages .intro, .pages .outro {
    /* Avoid mobile issues with fixed backgrounds */
    background-attachment: scroll;
    padding: 80px 0 60px;
    text-align: center;
  }
  .grid {
    margin: 100px auto 60px;
    padding: 0 12px;
  }
  .grid > section {
    flex-direction: column !important;
  }
  .grid > section > figure {
    aspect-ratio: auto;
  }
  .grid > section > figure img {
    height: auto;
  }
  .pages .outro blockquote::before {
    top: -100px;
    font-size: 6rem;
  }
  .grid > section > figure img {
    transition: none;
  }
  .grid > section > figure:hover img {
    transform: none;
  }
  .contact-form form {
    grid-template-columns: 1fr;
  }
  .contact-form form input, .contact-form form select, .contact-form form textarea {
    width: 100%;
  }
}
.contact-form-btn {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgb(246.5, 176.0714285714, 0);
  background-color: #fb1;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-btn:hover {
  background-color: rgb(246.5, 176.0714285714, 0);
}

footer {
  background-color: #000;
  color: #ccc;
  padding: 20px 10px;
  position: relative;
  z-index: 1000;
  text-align: right;
  font-size: 0.8rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: #fb1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}
.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-content {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  width: 95%;
  max-width: 1200px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-height: 95vh;
  overflow-y: auto;
}
.modal .modal-content .close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
}
.modal .modal-content .close-modal:hover, .modal .modal-content .close-modal:focus {
  color: #000;
  text-decoration: none;
}

