/* Google Fonts are loaded via <link> tags in each HTML file for parallel loading */

:root {
  --ink: #dce8ff;
  --ink-2: #f2f6ff;
  --light: #eef5ff;
  --section-blue: #0b2542;
  --section-grey: #2c3848;
  --sand: #99b7de;
  --gold: #d7b06b;
  --gold-deep: #b9893f;
  --header-start: rgba(6, 15, 28, 0.96);
  --header-end: rgba(9, 24, 42, 0.96);
  --surface: rgba(44, 56, 72, 0.9);
  --surface-border: rgba(89, 129, 184, 0.34);
  --surface-shadow: 0 18px 40px rgba(2, 8, 19, 0.45);
  --overlay: rgba(5, 15, 30, 0.5);
  --card: rgba(10, 24, 42, 0.86);
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at -10% -20%, rgba(36, 108, 208, 0.25) 0%, transparent 58%),
    radial-gradient(960px 560px at 120% -10%, rgba(26, 78, 160, 0.33) 0%, transparent 62%),
    linear-gradient(180deg, #02070f 0%, #071222 34%, #09182d 100%);
  line-height: 1.55;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: linear-gradient(90deg, var(--header-start) 0%, var(--header-end) 100%);
  border-bottom: 1px solid rgba(244, 239, 229, 0.2);
}

.nav-wrap {
  min-height: clamp(72px, 5.6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.8rem, 4vw, 4.8rem);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(70px, 4.8vw, 92px);
  height: auto;
  display: block;
  border-radius: 50%;
}

