/* =========================================================
   WEBDESIGN.CSS – Web Designing Services page
   Scope: hero, centered section headers, cards, portfolio,
          pricing, testimonial slider (Google-style),
          responsive tweaks.
   Theme: matches home.css / seo.css / backlinks.css
   ========================================================= */

/* -----------------------------
   HERO (same visual language)
------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #009933 0%, #003300 100%);
  color: #FFFFFF;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  inset-block-start: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 42px solid rgba(255, 255, 255, 0.12);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -28px;
  inset-block-end: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.10);
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(24deg);
}

.hero-inner { padding-block: 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.h1 { color: #fff; }

.hero-subtitle {
  font-size: 1.1rem;
  margin: 1rem 0 1.25rem;
  opacity: .95;
}

.hero-trust-layer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: .75rem 0 1.25rem;
  font-size: .9rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.95);
}

.icon-check { color: #0AA86A; font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.25rem 0 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .85rem;
  opacity: .92;
}

.hero-meta-item { display: inline-flex; gap: .4rem; align-items: center; }

.hero-illustration { position: relative; }

.hero-illustration-card {
  background: #fff;
  color: var(--color-text-main, #111827);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hero-illustration-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.hero-illustration-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.metric-pill {
  padding: .7rem .9rem;
  border-radius: 12px;
  background: #F5F7FA;
  font-size: .86rem;
}
.metric-pill strong {
  display: block;
  font-size: 1rem;
  color: #006600;
}

/* ---------------------------------
   SECTION HEADERS (center variant)
---------------------------------- */
.section-header.align-center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-eyebrow {
  color: #0AA86A;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .5rem;
}

/* -----------------
   CARDS & GRIDS
------------------ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.4rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 0, 0.08);
  font-size: 1.1rem;
}

.card-tag {
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(0,102,0,.06);
  color: #003B3B;
}

/* -----------------
   PORTFOLIO
------------------ */
.portfolio-thumb {
  overflow: hidden;
  border-radius: 12px;
  background: #F5F7FA;
  margin-bottom: .9rem;
}
.portfolio-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform .35s ease;
}
.portfolio-thumb:hover img { transform: scale(1.035); }

/* -----------------
   PRICING
------------------ */
.pricing-card { position: relative; }

.pricing-card .pricing-header { margin-bottom: .75rem; }

.pricing-card .price-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: #006600;
  line-height: 1;
}
.pricing-card .price-alt {
  font-size: .88rem;
  color: #4A4A4A;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: .75rem 0 1rem;
}
.pricing-features li {
  padding: .35rem 0;
  font-size: .92rem;
  color: #4A4A4A;
}

.pricing-footer { margin-top: .5rem; }

.pricing-card.featured {
  border: 2px solid #006600;
  background: linear-gradient(135deg, rgba(0,102,0,0.03) 0%, rgba(10,168,106,0.03) 100%);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF7A3C;
  color: #fff;
  padding: .25rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
}

/* --------------------------------
   TESTIMONIALS – Google-style card
   (re-uses data-slider from global.js)
--------------------------------- */
.testimonial-slider {
  position: relative;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  overflow: hidden;
}

.testimonial-slide { padding: .25rem; }

.google-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  padding: 1.25rem 1.4rem;
}

.google-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.google-rating { display: flex; align-items: baseline; gap: .5rem; }
.google-rating .stars { letter-spacing: .12rem; color: #0AA86A; font-weight: 800; }
.google-rating .rating-text { font-weight: 700; }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(0,102,0,.08);
  color: #003B3B;
  font-size: .75rem;
  font-weight: 700;
}

.google-card-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #111827;
}

.google-card-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
}

.author-avatar.initials {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0AA86A;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}

.author-info .author-name { font-weight: 700; }
.author-info .author-title { display: block; font-size: .85rem; color: #4A4A4A; }
.review-meta { display: flex; gap: .8rem; font-size: .78rem; color: #4A4A4A; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.slider-btn--prev { inset-inline-start: -6px; }
.slider-btn--next { inset-inline-end: -6px; }
.slider-btn:hover { transform: translateY(-50%) scale(1.04); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #E5E7EB;
  border: none;
  cursor: pointer;
}
.slider-dots .dot.active { background: #0AA86A; }

/* -----------------
   FINAL CTA helpers
------------------ */
.final-cta-card { text-align: center; padding: 3rem 2rem; }

/* -----------------
   RESPONSIVE
------------------ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
    gap: 2.5rem;
  }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .hero-inner { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-illustration-metrics { grid-template-columns: 1fr; }
  .slider-btn--prev { inset-inline-start: -2px; }
  .slider-btn--next { inset-inline-end: -2px; }
}

@media (max-width: 480px) {
  .metric-pill { font-size: .78rem; padding: .55rem .7rem; }
  .pricing-card .price-main { font-size: 1.5rem; }
}
