/* Cultivate: shared stylesheet */

:root {
  --forest: #1F3D2B;
  --forest-hover: #2A5039;
  --sage: #5C7A5C;
  --lime: #A8C63F;
  --lime-hover: #B8D45A;
  --cream: #FBFAF6;
  --cream-alt: #F5F3EC;
  --cream-alt-2: #F0EDE3;
  --charcoal: #1C1F1B;
  --border: #E2DFD5;
  --border-soft: #E9E6DC;
  --border-input: #D8D5CA;
  --text-body: #4E5349;
  --text-muted: #6B6F66;
  --text-faint: #8A8E83;
  --text-faintest: #B0B3A9;
  --on-dark-body: #D3DECF;
  --on-dark-muted: #9DB3A0;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1180px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--forest); text-decoration: none; transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
a:hover { color: var(--sage); }

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

/* ---------- Keyboard focus ---------- */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ---------- Pressable feedback ---------- */
.btn, .pkg-cta, .nav-cta, .lang-btn, .faq-q, .contact-form button {
  transition: transform 120ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:active, .pkg-cta:active, .nav-cta:active, .lang-btn:active, .contact-form button:active {
  transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
  .btn:active, .pkg-cta:active, .nav-cta:active, .lang-btn:active, .contact-form button:active {
    transform: none;
  }
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Scroll / entrance reveal ---------- */
[data-reveal],
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal].revealed,
[data-reveal-group] > *.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-group] > * {
    transform: none;
    transition: opacity 400ms ease;
  }
}

/* ---------- Language toggling ---------- */
html:not([data-lang="en"]) [data-lang-en] { display: none; }
html[data-lang="en"] [data-lang-el] { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 rgba(28, 31, 27, 0);
  transition: box-shadow 220ms ease-out, background-color 200ms ease;
}
/* Scroll-edge effect instead of a permanent hard divider: the nav blends into the
   hero at the top of the page, and only picks up a soft separation once content
   is actually scrolling underneath it. */
.nav.scrolled { box-shadow: 0 1px 0 var(--border-soft), 0 8px 24px rgba(28, 31, 27, 0.06); }
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--cream); backdrop-filter: none; border-bottom: 1px solid var(--border-soft); }
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--forest);
  flex-shrink: 0;
}
.logo .dot { color: var(--lime); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a { color: var(--text-body); }
.nav-links a.active,
.nav-links a:hover { color: var(--forest); }
/* Now an <a> linking to the other language's URL rather than a toggle button,
   so the language lives in the URL and is shareable. inline-flex keeps the
   pill identical to the old <button> and lets the mobile min-height centre
   its label. */
.lang-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-body);
  border: 1px solid var(--border-input);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lang-btn:hover { border-color: var(--forest); color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--forest-hover); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 65px;
    display: flex;
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 24px 28px;
    box-shadow: 0 16px 32px rgba(28, 31, 27, 0.08);
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    filter: blur(6px);
    visibility: hidden;
    transition: transform 160ms var(--ease-drawer), opacity 140ms ease-out, filter 160ms ease-out, visibility 0s linear 160ms;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
    visibility: visible;
    transition: transform 220ms var(--ease-drawer), opacity 180ms ease-out, filter 200ms ease-out;
  }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-links .lang-btn { align-self: flex-start; margin-top: 8px; }
  .nav-links .nav-cta { text-align: center; margin-top: 10px; }
  @media (prefers-reduced-motion: reduce) {
    .nav-links { transform: none; filter: none; transition: opacity 150ms ease-out, visibility 0s linear 150ms; }
    .nav-links.open { transition: opacity 150ms ease-out; }
  }
  @media (prefers-reduced-transparency: reduce) {
    .nav-links { background: var(--cream); backdrop-filter: none; border-bottom: 1px solid var(--border-soft); }
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-hover); color: var(--cream); }
.btn-outline { background: var(--cream); color: var(--forest); border-color: var(--border-input); }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }
.btn-accent { background: var(--lime); color: var(--forest); }
.btn-accent:hover { background: var(--lime-hover); color: var(--forest); }
.btn-sm { padding: 12px 20px; font-size: 14px; }

