/*
Theme Name: BizSmart Bookkeeping Solutions
Theme URI: https://www.bizsmartbookkeeping.co.za
Author: Oxironix
Author URI: https://www.oxironix.co.za
Description: Custom WordPress theme for BizSmart Bookkeeping Solutions – precision bookkeeping, tax, payroll and business compliance services in South Africa.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bizsmart
*/

/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --orange: #f47920;
  --navy: #1a2a6c;
  --steel: #8a92a8;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --dark-text: #111827;
  --card-shadow: 0 8px 32px rgba(26, 42, 108, 0.12);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--dark-text);
  background: var(--white);
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #8a92a8;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 130px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  padding: 0;
  margin: 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: #1a2a6c;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.2s;
}
/* Hidden checkbox — powers the CSS-only toggle */
.nav-toggle-input {
  display: none !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 2px solid #1a2a6c;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  width: 46px;
  height: 46px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1a2a6c;
  border-radius: 3px;
  transition: all 0.3s ease;
}
/* Animate to X when checkbox is checked */
.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.nav-links a:hover,
.nav-links a.active {
  color: #f47920;
}
.nav-cta {
  background: #1a2a6c !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: #f47920 !important;
  color: white !important;
}

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1535 0%, #1a2a6c 60%, #0d1a45 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(244, 121, 32, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(244, 121, 32, 0.08) 0%,
      transparent 40%
    );
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&q=60");
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 121, 32, 0.15);
  border: 1px solid rgba(244, 121, 32, 0.4);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
  color: white;
  margin-bottom: 16px;
}
.hero h1 span {
  color: var(--orange);
}
.hero-tagline {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-tagline span {
  color: var(--orange);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: nowrap;
}
.hero-stat-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--orange);
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  animation: fadeUp 0.9s ease 0.3s both;
}
.hero-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}
.hero-card-body {
  padding: 28px 30px;
}
.hero-card-title {
  color: white;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.81rem;
  font-weight: 600;
  margin: 4px 3px;
}
.service-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-contact-bar {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}
.hero-contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(244, 121, 32, 0.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--orange);
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-weight: 700;
  font-size: 0.86rem;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
