/* ==========================================================================
   AQUAÉRA & TGWC — CLEAN LIGHT THEME (HOME, OFFICE, HOTEL)
   ========================================================================== */

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

:root {
  /* Pristine Light Theme Backgrounds */
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-elevated: #f1f5f9;

  /* Authoritative Slate & Navy Typography */
  --ink-950: #0a0f1d;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;

  /* TGWC Eco-Green & Aqua Accents */
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  --aqua-600: #0284c7;
  --aqua-500: #0ea5e9;
  --aqua-100: #e0f2fe;

  /* Card Shadows & Borders */
  --glass-border: rgba(15, 23, 42, 0.08);
  --card-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
  --hover-shadow: 0 16px 36px -8px rgba(5, 150, 105, 0.16);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid Responsive Typography */
  --text-hero: clamp(2.1rem, 5.2vw, 4.2rem);
  --text-h1: clamp(1.85rem, 3.8vw, 3rem);
  --text-h2: clamp(1.45rem, 2.6vw, 2.25rem);
  --text-h3: clamp(1.15rem, 1.8vw, 1.5rem);
  --text-body: clamp(0.95rem, 1.05vw, 1.06rem);

  /* Spacing */
  --section-pad: clamp(3.5rem, 6vw, 6rem);
  --container-max: 1240px;
  --container-pad: clamp(1rem, 3.5vw, 2.5rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s var(--ease-out-expo);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--ink-800);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--ink-800);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-300);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green-600);
}

::selection {
  background: var(--green-100);
  color: var(--green-700);
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Prevent auto-zoom on iOS when tapping inputs */
input, select, textarea {
  font-size: 16px !important;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  position: relative;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 9999px;
  margin-bottom: 0.9rem;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.06);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin-bottom: 0.95rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--ink-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.65rem;
  min-height: 46px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);
}

.btn-primary:hover, .btn-primary:active {
  background: var(--green-700);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.32);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover, .btn-secondary:active {
  background: var(--green-50);
  border-color: var(--green-400);
  color: var(--green-700);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.95rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-200);
  transition: padding 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-950);
  flex-shrink: 0;
}

.brand-logo .accent {
  color: var(--green-600);
}

.brand-logo svg {
  width: 22px;
  height: 22px;
  color: var(--green-600);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--green-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: width 0.25s var(--ease-out-expo);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--ink-200);
  transition: background 0.2s, border-color 0.2s;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE DRAWER (POLISHED PHONE EXPERIENCE)
   ========================================================================== */

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  background: #ffffff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-out-expo);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink-900);
  padding: 0.9rem 0.5rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links a::after {
  content: '→';
  font-size: 1.1rem;
  color: var(--ink-400);
  transition: transform 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: var(--green-50);
  color: var(--green-700);
}

.mobile-nav-links a:hover::after {
  transform: translateX(4px);
  color: var(--green-600);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-phone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink-800);
  font-size: 0.95rem;
}

.mobile-nav-phone svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (MOBILE HIGH CONVERSION)
   ========================================================================== */

.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-out-expo);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 16px;
    padding: 0.75rem;
    border-radius: 50%;
  }

  .floating-whatsapp-btn .whatsapp-label {
    display: none;
  }

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

/* Header Mobile Quick Action */
.header-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  transition: all 0.2s;
}

.header-phone-btn:hover {
  background: var(--green-100);
  color: var(--green-800);
}

@media (min-width: 641px) {
  .header-phone-btn {
    display: none;
  }
}

/* Responsive utility */
@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }
  
  .brand-logo span {
    font-size: 1.15rem;
  }
}

