/* ===== OONSITE.COM Global Styles ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0B3D6F; --primary-light: #1565A8; --primary-dark: #072B4F;
  --accent: #E8A838; --accent-dark: #C98A1E;
  --text: #2C3E50; --text-light: #5A6C7E;
  --bg: #FFFFFF; --bg-light: #F4F7FA; --bg-alt: #EAF0F7;
  --border: #D6DEE6; --success: #27AE60; --white: #FFFFFF;
  --shadow: 0 2px 16px rgba(11,61,111,0.08);
  --shadow-lg: 0 8px 32px rgba(11,61,111,0.12);
  --radius: 8px; --radius-lg: 16px; --transition: 0.3s ease; --max-width: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--primary-dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: 3rem; } h2 { font-size: 2.2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; } h4 { font-size: 1.1rem; }
p { margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 640px; margin: 0 auto 48px; text-align: center; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); }
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232,168,56,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-large { padding: 18px 40px; font-size: 1.1rem; }

/* HEADER / NAV */
header, header.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
header.scrolled { box-shadow: var(--shadow); }
nav.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
header nav.navbar { position: static; background: none; backdrop-filter: none; border-bottom: none; }
nav.navbar .container, .nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.logo, .logo a, .nav-logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo span, .nav-logo span { color: var(--accent); }
.nav-links, .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a, .nav-links li a, .nav-menu a, .nav-menu li a, .nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; text-decoration: none; }
.nav-links a::after, .nav-menu a::after, .nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after, .nav-menu a:hover::after, .nav-menu a.active::after, .nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-links a:hover, .nav-menu a:hover, .nav-link:hover { color: var(--primary); }
.nav-cta, .cta-button { padding: 10px 24px !important; background: var(--primary); color: var(--white) !important; border-radius: var(--radius); font-weight: 600 !important; font-size: 0.95rem; transition: background var(--transition); }
.nav-cta:hover, .cta-button:hover { background: var(--primary-light) !important; }
.nav-cta::after, .cta-button::after { display: none !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }

/* HERO */
.hero { padding: 140px 0 100px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,168,56,0.2); color: var(--accent); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.5px; }
.badge-icon { font-weight: 700; }
.hero h1, .hero-title { color: var(--white); font-size: 3.2rem; margin-bottom: 24px; line-height: 1.2; }
.hero p, .hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 36px; line-height: 1.8; color: var(--white); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat, .stat-item { text-align: left; }
.hero-stat h3, .stat-number { color: var(--accent); font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.hero-stat p, .stat-label { font-size: 0.9rem; opacity: 0.8; color: var(--white); margin-bottom: 0; }

/* PAGE HERO */
.page-hero, .hero.hero-investment-tracking, .hero.hero-services, .hero.hero-real-estate, .hero.hero-about, .hero.hero-contact { padding: 140px 0 80px; text-align: center; }
.page-hero h1 { color: var(--white); font-size: 2.8rem; margin-bottom: 16px; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* SECTIONS */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }
.section-label { display: inline-block; color: var(--accent); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; background: var(--bg-alt); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* HOW IT WORKS / STEPS */
.how-it-works { background: var(--bg-light); }
.steps, .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step, .step-card { text-align: center; background: var(--white); border-radius: var(--radius-lg); padding: 36px 24px; border: 1px solid var(--border); transition: all var(--transition); }
.step:hover, .step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-number { width: 64px; height: 64px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 20px; }
.step h3, .step-card h3 { margin-bottom: 8px; }
.step p, .step-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* WHY CHOOSE / FEATURES */
.why-us-grid, .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.why-card, .feature-card { display: flex; gap: 20px; padding: 32px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all var(--transition); }
.feature-card { flex-direction: column; }
.why-card:hover, .feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-card .icon, .feature-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--bg-alt); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.why-card h4, .feature-card h3 { margin-bottom: 8px; }
.why-card p, .feature-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 0; }

/* PROCESS SECTIONS */
.process-section { padding: 80px 0; }
.process-section:nth-child(even) { background: var(--bg-light); }
.process-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.process-row.reverse { direction: rtl; }
.process-row.reverse > * { direction: ltr; }
.process-image { background: var(--bg-alt); border-radius: var(--radius-lg); height: 360px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.process-text h2 { margin-bottom: 16px; }
.process-text p { color: var(--text-light); margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.check-list li::before { content: '✓'; flex-shrink: 0; width: 24px; height: 24px; background: rgba(39,174,96,0.1); color: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; margin-top: 2px; }

/* CTA BANNER */
.cta-banner, .cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); text-align: center; padding: 80px 0; }
.cta-banner h2, .cta-section h2, .cta-content h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 16px; }
.cta-banner p, .cta-section p, .cta-content p { opacity: 0.9; font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; color: var(--white); }