section {
  padding: 90px 5%;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title span {
  color: var(--orange);
}
.section-sub {
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.7;
  max-width: 580px;
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ============================================================
   IMAGE STRIP (Homepage)
   ============================================================ */
.img-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 100%;
  overflow: hidden;
}
.img-strip-item {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.img-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
  filter: brightness(0.75);
}
.img-strip-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}
.img-strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(26, 42, 108, 0.85));
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
}
.img-strip-label span {
  color: var(--orange);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   SERVICES GRID (Homepage)
   ============================================================ */
.services-section {
  background: var(--light-bg);
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(26, 42, 108, 0.06);
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 42, 108, 0.16);
}
.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img {
  transform: scale(1.04);
}
.service-card-body {
  padding: 24px 22px;
}
.service-icon {
  width: 46px;
  height: 46px;
  background: rgba(244, 121, 32, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  color: var(--steel);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.service-list {
  list-style: none;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--dark-text);
  padding: 4px 0;
  border-bottom: 1px solid rgba(138, 146, 168, 0.12);
  display: flex;
  align-items: center;
  gap: 7px;
}
.service-list li::before {
  content: "›";
  color: var(--orange);
  font-weight: 900;
  font-size: 1.1rem;
}
.service-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   WHY US (Homepage)
   ============================================================ */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 121, 32, 0.15),
    transparent 70%
  );
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.why-section .section-title {
  color: white;
}
.why-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s;
}
.why-card:hover {
  background: rgba(244, 121, 32, 0.1);
  border-color: rgba(244, 121, 32, 0.3);
}
.why-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: rgba(244, 121, 32, 0.35);
  line-height: 1;
  min-width: 42px;
}
.why-card h4 {
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.why-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.6;
}
.why-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.why-collage-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.why-collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.why-collage-img:hover img {
  transform: scale(1.05);
}
.why-collage-img.tall {
  grid-row: span 2;
}
.why-overlay-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(26, 42, 108, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 121, 32, 0.3);
}
.why-overlay-quote {
  color: white;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 7px;
}
.why-overlay-name {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ============================================================
   TESTIMONIALS (Homepage)
   ============================================================ */
.testimonials-section {
  background: var(--light-bg);
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(26, 42, 108, 0.06);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(244, 121, 32, 0.15);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--dark-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.testimonial-company {
  font-size: 0.78rem;
  color: var(--steel);
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn-primary {
  background: var(--orange);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(244, 121, 32, 0.4);
  display: inline-block;
}
.btn-primary:hover {
  background: #e06510;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-white {
  background: white;
  color: var(--orange);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-outline-white {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  white-space: nowrap;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================================
   CTA SECTION (shared)
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #c95e10 100%);
  text-align: center;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1400&q=40")
    center/cover;
  opacity: 0.08;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-section h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: white;
  margin-bottom: 18px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 34px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER (shared)
   ============================================================ */
footer {
  background: #8a92a8;
  padding: 60px 5% 28px;
  color: #1a2a6c;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-img-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.5;
}
.footer-img-bar img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(26, 42, 108, 0.2);
}
footer .footer-brand.footer-logo img,
footer .footer-logo img,
.footer-logo img {
  height: 130px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 130px !important;
  margin-bottom: 4px;
  display: block !important;
  object-fit: unset !important;
}
.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 260px;
  color: #1a2a6c;
}
.footer-tagline {
  color: #f47920;
  font-style: italic;
  font-size: 0.84rem;
  margin-top: 12px;
  font-weight: 800;
}
.footer-col h4 {
  color: #1a2a6c;
  font-weight: 800;
  font-size: 0.87rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: #1a2a6c;
  font-size: 0.83rem;
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.2s;
  font-weight: 600;
}
.footer-col a:hover {
  color: #f47920;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}
.footer-contact-icon {
  color: #f47920;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-text {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #1a2a6c;
  font-weight: 600;
}
.footer-bottom {
  max-width: 1200px;
  margin: 26px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.77rem;
  color: #1a2a6c;
  font-weight: 600;
}
.footer-bottom a {
  color: #f47920;
  text-decoration: none;
  font-weight: 700;
}

/* ============================================================
   PAGE HERO – Services page variant
   ============================================================ */
.services-hero {
  background: linear-gradient(135deg, #0a1535 0%, #1a2a6c 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.services-hero .page-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  opacity: 0.25;
}
.services-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse at center,
    rgba(244, 121, 32, 0.1) 0%,
    transparent 70%
  );
}
.services-hero .page-hero-inner {
  text-align: center;
  padding: 0 5%;
  max-width: 700px;
}

/* PAGE HERO – Contact page variant */
.contact-hero {
  position: relative;
  overflow: hidden;
  height: 420px;
}
.contact-hero .page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.4);
}
.contact-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(10, 21, 53, 0.7) 0%,
    rgba(26, 42, 108, 0.5) 100%
  );
}
.contact-hero .page-hero-inner {
  text-align: center;
  padding: 0 5%;
  max-width: 650px;
}

