/* ─────────────────────────────────────────────────────────────
   MARKETING SOLUTIONS MALTA — style.css
   Fonts: Playfair Display (headings) + Poppins (body)
   Accent: #651FFF
───────────────────────────────────────────────────────────── */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --purple:       #6F11D9;
  --purple-dark:  #3E008B;
  --purple-mid:   #9B4DEB;
  --purple-pale:  #F2EAFD;
  --purple-border:rgba(111, 17, 217, 0.2);

  --ink:          #0A0A0A;
  --ink-mid:      #3A3A3A;
  --ink-light:    #767676;
  --cream:        #FAFAF8;
  --white:        #FFFFFF;
  --border:       #E8E4F0;
  --green:        #15803D;
  --green-bg:     #EDFDF8;
  --green-border: #BBF7D0;
  --red-bg:       #FFF1F1;
  --red-border:   #FECACA;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --max-w:        1160px;
  --nav-h:        72px;
  --radius:       12px;
  --radius-lg:    18px;

  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--white); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── SHARED SECTION LABELS / HEADINGS ───────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.85rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-heading em {
  font-style: italic;
  color: var(--purple);
  font-weight: 400;
}
.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 52ch;
  line-height: 1.8;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(101, 31, 255, 0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101, 31, 255, 0.4);
}
.btn-primary--full {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(101, 31, 255, 0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 30px;
  height: 30px;
  background: var(--purple);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--purple);
  transition: right 0.25s var(--ease-expo);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta {
  background: var(--purple);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(101, 31, 255, 0.28);
}
.nav__cta:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(101, 31, 255, 0.38);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: var(--nav-h);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--purple); }
.nav__mobile .nav__cta {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  min-height: 75svh;
  display: grid;
  place-items: center;
  padding-top: var(--nav-h);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(101,31,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(101,31,255,0.04) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.hero__content { animation: fadeUp 0.7s var(--ease-expo) both; }
 
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  color: var(--purple);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.65); }
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s var(--ease-expo) 0.1s both;
}
.hero__headline em {
  font-style: italic;
  color: var(--purple);
  font-weight: 400;
}
.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 46ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s var(--ease-expo) 0.2s both;
}
.hero .btn-primary {
  animation: fadeUp 0.7s var(--ease-expo) 0.3s both;
}
 
/* ── HERO VISUAL — Google mock ───────────────────────────────── */
.hero__visual {
  animation: fadeUp 0.8s var(--ease-expo) 0.3s both;
}
 
/* Outer wrapper */
.hero__mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(10,10,10,0.04),
    0 20px 60px rgba(10,10,10,0.10),
    0 0 0 1px rgba(101,31,255,0.06);
}
 
/* Browser chrome bar */
.mock__browser-bar {
  background: #F5F5F5;
  border-bottom: 1px solid #E0E0E0;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mock__browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: var(--ink-light);
  font-family: var(--font-body);
}
 
