:root {
  --destra-purple: #5b2d82;
  --destra-purple-dark: #3f1f5c;
  --destra-purple-light: #7b4aa8;
  --destra-accent: #00c896;
  --destra-accent-dark: #00a67a;
  --destra-ink: #1a1523;
  --destra-muted: #5c5668;
  --destra-bg: #faf8fc;
  --destra-surface: #ffffff;
  --destra-border: #e8e0f0;
  --destra-radius: 16px;
  --destra-shadow: 0 18px 50px rgba(59, 31, 92, 0.12);
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", "DM Sans", sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--destra-ink);
  background: var(--destra-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--destra-purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--destra-purple-light);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--destra-purple);
  color: #fff;
  clip: auto;
  width: auto;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--destra-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.site-logo-link img,
.custom-logo-link img {
  max-height: 98px; /* +75% from 56px */
  width: auto;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--destra-ink);
}

.menu a:hover,
.menu .current-menu-item > a {
  color: var(--destra-purple);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--destra-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--destra-purple), var(--destra-purple-light));
  color: #fff !important;
  text-decoration: none;
}

.btn--accent {
  background: var(--destra-accent);
  color: #053327 !important;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--destra-border);
  color: var(--destra-purple) !important;
  text-decoration: none;
}

.btn--light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none;
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
  text-decoration: none;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(47, 22, 71, 0.92) 0%, rgba(91, 45, 130, 0.78) 45%, rgba(26, 21, 35, 0.55) 100%);
}

.hero__content {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  max-width: 14ch;
  margin: 0.5rem 0 1rem;
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.hero__stats span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--destra-purple-light);
  margin: 0;
}

.eyebrow--light {
  color: var(--destra-accent);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: #f3eef8;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0.4rem 0 0.75rem;
}

.section-lead,
.page-hero__lead {
  color: var(--destra-muted);
  font-size: 1.05rem;
  margin: 0;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--destra-bg) 100%);
}

.page-hero--compact {
  padding-bottom: 1rem;
}

.pillars-grid,
.service-cards,
.project-cards {
  display: grid;
  gap: 1.25rem;
}

.pillars-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pillar-card,
.service-card,
.project-card,
.contact-card,
.portfolio-teaser__card {
  background: var(--destra-surface);
  border: 1px solid var(--destra-border);
  border-radius: var(--destra-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(59, 31, 92, 0.06);
}

.pillar-card h3,
.service-card h4 {
  font-family: var(--font-display);
  margin-top: 0;
}

.service-group {
  margin-bottom: 2.5rem;
}

.service-group__title {
  font-family: var(--font-display);
  color: var(--destra-purple-dark);
  margin-bottom: 1rem;
}

.service-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.clients-grid__item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--destra-border);
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.clients-grid__item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.cta-band {
  background: linear-gradient(135deg, var(--destra-purple-dark), var(--destra-purple));
  color: #fff;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-teaser__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.portfolio-teaser__card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.center-link {
  text-align: center;
  margin-top: 1.5rem;
}

.content-prose {
  max-width: 68ch;
}

.content-prose h2 {
  font-family: var(--font-display);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li + li {
  margin-top: 1rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--destra-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.form-notice--ok {
  background: #e6faf3;
  color: #0d5c41;
}

.form-notice--error {
  background: #fdeeee;
  color: #8a1f1f;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  background: #f0e8f8;
  color: var(--destra-purple-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.project-cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--destra-ink);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 2rem;
}

.site-footer a {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.site-footer__logo {
  max-height: 126px; /* +75% from 72px */
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--destra-shadow);
  z-index: 90;
  text-decoration: none;
}

.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .portfolio-teaser__grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 1rem auto;
    background: #fff;
    border: 1px solid var(--destra-border);
    border-radius: var(--destra-radius);
    box-shadow: var(--destra-shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

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

  .menu {
    flex-direction: column;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }
}