/* ---------- Kickers / headings ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sage);
  text-transform: uppercase;
}
.kicker.on-dark { color: var(--lime); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }
h1 { font-size: clamp(36px, 7.5vw, 64px); letter-spacing: -0.04em; line-height: 1.08; }
h2 { font-size: clamp(30px, 5.5vw, 42px); letter-spacing: -0.03em; line-height: 1.15; }
h3 { font-size: 20px; }
p { line-height: 1.65; color: var(--text-body); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tight { padding-top: 24px; padding-bottom: 96px; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.section-head.center { align-items: center; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero .lede { font-size: 19px; line-height: 1.65; color: var(--text-body); max-width: 640px; margin: 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.stats { display: flex; gap: 48px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--forest); }
.stat-label { font-size: 13px; color: var(--text-faint); }

.page-hero {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-hero p { font-size: 18px; max-width: 640px; }
.page-hero.center { align-items: center; text-align: center; }

/* ---------- Chips strip (auto-scrolling ticker) ---------- */
.chips-strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--cream-alt); overflow: hidden; }
.chips-track {
  display: inline-flex;
  vertical-align: top;
  animation: chips-scroll 34s linear infinite;
}
.chips-strip:hover .chips-track { animation-play-state: paused; }
.chips-track-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  flex-shrink: 0;
}
@keyframes chips-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}
.chip {
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .chips-track {
    display: flex;
    animation: none;
    transform: none;
    width: auto;
  }
  .chips-track-inner:nth-child(2) { display: none; }
  .chips-track-inner:first-child { flex-wrap: wrap; justify-content: center; padding: 20px 32px; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.grid-team { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
/* An odd item count in a 3-up grid leaves the last row short, with a hole on
   the right. Flex with centred justification balances that row instead. The
   basis matches .grid-3's own 3-up column width and reuses .grid's 20px gap,
   so the rhythm is identical to the grid version at full rows, and only the
   short final row differs. Scoped as a modifier because .grid-3 is shared
   with the work, portfolio and packages sections, which want the default. */
.grid-center-last {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.grid-center-last > * { flex: 0 1 calc((100% - 40px) / 3); min-width: 260px; }
@media (max-width: 860px) {
  .grid-center-last > * { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 580px) {
  .grid-center-last > * { flex-basis: 100%; min-width: 0; }
}

.card {
  background: var(--cream-alt);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 150ms ease, transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.card:hover { background: var(--cream-alt-2); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 31, 27, 0.07); }
@media (hover: none) { .card:hover { transform: none; box-shadow: none; } }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.card h3 { margin-top: 8px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Work / portfolio ---------- */
.work-band { background: var(--forest); padding: 96px 0; }
.work-card { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; text-align: center; }
.work-photo {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 220ms var(--ease-out);
}
.work-card:hover .work-photo { transform: translateY(-4px); }
@media (hover: none) { .work-card:hover .work-photo { transform: none; } }
.work-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}
.work-desc {
  font-size: 13.5px;
  color: var(--on-dark-muted);
  line-height: 1.55;
  min-height: calc(1.55em * 3);
}
.work-more { display: flex; justify-content: flex-end; margin-top: 40px; }
.work-more a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms var(--ease-out), color 200ms var(--ease-out);
}
.work-more a:hover { color: var(--lime-hover); gap: 10px; }

.logo-badge {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}
.logo-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* For logos that are already a complete, self-contained circular badge,
   no white pedestal needed, just crop to the circle and keep the shadow. */
.logo-badge.plain { background: transparent; padding: 0; overflow: hidden; }
.logo-badge.plain img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
/* For wide wordmark logos that would shrink to an unreadable sliver inside the
   circular badge, so it gets a pill shaped to the logo instead, same weight and shadow. */
.logo-badge.wide { width: auto; height: 64px; padding: 12px 28px; border-radius: 999px; background: transparent; box-shadow: none; }
.logo-badge.wide img { width: 170px; height: auto; filter: drop-shadow(0 8px 16px rgba(17, 17, 19, 0.22)); }
/* For logos with real transparency whose art doesn't fill its own square (a
   banner/ribbon sticking past the circle, etc.): no white pedestal and no
   circular crop, just the PNG floating with a shadow that hugs its own silhouette. */
.logo-badge.transparent { background: transparent; box-shadow: none; padding: 6px; }
.logo-badge.transparent img { filter: drop-shadow(0 10px 18px rgba(17, 17, 19, 0.28)); }
/* Dark-only marks (near-black linework, no fill of their own) read as almost
   invisible against .work-band's dark green, so it is recolored to a clean white
   silhouette there instead of adding a background. Portfolio's light cards
   keep the original colors; this class is only used inside .work-photo. */
.work-photo .logo-badge.transparent img.mono-on-dark { filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)); }

.client-links { display: flex; gap: 8px; flex-wrap: wrap; }
.client-links a {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-input);
  color: var(--text-muted);
}
.client-links a:hover { border-color: var(--forest); color: var(--forest); }
.work-card .client-links a { border-color: #3A5C46; color: var(--on-dark-muted); }
.work-card .client-links a:hover { border-color: var(--lime); color: var(--lime); }

.portfolio-card { display: flex; flex-direction: column; gap: 16px; background: var(--cream-alt); border-radius: 24px; padding: 16px 16px 24px; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 31, 27, 0.07); }
@media (hover: none) { .portfolio-card:hover { transform: none; box-shadow: none; } }
.portfolio-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.portfolio-body { padding: 0 10px; display: flex; flex-direction: column; gap: 6px; }
.portfolio-body .title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.portfolio-body .desc { font-size: 14px; line-height: 1.6; color: var(--text-body); }

/* ---------- Packages ---------- */
.pkg-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 31, 27, 0.08); }
.pkg-card.popular {
  background: var(--forest);
  border: none;
  box-shadow: 0 24px 48px rgba(31, 61, 43, 0.22);
}
.pkg-card.popular:hover { box-shadow: 0 28px 56px rgba(31, 61, 43, 0.28); }
@media (hover: none) { .pkg-card:hover, .pkg-card.popular:hover { transform: none; } }
.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  opacity: 0;
  transition: opacity 300ms var(--ease-out) 300ms, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1) 300ms;
  background: var(--lime);
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pkg-card.popular.revealed .pkg-badge { opacity: 1; transform: translateX(-50%) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .pkg-badge { transform: translateX(-50%); transition: opacity 200ms ease; }
  .pkg-card.popular.revealed .pkg-badge { transform: translateX(-50%); }
}
.pkg-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--forest); }
.pkg-card.popular .pkg-name { color: var(--cream); }
.pkg-desc { font-size: 13.5px; color: var(--text-muted); }
.pkg-card.popular .pkg-desc { color: var(--on-dark-muted); }
.pkg-price-row { display: flex; align-items: baseline; gap: 6px; }
.pkg-price { font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -0.02em; color: var(--forest); }
.pkg-card.popular .pkg-price { color: var(--cream); }
.pkg-per { font-size: 13px; color: var(--text-muted); }
.pkg-card.popular .pkg-per { color: var(--on-dark-muted); }
.pkg-save { font-size: 12px; font-weight: 700; color: var(--sage); }
.pkg-card.popular .pkg-save { color: var(--lime); }
.pkg-features { display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: var(--text-body); border-top: 1px solid var(--border-soft); padding-top: 18px; }
.pkg-card.popular .pkg-features { color: var(--on-dark-body); border-top-color: #2E4F3A; }
.pkg-features div { display: flex; gap: 9px; }
.pkg-features .check { color: var(--sage); font-weight: 700; }
.pkg-card.popular .pkg-features .check { color: var(--lime); }
.pkg-cta {
  margin-top: auto;
  text-align: center;
  background: transparent;
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.pkg-card.popular .pkg-cta { background: var(--lime); border: none; color: var(--forest); }
.pkg-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-faint); }