/* Search bar */
.mock__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.mock__search-icon { flex-shrink: 0; }
.mock__search-text {
  font-size: 0.875rem;
  color: var(--ink);
  font-family: var(--font-body);
  min-width: 2px;
}
.mock__cursor {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 300;
  animation: blink 1s step-end infinite;
  margin-left: -2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
 
/* Results area */
.mock__results {
  padding: 1rem 1.25rem;
  min-height: 280px;
}
.mock__results--after {
  display: none;
}
.mock__results-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
 
/* Individual result */
.mock__result {
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.mock__result--bad {
  background: #FFF8F8;
  border-color: #FECACA;
}
.mock__result--good {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.mock__result--featured {
  border-color: #86EFAC;
  background: #F0FDF4;
}
.mock__result-source {
  font-size: 0.68rem;
  color: var(--ink-light);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mock__result-source--good { color: #15803D; }
.mock__result-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #15803D;
  flex-shrink: 0;
}
.mock__result-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A0DAB;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.mock__result-title--good { color: #15803D; }
.mock__result-snippet {
  font-size: 0.72rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.mock__result-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.mock__result-links span {
  font-size: 0.68rem;
  color: #1A0DAB;
  text-decoration: underline;
  cursor: default;
}
 
/* Status label */
.mock__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-top: 0.75rem;
}
.mock__label--bad {
  background: #FFF1F1;
  color: #DC2626;
  border: 1px solid #FECACA;
}
.mock__label--good {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
 
/* Toggle buttons */
.mock__toggle {
  display: flex;
  border-top: 1px solid var(--border);
}
.mock__toggle-btn {
  flex: 1;
  padding: 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--ink-light);
  background: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mock__toggle-btn:first-child {
  border-right: 1px solid var(--border);
}
.mock__toggle-btn--active {
  background: var(--purple-pale);
  color: var(--purple);
  font-weight: 600;
}
.mock__toggle-btn:hover:not(.mock__toggle-btn--active) {
  background: var(--cream);
  color: var(--ink);
}
 
/* Offer list full-width grid (no aside) */
.offer__list--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0;
}
@media (max-width: 900px) {
  .offer__list--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .offer__list--grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────────────────────────── */
.trust-bar {
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream);
}
.trust-bar__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 150s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-bar__item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  white-space: nowrap;
}
.trust-bar__dot {
  color: var(--purple);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   OFFER
───────────────────────────────────────────────────────────── */
.offer {
  background: var(--white);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.offer__header {
  margin-bottom: 3.5rem;
}
.offer__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.offer__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.offer__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: default;
}
.offer__item:hover {
  border-color: var(--purple-border);
  box-shadow: 0 4px 20px rgba(101,31,255,0.07);
  transform: translateX(4px);
}
.offer__item-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer__item h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.offer__item p {
  font-size: 0.845rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.65;
}

/* Pricing aside */
.offer__aside {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.offer__price-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.offer__price-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(101,31,255,0.25);
  pointer-events: none;
}
.offer__price-tag {
  display: inline-block;
  background: rgba(101,31,255,0.8);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  position: relative;
}
.offer__price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
}
.offer__price-desc {
  font-size: 0.845rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  position: relative;
}
.offer__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}
.offer__sorted {
  margin-bottom: 2rem;
  position: relative;
}
.offer__sorted-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.offer__sorted-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
}
.offer__sorted-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.offer__sorted-price small {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
}
.offer__sorted-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────────── */
.process {
  background: var(--cream);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.process .section-heading,
.process .section-label {
  margin-bottom: 0.5rem;
}
.process .section-heading {
  margin-bottom: 3rem;
}
.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.process__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}
.process__step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--purple-pale);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 2px var(--purple-border);
}
.process__step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.process__step p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.75;
}
.process__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  padding-top: 3.5rem;
}
.process__connector::after {
  content: '→';
  font-size: 1.4rem;
  color: var(--purple-border);
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────────────────────────── */
.portfolio {
  background: var(--white);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.portfolio .section-heading { margin-bottom: 0.5rem; }
.portfolio .section-sub { margin-bottom: 3rem; }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.portfolio__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,10,10,0.09);
}
.portfolio__card-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio__card-img--gp    { background: linear-gradient(135deg, #F3EEFF 0%, #EDE9FF 100%); }
.portfolio__card-img--derm  { background: linear-gradient(135deg, #FFF0F6 0%, #FFE4EF 100%); }
.portfolio__card-img--physio{ background: linear-gradient(135deg, #EDFDF8 0%, #D1FAE5 100%); }

.portfolio__card-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}
.portfolio__card-img-inner span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  background: rgba(255,255,255,0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.portfolio__card-body { padding: 1.25rem 1.5rem 1.6rem; }
.portfolio__card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.4rem;
}
.portfolio__card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.portfolio__card-body p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────────────── */
.contact {
  background: var(--white);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.contact__header {
  max-width: 60ch;
  margin-bottom: 3rem;
}
.contact__form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 780px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__group {
  margin-bottom: 1.25rem;
}
.form__group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 0.45rem;
}
.form__required { color: var(--purple); }
.form__optional { color: var(--ink-light); font-weight: 300; font-size: 0.75rem; }

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--ink-light); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(101,31,255,0.1);
}
.form__group textarea {
  resize: vertical;
  min-height: 100px;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23767676' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Toggle group */
.form__toggle-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}
.form__toggle {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-mid);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.form__toggle:hover {
  border-color: var(--purple-border);
  color: var(--purple);
}
.form__toggle.active {
  border-color: var(--purple);
  background: var(--purple-pale);
  color: var(--purple);
  font-weight: 500;
  box-shadow: 0 0 0 3px rgba(101,31,255,0.1);
}

/* URL field hidden by default */
.form__group--url {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s var(--ease-expo), opacity 0.4s, margin-bottom 0.4s;
}
.form__group--url.visible {
  max-height: 100px;
  opacity: 1;
  margin-bottom: 1.25rem;
}

/* Checkbox */
.form__group--checkbox { margin-top: 0.5rem; }
.form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.6;
}
.form__checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.form__checkbox-custom {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.form__checkbox-label input:checked ~ .form__checkbox-custom {
  background: var(--purple);
  border-color: var(--purple);
}
.form__checkbox-label input:checked ~ .form__checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Submit */
.form__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(101,31,255,0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.form__submit:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(101,31,255,0.4);
}
.form__submit:disabled {
  opacity: 0.8;
  cursor: default;
  transform: none;
}
.form__small {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--ink-light);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────── */
.faq {
  background: var(--cream);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.faq .section-heading { margin-bottom: 2.5rem; }
.faq__list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: none; }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.faq__question:hover { background: var(--purple-pale); color: var(--purple); }
.faq__question[aria-expanded="true"] {
  background: var(--purple-pale);
  color: var(--purple);
}
.faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-expo);
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq__icon::before { width: 8px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 8px; }
.faq__question[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-expo);
}
.faq__answer p {
  padding: 0 1.75rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-light);
}
.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-light);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--purple); }

/* ─────────────────────────────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 999;
  width: calc(100% - 3rem);
  max-width: 680px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 48px rgba(10,10,10,0.22), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  opacity: 0;
  transition: transform 0.5s var(--ease-expo), opacity 0.5s var(--ease-expo);
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner__text {
  flex: 1;
  min-width: 0;
}
.cookie-banner__text p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0;
}
.cookie-banner__text a {
  color: var(--purple-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cookie-banner__text a:hover { color: var(--white); }
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.cookie-btn--accept {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(101,31,255,0.4);
}
.cookie-btn--accept:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.cookie-btn--decline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: translateY(120px);
  }
  .cookie-banner.visible { transform: translateY(0); }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .offer__grid { grid-template-columns: 1fr; }
  .offer__aside { position: static; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: 1; }
  .hero__content { order: 0; }
  .hero__sub { max-width: 100%; }
  .process__steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .process__connector { display: none; }
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 640px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__toggle-group { flex-direction: column; }
  .form__toggle { text-align: center; }
  .bridge__line { font-size: 1.4rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}