/* Shine Insurance World - Main Stylesheet */
:root {
  --primary: #0b3d5c;
  --primary-dark: #072a40;
  --primary-light: #145a82;
  --accent: #c9a227;
  --accent-hover: #b08d1a;
  --accent-soft: #f5edd0;
  --text: #1a1a1a;
  --text-muted: #5a6570;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #0b3d5c;
  --border: #e2e8ee;
  --success: #1a7a4c;
  --shadow: 0 8px 30px rgba(11, 61, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 61, 92, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--accent-hover);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.55rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.top-bar .item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ========== HEADER / NAV ========== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(11, 61, 92, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--primary);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(11, 61, 92, 0.25);
}

.logo span {
  display: block;
  line-height: 1.15;
}

.logo small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav > a,
.main-nav .nav-dropdown > a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.main-nav > a:hover,
.main-nav .nav-dropdown > a:hover,
.main-nav > a.active,
.main-nav .nav-dropdown > a.active {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.nav-toggle:hover {
  background: var(--bg-alt);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #072a40 0%, #0b3d5c 45%, #145a82 100%);
  color: #fff;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .eyebrow {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust-item .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.hero-card-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

/* ========== FEATURE STRIP ========== */
.feature-strip {
  background: #fff;
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
  padding-bottom: 1rem;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.feature-strip-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.5rem;
}

.feature-strip-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.feature-strip-item h4 {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.feature-strip-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-card .link {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .link:hover {
  color: var(--accent-hover);
}

/* ========== ABOUT TEASER ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-main {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.about-visual-main h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.about-visual-main p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 320px;
}

.about-badge {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 150px;
  line-height: 1.3;
  font-size: 0.9rem;
}

.about-content .eyebrow {
  display: inline-block;
  color: var(--accent-hover);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-points {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.about-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
}

.about-points .tick {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* ========== WHY CHOOSE ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.why-card .num {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.why-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ========== PROCESS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}

.process-step h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== BLOG CARDS ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
  position: relative;
}

.blog-card-img .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.blog-card-body h3 a {
  color: inherit;
}

.blog-card-body h3 a:hover {
  color: var(--accent-hover);
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, #072a40 0%, #0b3d5c 60%, #145a82 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: -30%;
  width: 40%;
  height: 160%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  font-size: 1.05rem;
}

/* ========== CONTENT PAGES ========== */
.content-block {
  max-width: 820px;
}

.content-block h2 {
  color: var(--primary);
  font-size: 1.55rem;
  margin: 2rem 0 0.85rem;
}

.content-block h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.65rem;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-block ul,
.content-block ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.content-block ul {
  list-style: disc;
}

.content-block ol {
  list-style: decimal;
}

.content-block li {
  margin-bottom: 0.45rem;
}

.content-block a {
  font-weight: 600;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem;
  height: 100%;
}

.contact-info-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.2);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== FORMS ========== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group label .req {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  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-light);
  box-shadow: 0 0 0 3px rgba(20, 90, 130, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.5;
}

.form-message {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background: #e8f6ef;
  color: var(--success);
  border: 1px solid #b7e0c8;
}

.form-message.error {
  display: block;
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6c2;
}

.form-narrow {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-narrow h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-narrow > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* ========== SERVICE DETAIL ========== */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow);
}

.service-detail-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.service-detail-card h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-detail-card ul {
  list-style: none;
  margin: 0;
}

.service-detail-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.service-detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ========== TEAM / VALUES ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.85rem;
  border-left: 4px solid var(--accent);
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ========== BLOG POST ========== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.blog-article {
  background: #fff;
}

.blog-article .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.blog-article h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.blog-article .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.blog-article .featured-visual {
  height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.blog-article p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.blog-article h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 2rem 0 0.85rem;
}

.blog-sidebar .widget {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.blog-sidebar .widget h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
}

.blog-sidebar .widget ul li {
  margin-bottom: 0.7rem;
}

.blog-sidebar .widget ul a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
}

.blog-sidebar .widget ul a:hover {
  color: var(--accent-hover);
}

.related-services a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.related-services a:last-child {
  border-bottom: none;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-brand .logo small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.footer-contact .ico {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 1.35rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ========== NEWSLETTER MINI ========== */
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-newsletter a.btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
}

/* ========== MAP PLACEHOLDER ========== */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  margin-top: 2.5rem;
}

.map-embed strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ========== UTILITIES ========== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .blog-layout,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .feature-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .why-grid,
  .blog-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner .cta-actions {
    justify-content: flex-start;
  }

  .about-badge {
    right: 1rem;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.25rem 2rem;
    gap: 0.25rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(105%);
    transition: transform var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > a,
  .main-nav .nav-dropdown > a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.5rem 1rem;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-cta {
    margin: 0.75rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 42, 64, 0.5);
    z-index: 1000;
  }

  .nav-overlay.show {
    display: block;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  .feature-strip {
    margin-top: -1.5rem;
  }

  .feature-strip-grid,
  .services-grid,
  .why-grid,
  .blog-grid,
  .values-grid,
  .process-steps,
  .footer-grid,
  .form-row,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
  }

  .form-narrow,
  .contact-form-wrap,
  .contact-info-card {
    padding: 1.5rem;
  }

  .cta-banner {
    padding: 2.25rem 1.5rem;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .about-badge {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}
