/* =============================================
   ARGENIS PRIETO — REALTOR® SOUTH FLORIDA
   Brand: Navy #0A2342 | Gold #C9A84C | White #FFFFFF
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================= */

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

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

:root {
  --navy: #0A2342;
  --navy-light: #0d2d55;
  --gold: #C9A84C;
  --gold-light: #d9bc72;
  --white: #FFFFFF;
  --gray-light: #f5f5f3;
  --gray-mid: #e8e6e1;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1200px;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(10,35,66,0.10);
  --shadow-lg: 0 12px 48px rgba(10,35,66,0.16);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 580px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,35,66,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: all var(--transition);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo img {
  height: 44px;
  width: auto;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar-nav a:hover { color: var(--gold); }
.navbar-nav a:hover::after { transform: scaleX(1); }
.navbar-cta { margin-left: 1rem; }
.navbar-cta .btn { padding: 10px 22px; font-size: 0.8rem; }

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2d55 60%, #0a1e3a 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(201,168,76,0.04)"/><circle cx="10" cy="80" r="30" fill="rgba(201,168,76,0.03)"/></svg>') center/cover;
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-text .section-label { color: var(--gold); }
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text h1 em { color: var(--gold); font-style: normal; }
.hero-text p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-trust-item { text-align: center; }
.hero-trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.hero-trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 36px;
  backdrop-filter: blur(12px);
}
.hero-card h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.4rem; }
.hero-card p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; font-size: 0.95rem; }
.hero-card-list { margin-bottom: 1.75rem; }
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--gold);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-bar-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.trust-bar-divider { width: 1px; height: 20px; background: rgba(10,35,66,0.2); }

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-light); }
.section-navy { background: var(--navy); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card.featured::before { background: var(--gold); transform: scaleX(1); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.72); }
.service-card.featured .service-tag { background: rgba(201,168,76,0.2); color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--gold); }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 1.25rem; }
.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step-item { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.step-item h4 { color: var(--navy); margin-bottom: 0.5rem; }
.step-item p { font-size: 0.88rem; }

/* ---- ABOUT PREVIEW ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 520px;
}
.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-image-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
}
.about-image-badge span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.about-credentials { display: flex; flex-direction: column; gap: 12px; margin: 1.75rem 0; }
.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.92rem; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.testimonial-location { font-size: 0.78rem; color: var(--text-mid); }

/* ---- BLOG PREVIEW ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img {
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card h3 a { color: var(--navy); transition: color var(--transition); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.86rem; margin-bottom: 1rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-mid); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2d55 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(201,168,76,0.05);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: #060f1e;
  color: rgba(255,255,255,0.82);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.72); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--gold); }
.footer-social a svg { width: 16px; height: 16px; color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.65); }
.footer-license {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-align: right;
}
.footer-legal-links {
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-badge { bottom: 12px; right: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-bar-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-license { text-align: center; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ---- MOBILE NAV OPEN ---- */
.navbar.nav-open .navbar-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy);
  padding: 24px;
  gap: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.navbar.nav-open .navbar-cta {
  display: block;
  margin: 0;
  padding: 0 24px 24px;
  background: var(--navy);
}
