:root {
  color-scheme: light;
  --primary: #0f2a4d;
  --secondary: #4eb724;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --bg: #f5f7fa;
  --surface: #ffffff;
  --border: rgba(11, 55, 89, 0.15);
  --shadow: 0 20px 50px rgba(11, 55, 89, 0.15);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}


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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/hero-section.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(3px);
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.at-top {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.site-header.scrolled {
  background: rgba(11, 55, 89, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 55, 89, 0.4);
  box-shadow: 0 8px 24px rgba(11, 55, 89, 0.3);
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand span {
  font-size: 1.5rem;
}

.brand img {
  width: 56px;
  height: 56px;
  transform: scale(2.5);
  transform-origin: left center;
  margin-right: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer {
  display: flex;
  align-items: center;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 25, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 45;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}


.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  padding: 70px 0 60px;
  position: relative;
  z-index: 1;
  justify-items: center;
  text-align: center;
}

.hero-text {
  padding: 0;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  transform: none;
  padding-left: 0;
}

.slogan {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin: 16px 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.highlight {
  color: #ffffff;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 18px;
  justify-content: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tags span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: rgba(11, 55, 89, 0.7);
  color: #fff;
}

.contact-card .btn-primary,
.hero .btn-primary {
  padding: 16px 32px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(15, 42, 77, 0.95), rgba(78, 183, 36, 0.75));
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(5, 20, 35, 0.35);
}

.contact-card .btn-primary:hover,
.hero .btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 32px rgba(5, 20, 35, 0.45);
  background: linear-gradient(135deg, rgba(15, 42, 77, 1), rgba(78, 183, 36, 0.9));
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pulse {
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgb(255, 255, 255);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}


.section-header {
  max-width: 720px;
  margin-bottom: 32px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 2rem;
}

.about,
.services,
.cta,
.contact {
  padding: 70px 0;
}

.about-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  outline: 1px solid rgba(172, 214, 158, 0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(11, 55, 89, 0.28);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px;
  justify-items: center;
}

.team-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
  max-width: 360px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(11, 55, 89, 0.3);
}

.team-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 240px));
  grid-template-rows: repeat(4, 300px);
  gap: 16px 28px;
  justify-content: center;
  align-items: center;
}

.service-card {
  background-image: linear-gradient(rgba(39, 82, 116, 0.75), rgba(28, 65, 94, 0.75)),
    var(--service-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 0;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  width: 290px;
  min-height: 320px;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  background-image: linear-gradient(rgba(4, 32, 54, 0.884), rgba(3, 24, 41, 0.945)),
    var(--service-bg);
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(11, 55, 89, 0.35);
}

.service-card-center {
  grid-column: 2;
  grid-row: 2;
}

.service-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  transform: translateY(-12px);
}

.service-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
  transform: translateY(-150px);
}

.service-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
  transform: translateY(-150px);
}

.service-card:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
  transform: translateY(-120px);
}

.service-card:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
  transform: translateY(-120px);
}

.service-card:nth-child(7) {
  grid-column: 2;
  grid-row: 4;
  transform: translateY(-300px);
}

.service-card-content {
  display: grid;
  gap: 10px;
  padding: 26px 20px;
  max-width: 190px;
}

.service-card h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.service-card p {
  font-size: 0.9rem;
}

.cta-card {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(11, 55, 89, 0.28);
}

.cta-card .section-label {
  color: var(--secondary);
}

.cta-slogan {
  font-weight: 600;
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
  gap: 24px;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-card .contact-grid {
  text-align: center;
}

.contact-card .contact-main {
  display: grid;
  gap: 12px;
}

.contact-card .contact-actions {
  min-width: 220px;
}

.contact-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.footer {
  padding: 32px 0 50px;
  text-align: center;
  color: var(--muted);
}

.footer a:hover {
  color: var(--primary);
}

.mobile-break {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, rgba(15, 42, 77, 0.95), rgba(78, 183, 36, 0.75));
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 20, 35, 0.35);
  z-index: 60;
  justify-content: center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 32px rgba(5, 20, 35, 0.45);
  background: linear-gradient(135deg, rgba(15, 42, 77, 1), rgba(78, 183, 36, 0.9));
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: var(--icon-whatsapp) center / contain no-repeat;
  mask: var(--icon-whatsapp) center / contain no-repeat;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255);
  animation: pulse 1.8s ease-out infinite;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 80;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 25, 0.6);
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 32px;
  border-radius: var(--radius);
  width: min(420px, 92%);
  box-shadow: var(--shadow);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  .mobile-break {
    display: block;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 70;
  }

  .site-header + main {
    padding-top: 72px;
  }

  body::before {
    position: fixed;
    background-attachment: fixed;
    background-image: url("../img/hero-section-mobile.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(3px);
  }

  .hero {
    margin: 16px 16px 32px;
    min-height: calc(100vh - 72px - 48px);
  }

  .nav {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    transform: scale(2.1);
    margin-right: 30px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: rgba(11, 55, 89, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding: 96px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 50;
  }

  body.nav-open .nav-drawer {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: #ffffff;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 0;
    min-height: calc(100vh - 72px - 48px);
    place-content: center;
  }

  .slogan {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

  .subtitle {
    font-size: 0.98rem;
  }
  .section-label {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .team-card h3 {
    font-size: 1.05rem;
  }

  .team-card p,
  .service-card p,
  .contact-card p,
  .cta-card p {
    font-size: 0.95rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .contact-pill {
    font-size: 0.95rem;
  }

  .footer {
    font-size: 0.9rem;
  }

  .hero-text {
    padding: 0;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-tags {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 320px;
  }

  .hero-tags span {
    display: list-item;
    list-style: disc;
    list-style-position: inside;
  }

  .cta-card {
    padding: 28px;
  }

  .about-card {
    padding: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-items: center;
  }

  .service-card {
    transform: none;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-child(6),
  .service-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding-top: 8px;
  }
  .container {
    width: min(1100px, 90%);
  }

  .brand img {
    width: 48px;
    height: 48px;
    transform: scale(2);
    margin-right: 28px;
  }

  .brand span {
    font-size: 1.15rem;
  }

  .slogan {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-label {
    font-size: 1.6rem;
  }

  .cta-card,
  .about-card,
  .modal-content {
    padding: 22px;
  }

  .service-card {
    width: 100%;
    max-width: 260px;
    min-height: 280px;
  }

  .service-card-content {
    max-width: 170px;
  }

  .contact-pill {
    width: 100%;
    text-align: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 375px) and (max-height: 667px) {
  body {
    font-size: 0.9rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
    transform: scale(1.5);
    margin-right: 16px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .slogan {
    font-size: 0.6rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }

  .subtitle {
    font-size: 0.82rem;
  }

  .section-label {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 1.15rem;
  }

  .section-header p,
  .team-card p,
  .service-card p,
  .contact-card p,
  .cta-card p {
    font-size: 0.82rem;
  }
}

@media (max-width: 320px) and (max-height: 568px) {
  .hero-content {
    padding-top: 10px;
  }
  .brand img {
    width: 40px;
    height: 40px;
    transform: scale(1.6);
    margin-right: 18px;
  }

  .brand span {
    font-size: 1rem;
  }

  .slogan {
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .subtitle {
    font-size: 0.86rem;
  }

  .section-label {
    font-size: 1.35rem;
  }

  .section-header h2 {
    font-size: 1.25rem;
  }

  .section-header p,
  .team-card p,
  .service-card p,
  .contact-card p,
  .cta-card p {
    font-size: 0.86rem;
  }
}