/* ── SHARED FITONYX STYLES ── */
:root {
  --off-white: #F5F1EA;
  --beige: #E5D7C8;
  --charcoal: #1B1714;
  --bronze: #A27B5C;
  --warm-black: #2A2A2A;
  --bronze-light: #C4A882;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--warm-black);
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* CURSOR */
.cursor {
  width: 10px; height: 10px;
  background: var(--bronze); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--bronze); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--transition), width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--bronze); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.6s var(--transition);
}
nav.scrolled {
  padding: 18px 60px;
  background: rgba(27, 23, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(162, 123, 92, 0.15);
}
nav.solid {
  padding: 18px 60px;
  background: rgba(27, 23, 20, 0.98);
  border-bottom: 1px solid rgba(162, 123, 92, 0.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; z-index: 1001; }
.nav-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); transition: opacity 0.3s ease; }
.nav-links { display: flex; align-items: center; gap: 44px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: rgba(245, 241, 234, 0.8);
  font-family: 'Manrope', sans-serif;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--bronze-light); }
.nav-cta {
  background: transparent; border: 1px solid var(--bronze);
  color: var(--bronze) !important; padding: 10px 24px;
  letter-spacing: 0.12em; transition: all 0.4s var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--bronze) !important; color: var(--off-white) !important; }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; z-index: 1002; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--off-white); transition: all 0.4s var(--transition); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.nav-drawer {
  display: none; position: fixed; inset: 0;
  background: rgba(27, 23, 20, 0.97); backdrop-filter: blur(24px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.nav-drawer.open { opacity: 1; pointer-events: all; }
.nav-drawer ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 8px; padding: 0 40px; width: 100%; }
.nav-drawer ul li a {
  text-decoration: none; display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 500;
  color: rgba(245, 241, 234, 0.7);
  letter-spacing: 0.2em; text-transform: uppercase; padding: 16px 0;
  border-bottom: 1px solid rgba(162, 123, 92, 0.1);
  transition: color 0.3s ease;
}
.nav-drawer ul li a:hover { color: var(--bronze-light); }
.nav-drawer ul li:last-child a {
  border-bottom: none; color: var(--bronze);
  font-family: 'Manrope', sans-serif; font-size: 13px;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--bronze); padding: 14px 32px;
  margin-top: 24px; width: fit-content; margin-left: auto; margin-right: auto;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; background: var(--bronze); color: var(--off-white);
  text-decoration: none; font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.4s var(--transition); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12); transform: translateX(-100%);
  transition: transform 0.4s var(--transition);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px; border: 1px solid rgba(245, 241, 234, 0.4);
  color: var(--off-white); text-decoration: none;
  font-family: 'Manrope', sans-serif; font-size: 11px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.4s var(--transition);
}
.btn-ghost:hover { border-color: var(--bronze-light); color: var(--bronze-light); }

/* SECTION SHARED */
section { position: relative; }
.section-tag {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.section-tag::before { content: ''; display: block; width: 32px; height: 1px; background: var(--bronze); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--transition), transform 1s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 180px 80px 100px;
  background: var(--charcoal);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 60% 50%, rgba(162,123,92,0.07) 0%, transparent 100%);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--transition) 0.3s forwards;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 72px); font-weight: 300;
  color: var(--off-white); line-height: 1.1; letter-spacing: -0.01em;
  max-width: 700px; margin-bottom: 28px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1.2s var(--transition) 0.6s forwards;
}
.page-hero-title em { font-style: italic; color: var(--bronze-light); }
.page-hero-sub {
  font-size: 15px; font-weight: 300;
  color: rgba(245, 241, 234, 0.6);
  line-height: 1.9; max-width: 580px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--transition) 0.9s forwards;
}

/* CTA */
.cta {
  padding: 140px 80px; background: var(--charcoal);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(162,123,92,0.08) 0%, transparent 100%);
  pointer-events: none;
}
.cta-eyebrow { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 24px; }
.cta-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 72px); font-weight: 300; color: var(--off-white); line-height: 1.1; margin-bottom: 48px; letter-spacing: -0.01em; }
.cta-heading em { font-style: italic; color: var(--bronze-light); }

