/* =============================================
   MALOOF & LINERO — GLOBAL STYLES
   Luxury Advisory · Colombia
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── VARIABLES ─── */
:root {
  --navy:       #0f1f3d;
  --navy-mid:   #162a52;
  --navy-light: #1e3a8a;
  --accent:     #06b6d4;
  --accent-mid: #0ea5e9;
  --blue:       #1e3a8a;
  --blue-light: #3b82f6;
  --grad-start: #3b82f6;
  --grad-end:   #06b6d4;
  --gold:       #06b6d4;
  --gold-light: #38bdf8;
  --gold-pale:  #e0f7fa;
  --cream:      #f0f7ff;
  --white:      #ffffff;
  --text:       #0f1f3d;
  --muted:      #5b7a9d;
  --border:     #d1e3f8;
  --shadow:     0 12px 40px rgba(30,58,138,0.08);
  --shadow-lg:  0 24px 64px rgba(30,58,138,0.14);
  --radius:     3px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── TYPOGRAPHY ─── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.08;
}
.display em { font-style: italic; color: var(--accent); }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(9, 23, 44, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,164,90,0.15);
  transition: var(--transition);
}
#nav.scrolled {
  background: rgba(9, 23, 44, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
}
.nav-logo img { height: 58px; width: auto; mix-blend-mode: screen; filter: brightness(1.1); }
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px; background: linear-gradient(135deg, var(--blue-light), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-btn {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  color: var(--navy) !important;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { background: var(--accent-mid) !important; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0;
  background: var(--navy);
  padding: 1.5rem 5%;
  border-top: 1px solid rgba(200,164,90,0.15);
  flex-direction: column; gap: 1rem;
  z-index: 998;
}
.nav-mobile a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  color: var(--white);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent), var(--blue-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,182,212,0.4);
}
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85);
}
.btn-outline-white:hover {
  border-color: var(--accent); color: var(--accent);
}
.btn-outline-gold {
  border: 1px solid var(--accent); color: var(--accent);
}
.btn-outline-gold:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  border-color: transparent; color: var(--white);
}
.btn svg { flex-shrink: 0; }

/* ─── SECTION LAYOUT ─── */
.section { padding: 7rem 5%; }
.section-sm { padding: 4rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); }
.section-cream { background: var(--cream); }
.section-navy-mid { background: var(--navy-mid); }

/* ─── SECTION LABELS ─── */
.label {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem;
}
.label::before {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: linear-gradient(to right, var(--blue-light), var(--accent));
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-navy .section-title,
.section-navy-mid .section-title { color: var(--white); }
.section-sub {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--muted); max-width: 560px;
}
.section-navy .section-sub,
.section-navy-mid .section-sub { color: rgba(255,255,255,0.5); }

/* ─── DIVIDER ─── */
.divider {
  width: 48px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* ─── STATS BAND ─── */
.stats-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent-mid) 50%, var(--accent) 100%);
  padding: 1.75rem 5%;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 600;
  color: var(--white); line-height: 1;
}
.stat-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-top: 0.3rem;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--blue-light), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(6,182,212,0.4);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.25rem;
  background: rgba(6,182,212,0.06);
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e4d8c 100%);
  padding: 6rem 5%;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .section-title { color: var(--white); }
.cta-band p {
  font-size: 0.95rem; color: rgba(255,255,255,0.5);
  max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.8;
  position: relative;
}
.cta-actions {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* ─── FOOTER ─── */
#footer {
  background: #060d1a;
  padding: 4.5rem 5% 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.footer-brand-name span { color: var(--accent); }
.footer-brand p {
  font-size: 0.83rem; line-height: 1.8;
  color: rgba(255,255,255,0.38); max-width: 280px;
}
.footer-contact {
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.footer-contact a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--accent); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55);
}
.wa-float svg { width: 27px; height: 27px; fill: white; }
.wa-badge {
  position: absolute; top: -4px; right: -4px;
  background: linear-gradient(135deg, var(--blue-light), var(--accent)); color: var(--navy);
  font-size: 0.6rem; font-weight: 700;
  padding: 2px 5px; border-radius: 10px;
  letter-spacing: 0.03em;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 10rem 5% 6rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(9,23,44,0.98) 40%, rgba(26,51,87,0.85) 100%);
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; color: var(--white); line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.55); max-width: 560px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ─── TESTIMONIALS ─── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem; position: relative;
}
.testi-stars { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testi-text {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--text); margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--navy); flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 600; }
.testi-role { font-size: 0.75rem; color: var(--muted); }

/* ─── FORM ─── */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.4rem;
}
.form-group label.dark { color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius); outline: none;
  transition: border-color var(--transition);
}
.form-dark input,
.form-dark select,
.form-dark textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--white);
}
.form-dark input::placeholder,
.form-dark textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-dark input:focus,
.form-dark select:focus,
.form-dark textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.09); }
.form-dark select option { background: var(--navy); color: var(--white); }
.form-light input,
.form-light select,
.form-light textarea {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.form-light input:focus,
.form-light select:focus,
.form-light textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.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; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .section { padding: 4.5rem 5%; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
