:root {
  --primary-bg: #162030;
  --card-bg: #f5f5f5e6;
  --card-shadow: rgba(0, 0, 0, 0.07) 0px 1.5px 6px;
  --header-color: #fff;
  --title-size: 2.5rem;
  --card-title-size: 1.55rem;
  --card-text-size: 1.03rem;
  --border-radius: 4px;
  --underline-color: #4f5c6e;
}


.navbar {
  font-family: "Dosis", sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  z-index: 999;
  background: transparent;
  transition: background-color 0.4s ease, padding 0.3s ease;
  box-sizing: border-box;
}
.navbar .logo img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.nav-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #ebf5fb;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links li a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.navbar .nav-links li a:hover {
  color: rgba(229, 229, 229, 0.969);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 12px 8px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 10px;
  }
  .logo {
    flex: 1;
  }
  .menu-toggle {
    display: flex;
    z-index: 1001;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.97);
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 11px 0px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.13);
    line-height: 0;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    text-align: center;
    padding: 6.5px 0;
  }
}
@media (max-width: 480px) {
  .navbar {
    padding: 7px 4px;
  }
  .nav-links {
    gap: 7px;
  }
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  background: var(--primary-bg);
}

.header {
  background: var(--primary-bg);
  text-align: center;
  padding: 2.2rem 1rem 1.2rem 1rem;
  position: relative;
}

.header h1 {
  color: var(--header-color);
  font-size: var(--title-size);
  font-weight: 600;
  margin-bottom: 0.3rem;
  margin-top: 5vw;
}

.underline {
  width: 100px;
  height: 4px;
  background: var(--underline-color);
  margin: 0 auto;
  border-radius: 2px;
}

main {
  position: relative;
  z-index: 2;
  min-height: 72vh;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  padding: 0 1rem 3rem 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 2.1rem 1.5rem 1.2rem 1.5rem;
  min-height: 180px;
  transition: transform 0.17s, box-shadow 0.17s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card h2 {
  font-size: var(--card-title-size);
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: #1d2636;
}

.card p {
  font-size: var(--card-text-size);
  margin: 0;
  color: #2d3545;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 24px 4px rgba(36, 49, 66, 0.08);
}

.card:focus-visible {
  outline: 2px solid var(--underline-color);
  outline-offset: 4px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 2px 8px 0 rgba(32, 50, 32, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.whatsapp-btn img {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 700px) {
  .header h1 {
    font-size: 1.45rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    padding: 1.4rem 1rem 1rem 1rem;
  }

  .whatsapp-btn {
    width: 46px;
    height: 46px;
    right: 12px;
    bottom: 14px;
  }
}

@media (min-width: 1200px) {
  .card h2 {
    font-size: 1.7rem;
  }

  .card p {
    font-size: 1.1rem;
  }
}


.footer {
  width: 100%;
  background: linear-gradient(90deg, #181e26 0%, #28374c 100%);
  color: #f4f6fb;
  padding-top: 3vw;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
  position: relative;
}
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3vw;
  padding: 0 2.5vw;
  flex-wrap: wrap;
}
.footer-col {
  min-width: 180px;
  flex: 1;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  margin-bottom: 1.1em;
  color: #fff;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 7px;
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 2.5px;
  background: #00b4d8;
  border-radius: 2px;
  margin-top: 3px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  display: flex;
  align-items: flex-start;
}
.footer-col ul li i {
  margin-right: 10px;
  font-size: clamp(1rem, 1.8vw, 1.1em);
  color: #00b4d8;
  margin-top: 2px;
}
.footer-col ul li a {
  color: #e3e8f3;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  margin-bottom: 10px;
}
.footer-col ul li a:hover,
.footer-col ul li a:focus {
  color: #00b4d8;
  text-decoration: underline;
  outline: none;
}
.footer-divider {
  border: none;
  height: 1px;
  background: #333;
  margin: 0;
  width: 88%;
}
.footer-bottom {
  text-align: center;
  padding: 1em 0 0.6em 0;
  font-size: clamp(0.8rem, 1.2vw, 0.98rem);
  color: #bbb;
  background: #151515;
  letter-spacing: 0.01em;
  margin-bottom: 5px;
}


@media (max-width: 1200px) {
  .footer-container {
    max-width: 970px;
    padding-left: 3vw;
    padding-right: 3vw;
    gap: 2vw;
  }
}
@media (max-width: 900px) {
  .footer-container {
    max-width: 700px;
    padding-left: 4vw;
    padding-right: 4vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 2vw;
  }
  .footer-col {
    margin-bottom: 1rem;
    width: 100%;
    min-width: 120px;
  }
}
@media (max-width: 700px) {
  .footer-container {
    max-width: 100%;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .footer-col {
    margin-bottom: 1rem;
  }
  .footer-divider {
    width: 94%;
  }
}
@media (max-width: 600px) {
  .footer {
    padding-top: 20px;
  }
  .footer-container {
    padding: 0 4.5vw;
  }
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.7em;
  }
  .footer-col ul li,
  .footer-col ul li a {
    font-size: 0.85rem;
  }
  .footer-bottom {
    padding: 0.9em 0 0.5em 0;
    font-size: 0.7rem;
  }
}
