﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --background: #ffffff;
  --surface: #f2f5f8;
  --surface-strong: #f7f7f7;
  --text: #222222;
  --muted: #666666;
  --accent-gold: #d4af37;
  --accent-blue: #0a3d62;
  --accent-dark: #111111;
  --border-light: #cccccc;
}

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

button,
a {
  font-family: inherit;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 18px 8%;
  background: var(--accent-blue);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

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

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
}

/* NAV TOGGLE (mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle.open .hamburger { background: transparent; }
.nav-toggle.open .hamburger::before {
  transform: rotate(45deg) translate(3px, 3px);
  top: 0;
}
.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg) translate(3px, -3px);
  top: 0;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 10%;
  position: relative;
  background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(0, 0, 0, 0.85)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(0, 0, 0, 0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero p {
  margin: 0 auto 40px;
  color: #f5f7fa;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

/* SECTIONS */
.section {
  padding: 100px 8%;
  background: var(--background);
}

.section.dark {
  background: var(--surface);
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  color: var(--accent-blue);
}

.center-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* CARDS */
.card {
  background: var(--surface-strong);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.85;
}

.gold-border {
  border-color: rgba(212, 175, 55, 0.24);
}

.wide {
  max-width: 900px;
  margin: 0 auto;
}

/* CTA */
.cta {
  text-align: center;
  padding: 100px 8%;
  background: var(--accent-dark);
  color: #ffffff;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  margin-top: 14px;
  color: #f5f7fa;
  font-size: 1rem;
}

/* BUTTONS */
button {
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-gold {
  background: var(--accent-gold);
  border: none;
  padding: 15px 35px;
  color: #000000;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.25);
}

.btn-outline {
  border: 2px solid var(--accent-gold);
  background: transparent;
  color: #ffffff;
  padding: 15px 35px;
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #000000;
}

.btn-blue {
  background: var(--accent-blue);
  color: #ffffff;
  border: 1px solid var(--accent-blue);
}

.btn-blue:hover {
  background: #082d49;
}

.btn-gold.large,
.btn-blue.large,
.btn-outline.large {
  padding: 18px 34px;
  font-size: 1rem;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.35);
}

/* FOOTER */
footer {
  padding: 30px;
  text-align: center;
  background: var(--accent-blue);
  color: #ffffff;
}

footer p {
  margin-bottom: 10px;
}

.small {
  font-size: 12px;
}

.page-hero {
  padding: 120px 40px 60px;
  text-align: center;
  background: linear-gradient(135deg, #07131f, #0b172a);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  color: var(--accent-gold);
}

.page-hero p {
  margin-top: 14px;
  color: #cbd5e1;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

ul {
  margin-top: 18px;
  padding-left: 20px;
  color: #dbeafe;
}

ul li {
  margin-bottom: 10px;
}

/* Mobile behavior */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    right: 24px;
    top: 72px;
    background: var(--accent-blue);
    padding: 12px 14px;
    border-radius: 10px;
    flex-direction: column;
    gap: 8px;
    width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open { display: flex; }

  .nav-links a { color: #ffffff; padding: 8px 6px; }

  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    height: 46px;
    max-width: 200px;
  }

  .section,
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}