/* Shared page-hero text */
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}
.page-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 span {
  color: var(--orange);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-main {
  padding: 80px 5%;
}
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-note {
  background: linear-gradient(135deg, var(--navy), #0d1a45);
  border-radius: 20px;
  padding: 44px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing-note::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(244, 121, 32, 0.08);
}
.pricing-note h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 10px;
}
.pricing-note p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
  line-height: 1.7;
}
.pricing-note-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.service-block {
  margin-bottom: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(26, 42, 108, 0.08);
}
.service-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service-block-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}
.service-block-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 5rem;
  color: rgba(26, 42, 108, 0.07);
  line-height: 1;
  margin-top: -10px;
}
.service-block-icon {
  width: 60px;
  height: 60px;
  background: rgba(244, 121, 32, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.service-block h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-block h2 span {
  color: var(--orange);
}
.service-block-desc {
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 620px;
}
.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.service-cta-link:hover {
  text-decoration: underline;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.service-content-grid.flipped {
  grid-template-columns: 1fr 1.2fr;
}
.service-content-grid.flipped .service-img-block {
  order: 2;
}
.service-content-grid.flipped .service-items-wrap {
  order: 1;
}
.service-img-block {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.service-img-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.service-img-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.service-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.service-item {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(26, 42, 108, 0.06);
  transition: all 0.3s;
}
.service-item:hover {
  background: white;
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
  border-color: rgba(244, 121, 32, 0.2);
}
.service-item-icon {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.service-item h4 {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.service-item p {
  font-size: 0.8rem;
  color: var(--steel);
  line-height: 1.5;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.quick-bar {
  background: var(--orange);
  padding: 22px 5%;
}
.quick-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.quick-bar h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: white;
  font-size: 1.1rem;
}
.quick-bar p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
}
.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.quick-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.quick-btn.solid {
  background: white;
  color: var(--orange);
  border-color: white;
}
.quick-btn.solid:hover {
  background: #f9f9f9;
}

.contact-section {
  padding: 90px 5%;
  background: var(--light-bg);
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: start;
}
.contact-info h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info h2 span {
  color: var(--orange);
}
.contact-info > p {
  color: var(--steel);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.office-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 28px;
  display: block;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-card {
  background: white;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(26, 42, 108, 0.08);
  border: 1px solid rgba(26, 42, 108, 0.06);
  transition: all 0.3s;
}
.contact-card:hover {
  box-shadow: var(--card-shadow);
  transform: translateX(4px);
  border-color: rgba(244, 121, 32, 0.2);
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(244, 121, 32, 0.1);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.contact-card a:hover {
  color: var(--orange);
}
.contact-card .sub {
  font-size: 0.79rem;
  color: var(--steel);
  font-weight: 400;
  margin-top: 2px;
}
.team-card {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f9a55a);
}
.team-card img.team-card-img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: unset !important;
  display: block;
  opacity: 0.6;
}
.team-card-body {
  padding: 22px 24px;
}
.team-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
}
.team-title {
  font-size: 0.84rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 10px;
}
.team-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(26, 42, 108, 0.06);
}
.form-header {
  margin-bottom: 30px;
}
.form-header h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-header p {
  color: var(--steel);
  font-size: 0.9rem;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 121, 32, 0.1);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.83rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label span {
  color: var(--orange);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid rgba(26, 42, 108, 0.15);
  border-radius: 9px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--dark-text);
  background: var(--light-bg);
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A92A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--light-bg);
}
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1.5px solid rgba(26, 42, 108, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.checkbox-item:hover {
  border-color: var(--orange);
  background: rgba(244, 121, 32, 0.04);
}
.checkbox-item input {
  width: 15px;
  height: 15px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.checkbox-item label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
}
.btn-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  padding: 16px;
  border-radius: 10px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(244, 121, 32, 0.35);
  margin-top: 8px;
}
.btn-submit:hover {
  background: #e06510;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 121, 32, 0.45);
}
.form-note {
  font-size: 0.77rem;
  color: var(--steel);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.form-notice {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-notice.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #166534;
}
.form-notice.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

.map-section {
  background: var(--navy);
}
.map-inner {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
}
.map-info {
  padding: 70px 60px 70px 8%;
}
.map-info h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 8px;
}
.orange {
  color: var(--orange);
}
.map-info > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.map-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.map-detail-icon {
  width: 38px;
  height: 38px;
  background: rgba(244, 121, 32, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.map-detail h5 {
  color: white;
  font-weight: 700;
  font-size: 0.87rem;
  margin-bottom: 3px;
}
.map-detail p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin: 0;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-badge {
  animation: fadeIn 0.6s ease both;
}
.hero h1 {
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-tagline {
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-sub {
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-buttons {
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-stats {
  animation: fadeUp 0.7s ease 0.5s both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .img-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-img-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  nav .nav-hamburger {
    display: flex !important;
  }
  .nav-logo img {
    height: 70px !important;
    max-width: 200px !important;
  }
  nav .nav-links {
    display: none !important;
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    background: #8a92a8;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 999;
  }
  /* Pure-CSS open: checkbox checked → show nav links */
  nav .nav-toggle-input:checked ~ .nav-links {
    display: flex !important;
  }
  nav .nav-links a {
    padding: 14px 5%;
    border-bottom: 1px solid rgba(26, 42, 108, 0.12);
    font-size: 1.05rem;
    color: #1a2a6c;
    display: block;
  }
  nav .nav-links a:last-child {
    border-bottom: none;
  }
  nav .nav-links .nav-cta {
    margin: 12px 5% 0;
    text-align: center;
    border-radius: 6px;
    border-bottom: none;
  }
  .service-content-grid,
  .service-content-grid.flipped {
    grid-template-columns: 1fr;
  }
  .service-content-grid.flipped .service-img-block {
    order: 0;
  }
  .service-content-grid.flipped .service-items-wrap {
    order: 0;
  }
  .pricing-note {
    grid-template-columns: 1fr;
  }
  .pricing-note-cta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .map-inner {
    grid-template-columns: 1fr;
  }
  .map-placeholder iframe {
    min-height: 300px;
  }
  .quick-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .why-collage-img.tall {
    min-height: 420px;
  }
  .why-overlay-card {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 12px 12px;
    padding: 10px 12px;
  }
  .why-overlay-quote {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  .why-overlay-name {
    font-size: 0.7rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    gap: 18px;
  }
  .img-strip {
    grid-template-columns: 1fr 1fr;
  }
  .service-items-grid {
    grid-template-columns: 1fr;
  }
  .form-row,
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 22px;
  }
}

/* =========================================================
   GENERAL PAGE TEMPLATE
   ========================================================= */
.general-hero {
  background: linear-gradient(135deg, #1a2a6c 0%, #2a3a8a 100%);
  min-height: 260px;
  position: relative;
}
.general-hero .page-hero-overlay {
  background: rgba(26, 42, 108, 0.55);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 60px;
}

.general-page-section {
  padding: 72px 0 80px;
  background: #fff;
}
.general-page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.general-page-content {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a4460;
}
.general-page-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #1a2a6c;
  font-size: 1.6rem;
  margin: 2rem 0 0.6rem;
}
.general-page-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #1a2a6c;
  font-size: 1.2rem;
  margin: 1.6rem 0 0.5rem;
}
.general-page-content p {
  margin-bottom: 1.2rem;
}
.general-page-content ul,
.general-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.general-page-content li {
  margin-bottom: 0.5rem;
}
.general-page-content a {
  color: #e8690b;
  text-decoration: underline;
}
.general-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
}

/* CTA strip */
.page-cta-strip {
  background: linear-gradient(135deg, #1a2a6c 0%, #2a3a8a 100%);
  padding: 52px 24px;
}
.page-cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.page-cta-text h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.page-cta-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* =========================================================
   LEGAL DOCUMENT TEMPLATE
   ========================================================= */
.legal-hero {
  background: linear-gradient(135deg, #1a2a6c 0%, #2a3a8a 100%);
  min-height: 220px;
  position: relative;
}
.legal-hero .page-hero-overlay {
  background: rgba(26, 42, 108, 0.5);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 60px;
}

.legal-section {
  padding: 64px 24px 80px;
  background: #f7f9fc;
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 48px 52px;
  border: 1px solid #e4e8f0;
  box-shadow: 0 2px 16px rgba(26, 42, 108, 0.06);
}
.legal-content {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #3a4460;
}
.legal-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #1a2a6c;
  font-size: 1.25rem;
  margin: 2.2rem 0 0.7rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f2f8;
}
.legal-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #1a2a6c;
  font-size: 1rem;
  margin: 1.6rem 0 0.4rem;
}
.legal-content p {
  margin-bottom: 1.1rem;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.1rem;
}
.legal-content li {
  margin-bottom: 0.45rem;
}
.legal-content a {
  color: #e8690b;
  text-decoration: underline;
}
.legal-content strong {
  color: #1a2a6c;
}
.legal-content blockquote {
  border-left: 4px solid #e8690b;
  margin: 1.5rem 0;
  padding: 12px 20px;
  background: #fdf6f0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #5a6480;
}

/* Responsive */
@media (max-width: 860px) {
  .legal-inner {
    padding: 32px 28px;
  }
}
@media (max-width: 600px) {
  .legal-inner {
    padding: 24px 18px;
  }
  .page-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
