/* ================= VARIABLES ================= */
:root {
    --bg-color: #F8F7F4;
    --surface-color: #FFFFFF;
    --border-color: #E8E6E1;

    --accent-primary: #0057FF;
    --accent-glow: #00A67E;

    --text-primary: #0F0F0F;
    --text-secondary: #2C2C2C;
    --text-muted: #6B6B6B;
    --text-tertiary: #8A8A8A;

    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ================= RESET & GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

section {
    padding: 100px 0;
}

/* ================= NAVBAR ================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(248, 247, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
    max-width: none;
}

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

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--accent-primary);
    font-weight: 600;
}

.btn-nav {
    border: 1px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    box-shadow: 0 0 24px rgba(0, 87, 255, 0.2);
}

/* ================= FOOTER ================= */
footer {
    background: #F0EEE9;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h5 {
    font-family: var(--font-head);
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    justify-content: space-between;
}

/* ================= FLOATING WHATSAPP ================= */
#wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

#wa-float.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

#wa-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #2C2C2C;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

#wa-float:hover .wa-tooltip {
    opacity: 1;
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid #E8E6E1;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 10001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0F0F0F;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE FULL SCREEN OVERLAY ===== */
#mobile-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #F8F7F4;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#mobile-overlay.is-open {
  display: flex;
}
#mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 32px;
  gap: 0;
}
#mobile-menu-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 400px;
}
#mobile-menu-inner ul li {
  border-bottom: 1px solid #E8E6E1;
}
#mobile-menu-inner ul li:first-child {
  border-top: 1px solid #E8E6E1;
}
#mobile-menu-inner ul li a {
  display: block;
  padding: 22px 0;
  font-size: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #0F0F0F;
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}
#mobile-menu-inner ul li a:hover {
  color: #0057FF;
}
#mobile-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 48px;
  background: #0057FF;
  color: #FFFFFF;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
#mobile-cta:hover {
  background: #0044CC;
  transform: translateY(-2px);
}

/* ================= GLOBAL RESPONSIVE ================= */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-content {
        padding: 0 24px;
    }
}

/* ===== RESPONSIVE BREAKPOINT ===== */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .btn-nav { display: none !important; }
  .hamburger { display: flex !important; }
}

/* Make sure navbar stays above overlay */

/* Prevent body scroll when menu open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}