/* ================================================================
   Polcomp — ploutsource.com
   Design: Executive Authority — Dark Navy / Precision Blue
   Fonts: Fraunces (display) + DM Sans (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ----------------------------------------------------------------
   CSS Variables
   ---------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-base:        #060C1A;
  --bg-secondary:   #0B1425;
  --bg-card:        #0F1A2E;
  --bg-card-hover:  #121F38;
  --bg-border:      rgba(37, 99, 235, 0.15);

  /* Blues */
  --blue-primary:   #2563EB;
  --blue-bright:    #3B82F6;
  --blue-light:     #60A5FA;
  --blue-glow:      rgba(37, 99, 235, 0.25);
  --blue-subtle:    rgba(37, 99, 235, 0.08);

  /* Text */
  --text-primary:   #F0F4FF;
  --text-secondary: #94A3B8;
  --text-muted:     #566A87;
  --text-accent:    #60A5FA;

  /* Borders */
  --border-default: rgba(148, 163, 184, 0.1);
  --border-blue:    rgba(37, 99, 235, 0.3);
  --border-bright:  rgba(96, 165, 250, 0.4);

  /* Transitions */
  --ease-out:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
.display-font {
  font-family: 'Fraunces', Georgia, serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--blue-bright);
}

/* ----------------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

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

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section__header h2 {
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   Background Decorations
   ---------------------------------------------------------------- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}

.bg-glow--primary {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.bg-glow--secondary {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(6, 12, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.2s;
}

.navbar__logo span {
  color: var(--blue-bright);
}

.navbar__logo:hover {
  color: var(--blue-light);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.navbar__links a:hover {
  color: var(--text-primary);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--blue-bright);
  transition: right 0.25s var(--ease-out);
}

.navbar__links a:hover::after {
  right: 0;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 2rem;
  gap: 0.25rem;
  border-top: 1px solid var(--border-default);
  background: rgba(6, 12, 26, 0.98);
  backdrop-filter: blur(16px);
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-default);
  transition: color 0.2s;
}

.navbar__mobile a:hover {
  color: var(--text-primary);
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-primary);
  color: #fff;
  border: 1px solid var(--blue-primary);
  box-shadow: 0 0 0 0 var(--blue-glow);
}

.btn--primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  box-shadow: 0 8px 30px var(--blue-glow), 0 0 0 0 transparent;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-blue);
}

.btn--outline:hover {
  background: var(--blue-subtle);
  border-color: var(--border-bright);
  color: var(--blue-light);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-blue);
  background: var(--blue-subtle);
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
  border-radius: 8px;
}

/* ----------------------------------------------------------------
   Hero Section
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-glow-1 {
  top: -10%;
  left: -5%;
}

.hero__bg-glow-2 {
  bottom: 0;
  right: -10%;
  width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-subtle);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 2rem;
  animation: fadeInDown 0.6s var(--ease-out) both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.hero__sub {
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-default);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
}

.hero__stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 400;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-default);
}

/* ----------------------------------------------------------------
   Services Section
   ---------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.service-card:hover {
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-subtle);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover .service-card__icon {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px var(--blue-glow);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  position: relative;
  font-weight: 500;
}

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

/* ----------------------------------------------------------------
   About / Why Polcomp Section
   ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}

.feature-item:hover {
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
}

.feature-item__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--blue-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item__text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0;
}

.feature-item__text p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.about__visual {
  position: relative;
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
}

.about__card-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.expertise-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.expertise-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.expertise-bar__header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.expertise-bar__label {
  color: var(--text-secondary);
  font-weight: 500;
}

.expertise-bar__value {
  color: var(--blue-light);
  font-weight: 600;
}

.expertise-bar__track {
  height: 4px;
  background: var(--border-default);
  border-radius: 2px;
  overflow: hidden;
}

.expertise-bar__fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}

.expertise-bar__fill.animate {
  transform: scaleX(1);
}

/* ----------------------------------------------------------------
   Trust / Clients Section
   ---------------------------------------------------------------- */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4rem;
}

.trust-stat {
  background: var(--bg-card);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.trust-stat__number {
  font-family: 'Fraunces', serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.trust-stat__number span {
  color: var(--blue-bright);
}

.trust-stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trust-clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.3s;
}

.client-card:hover {
  border-color: var(--border-blue);
}

.client-card__name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
}

.client-card__detail {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.client-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-top: 0.5rem;
  width: fit-content;
}

.testimonial-block {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.testimonial-block::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  color: var(--blue-primary);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.testimonial-block__text {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
  font-weight: 300;
}

.testimonial-block__author {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-block__author strong {
  color: var(--text-secondary);
}

/* ----------------------------------------------------------------
   Blog Section
   ---------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
}

.blog-card__thumb {
  height: 160px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__thumb-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.blog-card__thumb-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  background: var(--blue-subtle);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__thumb-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.blog-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-default);
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s;
}

.blog-card:hover .blog-card__link {
  gap: 0.5rem;
}

/* ----------------------------------------------------------------
   Contact Section
   ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-detail-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 2.5rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--blue-light);
  margin-top: 1rem;
  align-items: center;
  gap: 0.75rem;
}

.form-success.visible {
  display: flex;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-default);
}

.footer__brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer__brand-name span {
  color: var(--blue-bright);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--blue-light);
}

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

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--text-secondary);
}

/* ----------------------------------------------------------------
   Blog Page Specific
   ---------------------------------------------------------------- */
.blog-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-default);
}

.blog-hero .section-label {
  margin-bottom: 1rem;
}

.blog-listing {
  padding: 4rem 0 6rem;
}

.blog-listing-grid {
  display: grid;
  gap: 2rem;
}

.blog-listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: border-color 0.3s, background 0.3s;
}

.blog-listing-card:hover {
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
}

.blog-listing-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-listing-card h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.blog-listing-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.blog-listing-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.blog-listing-card__cta {
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   Article Page
   ---------------------------------------------------------------- */
.article-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-default);
  position: relative;
  overflow: hidden;
}

.article-hero .bg-grid {
  opacity: 0.5;
}

.article-hero .section-label {
  margin-bottom: 1.25rem;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.article-hero__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-hero__meta span::before {
  content: '·';
  color: var(--text-muted);
}

.article-hero__meta span:first-child::before {
  display: none;
}

.article-body {
  padding: 4rem 0 6rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.625rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.article-content ul {
  list-style: none;
  padding-left: 0;
}

.article-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.article-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 700;
}

.article-content ol li {
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--blue-primary);
  background: var(--blue-subtle);
  border-radius: 0 8px 8px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: 16px;
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 0.75rem;
}

.article-cta p {
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-nav {
  padding: 2rem 0;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ----------------------------------------------------------------
   Animations & Scroll Reveals
   ---------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }

  .section { padding: 4rem 0; }

  .hero__stats {
    gap: 1.5rem;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    margin-top: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }

  .trust-clients {
    grid-template-columns: 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-listing-card {
    grid-template-columns: 1fr;
  }

  .blog-listing-card__cta {
    width: fit-content;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

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

  .btn--lg {
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   Scrollbar
   ---------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--border-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-primary);
}

/* ----------------------------------------------------------------
   Selection
   ---------------------------------------------------------------- */
::selection {
  background: rgba(37, 99, 235, 0.3);
  color: var(--text-primary);
}
