@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400;1,700&display=swap');

:root {
  
  --ivory-50:  #fdfbf7;
  --ivory-100: #f8f4ec;
  --ivory-200: #f0e9d8;
  --ivory-300: #e5d9c3;
  --slate-900: #13171f;
  --slate-800: #1f2533;
  --slate-700: #374151;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-400: #9ca3af;
  --slate-300: #d1d5db;
  --slate-200: #e5e7eb;
  --slate-100: #f3f4f6;
  --white:     #ffffff;

--gold-400: #e8c97a;
  --gold-500: #c9a84c;
  --gold-600: #a8893a;
  --gold-700: #8a6e28;

--teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;

--bg-page:     var(--ivory-50);
  --bg-section:  var(--ivory-100);
  --bg-dark:     var(--slate-900);
  --bg-card:     var(--white);
  --text-primary:   var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted:     var(--slate-400);
  --text-gold:      var(--gold-500);
  --border-light:   var(--ivory-200);
  --border-card:    var(--slate-200);
  --accent:         var(--gold-500);

--font-display:  'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-heading:  'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body:     'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

--space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

--section-py:  clamp(4rem, 8vw, 7rem);
  --section-px:  clamp(1.25rem, 5vw, 3rem);

--container-max: 1200px;
  --container-wide: 1400px;

--radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 9999px;

--shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(19,23,31,.08), 0 2px 6px rgba(19,23,31,.04);
  --shadow-lg:   0 12px 40px rgba(19,23,31,.12), 0 4px 12px rgba(19,23,31,.06);
  --shadow-xl:   0 24px 64px rgba(19,23,31,.16), 0 8px 24px rgba(19,23,31,.08);
  --shadow-gold: 0 8px 32px rgba(201,168,76,.18);

--ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast:   150ms var(--ease-smooth);
  --transition-base:   250ms var(--ease-smooth);
  --transition-slow:   400ms var(--ease-smooth);

--header-h: 80px;
  --topbar-h: 44px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

ul, ol { list-style: none; }

.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

h1, h2, h3 { 
  font-family: var(--font-heading); 
  font-weight: 700;
  line-height: 1.25; 
  letter-spacing: -0.01em;
}
h4, h5, h6 { 
  font-family: var(--font-body); 
  font-weight: 700;
  letter-spacing: 0.01em;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.25vw, 2.75rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.body-lg  { font-size: 1.0625rem; line-height: 1.8; letter-spacing: 0.01em; }
.body-md  { font-size: 1rem; line-height: 1.75; letter-spacing: 0.01em; }
.body-sm  { font-size: 0.9375rem; line-height: 1.65; letter-spacing: 0.01em; }
.body-xs  { font-size: 0.8125rem; line-height: 1.55; }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: block;
  margin-bottom: var(--space-md);
}

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-400) 100%);
  border-radius: 1px;
  margin: var(--space-md) auto;
}
.gold-line.align-left { margin-left: 0; }

.prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
.prose strong { color: var(--slate-800); font-weight: 700; }
.prose em { color: var(--gold-600); font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section {
  padding-block: var(--section-py);
}
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.bg-ivory    { background-color: var(--ivory-50); }
.bg-ivory-alt{ background-color: var(--ivory-100); }
.bg-dark     { background-color: var(--slate-900); }
.bg-white    { background-color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  box-shadow: 0 12px 40px rgba(201,168,76,.28);
  transform: translateY(-2px);
}

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

.btn-dark {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
}
.btn-dark:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--ivory-100);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1dbd5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.25);
}

.btn-sm { padding: 0.65rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid;
}
.tag-gold {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-600);
  border-color: rgba(201, 168, 76, 0.3);
}
.tag-dark {
  background: rgba(255,255,255,0.1);
  color: var(--ivory-100);
  border-color: rgba(255,255,255,0.2);
}
.tag-teal {
  background: var(--teal-100);
  color: var(--teal-700);
  border-color: rgba(15,118,110,0.2);
}

.top-bar {
  height: var(--topbar-h);
  background: var(--slate-900);
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-left { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; }
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
}
.top-bar-item svg { opacity: 0.7; flex-shrink: 0; }
.top-bar-link {
  color: var(--gold-400);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.top-bar-link:hover { color: var(--gold-300); }
.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(19,23,31,0.09);
  border-bottom-color: var(--ivory-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.brand-sep {
  width: 1px;
  height: 32px;
  background: var(--ivory-300);
}
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.2;
}
.brand-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.875rem;
  right: 0.875rem;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
  border-radius: 1px;
}
.nav-link:hover, .nav-link.active {
  color: var(--slate-900);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

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

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--slate-700);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.menu-toggle-btn:hover { background: var(--ivory-100); }

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19,23,31,0.5);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-backdrop.open { opacity: 1; pointer-events: all; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 90vw);
  height: 100dvh;
  background: var(--white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--ivory-200);
}
.drawer-close-btn {
  background: var(--ivory-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: background var(--transition-fast);
}
.drawer-close-btn:hover { background: var(--ivory-200); }

.drawer-nav-links {
  padding: 1rem;
  flex: 1;
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), color var(--transition-fast);
  border-bottom: 1px solid transparent;
}
.drawer-nav-link:hover { background: var(--ivory-100); color: var(--slate-900); }
.drawer-nav-link.active { color: var(--gold-600); background: rgba(201,168,76,0.07); }
.drawer-nav-link .drawer-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}
.drawer-nav-link.active .drawer-link-dot { opacity: 1; }

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--ivory-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-hero {
  background: var(--slate-900);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(15,118,110,0.08) 0%, transparent 50%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-hero-breadcrumb a { 
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.page-hero-breadcrumb a:hover { color: var(--gold-400); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 750px;
  letter-spacing: -0.02em;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold-400);
}
.page-hero-lead {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.75vw, 1.175rem);
  color: rgba(255,255,255,.65);
  max-width: 620px;
  line-height: 1.7;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-meta-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
}
.hero-meta-pill svg { color: var(--gold-400); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header.align-left { text-align: left; margin-inline: 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}
.section-lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.is-visible {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
}
.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  border-radius: 1px;
}

.site-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,.65);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-col .footer-brand-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 1.25rem;
}
.footer-brand-col .footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-brand-col .footer-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  max-width: 300px;
}
.footer-brand-col .footer-legacy-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--gold-400); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  margin-top: 2px;
}
.footer-contact-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.footer-contact-text a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-contact-text a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.35);
}

.footer-disclaimer {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  margin-top: 0;
}
.footer-disclaimer p {
  font-size: 0.78125rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  max-width: 960px;
}
.footer-disclaimer strong { color: rgba(255,255,255,.45); }

.mobile-fab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: 0.75rem 1rem;
}
.mobile-fab-inner {
  display: flex;
  gap: 0.625rem;
}
.mobile-fab-inner .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu, .header-actions .btn-primary { display: none; }
  .menu-toggle-btn { display: flex; align-items: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 36px; --header-h: 68px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-fab-bar { display: block; }
  body { padding-bottom: 82px; }
}

@media (max-width: 480px) {
  .top-bar-left .top-bar-item:first-child { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
}
