/* ============================================================
   SECURR — Main Stylesheet
   Primary: Navy Blue #0B2C6E  |  Accent: Red #D63B2A
   Theme: Light / Clean / Professional
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── DESIGN TOKENS ── */
:root {
  /* Colors */
  --blue-900: #05193F;
  --blue-800: #0B2C6E;   /* primary brand */
  --blue-700: #103580;
  --blue-600: #1A4799;
  --blue-500: #2558B8;
  --blue-400: #4A7CD6;
  --blue-100: #D6E4FF;
  --blue-50:  #EEF4FF;

  --red-700:  #A82D1E;
  --red-600:  #C83526;
  --red-500:  #D63B2A;   /* accent */
  --red-100:  #FDDBD8;
  --red-50:   #FFF0EF;

  --white:    #FFFFFF;
  --gray-50:  #F7F8FA;
  --gray-100: #EEF0F3;
  --gray-200: #DDE1E8;
  --gray-300: #C4CAD4;
  --gray-400: #9DA6B3;
  --gray-500: #6E7A8A;
  --gray-600: #4A5568;
  --gray-700: #2D3748;
  --gray-900: #111827;

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: 5rem 5%;
  --container: 1200px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(11,44,110,0.08), 0 1px 2px rgba(11,44,110,0.05);
  --shadow-md:  0 4px 16px rgba(11,44,110,0.10), 0 2px 6px rgba(11,44,110,0.06);
  --shadow-lg:  0 12px 40px rgba(11,44,110,0.13), 0 4px 12px rgba(11,44,110,0.07);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--blue-800);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--gray-500); }

/* ── LABELS / EYEBROWS ── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 0.75rem;
}

.label-blue {
  color: var(--blue-600);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}
.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--red-500);
  color: var(--white);
  border-color: var(--red-500);
}
.btn-accent:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,59,42,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-200, #b3caee);
  border-color: var(--blue-600);
}
.btn-outline:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-800);
  letter-spacing: 0.04em;
}

.nav-logo-text span {
  color: var(--red-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-800);
  background: var(--blue-50);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--red-500);
}

/* ── HERO ── */
.hero {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-700) 100%);
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(214,59,42,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  left: -50px;
  bottom: -100px;
  background: radial-gradient(ellipse, rgba(74,124,214,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 5%;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214,59,42,0.15);
  border: 1px solid rgba(214,59,42,0.35);
  color: #ff9d94;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: #7EB3FF;
  font-style: normal;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-num em {
  color: #7EB3FF;
  font-style: normal;
}

.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Hero visual side */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-card-main {
  background: rgba(255,255,255,0.09);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}

.hero-card-main svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  fill: var(--white);
}

.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.hero-mini-icon {
  width: 36px;
  height: 36px;
  background: rgba(214,59,42,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-mini-icon svg {
  width: 18px;
  height: 18px;
  fill: #ff9d94;
}

.hero-mini-card p {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

/* ── SECTION BASE ── */
.section {
  padding: var(--section-pad);
}

.section-center {
  text-align: center;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--gray-400);
  font-size: 0.85rem;
  border: 2px dashed var(--gray-200);
}

.about-image-placeholder svg {
  width: 56px;
  height: 56px;
  fill: var(--gray-300);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue-800);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: #7EB3FF;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.85;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-highlight {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border-left: 3px solid var(--blue-500);
}

.about-highlight h4 {
  color: var(--blue-800);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.about-highlight p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

/* ── SERVICES ── */
.services-bg {
  background: var(--gray-50);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--blue-600);
  transition: fill 0.25s;
}

.service-card:hover .service-icon {
  background: var(--blue-800);
}

.service-card:hover .service-icon svg {
  fill: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: var(--blue-900);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-top: 1.25rem;
  transition: gap 0.2s;
}

.service-card .learn-more:hover { gap: 10px; }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-item-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--blue-100);
}

.why-item-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-700);
}