.alc-block { margin-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.alc-head { display: flex; flex-direction: column; gap: 8px; }
.alc-head p { margin: 0; font-size: 15px; color: var(--text-muted); }
.alc-card { background: var(--cream-alt); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.alc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28, 31, 27, 0.06); }
@media (hover: none) { .alc-card:hover { transform: none; box-shadow: none; } }
.alc-card.span-2 { grid-column: 1 / -1; }
.alc-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--forest); }
.alc-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 9px 32px; font-size: 14px; color: var(--text-body); }
.alc-rows div { display: flex; justify-content: space-between; gap: 12px; }
.alc-rows span.p { font-weight: 700; white-space: nowrap; }
/* Variant for rows whose value is a phrase rather than a price (the discounts
   block). The base row puts label and value side by side and sets
   white-space: nowrap on the value, which is right for "€55/βίντεο" but means
   a long value like "−5% & δωρεάν onboarding" cannot wrap and overflows its
   grid column into the neighbouring column's text. Stacking label over value
   cannot collide at any width; price rows keep the side-by-side treatment. */
.alc-rows-stack { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; }
.alc-rows-stack > div {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.alc-rows-stack > div > span { min-width: 0; }
.alc-rows-stack span.p { white-space: normal; color: var(--forest); line-height: 1.45; }
.alc-note { font-size: 12px; color: var(--text-faint); }

/* ---------- About / values ---------- */
.about-band { background: var(--cream-alt); padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-photo {
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream-alt-2), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}
.values { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.value-pill { font-size: 13px; font-weight: 700; color: var(--forest); background: var(--cream); border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; }
.about-band .value-pill { background: var(--cream); }

/* ---------- Team ---------- */
.team-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.team-photo { aspect-ratio: 1; border-radius: 20px; background: var(--cream-alt); -webkit-perspective: 1200px; perspective: 1200px; }
.team-photo-inner { position: relative; width: 100%; height: 100%; transition: transform 700ms var(--ease-out); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.team-card:hover .team-photo-inner { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.team-photo-front, .team-photo-back { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.team-photo-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-back {
  transform: rotateY(180deg);
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
}
/* Sized to fit the grid's own minmax(170px, ...) floor (see .grid-team), the
   narrowest this box is ever allowed to get, so it never depends on knowing
   the box's actual rendered size at any breakpoint. */
.team-photo-back p { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--on-dark-body); }
@media (hover: none) {
  .team-card:hover .team-photo-inner { transform: none; }
  .team-card.is-flipped .team-photo-inner { transform: rotateY(180deg); }
}
.team-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--charcoal); }
.team-role { font-size: 13.5px; color: var(--sage); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testi-card { background: var(--cream); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 31, 27, 0.07); }
@media (hover: none) { .testi-card:hover { transform: none; box-shadow: none; } }
.testi-stars { color: var(--lime); font-size: 18px; letter-spacing: 2px; }
.testi-quote { font-size: 15px; line-height: 1.7; color: var(--charcoal); margin: 0; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 14px; font-weight: 700; }
.testi-where { font-size: 12.5px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-band { background: var(--cream-alt); padding: 96px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-q .q-text { font-size: 16px; font-weight: 700; color: var(--charcoal); }
.faq-q .icon {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--sage);
  flex-shrink: 0;
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  transition: grid-template-rows 200ms var(--ease-in-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; transition-duration: 250ms; }
.faq-a-inner {
  overflow: hidden;
  padding: 0 24px 20px;
  opacity: 0;
  transition: opacity 150ms ease-out;
}
.faq-item.open .faq-a-inner { opacity: 1; transition: opacity 200ms ease-out 60ms; }
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-item.open .faq-a { grid-template-rows: 1fr; }
  .faq-q .icon { transition: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.cta-band .headline { font-family: var(--font-display); font-size: clamp(26px, 4.5vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: var(--cream); }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--forest);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 72px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info h1, .contact-info h2 { color: var(--cream); }
.contact-info p { color: var(--on-dark-muted); }
.contact-lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--on-dark-body); margin-top: 8px; }
.contact-lines a { color: var(--on-dark-body); }
.contact-lines a:hover { color: var(--lime); }
.contact-lines .whatsapp { color: var(--lime); font-weight: 700; }

.contact-form {
  background: var(--cream);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-input);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92, 122, 92, 0.15);
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  box-sizing: border-box;
  background: var(--forest);
  color: var(--cream);
  border: none;
  padding: 15px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.contact-form button:hover { background: var(--forest-hover); }
.form-alt { font-size: 12px; color: var(--text-faint); text-align: center; }
.form-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  padding: 40px 0;
  opacity: 0;
  transform: scale(0.96) translateY(4px);
  transition: opacity 300ms ease-out, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-success.show { opacity: 1; transform: scale(1) translateY(0); }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--forest);
  transform: scale(0.6);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1) 120ms;
}
.form-success.show .check { transform: scale(1); }
.form-success .title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.form-success .body { font-size: 14.5px; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
  .form-success, .form-success .check { transform: none; transition: opacity 200ms ease-out; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--cream); }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-tag { font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; gap: 24px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--forest); }
