/* AntiSpamSMS — Ekobyte-inspired design system */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --lime: #D4FF00;
  --lime-dark: #B8E000;
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --navy: #0B0E27;
  --navy-soft: #151933;
  --muted: #6B7280;
  --text: #1F2937;
  --white: #ffffff;
  --bg-soft: #F3F7FF;
  --bg-beige: #F7F6F3;
  --border: #E5E7EB;
  --pink-soft: #FFE8EF;
  --blue-soft: #E8F1FF;
  --yellow-soft: #FFF8E0;
  --green-soft: #EAF9E8;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 10px 40px rgba(11, 14, 39, 0.08);
  --shadow-sm: 0 4px 18px rgba(11, 14, 39, 0.06);
  --container: 1200px;
  --header-h: 88px;
  --font: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: .25s ease; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* Typography */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
}
.section-label.left::before { display: none; }
.section-label.left::after { width: 40px; }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc { color: var(--muted); max-width: 620px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-desc { margin-inline: auto; }
.section { padding: 90px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: .25s ease;
}
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); border-radius: 10px; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 10px;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-link {
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { gap: 10px; }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}
.play-link .play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: var(--blue);
}

/* Header / Nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  animation: slideDown .35s ease;
}
.service-card,
.blog-card,
.team-card,
.process-card,
.testimonial-card {
  animation: fadeUp .6s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-hero h1 { animation: fadeUp .7s ease both; }
.home-hero p,
.hero-actions { animation: fadeUp .85s ease both; }
.hero-media { animation: fadeUp 1s ease both; }
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 16px 12px 22px;
  box-shadow: var(--shadow);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--blue); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(180deg, #E8F2FF 0%, #F7FAFF 60%, #fff 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23B8D4F5' stroke-width='1' opacity='.35'%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='120' cy='80' r='4'/%3E%3Cpath d='M40 40h80M120 80v60M48 40l30 40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px;
  opacity: .5;
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--blue); }

/* Home Hero */
.home-hero {
  background: linear-gradient(120deg, #EAF3FF 0%, #F8FBFF 50%, #EEF7FF 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(59,130,246,.08) 0, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='%23A8C8F0' opacity='.4'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(59,130,246,.1);
  color: var(--blue);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.home-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 18px;
}
.home-hero h1 .accent { color: var(--blue); }
.home-hero p { color: var(--muted); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  min-height: 420px;
}
.award-badge {
  position: absolute;
  left: -10px;
  bottom: 40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: 22px;
  padding: 32px 28px;
  transition: .3s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card.pink { background: var(--pink-soft); }
.service-card.blue { background: var(--blue-soft); }
.service-card.yellow { background: var(--yellow-soft); }
.service-card.green { background: var(--green-soft); }
.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 26px;
  box-shadow: var(--shadow-sm);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

.service-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-media-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: .3s ease;
}
.service-media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-media-card .body { padding: 22px; }
.service-media-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.service-media-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 24px 0 28px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.check-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  min-height: 420px;
}
.exp-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--lime);
  color: var(--navy);
  border-radius: 18px;
  padding: 22px 26px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.exp-badge strong { display: block; font-size: 2rem; }

