@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Fraunces:ital,opsz,wght@1,9..144,300;1,9..144,400&family=Libre+Baskerville:wght@400&family=Raleway:wght@300;400&display=swap');

:root {
  /* Typography */
  --font-family-body: 'Roboto', Helvetica, Arial, sans-serif;
  --font-family-heading: 'Roboto', Helvetica, Arial, sans-serif;
  --font-family-serif: 'Fraunces', Georgia, serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-body: 1.8;
  --line-height-ui: 1.35;
  --line-height-heading: 1.1;
  --letter-spacing-body: -0.01em;
  --letter-spacing-heading: -0.03em;
  --paragraph-spacing: 1.5rem;

  --fs-h1: 4.5rem;
  --fs-h2: 3.25rem;
  --fs-h3: 2.25rem;
  --fs-h4: 1.75rem;
  --fs-h5: 1.375rem;
  --fs-h6: 1.0625rem;
  --fs-p: 1.0625rem;
  --fs-small: 0.8125rem;

  /* Color Palette */
  --color-primary: #245682;
  --color-secondary: #6C757D;
  --color-bg-main: #F7F7F5;
  --color-bg-surface: #EDEDEB;
  --color-text-heading: #1A1A1A;
  --color-text-body: #3A3A3A;
  --color-text-nav: #333333;
  --color-text-muted: #777777;
  --color-border: #E5E5E5;
  --color-success: #28A745;
  --color-error: #DC3545;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6.5rem;

  /* Corner Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Elevation / Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;

  /* Header height — used to offset inner-page top padding */
  --header-h: 5rem;
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 2.75rem;
    --fs-h2: 2.125rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.375rem;
    --fs-h5: 1.1875rem;
    --fs-h6: 1rem;
    --fs-p: 1rem;
    --fs-small: 0.8125rem;
    --space-3xl: 4rem;
    --space-2xl: 2.5rem;
    --space-xl: 2rem;
    --header-h: 4.5rem;
  }
}

/* Global Base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--color-bg-main);
  color: var(--color-text-body);
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-light);
  font-size: var(--fs-p);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5.5vw, 5.5rem);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text-heading);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p, li {
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-light);
  font-size: var(--fs-p);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  color: var(--color-text-body);
  margin: 0;
}

p + p {
  margin-top: var(--paragraph-spacing);
}

button, input, textarea, select {
  font-family: var(--font-family-body);
  font-size: var(--fs-p);
  line-height: var(--line-height-ui);
}

nav a {
  color: var(--color-text-nav);
  line-height: var(--line-height-ui);
  text-decoration: none;
}

caption, .badge, .tag, small {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--line-height-ui);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* ── Lucide icon base ───────────────────────────────────────────── */
.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 1.5;
}

/* Sized by context */
.nav-menu .lucide             { width: 12px;  height: 12px; }
.link-arrow .lucide,
.link-arrow-alt .lucide,
.link-arrow-white .lucide,
.btn-global-dark .lucide      { width: 15px;  height: 15px; }
.service-icon .lucide         { width: 22px;  height: 22px; }
.card-specs-bar .lucide       { width: 13px;  height: 13px; }
.btn-call-direct .lucide,
.btn-whatsapp-direct .lucide  { width: 17px;  height: 17px; }
.footer-socials .lucide       { width: 18px;  height: 18px; }

/* ── Section dividers — inset to container width ───────────────── */

.overview-section,
.featured-section,
.services-section,
.properties-section,
.contact-section {
  position: relative;
}

.overview-section::before,
.featured-section::before,
.services-section::before,
.properties-section::before,
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background: var(--color-border);
  width: calc(100% - clamp(2.5rem, 11vw, 11rem));
  max-width: calc(1440px - clamp(2.5rem, 11vw, 11rem));
}

/* ── Sticky "Talk to a Human" tab ─────────────────────────────── */

.sticky-talk-tag {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  padding: 1.75rem 0.9rem;
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-right: none;
  color: var(--color-text-heading);
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: 0.6rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.sticky-talk-tag:hover,
.sticky-talk-tag:focus-visible {
  background: var(--color-text-heading);
  color: #ffffff;
  border-color: var(--color-text-heading);
}

/* ── GSAP word-reveal mask ─────────────────────────────────────── */
.word-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-inner {
  display: inline-block;
}
