/* =============================================
   ROYAL ROOTS — DESIGN SYSTEM TOKENS
   ============================================= */

:root {
  /* === BRAND COLORS === */
  --gold: #D4AF37;
  --gold-dark: #C19A2E;
  --gold-light: #F4E4C1;
  --gold-faint: rgba(212, 175, 55, 0.08);
  --cream: #FAF7F2;
  --charcoal: #2C2C2C;
  --charcoal-dark: #1A1A1A;
  --brown-rich: #5C4033;
  --white: #FFFFFF;
  --gray-light: #E5E5E5;
  --gray-mid: #999999;
  --text-dark: #1E1E1E;
  --text-body: #4A4A4A;
  --text-muted: #777777;
  --success: #4CAF50;
  --whatsapp: #25D366;

  /* === TYPOGRAPHY === */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* === TYPE SCALE === */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-6xl: 4rem;
  --text-hero: 4.75rem;

  /* === SPACING (8px grid) === */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 5rem;
  --sp-8: 7.5rem;

  /* === SHADOWS === */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.25);
  --shadow-gold-lg: 0 16px 48px rgba(212, 175, 55, 0.35);

  /* === BORDERS === */
  --border-gold: 1px solid rgba(212, 175, 55, 0.4);
  --border-gold-solid: 2px solid #D4AF37;
  --border-light: 1px solid #E5E5E5;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* === TRANSITIONS === */
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.35s ease;
  --transition-slow: all 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* === Z-INDEX === */
  --z-navbar: 1000;
  --z-modal: 2000;
  --z-floating: 900;

  /* === CONTAINER === */
  --container-max: 1200px;
  --container-padding: 0 24px;
}
/* =============================================
   CSS RESET + BASE
   ============================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; border: none; outline: none; }

/* Accessibility */
.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;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Section base */
section {
  position: relative;
  overflow: hidden;
}
/* =============================================
   TYPOGRAPHY
   ============================================= */

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

/* === HEADING STYLES === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: var(--text-hero); letter-spacing: -0.5px; }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

/* === SECTION TYPOGRAPHY === */
.section-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: var(--sp-2);
  display: block;
}

.section-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-5xl);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}

.section-sub {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  max-width: 620px;
}

.section-sub.centered {
  margin-left: auto;
  margin-right: auto;
}

/* === UI TEXT === */
.ui-text {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.body-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
}
/* =============================================
   SHARED COMPONENTS — Buttons, Cards, Badges, Forms
   ============================================= */

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  height: 54px;
  padding: 0 36px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

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

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: var(--charcoal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn--whatsapp:hover {
  background: #1EBE5A;
  border-color: #1EBE5A;
  transform: translateY(-2px);
}

.btn--full { width: 100%; }
.btn--sm { height: 44px; padding: 0 24px; font-size: 13px; }

/* === CTA LINK (underline style) === */
.cta-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.cta-link:hover::after { width: 100%; }

/* === BADGE / PILL === */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.badge--gold {
  background: var(--gold);
  color: var(--white);
}
.badge--outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* === FORM ELEMENTS === */
.form-group {
  margin-bottom: var(--sp-3);
}
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition-fast);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Pill multi-select */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-option {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}
.pill-option:hover { border-color: var(--gold); color: var(--gold); }
.pill-option.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* === CARD BASE === */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* === DIVIDER === */
.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: var(--sp-3) 0;
}
.gold-divider.centered { margin-left: auto; margin-right: auto; }

/* === SECTION PADDING === */
.section-padding {
  padding: 100px 0;
}

/* === FORM SUCCESS MESSAGE === */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: heroFadeUp 0.5s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
}

.form-success svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  stroke-width: 3;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.form-success p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}
/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  z-index: var(--z-navbar);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.navbar__logo img:first-child {
  padding-right: 12px;
  border-right: 1px solid rgba(0,0,0,0.1);
}

/* Nav Links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.navbar__links > li { position: relative; }

.navbar__links a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Mega Dropdown */
.navbar__dropdown { position: relative; }

.navbar__dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar__dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s ease;
  margin-top: 1px;
}

.navbar__dropdown.open .navbar__dropdown-arrow {
  transform: rotate(180deg);
}

.navbar__mega-menu {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  min-width: 600px;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
  padding: 28px 32px 24px;
  pointer-events: none;
}

/* Invisible bridge - can be removed if hover is disabled, but keeping for safety if needed later */
.navbar__mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 10%;
  width: 80%;
  height: 8px;
}

.navbar__dropdown.open .navbar__mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0s;
  pointer-events: auto;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mega-menu__item::after { display: none !important; }

.mega-menu__item:hover {
  background: var(--cream);
}

.mega-menu__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--gold);
}

.mega-menu__icon svg {
  width: 100%;
  height: 100%;
}

.mega-menu__text h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.3;
}

.mega-menu__text p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mega-menu__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
  text-align: center;
}

.mega-menu__footer a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mega-menu__footer a::after { display: none !important; }

/* Nav CTA */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navbar__cta .btn {
  height: 38px;
  padding: 0 20px;
  font-size: 12px;
}

.navbar__whatsapp-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.navbar__whatsapp-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.navbar__whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: calc(var(--z-navbar) + 2);
  position: relative;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-base);
  transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--charcoal-dark);
  z-index: calc(var(--z-navbar) + 50); /* High above everything */
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10000;
  padding: 0;
}