.about-collage {
  position: relative;
  min-height: 480px;
}
.about-collage .img-a {
  width: 72%;
  border-radius: 24px;
  object-fit: cover;
  height: 320px;
}
.about-collage .img-b {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 52%;
  border-radius: 20px;
  height: 220px;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.feature-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.feature-box {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 14px;
}
.feature-box .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-box h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.feature-box p { color: var(--muted); font-size: 13px; margin: 0; }

/* Newsletter bar */
.newsletter-bar {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.newsletter-bar .media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.newsletter-bar .form-side {
  background: var(--blue);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter-bar h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.newsletter-bar p { opacity: .9; margin-bottom: 22px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  outline: none;
}
.form-success {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(212,255,0,.25);
  border: 1px solid var(--lime);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
}
.form-success.show { display: block; }
.form-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
.form-error.show { display: block; }
.field-error input,
.field-error textarea { border-color: #dc2626 !important; }

/* Portfolio */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 36px;
}
.portfolio-filters button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.portfolio-filters button.active,
.portfolio-filters button:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.portfolio-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(11,14,39,.85));
  display: flex;
  align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: .3s ease;
}
.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item .overlay h4 { color: var(--white); font-size: 1.05rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.team-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.team-card span { color: var(--blue); font-size: 14px; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.process-card .num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.process-card .icon {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--lime);
}
.process-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.process-card p { color: rgba(255,255,255,.7); font-size: 14px; }

/* Testimonials */
.testimonials-wrap {
  background: linear-gradient(180deg, #F7FAFF, #fff);
  position: relative;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card .quote {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  opacity: .9;
}
.testimonial-card .quote.blue { color: var(--blue); }
.testimonial-card .quote.lime { color: var(--lime-dark); }
.stars { color: #FBBF24; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { color: var(--muted); margin-bottom: 22px; }
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #D6E6FF;
  border-radius: 14px;
}
.testimonial-user img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-user strong { display: block; color: var(--blue); }
.testimonial-user span { color: var(--muted); font-size: 13px; }

/* Stats */
.stats-bar {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 24px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59,130,246,.2);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 22px;
}
.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1.2;
}
.stat-item .label { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }

.stats-strip {
  background: var(--navy);
  padding: 50px 0;
}
.stats-strip .stats-bar {
  margin: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card .thumb { position: relative; }
.blog-card .thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card .date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.blog-card .body { padding: 22px; }
.blog-card .meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-card h3:hover { color: var(--blue); }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.blog-post-card {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.blog-post-card img {
  width: 100%;
  border-radius: 18px;
  height: 360px;
  object-fit: cover;
  margin-bottom: 22px;
}
.blog-post-card h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin: 10px 0 14px;
}
.blog-post-card h2 a:hover { color: var(--blue); }
.blog-post-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 8px;
}
.blog-post-card p { color: var(--muted); margin-bottom: 18px; }
.share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.share-row .socials { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.share-row .socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime);
  display: inline-block;
}
.search-box { display: flex; }
.search-box input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  outline: none;
}
.search-box button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.recent-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.recent-post img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}
.recent-post h5 { font-size: 14px; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.recent-post h5:hover { color: var(--blue); }
.recent-post span { font-size: 12px; color: var(--muted); }
.cat-list li { margin-bottom: 10px; }
.cat-list a {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.cat-list a:hover { color: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 6px 12px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}
.tag-cloud a:hover { background: var(--blue); color: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.social-round { display: flex; gap: 10px; }
.social-round a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
}
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
}
.pagination a.muted { background: var(--bg-soft); color: var(--navy); }

/* Blog detail */
.article-content img.main {
  width: 100%;
  border-radius: 18px;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 20px;
}
.article-content .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 16px;
}
.article-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 18px;
}
.article-content p { color: var(--muted); margin-bottom: 16px; }
.article-content h3 { color: var(--navy); margin: 24px 0 12px; }
.blockquote {
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  padding: 22px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.post-nav a {
  background: var(--blue);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 600;
}
.post-nav a:hover { background: var(--blue-dark); }
.author-box {
  background: var(--bg-beige);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  margin: 32px 0;
}
.author-box img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}
.author-box h4 { color: var(--navy); margin-bottom: 4px; }
.author-box span { color: var(--blue); font-size: 13px; display: block; margin-bottom: 8px; }
.author-box p { color: var(--muted); font-size: 14px; margin: 0; }
.comments-list { margin: 28px 0; }
.comments-list h3 { color: var(--navy); margin-bottom: 18px; }
.comment-item {
  background: var(--bg-beige);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}
.comment-item img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.comment-item h5 { color: var(--navy); }
.comment-item .date { color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.comment-item p { color: var(--muted); font-size: 14px; margin: 0; }
.comment-form-box {
  background: var(--bg-beige);
  border-radius: 16px;
  padding: 28px;
}
.comment-form-box h3 { color: var(--navy); margin-bottom: 18px; }

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  transition: .2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 36px;
}
.contact-info-card h3 { color: var(--navy); margin-bottom: 12px; }
.contact-info-card p { color: var(--muted); margin-bottom: 20px; }
.contact-info-card .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-info-card .info-row .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-card .info-row strong { display: block; color: var(--navy); }
.contact-info-card .info-row span { color: var(--muted); font-size: 14px; }

/* Legal */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 32px 0 12px;
}
.legal-content h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 24px 0 10px;
}
.legal-content p, .legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { list-style: disc; }
.legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content ol li { list-style: decimal; color: var(--muted); margin-bottom: 8px; }

/* Service detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.service-detail-grid .main-img {
  width: 100%;
  border-radius: 20px;
  height: 380px;
  object-fit: cover;
  margin-bottom: 24px;
}
.service-detail-grid h2 { color: var(--navy); margin: 20px 0 12px; }
.service-detail-grid p { color: var(--muted); margin-bottom: 14px; }
.service-side-list a {
  display: block;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 500;
}
.service-side-list a:hover,
.service-side-list a.active {
  background: var(--blue);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(255,255,255,.03);
  border-radius: 50%;
  pointer-events: none;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 40px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social span { margin-right: 6px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  color: var(--white);
}
.footer-social a:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul a::before {
  content: '›';
  color: var(--lime);
  font-size: 16px;
}
.footer-col ul a:hover { color: var(--lime); }
.footer-news input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  background: var(--navy-soft);
  color: var(--white);
  margin-bottom: 10px;
  outline: none;
}
.footer-news input::placeholder { color: rgba(255,255,255,.45); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-bottom-links a:hover { color: var(--lime); }

/* Utility */
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
  font-size: 18px;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .services-grid,
  .service-media-grid,
  .portfolio-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { gap: 18px; }
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    align-items: flex-start;
  }
  .nav-menu.open { display: flex; }
  .nav-pill { position: relative; flex-wrap: wrap; }
  .nav-cta { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .hero-grid,
  .about-grid,
  .newsletter-bar,
  .testimonial-grid,
  .blog-layout,
  .contact-grid,
  .service-detail-grid,
  .post-nav { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .hero-media img { min-height: 320px; }
  .award-badge { left: 10px; bottom: 20px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .services-grid,
  .service-media-grid,
  .portfolio-grid,
  .blog-grid,
  .team-grid,
  .footer-grid,
  .form-grid,
  .feature-boxes,
  .stats-bar { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 12px 16px; font-size: 13px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-box { flex-direction: column; text-align: center; align-items: center; }
  .comment-item { flex-direction: column; }
}
