/* ==========================================================================
   GIGL MARKETING - LUXURY REAL ESTATE DESIGN SYSTEM
   Primary Palette: Deep Royal Navy & Warm Champagne Gold
   Typography: Outfit (Headings/Brand) & Inter (Clean High-Legibility Body)
   ========================================================================== */

@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 {
  /* Color Tokens */
  --primary: #0b1a30;           /* Deep Navy */
  --primary-dark: #06101e;      /* Midnight Blue */
  --primary-light: #162a4a;     /* Slate Navy */
  --primary-subtle: #1e3a64;    /* Accent Navy */
  
  --accent: #c89b3c;            /* Champagne Gold */
  --accent-light: #dfb76c;      /* Warm Gold */
  --accent-hover: #b48729;      /* Deep Gold */
  --accent-glow: rgba(200, 155, 60, 0.25);
  --accent-subtle: #fbf7ee;     /* Warm Gold Tint */

  --secondary: #1e293b;
  --background: #f8fafc;        /* Clean Off-White */
  --surface: #ffffff;           /* Pure White */
  --surface-elevated: #ffffff;
  --surface-alt: #f1f5f9;

  --text-main: #0f172a;         /* High Contrast Charcoal */
  --text-muted: #475569;        /* Neutral Slate */
  --text-light: #94a3b8;
  --text-inverse: #f8fafc;
  --text-gold: #c89b3c;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-gold: rgba(200, 155, 60, 0.35);

  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation / Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 26, 48, 0.08), 0 2px 4px -1px rgba(11, 26, 48, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(11, 26, 48, 0.1), 0 8px 10px -6px rgba(11, 26, 48, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(11, 26, 48, 0.15), 0 10px 15px -5px rgba(11, 26, 48, 0.07);
  --shadow-gold: 0 10px 30px -5px rgba(200, 155, 60, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Focus styles for Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.container-narrow {
  max-width: 960px;
}

/* Section Spacing */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--surface);
}

.section-dark p {
  color: #cbd5e1;
}

.section-light {
  background-color: var(--surface);
}

.section-subtle {
  background-color: var(--surface-alt);
}

/* Section Header Component */
.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background-color: var(--accent-subtle);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-badge {
  background-color: rgba(200, 155, 60, 0.15);
  color: var(--accent-light);
  border-color: rgba(200, 155, 60, 0.3);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(200, 155, 60, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #ffffff;
}

.btn-navy {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-gold:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  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.45);
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Text Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.text-white { color: #ffffff; }

/* Legal Disclaimer Box */
.legal-disclaimer-box {
  background-color: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  color: #78350f;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.legal-disclaimer-box i {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.animate-fade-up {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