.why-item h4 {
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.why-item p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.metric-card {
  background: var(--blue-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.metric-card.light {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.metric-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-card.light .metric-num {
  color: var(--blue-800);
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.metric-card.light .metric-label {
  color: var(--blue-500);
}

.metric-num em {
  color: #7EB3FF;
  font-style: normal;
}

.metric-card.span2 { grid-column: span 2; }

/* ── TESTIMONIALS ── */
.testimonials-bg {
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testi-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.testi-text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  background: var(--blue-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-900);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 5.5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-band p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-band .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; font-weight: 300; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--blue-700);
}

.contact-detail strong {
  display: block;
  color: var(--blue-900);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-detail p { font-size: 0.875rem; margin: 0; }

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--blue-800);
}

.contact-form > p {
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,88,184,0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%236E7A8A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

/* ── FOOTER ── */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.6);
  padding: 5rem 5% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand-logo span { color: #7EB3FF; }

.footer-brand p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social:hover { background: rgba(255,255,255,0.14); }

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

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

/* ── BLOG LIST PAGE ── */
.blog-hero {
  padding-top: 70px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding-bottom: 4rem;
  padding-left: 5%;
  padding-right: 5%;
  position: relative;
  overflow: hidden;
}

.blog-hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.blog-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 4rem;
  position: relative;
}

.blog-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.blog-hero p {
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  font-size: 1.0625rem;
  max-width: 560px;
}

.blog-search-bar {
  display: flex;
  max-width: 480px;
  margin-top: 2rem;
  position: relative;
}

.blog-search-bar input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px 0 0 8px;
  color: var(--white);
  padding: 0.8rem 1.25rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.blog-search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.blog-search-bar input:focus { border-color: rgba(255,255,255,0.4); }

.blog-search-bar button {
  background: var(--red-500);
  border: none;
  padding: 0.8rem 1.25rem;
  border-radius: 0 8px 8px 0;
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.blog-search-bar button:hover { background: var(--red-600); }

/* Blog Body */
.blog-body {
  padding: 4rem 5%;
  max-width: var(--container);
  margin: 0 auto;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Featured Post */
.featured-post {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.featured-img {
  background: var(--gray-100);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-img svg { width: 48px; height: 48px; fill: var(--gray-300); }

.featured-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--blue-800);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.featured-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 0.75rem;
}

.featured-content h2 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.875rem;
  color: var(--blue-900);
}

.featured-content p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-meta svg {
  width: 13px;
  height: 13px;
  fill: var(--gray-300);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-700);
  transition: gap 0.2s, color 0.2s;
}

.read-more:hover { gap: 10px; color: var(--blue-800); }

/* Post Grid */
.posts-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.post-thumb {
  height: 180px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.78rem;
  overflow: hidden;
  position: relative;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.post-thumb svg { width: 36px; height: 36px; fill: var(--gray-300); }

.post-body {
  padding: 1.5rem;
}

.post-body h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--blue-900);
  transition: color 0.2s;
}

.post-card:hover .post-body h3 { color: var(--blue-600); }

.post-body p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  padding-top: 0.875rem;
}

.post-card-meta .post-cat { margin: 0; font-size: 0.7rem; }

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
  justify-content: center;
  align-items: center;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: transparent;
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--white);
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-50);
}

.sidebar-search {
  display: flex;
  gap: 0;
}

.sidebar-search input {
  flex: 1;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--gray-700);
  padding: 0.65rem 0.875rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
}

.sidebar-search input:focus { border-color: var(--blue-400); }

.sidebar-search button {
  background: var(--blue-800);
  border: none;
  padding: 0.65rem 0.875rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
}

.sidebar-search button svg { width: 16px; height: 16px; fill: var(--white); }

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.875rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.category-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
  color: var(--blue-800);
}

.category-count {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.popular-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  min-width: 28px;
  margin-top: 2px;
}

.popular-item h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.popular-item span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.newsletter-widget {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.newsletter-widget .sidebar-title {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.12);
}

.newsletter-widget p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.newsletter-widget input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
  outline: none;
  display: block;
}

.newsletter-widget input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-widget input:focus {
  border-color: rgba(255,255,255,0.4);
}

.newsletter-widget button {
  width: 100%;
  background: var(--red-500);
  border: none;
  color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.newsletter-widget button:hover { background: var(--red-600); }

/* Blog preview section on landing */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .newsletter-widget { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --section-pad: 4rem 5%; }

  .nav-links { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; }

  .about-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .services-grid,
  .testimonials-grid,
  .blog-preview-grid { grid-template-columns: 1fr 1fr; }

  .featured-post { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .services-grid,
  .testimonials-grid,
  .blog-preview-grid,
  .about-highlights,
  .why-metrics,
  .posts-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }

  .metric-card.span2 { grid-column: span 1; }

  .sidebar { display: flex; flex-direction: column; }
  .newsletter-widget { grid-column: auto; }
}
