/* === NAVBAR & HEADER === */
header {
  background: linear-gradient(90deg, #2ecc40 80%, #009688 100%);
  color: #fff;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(34, 60, 80, 0.10);
  min-height: 80px;
  position: relative;
  z-index: 10;
}
.header-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  padding: 0 2em;
  justify-content: flex-start;
  gap: 2em;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44,204,64,0.09);
  margin-right: 0.5em;
}
.logo-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  display: inline-block;
  margin: 0;
}
.logo-text .resaltado { color: #ffd600; }
.logo-text .verde { color: #fff; }

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
  margin-left: 1em;
  transition: color 0.18s;
}
.nav-toggle.open, .nav-toggle:hover { color: #ffd600; }
nav .nav-list {
  display: flex;
  gap: 1.5em;
  list-style: none;
  background: none;
  margin: 0;
  padding: 0;
}
nav .nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.07em;
  padding: 0.5em 1.5em;
  border-radius: 99em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  transition: background 0.18s, color 0.18s;
}
nav .nav-list a.active,
nav .nav-list a:hover {
  background: #ffd600;
  color: #2ecc40;
  font-weight: bold;
}

/* Hamburger responsive menu */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    gap: 0.7em;
    align-items: flex-start;
    justify-content: unset;
    height: auto;
    padding: 1em 0.7em 0.7em 0.7em;
  }
  nav { width: 100%; }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 1.2em;
    right: 1.1em;
    z-index: 20;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, #2ecc40 80%, #009688 100%);
    position: absolute;
    top: 3.4em;
    right: 1.1em;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(44,204,64,0.09);
    min-width: 140px;
    z-index: 99;
    padding: 0.8em 0;
  }
  .nav-list.open { display: flex; }
  nav .nav-list a {
    font-size: 1.07em;
    justify-content: flex-start;
    padding: 0.8em 2em 0.8em 1.8em;
    border-radius: 0;
    border-bottom: 1px solid #eaffec;
  }
  nav .nav-list li:last-child a { border-bottom: none; }
}

/* === CONTACT PAGE BODY === */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7faf9;
  margin: 0;
  color: #1a2226;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.8em 2.5em 1.8em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-main {
  max-width: 600px;
  margin: 3em auto 3.5em auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44,204,64,0.13), 0 2px 8px rgba(44,204,64,0.09);
  padding: 2.5em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-main h2 {
  color: #009688;
  margin-bottom: 0.2em;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.contact-main .subtitle {
  color: #2ecc40;
  font-size: 1.09em;
  margin-bottom: 1.7em;
  font-weight: 600;
  text-align: center;
}
.contact-info {
  margin-bottom: 2.2em;
  color: #222;
  font-size: 1.07em;
  line-height: 1.7;
  background: #eaffec;
  border-radius: 12px;
  padding: 1.1em 1em 0.6em 1em;
  width: 100%;
  box-sizing: border-box;
}
.contact-info i {
  color: #2ecc40;
  margin-right: 0.4em;
}
.contact-info a {
  color: #009688;
  text-decoration: underline;
  font-weight: 500;
}
.contact-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.contact-form .form-group {
  margin-bottom: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.contact-form label {
  font-weight: 600;
  color: #009688;
  font-size: 1em;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7em;
  border-radius: 7px;
  border: 1px solid #eaffec;
  font-size: 1em;
  background: #f7faf9;
  color: #1a2226;
  transition: border 0.19s, background 0.19s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2ecc40;
  outline: none;
  background: #eaffec;
}
.contact-form .form-group.invalid input,
.contact-form .form-group.invalid textarea {
  border-color: #d32f2f;
  background: #fff8f8;
}
.contact-form .invalid-feedback {
  color: #d32f2f;
  font-size: .95em;
  display: none;
  margin-top: 0.2em;
}
.contact-form .form-group.invalid .invalid-feedback {
  display: block;
}
.contact-form .form-status {
  margin-top: 1em;
  font-size: 1em;
  font-weight: 700;
  color: #009688;
  min-height: 1.6em;
  text-align: center;
}
.btn-block {
  width: 100%;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.9em 2em;
  background: linear-gradient(90deg, #2ecc40 80%, #009688 100%);
  color: #fff;
  border: none;
  border-radius: 99em;
  font-size: 1em;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background .22s, color .22s, box-shadow .22s, transform .22s;
  box-shadow: 0 2px 8px rgba(44,204,64,0.10);
  margin-bottom: 0.3em;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #009688 80%, #2ecc40 100%);
  color: #ffd600;
  transform: translateY(-2px) scale(1.03);
}

/* === FOOTER === */
footer {
  background: #1a2226;
  color: #f3f6f7;
  text-align: center;
  padding: 1.5em 0;
  font-size: 1.11rem;
  border-radius: 32px 32px 0 0;
  letter-spacing: 0.08em;
  margin-top: 2.7em;
  box-shadow: 0 2px 8px rgba(44,204,64,0.10);
}

/* === SCROLLTOP BUTTON === */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #009688;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.4em;
  box-shadow: 0 2px 8px rgba(44,204,64,0.10);
  cursor: pointer;
  z-index: 100;
  transition: background 0.23s, transform .3s, color .23s;
}
#scrollTopBtn.visible { display: block; }
#scrollTopBtn:hover {
  background: #2ecc40;
  color: #ffd600;
  transform: scale(1.12) rotate(-8deg);
}

/* === ANIMATION === */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px);}
  to { opacity: 1; transform: none;}
}
.anim { opacity: 0; transform: translateY(44px) scale(0.98); transition: opacity 0.75s cubic-bezier(.45,.05,.55,1), transform 0.75s cubic-bezier(.45,.05,.55,1);}
.anim.visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 650px) {
  .contact-main {
    padding: 1em 0.3em 1em 0.3em;
    border-radius: 14px;
  }
  .header-container {
    padding: 1em 0.2em 0.6em 0.2em;
    gap: 0.5em;
  }
  .logo-img { width: 36px; height: 36px; }
  .logo-text { font-size: 1.1rem; }
  .contact-main h2 { font-size: 1.3em; }
}
@media (max-width: 430px) {
  .logo-img { width: 28px; height: 28px;}
  .logo-text { font-size: 1rem;}
  .btn { font-size: 0.93em;}
}