/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (:root)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors from plan.txt */
  --primary: #FF7A00;
  --primary-rgb: 255, 122, 0;
  --accent: #F4B740;
  --secondary: #1E293B;
  --secondary-rgb: 30, 41, 59;
  --bg: #FCFAF7;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #64748B;
  --success: #10B981;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), #FFB347);
  --gradient-dark: linear-gradient(135deg, var(--secondary), #334155);
  --gradient-gold: linear-gradient(135deg, var(--accent), #F9D076);
  --gradient-soft: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(30, 41, 59, 0.08), 0 8px 10px -6px rgba(30, 41, 59, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(30, 41, 59, 0.12), 0 12px 16px -8px rgba(30, 41, 59, 0.08);
  
  /* Borders and Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--secondary);
  border: 1px solid rgba(30, 41, 59, 0.15);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  position: relative;
  width: 100%;
  height: 36px;
  background: var(--gradient-primary);
  color: white;
  z-index: 1002;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
}

.announcement-marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 75s linear infinite;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 4rem;
}

.marquee-group span {
  padding-right: 4rem;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */
.header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.05);
  transition: var(--transition);
}

.header-wrapper.scrolled {
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.header-wrapper.scrolled header {
  height: 70px;
}

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

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header-wrapper.scrolled .logo img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-ctas .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

/* Mobile responsive navigation styles */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 2rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .header-ctas {
    margin-left: auto;
    margin-right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-ctas {
    display: none; /* Hide chat and talk now CTAs on small screens */
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
footer {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-links-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
  grid-column: 1 / -1;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: white;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
