:root {
  --primary-color: #000b70;
  --primary-hover: #001085;
  --secondary-color: #b58a3f;
  --text-color: #e0e0e0;
  --text-light: #bcbcbc;
  --dark-bg: #1a1a1a;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --gold-bright: #d4af37;
  --gold-light: #f4e3bd;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --border-radius: 10px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  width: 100%;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--white);
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn i {
  font-size: 1.2em;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp {
  position: relative;
  background-color: var(--whatsapp);
  color: var(--white);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.btn-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: whatsapp-halo 2s ease-out infinite;
  pointer-events: none;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  animation-play-state: paused;
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 18px;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
  }
}

@keyframes whatsapp-halo {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Hero */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.60)),
    url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 820px;
  padding: 60px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(300px, 62vw);
  height: auto;
  margin: 0 auto 20px;
}

.hero-title {
  font-size: clamp(30px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(
    96deg,
    var(--gold-light) 0%,
    var(--gold-bright) 38%,
    var(--secondary-color) 78%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--white);
}

/* Services */
.services {
  background-color: rgba(0, 0, 0, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 30px;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white);
}

.service-description {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.service-card .btn-whatsapp {
  width: 100%;
  margin-top: auto;
}

/* Accordion */
.accordion {
  margin-top: 30px;
}

.accordion-item {
  margin-bottom: 15px;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.accordion-content.is-open {
  opacity: 1;
}

.accordion-content-inner {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #e8e8e8;
  text-align: center;
}

/* Team */
.team {
  background-color: rgba(0, 0, 0, 0.3);
}

.team-grid {
  display: grid;
  max-width: 400px;
  margin: 0 auto;
}

.team-card {
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #000000;
}

.team-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: var(--transition);
}

.team-card:hover .team-image img {
  transform: scale(1.03);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--white);
}

.team-role {
  font-size: 14px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.team-headline {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--white);
}

.team-bio {
  font-size: 14px;
  color: var(--text-light);
}

/* Contact */
.contact {
  background-color: rgba(20, 20, 20, 0.5);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
  text-align: center;
}

.map-container {
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-item i {
  margin-right: 15px;
  margin-top: 3px;
  font-size: 18px;
  color: var(--secondary-color);
}

.contact-item-content {
  font-size: 14px;
  color: var(--text-color);
}

.contact-item-content strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: var(--white);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

/* Footer */
.footer {
  padding: 60px 0 30px;
  background-color: #000000;
  color: var(--text-color);
  text-align: center;
}

.footer-logo {
  height: auto;
  width: min(300px, 70vw);
  margin: 0 auto 24px;
  display: block;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.footer-info a,
.footer-info p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-color);
  transition: var(--transition);
}

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

.footer-info i {
  color: var(--secondary-color);
  font-size: 16px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  transform: translateY(-3px);
  background-color: var(--secondary-color);
}

.footer-social .social-whatsapp {
  background-color: var(--whatsapp);
}

.footer-social .social-whatsapp:hover {
  background-color: var(--whatsapp-dark);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--text-light);
}

/* Floating actions */
.floating-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
}

.floating-whatsapp a {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  background-color: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: whatsapp-pulse 2s ease-in-out infinite;
  transition: var(--transition);
}

.floating-whatsapp a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: floating-ping 1.8s ease-out infinite;
}

@keyframes floating-ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.floating-whatsapp a:hover {
  background-color: var(--whatsapp-dark);
  animation-play-state: paused;
  transform: scale(1.1);
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.floating-call a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.floating-call a:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  background-color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Entrance and scroll reveal */
.hero-item {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-item:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-item:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-item:nth-child(3) {
  animation-delay: 0.4s;
}

.hero-item:nth-child(4) {
  animation-delay: 0.55s;
}

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 70px, 0);
  transition:
    opacity 1.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-down {
  transform: translate3d(0, -70px, 0);
}

.reveal-left {
  transform: translate3d(-70px, 0, 0);
}

.reveal-right {
  transform: translate3d(70px, 0, 0);
}

.reveal-zoom {
  transform: scale(0.88);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-group > .reveal:nth-child(2) {
  transition-delay: 0.18s;
}

.reveal-group > .reveal:nth-child(3) {
  transition-delay: 0.36s;
}

.services-grid.reveal-group > .reveal:nth-child(3n + 2) {
  transition-delay: 0.18s;
}

.services-grid.reveal-group > .reveal:nth-child(3n + 3) {
  transition-delay: 0.36s;
}

/* Responsive */
@media (max-width: 991px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 70vh;
    padding: 100px 0;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .service-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }
  .btn-lg {
    width: 100%;
  }
  .footer-info a,
  .footer-info p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn-whatsapp,
  .btn-whatsapp::after,
  .floating-whatsapp a,
  .floating-whatsapp a::after {
    animation: none;
  }
  .hero-item,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