.footer-copy { font-size: 12.5px; color: var(--text-faintest); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ===========================================================
   Promoted from the draft build. Components for the rewritten
   homepage (problem / how-it-works / closing CTA), the contact
   page's next-steps list, and the mobile tap-target pass.
   =========================================================== */

/* ---------- Hero additions ---------- */
/* The hero's own flex `gap: 28px` already spaces these, so they carry no
   vertical margin of their own; margin here would double-space them. */
.hero-reassure {
  font-size: 14px;
  color: var(--text-faint);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}
.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.hero-trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faintest);
}
.hero-trust-names {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
}

/* ---------- Problem section ---------- */
.problem-section { padding-bottom: 0; }
/* Pain cards are deliberately quieter than the services `.card` grid that
   follows: no fill, just a top rule. Problems get stated, not decorated. */
.pain-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0 0;
  border-top: 2px solid var(--border);
  min-width: 0;
}
.pain-card h3 {
  font-size: 16px;
  line-height: 1.35;
  color: var(--charcoal);
}
.pain-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.problem-pivot {
  margin: 48px auto 0;
  max-width: 680px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--forest);
}

/* ---------- How it works ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.how-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--forest);
  background: var(--cream-alt);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.how-step h3 { font-size: 18px; line-height: 1.3; }
.how-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

/* ---------- Risk reversal row (under packages) ---------- */
.reassure-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  margin-top: 32px;
}
.reassure-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}
.reassure-check {
  color: var(--forest);
  background: rgba(168, 198, 63, 0.35);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ---------- "What happens next" (contact page, sits on the dark panel) ---------- */
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px 0;
  border-top: 1px solid rgba(211, 222, 207, 0.18);
  border-bottom: 1px solid rgba(211, 222, 207, 0.18);
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--on-dark-body);
}
.next-n {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- Closing CTA band ---------- */
.close-cta { background: var(--forest); padding: 88px 0; }
.close-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.close-cta-inner h2 { color: var(--cream); }
.close-cta-inner p {
  color: var(--on-dark-body);
  max-width: 560px;
  margin: 0;
  font-size: 16.5px;
}
.close-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(211, 222, 207, 0.4);
}
.btn-ghost-dark:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- Mobile: comfortable tap targets + tighter rhythm ---------- */
@media (max-width: 640px) {
  /* Get the primary CTA into the first screen. Greek runs ~25% longer than
     English, so the untouched desktop scale pushed the button past 1500px on
     a 375px viewport: the headline alone wrapped to five lines. */
  .hero { padding-top: 44px; padding-bottom: 52px; gap: 20px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); line-height: 1.12; }
  .hero .lede { font-size: 16.5px; line-height: 1.55; }
  .hero .stats { margin-top: 24px; gap: 24px 40px; }

  /* Apple/Material both put the reliable minimum around 44–48px. The base
     .btn is 16px padding on a 16px font, which lands under that once the
     text wraps to one short word. */
  .btn { min-height: 50px; padding: 15px 26px; width: 100%; }
  .hero-actions, .close-cta-actions { width: 100%; gap: 10px; }
  .hero-actions .btn, .close-cta-actions .btn { flex: 1 1 100%; }

  .hero-trust-names { font-size: 13px; }
  .problem-pivot { margin-top: 36px; text-align: left; }
  .pain-card { padding-top: 18px; }
  .how-steps { gap: 28px; }
  .reassure-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .close-cta { padding: 64px 0; }

  /* Existing controls that measured under 44px tall on a 375px viewport.
     Each gets height from padding rather than a fixed height, so nothing
     clips if the label wraps or the font scales up. */
  .client-links a { min-height: 44px; padding: 12px 18px; display: inline-flex; align-items: center; }
  .contact-lines a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .work-more { justify-content: flex-start; }
  .work-more a { min-height: 44px; align-items: center; }
  .pkg-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .lang-btn { min-width: 44px; min-height: 44px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav .logo { min-height: 44px; display: inline-flex; align-items: center; }
}