.site-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.nav-list a,
.dropdown-toggle {
  color: var(--light);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.02rem, 1.28vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.95rem 0.12rem;
  position: relative;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-list a[aria-current="page"] {
  color: #f1dfba;
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.46rem;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  background: transparent;
  color: #ffffff;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: min(250px, calc(100vw - 2rem));
  max-width: 280px;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  background: rgba(9, 18, 27, 0.96);
  border: 1px solid rgba(231, 220, 200, 0.3);
  border-radius: 0.8rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.has-dropdown {
  position: relative;
}

.has-dropdown.open .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(231, 220, 200, 0.5);
  background: rgba(255, 255, 255, 0.06);
  width: 44px;
  height: 40px;
  border-radius: 0.65rem;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  flex: 0 0 2px;
  min-height: 2px;
  width: 100%;
  margin: 5px 0;
  background: #f8f3e8;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(340px, 52svh, 520px);
  max-height: 560px;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-image: url("./hero-bds.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a1621;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 14, 24, 0.1) 0%, rgba(5, 14, 24, 0.22) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, transparent 35%, rgba(0, 0, 0, 0.14) 100%);
}

.intro {
  padding: clamp(2rem, 4vw, 3.2rem) 0 1.1rem;
  background: var(--section-grey);
}

.intro-content {
  background: var(--section-blue);
  border: 1px solid var(--surface-border);
  border-radius: 1.2rem;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  box-shadow: var(--surface-shadow);
}

.intro-content h1,
.intro-content p {
  color: var(--ink-2);
}

.audit-highlight,
.website-design-highlight,
.seo-highlight,
.group-links-highlight,
.faq-highlight {
  background: var(--section-blue);
}

.services-spotlight,
.social-media-highlight,
.ads-highlight,
.contact-highlight,
.trust {
  background: var(--section-grey);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink-2);
}

h1 {
  margin: 0;
  line-height: 1.1;
  font-size: clamp(1.9rem, 4.3vw, 3.35rem);
}

.intro p {
  margin: 0.8rem 0 1.25rem;
  max-width: 68ch;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-cta {
  display: inline-block;
  padding: 0.78rem 1.28rem;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: linear-gradient(90deg, #b99a5f 0%, #d2b378 100%);
  color: #0f2238;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(151, 120, 71, 0.26);
}

.audit-highlight {
  padding: 0.6rem 0 1.5rem;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.audit-media,
.audit-content {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.audit-media {
  overflow: hidden;
  padding: clamp(0.65rem, 1.8vw, 1rem);
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(0.6rem, 1.4vw, 0.95rem);
}

.audit-main-image {
  width: 100%;
  min-height: 255px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(96, 142, 203, 0.28);
  display: block;
}

.audit-results-image {
  width: 100%;
  min-height: 315px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(96, 142, 203, 0.28);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
  display: block;
}

.audit-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.audit-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.audit-content p {
  margin: 0.5rem 0 0.8rem;
}

.audit-content ul {
  margin: 0 0 0.95rem;
  padding-left: 1.1rem;
}

.audit-content li {
  margin-bottom: 0.4rem;
}

.audit-note {
  font-weight: 700;
  color: #f1cb86;
}

.services-spotlight {
  padding: 0.2rem 0 1.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.services-content,
.services-media {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.services-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.services-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.services-content p {
  margin: 0.5rem 0 1rem;
}

.services-media {
  overflow: hidden;
}

.services-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.website-design-highlight {
  padding: 0.2rem 0 1.5rem;
}

.website-design-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.website-design-media,
.website-design-content {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.website-design-media {
  overflow: hidden;
}

.website-design-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.website-design-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.website-design-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.website-design-content p {
  margin: 0.5rem 0 1rem;
}

.social-media-highlight {
  padding: 0.2rem 0 1.5rem;
}

.social-media-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.social-media-content,
.social-media-media {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.social-media-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.social-media-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.social-media-content p {
  margin: 0.5rem 0 1rem;
}

.social-media-media {
  overflow: hidden;
}

.social-media-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.seo-highlight {
  padding: 0.2rem 0 1.5rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.seo-media,
.seo-content {
  margin: 0 0 0.95rem;
  padding-left: 1.1rem;
}

.audit-content li {
  margin-bottom: 0.4rem;
}

.audit-note {
  font-weight: 700;
  color: #f1cb86;
}

.services-spotlight {
  padding: 0.2rem 0 1.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.services-content,
.services-media {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.services-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.services-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.services-content p {
  margin: 0.5rem 0 0.8rem;
}

.services-media {
  overflow: hidden;
}

.services-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.seo-content p {
  margin: 0.5rem 0 1rem;
}

.ads-highlight {
  padding: 0.2rem 0 1.5rem;
}

.ads-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.ads-content,
.ads-media {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.ads-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.ads-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.ads-content p {
  margin: 0.5rem 0 1rem;
}

.ads-media {
  overflow: hidden;
}

.ads-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.group-links-highlight {
  padding: 0.2rem 0 1.5rem;
}

.group-links-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.group-links-media,
.group-links-content {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.group-links-media {
  overflow: hidden;
}

.group-links-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.group-links-content {
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.group-links-content h2 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.group-links-content h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.group-links-content p {
  margin: 0.5rem 0 0.9rem;
}

.ceo-highlight {
  padding: 0.2rem 0 1.5rem;
  background: var(--section-grey);
}

.ceo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.ceo-media,
.ceo-content {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
}

.ceo-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #08182d 0%, #0d2748 100%);
}

.ceo-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.ceo-content {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.6vw, 1.7rem);
}

.ceo-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.ceo-content p {
  margin: 0.5rem 0 0.9rem;
}

.ceo-proof-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  margin: 1rem auto 0;
  min-height: 0;
  object-fit: contain;
  border-radius: 0.8rem;
  border: 1px solid var(--surface-border);
  display: block;
}

.contact-highlight {
  padding: 0.2rem 0 1.6rem;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1rem, 2.8vw, 1.8rem);
}

.contact-panel h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.contact-panel p {
  margin: 0.5rem 0 1rem;
}

.faq-highlight {
  padding: 0.2rem 0 1.6rem;
}

.reviews-highlight {
  padding: 0.2rem 0 1.6rem;
  background: var(--section-blue);
}

.reviews-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1rem, 2.8vw, 1.8rem);
}

.reviews-panel h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.review-card {
  background: rgba(11, 37, 66, 0.92);
  border: 1px solid rgba(89, 129, 184, 0.32);
  border-radius: 0.9rem;
  padding: 1rem;
}

.review-quote {
  margin: 0;
  color: #e9f2ff;
  font-size: 0.98rem;
  line-height: 1.6;
}

.review-author {
  margin: 0.8rem 0 0;
  color: #f1cb86;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviews-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.reviews-home-actions .reviews-google-profile {
  color: #f1cb86;
  font-weight: 800;
}

.reviews-page-main {
  min-height: calc(100vh - 180px);
}

.reviews-page-hero {
  padding: clamp(3.8rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 121, 216, 0.28), transparent 54%),
    linear-gradient(180deg, rgba(7, 23, 43, 0.94), rgba(11, 37, 66, 0.92));
  border-bottom: 1px solid var(--surface-border);
}

.reviews-page-hero-inner {
  max-width: 800px;
}

.reviews-eyebrow {
  margin: 0 0 0.55rem;
  color: #f1cb86;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reviews-page-hero h1 {
  margin: 0;
  color: #f6f9ff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.08;
}

.reviews-page-hero-inner > p:not(.reviews-eyebrow) {
  max-width: 650px;
  margin: 1rem auto 0;
  color: #d8e7fb;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.reviews-actions .hero-cta,
.reviews-empty-button,
.review-submit {
  border: 1px solid rgba(215, 176, 107, 0.7);
  cursor: pointer;
}

.reviews-google-button {
  color: #08182d;
  background: #f6f9ff;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.reviews-showcase {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}

.reviews-showcase-panel,
.review-form-card {
  background: linear-gradient(145deg, rgba(18, 42, 72, 0.96), rgba(9, 25, 45, 0.96));
  border: 1px solid var(--surface-border);
  border-radius: 1.25rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.reviews-section-heading,
.review-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.reviews-section-heading h2,
.review-form-heading h2 {
  margin: 0;
  color: #f6f9ff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.google-review-summary {
  margin: 0;
  color: #f1cb86;
  font-weight: 800;
}

.reviews-slider {
  margin-top: 1.4rem;
  overflow: hidden;
}

.reviews-slide {
  min-height: 290px;
  display: grid;
  place-items: center;
}

.reviews-featured-card,
.reviews-empty {
  width: min(100%, 780px);
  margin-inline: auto;
  padding: clamp(1.3rem, 4vw, 2.5rem);
  text-align: center;
  background: rgba(5, 18, 34, 0.72);
  border: 1px solid rgba(110, 153, 211, 0.35);
  border-radius: 1.1rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.reviews-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.review-source {
  display: inline-flex;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(101, 150, 215, 0.42);
  border-radius: 999px;
  color: #cfe3ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.review-source-google {
  border-color: rgba(215, 176, 107, 0.55);
  color: #f5d99f;
}

.review-stars {
  color: #f2c76f;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.reviews-featured-card blockquote {
  margin: 1.15rem 0;
  color: #edf5ff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.16rem, 3vw, 1.65rem);
  line-height: 1.55;
}

.reviews-featured-card blockquote::before {
  content: "“";
}

.reviews-featured-card blockquote::after {
  content: "”";
}

.reviews-featured-author {
  margin: 0;
  color: #f1cb86;
  font-weight: 800;
}

.reviews-featured-date {
  min-height: 1.3rem;
  margin: 0.2rem 0 0;
  color: #aebfd5;
  font-size: 0.82rem;
}

.reviews-empty h3 {
  margin: 0;
  color: #f6f9ff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
}

.reviews-empty p {
  margin: 0.65rem 0 1rem;
}

.reviews-loading,
.reviews-error {
  color: #d8e7fb;
  text-align: center;
}

.reviews-error {
  color: #ffb9b1;
}

.reviews-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.reviews-arrow,
.reviews-dot,
.review-form-close {
  border: 1px solid rgba(105, 151, 211, 0.45);
  background: rgba(5, 18, 34, 0.84);
  color: #eef5ff;
  cursor: pointer;
}

.reviews-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.reviews-arrow:disabled {
  cursor: default;
  opacity: 0.35;
}

.reviews-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: min(65vw, 420px);
}

.reviews-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}

.reviews-dot[aria-current="true"] {
  border-color: #f1cb86;
  background: #f1cb86;
}

.reviews-google-note {
  max-width: 760px;
  margin: 1.3rem auto 0;
  color: #bfcfe3;
  font-size: 0.86rem;
  text-align: center;
}

.reviews-google-note a {
  color: #f1cb86;
  font-weight: 800;
}

.review-form-section {
  scroll-margin-top: 110px;
  padding: 0 0 clamp(3rem, 7vw, 5.5rem);
}

.review-form-section[hidden] {
  display: none;
}

.review-form-heading {
  align-items: center;
}

.review-form-close {
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
  font: inherit;
  font-weight: 700;
}

.review-form-card > p {
  margin: 0.55rem 0 1.2rem;
  color: #bdcde0;
}

.review-form {
  display: grid;
  gap: 1rem;
}

.review-form small {
  display: block;
  margin-top: 0.3rem;
  color: #aebfd5;
}

.review-form .review-submit {
  width: fit-content;
}

.review-form-status {
  min-height: 1.4rem;
  margin: 0;
  color: #d8e7fb;
}

.review-form-status.is-success {
  color: #8de1ae;
}

.review-form-status.is-error {
  color: #ffb9b1;
}

.reviews-arrow:hover:not(:disabled),
.reviews-arrow:focus-visible,
.review-form-close:hover,
.review-form-close:focus-visible {
  border-color: #f1cb86;
  color: #f1cb86;
}

.faq-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1rem, 2.8vw, 1.8rem);
}

.faq-panel h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.faq-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(36, 57, 74, 0.16);
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0.1rem;
}

.faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.faq-item p {
  margin: 0;
}

.trust {
  padding: 1.2rem 0 3.2rem;
}

.trust h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  padding: 1rem;
}

.audit-media img,
.services-media img,
.website-design-media img,
.social-media-media img,
.seo-media img,
.ads-media img,
.group-links-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, #08182d 0%, #0d2748 100%);
  display: block;
}

.group-links-media img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: linear-gradient(180deg, #08182d 0%, #0d2748 100%);
}

.social-media-media img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: linear-gradient(180deg, #08182d 0%, #0d2748 100%);
}

.trust-grid h3 {
  margin: 0;
  font-size: 1.2rem;
}

.trust-grid p {
  margin: 0.62rem 0 0;
}

.site-footer {
  padding: 1.25rem 0;
  background: linear-gradient(90deg, rgba(9, 18, 27, 0.94) 0%, rgba(21, 35, 47, 0.92) 100%);
  color: var(--light);
  border-top: 1px solid rgba(244, 239, 229, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(89, 129, 184, 0.42);
  background: rgba(9, 24, 42, 0.78);
  color: #e8f2ff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: rgba(215, 176, 107, 0.72);
  color: #f7dca8;
}

.footer-dropdown {
  position: relative;
}

.footer-dropdown summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(89, 129, 184, 0.42);
  background: rgba(9, 24, 42, 0.78);
  color: #e8f2ff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.footer-dropdown summary::-webkit-details-marker {
  display: none;
}

.footer-dropdown[open] summary,
.footer-dropdown summary:hover,
.footer-dropdown summary:focus-visible {
  border-color: rgba(215, 176, 107, 0.72);
  color: #f7dca8;
}

.footer-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 180px;
  display: grid;
  gap: 0.3rem;
  padding: 0.4rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(89, 129, 184, 0.42);
  background: rgba(9, 24, 42, 0.96);
  z-index: 3;
}

.footer-contact {
  margin-top: 0.35rem !important;
  font-size: 0.88rem !important;
  opacity: 0.88;
}

.footer-contact a {
  color: #f1dfba;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

.quick-actions {
  position: fixed;
  right: clamp(0.6rem, 1.5vw, 1rem);
  bottom: clamp(0.7rem, 2vw, 1rem);
  z-index: 80;
  display: grid;
  gap: 0.35rem;
}

.quick-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 106px;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(244, 239, 229, 0.35);
  background: rgba(9, 18, 27, 0.9);
  color: #f8f3e8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.quick-btn:hover,
.quick-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(24, 40, 54, 0.96);
}

.quick-whatsapp {
  border-color: rgba(110, 212, 159, 0.45);
}

.quick-email {
  border-color: rgba(151, 195, 240, 0.48);
}

.quick-call {
  border-color: rgba(239, 188, 126, 0.5);
}

.quick-ai {
  border-color: rgba(244, 239, 229, 0.44);
}

.ai-chat-popup {
  position: fixed;
  right: clamp(0.6rem, 1.5vw, 1rem);
  bottom: clamp(12.2rem, 18vw, 12.8rem);
  width: min(320px, calc(100vw - 1.2rem));
  border-radius: 0.95rem;
  border: 1px solid rgba(231, 220, 200, 0.36);
  background: rgba(9, 18, 27, 0.97);
  color: #f9f2e3;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  z-index: 85;
}

.ai-chat-head {
  padding: 0.65rem 0.75rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(231, 220, 200, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ai-chat-minimize {
  border: 1px solid rgba(151, 120, 71, 0.75);
  background: linear-gradient(90deg, #b99a5f 0%, #d2b378 100%);
  color: #0f2238;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.74rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
}

.ai-chat-minimize:hover,
.ai-chat-minimize:focus-visible {
  filter: brightness(1.05);
}

.ai-chat-body {
  max-height: 210px;
  overflow-y: auto;
  padding: 0.6rem 0.75rem;
}

.ai-chat-body p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ai-user {
  color: #d2e7ff;
}

.ai-reply {
  color: #f3e6cb;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem 0.75rem;
  border-top: 1px solid rgba(231, 220, 200, 0.22);
}

.ai-chat-form input {
  background: rgba(255, 255, 255, 0.96);
}

.ai-chat-form button {
  border: 1px solid rgba(151, 120, 71, 0.75);
  background: linear-gradient(90deg, #b99a5f 0%, #d2b378 100%);
  color: #1c2f3f;
  border-radius: 0.55rem;
  font-weight: 800;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.page-main {
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3.6rem);
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.page-card::before {
  content: "";
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 260px);
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./hero-bds.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #08182d;
}

.page-card h1 {
  margin-top: 0;
}

.services-hub p {
  max-width: 72ch;
}

.services-hub::before,
.socialmedia-page-card::before,
.seoservices-page-card::before,
.audit-page-card::before,
.creations-page-card::before,
.classescourses-page-card::before,
.contactus-page-card::before {
  height: clamp(220px, 32vw, 340px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 46%;
}

/* Coding, Ads, and Website Services pages use explicit <picture> elements instead of
   a CSS background pseudo-element, so suppress the inherited ::before banner. */
.coding-page-card::before,
.ads-page-card::before,
.websiteservices-page-card::before {
  display: none;
}

/* Responsive hero image used on service detail pages */
.page-service-hero {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  height: clamp(220px, 32vw, 340px);
  border-radius: 0.8rem;
  overflow: hidden;
}

.page-service-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.services-hub::before {
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./allourservices.webp");
}

.socialmedia-page-card::before {
  height: clamp(220px, 32vw, 340px);
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./soicalmedia.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 46%;
}

.seoservices-page-card::before {
  height: clamp(220px, 32vw, 340px);
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./seoservices.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 46%;
}

.audit-page-card::before {
  height: clamp(220px, 32vw, 340px);
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./audit.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 46%;
}

.creations-page-card::before {
  height: clamp(220px, 32vw, 340px);
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./creations.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 46%;
}

.classescourses-page-card::before {
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./classes.png");
}

.contactus-page-card::before {
  background-image:
    linear-gradient(180deg, rgba(9, 18, 27, 0.2) 0%, rgba(9, 18, 27, 0.42) 100%),
    url("./allourservices.png");
}

.service-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(9, 21, 38, 0.9);
  border: 1px solid rgba(91, 127, 176, 0.34);
  border-radius: 0.8rem;
  padding: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
}

.service-item p {
  margin: 0;
}

.service-item:hover,
.service-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 31, 43, 0.12);
  border-color: rgba(151, 120, 71, 0.45);
}

.tryapps-page-card p {
  max-width: 70ch;
}

.tryapps-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.tryapp-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(9, 21, 38, 0.9);
  border: 1px solid rgba(91, 127, 176, 0.34);
  border-radius: 0.8rem;
  padding: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tryapp-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0.7rem;
  border: 1px solid rgba(89, 129, 184, 0.3);
  background: rgba(6, 18, 34, 0.85);
  display: block;
}

.tryapp-link h2 {
  margin: 0.7rem 0 0;
  font-size: 1.18rem;
}

.tryapp-link:hover,
.tryapp-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 31, 43, 0.18);
  border-color: rgba(151, 120, 71, 0.45);
}

.games-platform-heading {
  margin: 1.25rem 0 0.75rem;
}

.gallery-main {
  padding-top: clamp(1.3rem, 3vw, 2rem);
}

.gallery-intro {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1rem, 2.6vw, 1.7rem);
  margin-bottom: 1rem;
}

.gallery-intro h1 {
  margin: 0;
}

.gallery-intro p {
  margin: 0.55rem 0 0;
}

.gallery-section {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  box-shadow: var(--surface-shadow);
  padding: clamp(1rem, 2.6vw, 1.7rem);
  margin-bottom: 1rem;
}

.gallery-section h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.slideshow-row {
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid rgba(36, 57, 74, 0.18);
  background: rgba(9, 18, 27, 0.92);
}

.slideshow-track {
  display: flex;
  width: max-content;
  gap: 0.6rem;
  padding: 0.6rem;
  animation: galleryScroll 32s linear infinite;
}

.slideshow-row.reverse .slideshow-track {
  animation-direction: reverse;
}

.slideshow-track figure {
  margin: 0;
  width: clamp(220px, 28vw, 340px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 239, 229, 0.2);
  border-radius: 0.7rem;
  overflow: hidden;
}

.slideshow-track img {
  width: 100%;
  height: clamp(180px, 24vw, 240px);
  object-fit: contain;
  background: linear-gradient(180deg, #08182d 0%, #0d2748 100%);
  padding: 0.25rem;
  display: block;
}

.slideshow-track figcaption {
  color: #f5efdf;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.6rem;
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.audit-tool-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(36, 57, 74, 0.16);
}

.audit-tool-form-wide {
  max-width: 760px;
}

.audit-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.audit-tool-grid .full {
  grid-column: 1 / -1;
}

.audit-tool-grid span {
  color: rgba(183, 207, 240, 0.78);
  font-weight: 500;
}

.audit-tool-form input {
  background: rgba(6, 18, 34, 0.92);
  color: #e8f2ff;
}

.audit-submit {
  margin-top: 0.9rem;
  cursor: pointer;
}

.audit-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.audit-tool-status {
  min-height: 1.35rem;
  margin: 0.65rem 0 0;
  color: #f1cb86;
  font-size: 0.92rem;
  font-weight: 700;
}

.audit-tool-status.is-error {
  color: #9d2f23;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.72rem;
  border: 1px solid rgba(89, 129, 184, 0.44);
  background: rgba(6, 18, 34, 0.92);
  color: #e8f2ff;
  border-radius: 0.65rem;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    background: rgba(9, 18, 27, 0.97);
    border: 1px solid rgba(231, 220, 200, 0.2);
    border-radius: 0.85rem;
    padding: 0.7rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a,
  .dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    max-width: none;
    margin-top: 0.35rem;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: none;
    background-size: contain;
    background-position: center;
  }

  .audit-main-image {
    min-height: 210px;
  }

  .audit-results-image {
    min-height: 250px;
  }

  .services-media img,
  .website-design-media img,
  .social-media-media img,
  .seo-media img,
  .ads-media img,
  .group-links-media img {
    aspect-ratio: 4 / 3;
  }

  .social-media-media img,
  .group-links-media img {
    max-height: min(62vw, 460px);
    object-fit: contain;
  }

  .ceo-proof-image {
    max-height: min(120vw, 520px);
  }

  .slideshow-track figure {
    width: min(76vw, 280px);
  }

  .slideshow-track img {
    height: min(64vw, 240px);
  }

  .audit-grid,
  .services-grid,
  .website-design-grid,
  .social-media-grid,
  .seo-grid,
  .ads-grid,
  .group-links-grid,
  .ceo-grid,
  .reviews-grid,
  .trust-grid,
  .service-grid,
  .tryapps-grid,
  .form-grid,
  .audit-tool-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .quick-btn {
    min-width: 0;
    padding: 0.48rem 0.35rem;
    font-size: 0.72rem;
  }

  .footer-nav a {
    font-size: 0.78rem;
    padding: 0.34rem 0.55rem;
  }

  .ai-chat-popup {
    right: 0.6rem;
    bottom: 12rem;
  }

  .reviews-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .reviews-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-actions .hero-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .reviews-slide {
    min-height: 340px;
  }

  .review-form-heading {
    align-items: flex-start;
  }
}

.contact-form-status {
  margin: 0;
  font-size: 0.95rem;
  color: #1e3a5f;
}

.contact-form-status.is-error {
  color: #b42318;
}