.mobile-nav__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.mobile-nav__close:hover,
.mobile-nav__close:active {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.05);
}


.mobile-nav__links {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav__links a {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav__links a:hover,
.mobile-nav__links a.active {
  color: var(--gold);
}

/* Mobile Products accordion */
.mobile-nav__accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.mobile-nav__accordion-toggle .arrow {
  transition: transform 0.3s ease;
  color: var(--gold);
}

.mobile-nav__accordion-toggle.open .arrow {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex !important; /* force vertical stacking */
  flex-direction: column !important;
}

.mobile-nav__sub.open {
  max-height: 500px;
}

.mobile-nav__sub a {
  font-size: 16px !important;
  padding: 14px 0 14px 24px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.mobile-nav__sub a:hover {
  color: var(--gold) !important;
}

.mobile-nav__cta {
  padding-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav__cta .btn { width: 100%; }
/* =============================================
   FOOTER + FLOATING BUTTONS
   ============================================= */

/* === FOOTER === */
.footer {
  background: var(--charcoal-dark);
  padding: 80px 0 0;
  border-top: 3px solid var(--gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Column 1: Brand */
.footer__logo {
  display: flex;
  align-items: center; /* vertical center */
  gap: 16px;
  margin-bottom: 24px;
}

.footer__logo img {
  height: 48px;
  width: auto;
}

.footer__tagline {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer__about {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: fill 0.2s ease;
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer__social-link:hover svg {
  fill: var(--white);
}

/* Column headings */
.footer__heading {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
}

/* Column links */
.footer__links a {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  padding: 7px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

/* Column 4: Contact */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact-item a:hover {
  color: var(--gold);
}

.footer__directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.footer__directions:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* Bottom bar */
.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p,
.footer__bottom a {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a:hover { color: var(--gold); }

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

/* === FLOATING BUTTONS === */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-floating);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-base);
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.floating-btn--whatsapp {
  background: var(--whatsapp);
}

.floating-btn--whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.floating-btn--whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.floating-btn--call {
  background: var(--gold);
  width: 52px;
  height: 52px;
}

.floating-btn--call:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.floating-btn--call svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: white;
}

/* Tooltip */
.floating-btn__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.floating-btn:hover .floating-btn__tooltip {
  opacity: 1;
  visibility: visible;
}

/* Pulse animation */
@keyframes floating-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-btn--whatsapp.visible {
  animation: floating-pulse 3.5s infinite;
}

.floating-btn--whatsapp:hover {
  animation: none;
}

/* Responsive Footer Improvements */
@media (max-width: 768px) {
  .footer { 
    padding: 60px 0 30px !important; 
  }
  .footer__grid { 
    grid-template-columns: 1fr !important; 
    text-align: center !important; 
    gap: 40px !important;
  }
  /* Hide redundant links on mobile to prevent "mirroring" the menu */
  .footer__col:nth-child(2),
  .footer__col:nth-child(3) {
    display: none !important;
  }
  .footer__logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px !important;
    gap: 12px !important;
  }
  .footer__logo img {
    height: 40px !important; /* Slightly smaller for mobile stacking */
    margin: 0 !important;
  }
  .footer__social { justify-content: center !important; }
  .footer__contact-item { justify-content: center !important; }
  .footer__directions { margin: 16px auto 0 !important; width: fit-content !important; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* Fade-in only (no translate) */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.reveal-fade.visible {
  opacity: 1;
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* === HERO ANIMATIONS === */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero staggered entrance */
.hero__label    { opacity: 0; animation: heroFadeUp 0.7s 0.2s forwards; }
.hero__headline { opacity: 0; animation: heroFadeUp 0.7s 0.5s forwards; }
.hero__sub      { opacity: 0; animation: heroFadeUp 0.7s 0.8s forwards; }
.hero__support  { opacity: 0; animation: heroFadeUp 0.7s 1.0s forwards; }
.hero__ctas     { opacity: 0; animation: heroFadeUp 0.7s 1.2s forwards; }
.hero__trust    { opacity: 0; animation: heroFadeUp 0.7s 1.5s forwards; }
.hero__scroll   { opacity: 0; animation: fadeIn 0.8s 2s forwards; }
.hero__scroll-arrow { animation: heroBounce 2s infinite; }
/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-6xl); }
  h2, .section-headline { font-size: var(--text-4xl); }
  .section-padding { padding: 80px 0; }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
  :root {
    --container-padding: 0 20px;
  }

  h1 { font-size: var(--text-4xl); }
  h2, .section-headline { font-size: var(--text-3xl); }
  .section-padding { padding: 64px 0; }
  .section-sub { font-size: var(--text-base); }

  /* Navbar mobile */
  .navbar { height: 70px; }
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .navbar__logo img { height: 42px; width: auto; object-fit: contain; }
  
  /* Fix horizontal overflow */
  html, body { overflow-x: hidden !important; width: 100%; }
  main { overflow-x: hidden !important; width: 100%; }
  .container { max-width: 100%; overflow-x: clip; }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer__social { justify-content: center; }
  .footer__contact-item { justify-content: center; }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer__bottom-links { justify-content: center; }

  /* Floating buttons */
  .floating-buttons {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn { width: 54px; height: 54px; }
  .floating-btn svg { width: 24px; height: 24px; }
  .floating-btn__tooltip { display: none; }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  h1 { font-size: var(--text-3xl); }
  h2, .section-headline { font-size: var(--text-2xl); }
}
