/* assets/css/style.css */
/* ==========================================================================
   CoreVative — Shared Stylesheet
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colours */
  --purple: #794aff;
  --blue: #0765fe;
  --gradient: linear-gradient(120deg, #794aff 0%, #0765fe 100%);
  --white: #ffffff;
  --text: #1b1b1b;
  --muted: #666777;
  --light-bg: #f7f8fc;
  --border: #e8e9f0;
  --purple-tint: #f1ecff;
  --blue-tint: #eaf1ff;
  --success: #1e7a4a;
  --error: #c0392b;

  /* Typography */
  --font-main:
    "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --hero-size: clamp(3rem, 6.4vw, 6.5rem);
  --page-size: clamp(2.8rem, 5vw, 5rem);
  --section-size: clamp(2.2rem, 4vw, 3.8rem);
  --card-size: clamp(1.4rem, 2.5vw, 1.8rem);
  --body-size: 1.05rem;
  --body-size-lg: 1.2rem;
  --small-size: 0.85rem;

  /* Spacing & Layout */
  --max-width: 1400px;
  --pad-desktop: 64px;
  --pad-tablet: 32px;
  --pad-mobile: 24px;
  --section-gap: clamp(80px, 10vw, 100px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 24px rgba(27, 27, 27, 0.06);
  --shadow-card: 0 2px 12px rgba(27, 27, 27, 0.04);

  /* Transitions */
  --transition: 0.25s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--purple);
}

ul,
ol {
  list-style: none;
}

.project-grid article {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: var(--hero-size);
}
h2 {
  font-size: var(--section-size);
}
h3 {
  font-size: var(--card-size);
}

p {
  max-width: 68ch;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-desktop);
  padding-right: var(--pad-desktop);
}

.section {
  padding: var(--section-gap) 0;
}

.section-heading {
  font-size: var(--section-size);
  letter-spacing: -0.02em;
  text-align: center;
  margin: auto;
  margin-bottom: 1rem;
  max-width: 20ch;
}

.section-intro {
  font-size: var(--body-size-lg);
  color: var(--muted);
  text-align: center;
  margin: auto;
  margin-bottom: 4rem;
  max-width: 70ch;
}

.eyebrow {
  font-size: var(--small-size);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.section-cta {
  margin-top: 3rem;
  text-align: center;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.cta-micro {
  margin: auto;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--text);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  opacity: 0.92;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(121, 74, 255, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  min-height: 40px;
}

/* Visible focus */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 0.6rem var(--pad-mobile);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.announcement-bar p {
  margin: 0;
  max-width: none;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo img {
  width: 140px;
  height: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.primary-nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}

.primary-nav a:not(.btn):hover,
.primary-nav a:not(.btn).active {
  color: var(--purple);
}
.primary-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.menu-icon {
  top: 50%;
  transform: translate(-50%, -50%);
}
.menu-icon::before {
  content: "";
  top: -7px;
}
.menu-icon::after {
  content: "";
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  max-width: 720px;
}
.hero-heading {
  font-size: var(--page-size);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-support {
  font-size: var(--body-size-lg);
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 55ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hero-micro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}
.hero-services-line {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}
.gradient-accent {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.12;
  z-index: 1;
  filter: blur(40px);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}
.page-heading {
  font-size: var(--page-size);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.page-support {
  font-size: var(--body-size-lg);
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ---------- Trust Section ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.trust-item {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-tint);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--purple);
}
.trust-item h3 {
  margin-bottom: 0.5rem;
}
.trust-item p {
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Problem Section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.problem-card {
  padding: 2rem 1.5rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.problem-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Solution Section ---------- */
.solution-system {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.solution-step {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}
.step-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-tint);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.solution-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.solution-step p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Services Overview ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-soft);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.service-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.service-list li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}
.service-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Process Section ---------- */
.process-section h2 {
  margin-bottom: 4rem;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-step {
  padding: 1.5rem 0;
  border-top: 1px solid #794aff66;
}
.process-step .step-number {
  margin-bottom: 0.5rem;
}
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Featured Work ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-soft);
}
.project-image-wrap {
  position: relative;
}
.project-image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.project-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.project-info {
  padding: 1.5rem;
}
.project-category {
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.project-info p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.project-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-main);
}
.project-link:hover {
  color: var(--purple);
}

/* ---------- Testimonials (Projects page) ---------- */
.testimonial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

/* Large, prominent client photo */
.testimonial-photo-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light-bg);
  border-radius: 8px;
}