/* TESTIMONIALS */
.testimonials { background: var(--bg-light); }
.testimonial-grid, .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-rating, .stars { color: var(--accent); font-size: 1rem; margin-bottom: 16px; }
.testimonial-text, .testimonial-card blockquote { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.author-name, .testimonial-author h4 { font-size: 0.95rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 2px; }
.author-role, .testimonial-author p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0; }

/* DASHBOARD PREVIEW */
.dashboard-preview-section { padding: 96px 0; }
.dashboard-preview { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.dashboard-header h3 { color: var(--primary-dark); }
.status-badge { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.status-badge.in-progress { background: rgba(232,168,56,0.15); color: var(--accent-dark); }
.progress-bars, .dashboard-progress { display: flex; flex-direction: column; gap: 24px; }
.progress-item label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
.progress-bar { height: 12px; background: var(--bg-alt); border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 6px; transition: width 1.5s ease; }
.progress-fill.foundation { background: var(--primary); width: 100%; }
.progress-fill.structure { background: var(--primary-light); width: 75%; }
.progress-fill.electrical { background: var(--accent); width: 45%; }
.progress-fill.finishes { background: var(--success); width: 20%; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.dash-stat, .stat-card { background: var(--bg-light); border-radius: var(--radius); padding: 20px; text-align: center; }
.dash-stat .value, .stat-card .value, .stat-card h3 { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.dash-stat .label, .stat-card .label, .stat-card p { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; margin-bottom: 0; }

/* PRICING */
.pricing-section { padding: 96px 0; background: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; transition: all var(--transition); position: relative; }
.pricing-card.featured { border-color: var(--accent); transform: scale(1.05); box-shadow: var(--shadow-lg); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--primary-dark); padding: 6px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.pricing-card h3 { margin-bottom: 8px; }
.price { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin: 16px 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-features { text-align: left; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-light); }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* CONTACT */
.contact-section-main { padding: 96px 0; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item .icon, .contact-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--bg-alt); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-text h4 { margin-bottom: 4px; }
.contact-text p { color: var(--text-light); margin-bottom: 0; font-size: 0.95rem; }
.contact-text a { color: var(--primary); }
.contact-text a:hover { color: var(--accent); }
.contact-form-wrapper, .contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrapper h3 { margin-bottom: 24px; }
.contact-form-wrapper .contact-form { border: none; padding: 0; box-shadow: none; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; transition: border-color var(--transition); background: var(--bg); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* REAL ESTATE PAGE */
.commission-section, .buying-section, .selling-section { padding: 96px 0; }
.buying-section { background: var(--bg-light); }
.residency-section { padding: 96px 0; background: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.highlight-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: all var(--transition); }
.highlight-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-4px); }
.highlight-number { font-size: 2.4rem; display: block; margin-bottom: 16px; }
.highlight-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary-dark); }
.highlight-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; line-height: 1.6; }
.why-los-cabos { padding: 96px 0; background: var(--bg-light); }

/* ABOUT PAGE */
.about-story, .about-mission, .about-values, .about-numbers { padding: 96px 0; }
.about-mission { background: var(--bg-light); }
.about-numbers { background: var(--bg-alt); }
.stats-grid, .numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-box, .number-card { text-align: center; padding: 32px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat-box h3, .number-card h3 { font-size: 2.4rem; color: var(--primary); margin-bottom: 8px; }
.stat-box p, .number-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* FOOTER */
footer, .footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo, .footer-section .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p, .footer-section p { font-size: 0.9rem; line-height: 1.7; opacity: 0.7; }
footer h4, .footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.9rem; opacity: 0.7; transition: opacity var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.85rem; opacity: 0.6; }
.footer .contact-info, .footer-section .contact-info { background: none; border: none; padding: 0; box-shadow: none; }
.footer .contact-info a { color: var(--accent); opacity: 0.8; }
.footer .contact-info a:hover { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid, .testimonial-grid, .testimonials-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero h1, .hero-title { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .menu-toggle { display: flex; }
  .nav-links, .nav-menu { position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform var(--transition); box-shadow: var(--shadow); }
  .nav-links.open, .nav-menu.open { transform: translateY(0); }
  .services-grid, .testimonial-grid, .testimonials-grid, .pricing-grid, .why-us-grid, .features-grid { grid-template-columns: 1fr; }
  .steps, .steps-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; gap: 32px; }
  .process-row.reverse { direction: ltr; }
  .contact-section { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pricing-card.featured { transform: none; }
  .hero-buttons { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .stats-grid, .numbers-grid { grid-template-columns: 1fr 1fr; }
  .cta-button { display: none; }
}