/* FOOTER */
footer { padding: 70px 80px 40px; background: #110E0C; border-top: 1px solid rgba(162,123,92,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; margin-bottom: 24px; }
.footer-brand-text { font-size: 13px; color: rgba(245,241,234,0.35); line-height: 2; font-weight: 300; max-width: 280px; }
.footer-col-title { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; font-size: 13px; color: rgba(245,241,234,0.4); transition: color 0.3s ease; font-weight: 300; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(162,123,92,0.08); font-size: 11.5px; color: rgba(245,241,234,0.2); letter-spacing: 0.04em; flex-wrap: wrap; gap: 12px; }

/* KEYFRAMES */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.3); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 22px 40px; }
  nav.scrolled, nav.solid { padding: 16px 40px; }
  .nav-links { gap: 28px; }
  .page-hero { padding: 160px 40px 80px; }
  footer { padding: 60px 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta { padding: 100px 40px; }
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled, nav.solid { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }
  .page-hero { padding: 130px 24px 70px; }
  .page-hero-title { font-size: 34px; }
  footer { padding: 50px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { font-size: 10px; }
  .cta { padding: 80px 24px; }
  .btn-primary, .btn-ghost { padding: 14px 28px; font-size: 10px; }
}


/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 32px; right: 32px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--charcoal); border: 1px solid rgba(162,123,92,0.5);
  box-shadow: 0 4px 24px rgba(27,23,20,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 9000; text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.wa-float:hover { transform: scale(1.1); background: var(--bronze); border-color: var(--bronze); box-shadow: 0 6px 28px rgba(162,123,92,0.45); }
.wa-float svg { width: 30px; height: 30px; fill: var(--bronze); transition: fill 0.3s ease; }
.wa-float:hover svg { fill: var(--off-white); }
.wa-float-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--charcoal); color: var(--off-white);
  font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; padding: 7px 14px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* CONTACT QUICK-LINKS (used in contact.html sidebar) */
.contact-quick { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-quick-link {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-size: 14px; font-weight: 400;
  color: var(--charcoal); transition: color 0.3s ease;
}
.contact-quick-link:hover { color: var(--bronze); }
.contact-quick-link .cql-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(162,123,92,0.3); transition: background 0.3s ease, border-color 0.3s ease;
}
.contact-quick-link:hover .cql-icon { background: var(--bronze); border-color: var(--bronze); }
.contact-quick-link .cql-icon svg { width: 16px; height: 16px; }
.contact-quick-link:hover .cql-icon svg { fill: #fff; stroke: #fff; }
.cql-wa .cql-icon { border-color: rgba(37,211,102,0.4); }
.cql-wa:hover .cql-icon { background: #25D366; border-color: #25D366; }
.cql-wa:hover { color: #1a9e4f; }


/* =====================================================
   COMPREHENSIVE MOBILE IMPROVEMENTS
   ===================================================== */

/* Touch target sizing — all interactive elements */
@media (max-width: 768px) {
  a, button, select, input, textarea {
    -webkit-tap-highlight-color: transparent;
  }

  /* Nav logo text sizing */
  .nav-logo-text { font-size: 18px; }

  /* Page hero tighter on small screens */
  .page-hero { padding: 120px 20px 60px; }
  .page-hero-title { font-size: clamp(28px, 8vw, 42px); }
  .page-hero-sub { font-size: 13.5px; line-height: 1.8; }

  /* Section tags */
  .section-tag { font-size: 9px; letter-spacing: 0.2em; }

  /* CTA section */
  .cta { padding: 80px 20px; }
  .cta-heading { font-size: clamp(28px, 8vw, 42px); margin-bottom: 36px; }

  /* Buttons — full-width stacked on very small screens */
  .btn-primary, .btn-ghost {
    padding: 14px 24px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  /* Footer full single column */
  footer { padding: 48px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-text { max-width: 100%; font-size: 12px; }
  .footer-col-title { margin-bottom: 16px; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a { font-size: 12px; }
  .footer-bottom { font-size: 10px; flex-direction: column; align-items: flex-start; gap: 8px; }

  /* WhatsApp float — smaller on mobile */
  .wa-float { width: 48px; height: 48px; bottom: 20px; right: 20px; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-float-tooltip { display: none; }

  /* Nav drawer links bigger tap area */
  .nav-drawer ul li a { padding: 14px 0; font-size: 13px; }
}

@media (max-width: 420px) {
  .page-hero { padding: 110px 16px 50px; }
  .page-hero-title { font-size: clamp(26px, 9vw, 36px); }
  .cta { padding: 64px 16px; }
  footer { padding: 40px 16px 24px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; text-align: center; }
}
