/* Office Solutions, LLC — styles.css */
/* Inter 500/600/700/800 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #F8F9FA; --bg-alt: #EEF0F2; --bg-card: #FFFFFF; --bg-dark: #1A2530;
  --text: #1A2530; --text-muted: #4A5568; --text-faint: #7A8898;
  --primary: #2A5A8A; --primary-rgb: 42, 90, 138; --primary-light: #E0ECF5;
  --accent: #C4883A; --accent-light: #F8ECD5; --border: #D0D5DA; --border-light: #EEF0F2;
  --nav-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10);
  --transition: 200ms ease;
}

html.dark {
  --bg: #141820; --bg-alt: #1A2028; --bg-card: #202830; --bg-dark: #0A0E14;
  --text: #E0E5EC; --text-muted: #8A95A5; --text-faint: #505868;
  --primary: #4A8AC0; --primary-rgb: 74, 138, 192; --primary-light: #152030;
  --accent: #D4A050; --accent-light: #2A1A0A; --border: #2A3040; --border-light: #1A2028;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.20);
  --shadow-md: 0 4px 12px rgba(0,0,0,.25);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.30);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-subtitle {
  max-width: 560px;
  margin: .75rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(248,249,250,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background var(--transition);
}
html.dark .nav { background: rgba(20,24,32,.85); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem;
}
.nav-brand {
  font-size: 1.125rem; font-weight: 800; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: .5rem;
}
.nav-brand span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--primary); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Theme toggle */
.theme-toggle {
  background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--text-muted); transition: color var(--transition);
  display: flex; align-items: center;
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 20px; height: 20px; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }
html:not(.dark) .theme-toggle .icon-sun { display: none; }
html:not(.dark) .theme-toggle .icon-moon { display: block; }

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--text); flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border-light);
    flex-direction: column; padding: 1.5rem; gap: 1rem;
    transform: translateY(-120%); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: inherit; font-size: .875rem; font-weight: 700;
  padding: .75rem 1.75rem; border: none; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: all var(--transition);
  line-height: 1;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), .25);
}
.btn-primary:hover {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), .3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }
.btn-lg { padding: .875rem 2.25rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 85vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 3rem;
  background: var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-content { max-width: 540px; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-phone {
  font-weight: 700; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; gap: .5rem;
}
.hero-phone svg { width: 18px; height: 18px; color: var(--primary); }

.hero-image { position: relative; }
.hero-image img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .08);
  pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: .75rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .75rem;
}
.hero-badge-number { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-badge-label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; }

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 1.5rem); padding-bottom: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; }
  .hero-image img { height: 280px; }
  .hero-badge { bottom: -12px; left: 16px; padding: .5rem 1rem; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; color: var(--primary); }
.service-card h3 { margin-bottom: .75rem; }
.service-card p { font-size: .9375rem; line-height: 1.65; }

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

/* ---------- Why Us ---------- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  margin-top: 3rem;
}
.why-image img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.why-content blockquote {
  font-size: 1.25rem; font-weight: 600; font-style: italic;
  color: var(--text); line-height: 1.5;
  border-left: 3px solid var(--primary); padding-left: 1.25rem;
  margin-bottom: 2rem;
}
.why-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); margin-top: .25rem; }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
}

/* ---------- Service Area ---------- */
.area-content {
  max-width: 640px; margin: 2rem auto 0; text-align: center;
}
.area-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-top: 1.5rem;
}
.area-tag {
  padding: .375rem 1rem; background: var(--primary-light);
  border-radius: 100px; font-size: .8125rem; font-weight: 600;
  color: var(--primary);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem;
}
.testimonial-card .quote {
  font-size: 1rem; line-height: 1.7; color: var(--text);
  font-style: italic; margin-bottom: 1.25rem;
}
.testimonial-card .quote::before { content: '\201C'; color: var(--primary); font-weight: 800; }
.testimonial-card .quote::after { content: '\201D'; color: var(--primary); font-weight: 800; }
.testimonial-author { font-size: .875rem; font-weight: 700; color: var(--text-muted); }

@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--primary); color: #fff; text-align: center; padding: 4rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--accent); color: #fff; }
.cta-phone-inline {
  display: block; margin-top: 1rem;
  font-size: .9375rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.cta-phone-inline a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About page ---------- */
.about-hero {
  padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem;
  background: var(--bg-alt);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center;
  margin-top: 2rem;
}
.about-image img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.about-content h1 { margin-bottom: 1rem; }
.about-content p { margin-bottom: 1rem; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.value-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; color: var(--primary); }
.value-card h3 { margin-bottom: .5rem; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-hero {
  padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  margin-top: 2rem;
}
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 { margin-bottom: .75rem; }
.contact-detail {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .75rem; color: var(--text-muted); font-size: .9375rem;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.contact-detail a { color: var(--text-muted); }
.contact-detail a:hover { color: var(--primary); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: .8125rem; font-weight: 600; color: var(--text);
  margin-bottom: .375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .625rem .875rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg);
  font-family: inherit; font-size: .9375rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { cursor: pointer; }

.form-status {
  padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; margin-top: 1rem;
  display: none;
}
.form-status.success { display: block; background: #E6F4EA; color: #1B7D3A; border: 1px solid #B7DFBF; }
.form-status.error { display: block; background: #FDECEA; color: #C62828; border: 1px solid #F5C6CB; }
html.dark .form-status.success { background: #0A2A12; color: #6FCF97; border-color: #1B4D2A; }
html.dark .form-status.error { background: #2A0A0A; color: #F48C8C; border-color: #4D1B1B; }

.cf-turnstile { margin-top: .5rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 404 page ---------- */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.page-404 h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--primary); margin-bottom: .5rem; }
.page-404 h2 { margin-bottom: 1rem; }
.page-404 p { max-width: 440px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
}
.footer-brand { font-size: 1.125rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.footer-brand span { color: var(--accent); }
.footer p { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.55); }
.footer h4 { color: #fff; font-size: .875rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .875rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .8125rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.fade-in {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Disclaimer z-101 */
.z-disclaimer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 101;
  background: var(--bg-dark); color: rgba(255,255,255,.6);
  font-size: .75rem; text-align: center; padding: .5rem 1rem;
  transform: translateY(100%); transition: transform .3s ease;
}
.z-disclaimer.show { transform: translateY(0); }
.z-disclaimer a { color: rgba(255,255,255,.8); text-decoration: underline; }
.z-disclaimer button {
  background: none; border: none; color: rgba(255,255,255,.8);
  cursor: pointer; margin-left: .75rem; font-size: .75rem; font-weight: 700;
}
