/* =============================================
   MARTINEZ TAX & ACCOUNTING — SHARED STYLES
   ============================================= */
:root {
  --navy: #0a1628; --navy-mid: #112240;
  --blue: #1a56db; --blue-light: #3b82f6;
  --teal: #0ea5e9; --accent: #f59e0b;
  --accent-green: #10b981; --white: #ffffff;
  --gray-50: #f8fafc; --gray-100: #f1f5f9;
  --gray-200: #e2e8f0; --gray-400: #94a3b8;
  --gray-600: #475569; --gray-800: #1e293b;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--gray-800); overflow-x: hidden; }

/* ANNOUNCEMENT BAR */
.announcement-bar { background: linear-gradient(135deg, var(--blue), var(--teal)); padding: 9px 5%; position: sticky; top: 72px; z-index: 98; }
.announcement-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.82rem; color: white; font-weight: 500; }
.ann-badge { background: rgba(255,255,255,0.2); border-radius: 20px; padding: 2px 10px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }

/* NAV */
nav { position: sticky; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: 72px; background: rgba(10,22,40,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); animation: slideDown 0.6s ease both; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--white); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 34px; height: 34px; background: linear-gradient(135deg, var(--blue), var(--teal)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: white; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--teal); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--teal)); color: white; font-size: 0.88rem; font-weight: 600; text-decoration: none; padding: 9px 22px; border-radius: 8px; border: none; cursor: pointer; font-family: var(--font-body); transition: opacity 0.2s, transform 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; text-decoration: none; padding: 8px 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s; font-family: var(--font-body); cursor: pointer; background: transparent; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; background: rgba(255,255,255,0.05); }
.nav-mobile-actions { display: none; align-items: center; }
.nav-mobile-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.nav-mobile-book { display: none; }

/* FOOTER */
footer { background: #060e1a; padding: 60px 5% 30px; color: rgba(255,255,255,0.5); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; display: flex; align-items: center; gap: 10px; }
.footer-contact a i { width: 14px; color: var(--teal); flex-shrink: 0; }
.footer-contact a:hover { color: white; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-middle { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 20px; }
.footer-tools { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; }
.footer-tools span { color: rgba(255,255,255,0.3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-tools a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-tools a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; }
.footer-bottom-right { display: flex; align-items: center; gap: 20px; }
.footer-legal-links { display: flex; gap: 16px; align-items: center; }
.footer-legal-links a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 0.75rem; transition: color 0.2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.95rem; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.08); }
.social-btn:hover { background: rgba(255,255,255,0.14); color: white; border-color: rgba(255,255,255,0.2); }
.social-btn .fa-facebook-f { color: #4267B2; }
.social-btn:hover .fa-facebook-f { color: white; }
.social-btn .fa-instagram { color: #E1306C; }
.social-btn:hover .fa-instagram { color: white; }
.social-btn .fa-whatsapp { color: #25D366; }
.social-btn:hover .fa-whatsapp { color: white; }

/* SHARED PAGE HERO */
.page-hero { background: var(--navy); padding: 80px 5% 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(26,86,219,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(26,86,219,0.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent); }
.hero-glow { position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,86,219,0.2), transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: var(--teal); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; color: white; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 18px; animation: fadeUp 0.8s 0.2s both; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 560px; line-height: 1.75; font-weight: 300; animation: fadeUp 0.8s 0.4s both; }
.highlight { background: linear-gradient(135deg, var(--blue-light), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* SHARED SECTION STYLES */
.section-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 12px; }
.section-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue); }
.section-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px; }
.section-sub { font-size: 0.95rem; color: var(--gray-600); line-height: 1.75; font-weight: 300; }

/* MOBILE */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,22,40,0.98); flex-direction: column; padding: 20px 5%; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-mobile-toggle { display: block; }
  .nav-mobile-actions { display: flex; }
  .nav-actions { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-bottom-right { flex-direction: column; align-items: center; gap: 12px; }
  .footer-socials { justify-content: center; }
}
@media (max-width: 480px) {
  .nav-logo img { transform: scale(0.60); transform-origin: left center; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .announcement-inner { font-size: 0.75rem; }
}

/* LEGAL PAGES */
.legal-body { max-width: 860px; margin: 0 auto; padding: 50px 5%; }
.legal-updated { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 36px; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.legal-section p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 10px; }
.legal-section ul { padding-left: 20px; margin-bottom: 10px; }
.legal-section ul li { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 6px; }
.legal-section strong { color: var(--gray-800); }
.legal-highlight { background: #fefce8; border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 6px; font-size: 0.88rem; color: var(--gray-800); margin-top: 14px; line-height: 1.65; }
.legal-contact-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 28px; margin-top: 40px; text-align: center; }
.legal-contact-box h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.legal-contact-box p { font-size: 0.88rem; color: var(--gray-600); }
.legal-contact-box a { color: var(--blue); text-decoration: none; }
