*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --cream: #fafaf7;
  --white: #ffffff;
  --ink: #111110;
  --ink-2: #2c2c2a;
  --ink-3: #4a4a47;
  --ink-4: #6b6b68;
  --ink-5: #9a9a96;
  --border: rgba(17, 17, 16, 0.08);
  --border-md: rgba(17, 17, 16, 0.14);
  --accent: #1a56e8;
  --accent-light: #ebf0fd;
  --accent-mid: #3b6fef;
  --green: #0e8f5a;
  --green-light: #e6f5ee;
  --amber: #c4760a;
  --amber-light: #fdf3e1;
  --r: 12px;
  --r-lg: 20px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  --font: "DM Sans", system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 131, 246, 0.096) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 131, 246, 0.096) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 131, 246, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 131, 246, 0.22) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-3);
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-light);
  color: var(--accent);
}
.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.18s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-mid);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 890;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.nav-mobile .btn-primary {
  margin-top: 0.5rem;
  justify-content: center;
  color: #fff;
}
.page-hero {
  padding: 120px 2rem 80px;
  background: linear-gradient(155deg, #f8f9ff 0%, var(--white) 60%);
  text-align: center;
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 400;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--ink-4);
  line-height: 1.7;
}
section {
  padding: 80px 2rem;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.services-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 420px;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.service-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-row-content {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-row-visual {
  background: var(--cream);
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.srv-icon-large {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.srv-icon-large svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.srv-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}
.service-row-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.service-row-content p {
  font-size: 0.9rem;
  color: var(--ink-4);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.8rem;
  margin-bottom: 1.6rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: var(--ink-3);
}
.feature-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 0.9rem;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.starting-price {
  font-size: 0.82rem;
  color: var(--ink-5);
  margin-top: 0.6rem;
}
.starting-price strong {
  color: var(--green);
  font-weight: 600;
}
.pricing-strip {
  background: var(--cream);
  padding: 64px 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 980px;
  margin: 2.5rem auto 0;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.pricing-price {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-5);
}
.pricing-desc {
  font-size: 0.83rem;
  color: var(--ink-4);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--ink-3);
}
.pricing-feature::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
}
.cta-section {
  background: var(--ink);
  padding: 80px 2rem;
  text-align: center;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  font-weight: 400;
}
.cta-inner h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.cta-inner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-white:hover {
  background: #f0f0ee;
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}
.footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 2rem 32px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand-name img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 260px;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: fill 0.2s ease;
}
.footer-social a[aria-label*="LinkedIn"] {
  color: #0077b5;
  background: rgba(0, 119, 181, 0.12);
}
.footer-social a[aria-label*="LinkedIn"]:hover {
  color: #fff;
  background: #0077b5 !important;
}
.footer-social a[aria-label*="Instagram"] {
  color: #e1306c;
  background: rgba(225, 48, 108, 0.12);
}
.footer-social a[aria-label*="Instagram"]:hover {
  color: #fff;
  background: #e1306c !important;
}
.footer-social a[aria-label*="Reddit"] {
  color: #ff4500;
  background: rgba(255, 69, 0, 0.12);
}
.footer-social a[aria-label*="Reddit"]:hover {
  color: #fff;
  background: #ff4500 !important;
}
.footer-social a[aria-label*="Facebook"] {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.12);
}
.footer-social a[aria-label*="Facebook"]:hover {
  color: #fff;
  background: #1877f2 !important;
}
.footer-social a[aria-label*="Twitter"],
.footer-social a[aria-label*="X"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.footer-social a[aria-label*="Twitter"]:hover,
.footer-social a[aria-label*="X"]:hover {
  color: #000;
  background: #ffffff !important;
}
.footer-social a[aria-label*="WhatsApp"] {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}
.footer-social a[aria-label*="WhatsApp"]:hover {
  color: #fff;
  background: #25d366 !important;
}
.footer-col h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.4);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact-item a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
}
.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Tablet: 2-col, locked 360px row */
@media (min-width: 768px) and (max-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px;
    padding: 0;
  }
  .service-row-content {
    padding: 1.8rem 2rem;
    text-align: left !important;
  }
  .service-row-content h2,
  .service-row-content p,
  .service-row-content .srv-tag,
  .service-row-content .feature-grid,
  .service-row-content .btn-primary,
  .service-row-content .starting-price {
    text-align: left !important;
  }
  .service-row-visual {
    display: flex !important;
    height: 100% !important;
  }
  .service-row-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: stacked, image 260px fixed */
@media (max-width: 767px) {
  section {
    padding: 56px 1.25rem;
  }
  .nav {
    padding: 0 1.25rem;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .service-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    direction: ltr !important;
  }
  .service-row-content {
    order: 2;
    padding: 1.8rem 1.5rem;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .service-row-content h2,
  .service-row-content p,
  .service-row-content .srv-tag,
  .service-row-content .feature-grid,
  .service-row-content .starting-price {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .service-row-content .btn-primary {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
  }
  .service-row-content .feature-grid {
    width: 100%;
  }
  .service-row-content .feature-item {
    justify-content: flex-start !important;
  }
  .service-row-visual {
    display: flex !important;
    order: 1;
    height: 260px !important;
    width: 100%;
  }
  .service-row-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
  }
  .srv-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    display: inline-block;
  }
  .service-row h2 {
    font-size: 1.3rem;
    width: 100%;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
  }
  .feature-item {
    width: 100%;
  }
  .starting-price {
    text-align: left !important;
    margin-top: 0.75rem;
    width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* CLS Prevention */
#servicesContainer {
  min-height: 2940px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  #servicesContainer {
    min-height: 2520px;
  }
}
@media (max-width: 767px) {
  #servicesContainer {
    min-height: 4800px;
  }
}

/* Image SEO Caption */
.service-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 10;
  transition: background 0.3s ease;
}
.service-row-visual:hover .service-img-caption {
  background: linear-gradient(to top, rgba(26,86,232,0.92) 0%, rgba(26,86,232,0.6) 70%, transparent 100%);
}
