:root {
  --navy: #0a1628;
  --navy-light: #132238;
  --gold: #c9a227;
  --gold-light: #e0b83a;
  --gold-dark: #a8841c;
  --off-white: #f8f6f1;
  --white: #ffffff;
  --gray-light: #e8e6e1;
  --gray: #6b7280;
  --gray-dark: #374151;
  --text: #1f2937;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
  --shadow-hover: 0 12px 40px rgba(10, 22, 40, 0.1);
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 52px;
  width: auto;
  transition: opacity var(--transition);
}

.logo:hover img {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--gold-dark);
}

.nav-list a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-whatsapp:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: var(--off-white);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  margin-bottom: 36px;
}

.hero-logo img {
  height: 160px;
  width: auto;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
}

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

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 70%, rgba(10, 22, 40, 0.03) 0%, transparent 70%);
}

/* ========== ABOUT ========== */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-differentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.differential {
  padding: 28px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.differential:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.differential-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.differential h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.differential p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== SERVICES ========== */
.services {
  padding: 120px 0;
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 162, 39, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 14px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(201, 162, 39, 0.1);
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}

.cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.cta .btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.3);
}

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  background: var(--off-white);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.05);
}

.contact-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 48px;
  width: auto;
  opacity: 0.95;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

/* ========== ENTRANCE ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }
.fade-up-delay-7 { transition-delay: 0.7s; }
.fade-up-delay-8 { transition-delay: 0.8s; }

.fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero specific entrance (on load) */
.hero-logo {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero h1 {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 32px;
    box-shadow: -8px 0 30px rgba(10, 22, 40, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .nav-list a {
    font-size: 1.125rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 580px;
    padding: calc(var(--header-height) + 40px) 0 60px;
  }

  .hero-logo img {
    height: 110px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-differentials {
    grid-template-columns: 1fr 1fr;
  }

  .services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .cta {
    padding: 72px 0;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .about-differentials {
    grid-template-columns: 1fr;
  }

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

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

  .section-header h2,
  .about-text h2,
  .cta-content h2 {
    font-size: 1.625rem;
  }
}