.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.testimonial-card:hover .testimonial-photo {
  transform: scale(1.04);
}

.testimonial-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  font-weight: 400;
  quotes: "“" "”";
}

.testimonial-author {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.testimonial-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .testimonial-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonial-body {
    padding: 1.5rem;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
}

/* ---------- Testimonial rating ---------- */
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.testimonial-star-wrap {
  display: inline-flex;
  color: var(--border); /* empty / unfilled state */
}

.testimonial-star-wrap.filled {
  color: #f5a623; /* warm gold star */
}

.testimonial-star {
  display: block;
  width: 18px;
  height: 18px;
}

.testimonial-rating-value {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Pricing Teaser ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-featured {
  border-color: var(--purple);
  box-shadow: 0 8px 30px rgba(121, 74, 255, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}
.price-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.price-monthly {
  font-weight: 600;
  color: var(--text);
}
.pricing-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex: 1;
}
.pricing-note {
  margin: auto;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- FAQ Section ---------- */
.faq-section h2 {
  margin-bottom: 4rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  margin: auto;
  gap: 0.75rem;
  max-width: 900px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--purple);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  background: var(--light-bg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-answer p {
  max-width: none;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--light-bg);
}
.final-cta .section-heading {
  max-width: 21ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo img {
  filter: brightness(0) invert(1);
}
.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-contact ul li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact a:hover {
  color: var(--white);
}
.replaceable-phone {
  font-weight: 600;
  color: var(--white);
}
.footer-phone em {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-cta {
  margin-top: 1.25rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-legal a:hover {
  color: var(--white);
}
.legal-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(121, 74, 255, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Service Detail (Services Page) ---------- */
.service-detail {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail-header {
  margin-bottom: 1.5rem;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-detail-grid h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--purple);
}
.service-detail-grid ul {
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.service-detail-grid ul li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.service-detail-grid ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}
.service-detail-grid p {
  font-size: 0.95rem;
  color: var(--muted);
}
.service-detail-grid a {
  margin-top: 2rem;
}

/* ---------- Pricing Full (Services Page) ---------- */
.pricing-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.pricing-card-full {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  position: relative;
}
.pricing-featured-full {
  border-color: var(--purple);
  box-shadow: 0 8px 30px rgba(121, 74, 255, 0.12);
}
.pricing-card-full h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.pricing-details {
  margin: 1.5rem 0;
}
.pricing-details h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
  margin: 1rem 0 0.5rem;
}
.pricing-details ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-details ul li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.pricing-details ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--purple);
}
.pricing-disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 80ch;
}
.pricing-note-full {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Addons ---------- */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.addon-price {
  font-weight: 600;
  color: var(--purple);
  font-size: 0.85rem;
  white-space: nowrap;
  margin-left: 1rem;
}

/* ---------- Comparison Table ---------- */
.table-responsive {
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--light-bg);
  font-weight: 700;
}
.comparison-table td:first-child {
  font-weight: 600;
}
.table-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Delivery Process ---------- */
.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.delivery-step {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.delivery-step .step-number {
  margin-bottom: 0.5rem;
}
.delivery-step h3 {
  font-size: 1.1rem;
}

/* ---------- Portfolio Intro ---------- */
.portfolio-intro {
  background: var(--light-bg);
}

/* ---------- Filter Section ---------- */
.filter-section {
  padding: 2rem 0;
  background: var(--white);
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

/* ---------- Projects Full Grid ---------- */
.project-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.project-card-full {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.project-card-full:hover {
  box-shadow: var(--shadow-soft);
}
.project-card-full[hidden] {
  display: none;
}
.project-status {
  font-size: 0.85rem;
  color: var(--purple);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.no-results-message {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 27, 27, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--light-bg);
}
.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}
.modal-category {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.modal-content h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.modal-content p,
.modal-content li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.modal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.modal-content .btn {
  margin-top: 1.5rem;
}

/* ---------- Testimonial Gallery ---------- */
.testimonial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-gallery-grid .testimonial-card {
  min-height: 160px;
  padding: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.testimonial-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- About Page ---------- */
.about-hero-image {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
}
.content-columns p {
  font-size: var(--body-size-lg);
  color: var(--muted);
  max-width: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.philosophy-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.philosophy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.philosophy-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.audience-card {
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.audience-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.audience-card p {
  font-size: 0.95rem;
  color: var(--muted);
}
.audience-note {
  text-align: center;
  margin: auto;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.growth-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.growth-step {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.growth-step .step-number {
  margin-bottom: 0.5rem;
}
.growth-step h3 {
  font-size: 1rem;
}
.growth-note {
  text-align: center;
  margin: auto;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 70ch;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.geo-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.geo-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.geo-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.commitment-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}
.commitment-list li {
  padding-left: 1.75rem;
  position: relative;
  font-size: 1rem;
  color: var(--muted);
}
.commitment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ---------- Contact Page ---------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info-item h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
  margin-bottom: 0.4rem;
}
.contact-info-item p {
  font-size: 1rem;
}
.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Form ---------- */
.enquiry-form {
  max-width: 900px;
  background-color: #0765fe11;
  padding: 50px;
  border-radius: 24px;
  margin: auto;
}
.form-notice {
  background: var(--blue-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.form-notice p {
  max-width: none;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.required {
  color: var(--error);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-tint);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}
.error-message {
  display: none;
  font-size: 0.85rem;
  color: var(--error);
  margin-top: 0.3rem;
}
.error-message.visible {
  display: block;
}

.checkbox-group {
  border: none;
  padding: 0;
}
.checkbox-group legend {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.checkbox-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.checkbox-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}
.checkbox-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  flex-shrink: 0;
}

.radio-options {
  display: flex;
  gap: 1.5rem;
}
.radio-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  cursor: pointer;
}
.radio-options input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.consent-group {
  margin-top: 0.5rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  margin-top: 3px;
  flex-shrink: 0;
}
.privacy-micro {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Form success / error feedback */
.form-feedback {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-feedback.success {
  background: #e8f5e9;
  color: var(--success);
  border: 1px solid var(--success);
}
.form-feedback.error {
  background: #fdedec;
  color: var(--error);
  border: 1px solid var(--error);
}

/* ---------- Next Steps ---------- */
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.next-step {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.next-step .step-number {
  margin-bottom: 0.5rem;
}
.next-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.next-step p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Alternative Contact ---------- */
.alternative-contact {
  background: var(--light-bg);
  text-align: center;
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .container {
    padding-left: var(--pad-tablet);
    padding-right: var(--pad-tablet);
  }
  .hero-grid {
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 2rem;
  }
  .pricing-grid-full {
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 600px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-system {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .pricing-grid-full {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .project-grid-full {
    grid-template-columns: 1fr;
  }
  .testimonial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-columns {
    grid-template-columns: 1fr;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .growth-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .geo-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .next-steps-grid {
    grid-template-columns: 1fr;
  }
  .delivery-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-options {
    grid-template-columns: 1fr;
  }
  .commitment-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-desktop: var(--pad-mobile);
    --body-size: 1rem;
    --body-size-lg: 1.1rem;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
  }
  .primary-nav.open {
    transform: translateX(0);
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .primary-nav a {
    font-size: 1.1rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .growth-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
  .modal-content {
    padding: 1.5rem;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .delivery-steps {
    grid-template-columns: 1fr;
  }
  .project-card-full .project-info {
    padding: 1.25rem;
  }
  .pricing-card-full {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.4rem;
  }
  .page-heading {
    font-size: 2.2rem;
  }
  .section-heading {
    font-size: 1.8rem;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .btn {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }
  .growth-steps {
    grid-template-columns: 1fr;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .solution-system {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .filter-buttons {
    gap: 0.5rem;
  }
  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}
