/* Duara: 2026 service structure.
 *
 * Components for the repositioned site: the split hero, the service cards, the
 * marquee, the pricing tiers, and the service path on Start Your Project.
 *
 * MOTION. Curves and durations come from the tokens already defined in
 * fluid.css rather than a parallel set: --ease-standard is the iOS drawer
 * curve, --ease-entrance is the strong ease-out, and the --resp-* scale is the
 * duration ladder. Nothing here invents a cubic-bezier.
 *
 * Every hover that moves something is behind (hover: hover) and (pointer:
 * fine), because a touch device fires a hover on tap and leaves the element
 * stuck in its hovered state. Every transition names its properties; none use
 * `all`.
 */

/* ======================================================================
 * 1. Hero
 *
 * Two panels reading as one hero, split by a hairline and closed off with a
 * straight bottom edge. The top stays flush with the header.
 * ====================================================================== */

.dv-hero {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  isolation: isolate;
}
@media (min-width: 768px) {
  .dv-hero { grid-template-columns: 1fr 1fr; }
}

.dv-hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--dv-gutter, 1.5rem)
           clamp(3rem, 2rem + 4vw, 5.5rem);

  /* Square corners keep the hero edge flush with the portfolio background. */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media (min-width: 768px) {
  .dv-hero__panel { padding-inline: clamp(2rem, 0.5rem + 4vw, 4.5rem); }

  /* The divider. A hairline, inset from both ends so it reads as a seam
   * between two halves of one surface rather than as a wall between two
   * separate boxes. */
  .dv-hero__panel--left::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 18%;
    right: 0;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      var(--hairline-strong, rgb(23 29 28 / 0.12)) 18%,
      var(--hairline-strong, rgb(23 29 28 / 0.12)) 82%,
      transparent
    );
  }
}

.dv-hero__panel--left  { background: #ffffff; }
.dv-hero__panel--right { background: #f0f6f3; }

/* A single soft wash per panel, well under the threshold where it reads as a
 * shape. Decoration should be felt, not seen. */
.dv-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.dv-hero__panel--left::before {
  background: radial-gradient(ellipse 70% 55% at 12% 0%, rgb(29 125 112 / 0.07), transparent 62%);
}
.dv-hero__panel--right::before {
  background: radial-gradient(ellipse 70% 55% at 88% 100%, rgb(55 92 88 / 0.09), transparent 62%);
}

.dv-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.dv-hero__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: currentColor;
  flex: none;
}

/* ======================================================================
 * 1b. Section rhythm and hierarchy
 *
 * Every major section on the homepage uses the same three pieces (a large
 * centred title, an optional intro, and consistent vertical breathing room), 
 * so the page reads as a sequence of distinct blocks rather than a scroll of
 * evenly-weighted text.
 *
 * The title sits deliberately between the page h1 and a card heading:
 *
 *   h1              36 – 64px
 *   section title   36 – 52px   <- this
 *   card heading    20 – 26px
 *   body            16 – 18px
 *
 * Two steps of separation on either side, which is what makes the level
 * legible at a glance instead of merely different.
 * ====================================================================== */

:root { --dv-section-space: clamp(4rem, 2.5rem + 5vw, 7rem); }
.dv-section { padding-block: var(--dv-section-space); }

/* A little more room where a section carries a heading, an intro and a grid,
 * so the head is not crowded by the content it introduces. */
.dv-section-head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-align: center;
}

.dv-section-title {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 700;
  color: var(--on-surface, #171d1c);
  margin: 0;
  text-wrap: balance;
}

.dv-section-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;      /* its own tier: 13px uppercase */
  text-transform: uppercase;
  color: var(--brand-accent, #1d7d70);
  margin-bottom: 0.9rem;
}

.dv-section-intro {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.62;
  letter-spacing: -0.004em;
  color: var(--on-surface-variant, #3f4c49);
  margin: 1rem auto 0;
  max-width: 42rem;
}

/* --- Sitewide section headings ----------------------------------------
 * The redesigned pages use .dv-section-title explicitly. The rest of the
 * site marks its section headings as an h2 carrying .text-headline-lg, which
 * renders at 32px: close enough to the 24px card headings beneath it that
 * the two levels read as one, and the eye has nothing to anchor on when
 * scanning for where a section starts.
 *
 * Rather than edit two hundred pages, the pattern itself is promoted. It is
 * scoped to h2 inside main so it cannot catch a card heading or anything in
 * the header and footer, and element-plus-class already outranks the bare
 * utility, so no important is needed.
 *
 * The step is smaller than the 52px on the redesigned pages: those headings
 * sit in purpose-built centred blocks with room around them, while these sit
 * in layouts built for 32px. 40px is the largest step that improves the
 * hierarchy on pages that were not designed for it. */
main h2.text-headline-lg {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

/* Section rhythm for the same pages: the theme's own py-xl sections get a
 * little more room so the boundary between one section and the next is
 * visible without opening the inspector. */
main > section.py-xl,
main section.py-16 { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }

/* ======================================================================
 * 1c. Service card: icon, title, description, action
 *
 * The whole card is the target, but there is only one link in it: the action
 * is stretched over the card with a pseudo-element. A card wrapped in a link
 * with a second link inside it nests interactive elements, and a card where
 * only the small button works makes the other 90% of it dead to the pointer.
 * ====================================================================== */

.dv-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--hairline, rgb(23 29 28 / 0.07));
  border-radius: var(--r-lg, 20px);
  box-shadow: var(--elev-1);
  transition:
    transform var(--resp-move, 400ms) var(--ease-standard, ease),
    box-shadow var(--resp-move, 400ms) var(--ease-standard, ease),
    border-color var(--resp-fast, 200ms) var(--ease-standard, ease);
}

.dv-svc__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgb(29 125 112 / 0.10);
  color: var(--brand-accent, #1d7d70);
  margin-bottom: 1.25rem;
  flex: none;
}
.dv-svc__icon .material-symbols-outlined { font-size: 1.5rem; }

.dv-svc__title {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
  line-height: 1.24;
  letter-spacing: -0.016em;
  font-weight: 600;
  color: var(--on-surface, #171d1c);
  margin: 0 0 0.6rem;
}
.dv-svc__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-surface-variant, #3f4c49);
  margin: 0 0 1.5rem;
}

.dv-svc__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--brand, #375c58);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.006em;
  text-decoration: none;
  transition:
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    transform var(--resp-instant, 120ms) var(--ease-standard, ease);
}
/* Stretches the single link across the whole card. */
.dv-svc__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dv-svc__cta span { transition: transform var(--resp-fast, 200ms) var(--ease-standard, ease); }
.dv-svc__cta:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .dv-svc:hover {
    transform: translateY(-6px);
    box-shadow: var(--elev-3);
    border-color: var(--hairline-strong, rgb(23 29 28 / 0.12));
  }
  .dv-svc:hover .dv-svc__cta span { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .dv-svc, .dv-svc__cta { transition-duration: 0.01ms !important; }
  .dv-svc:hover { transform: none !important; }
}
@media (prefers-contrast: more) {
  .dv-svc { border-color: rgb(23 29 28 / 0.45); }
  .dv-section-eyebrow { color: #14352f; }
}

/* ======================================================================
 * 2. Service cards
 *
 * Background image behind a scrim. The image is decoration; the scrim is what
 * makes the text legible, so it is not optional and does not lighten on hover.
 * ====================================================================== */

.dv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 22rem;
  padding: 1.75rem;
  border-radius: var(--r-lg, 20px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  background-color: #22443f;      /* shows through before the image loads */
  transition:
    transform var(--resp-move, 400ms) var(--ease-standard, ease),
    box-shadow var(--resp-move, 400ms) var(--ease-standard, ease);
}

.dv-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 600ms var(--ease-standard, ease);
}

/* Two stops rather than one: a strong floor for the text and a light veil over
 * the whole image, so a bright photograph cannot wash out the heading. */
.dv-card__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(8 20 18 / 0.92) 0%, rgb(8 20 18 / 0.55) 45%, rgb(8 20 18 / 0.28) 100%);
}

.dv-card__title {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.dv-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.82);
  margin: 0;
  max-width: 34ch;
}
.dv-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.006em;
}
.dv-card__more span { transition: transform var(--resp-fast, 200ms) var(--ease-standard, ease); }

@media (hover: hover) and (pointer: fine) {
  .dv-card:hover { transform: translateY(-6px); box-shadow: var(--elev-3); }
  .dv-card:hover .dv-card__bg { transform: scale(1.06); }
  .dv-card:hover .dv-card__more span { transform: translateX(4px); }
}
.dv-card:active { transform: translateY(-2px) scale(0.995); }

/* ======================================================================
 * 3. Marquee
 *
 * A CSS animation rather than rAF: it is predetermined, never interrupted, and
 * runs off the main thread, so it keeps moving while the rest of the page is
 * still loading. linear, because constant motion that eases reads as broken.
 *
 * The track holds the list twice and travels exactly -50%, which is what makes
 * the loop seamless. duara.js duplicates the list, so the markup states it once.
 * ====================================================================== */

.dv-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.25rem;
  /* Fades the ends rather than cutting them, so items enter and leave instead
   * of appearing at a hard edge. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.dv-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: dv-marquee-scroll var(--dv-marquee-duration, 46s) linear infinite;
  will-change: transform;
}

@keyframes dv-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.dv-marquee__track > [hidden] { display: none !important; }

.dv-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 1.75rem;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  color: var(--on-surface, #171d1c);
}
.dv-marquee__sep {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--brand-accent, #1d7d70);
  opacity: 0.55;
  flex: none;
}

/* ======================================================================
 * 3b. Article body
 *
 * The blog markup carries Tailwind's `prose` class, but the typography
 * plugin is not among the ones loaded from the CDN: the config asks for
 * `forms` and `container-queries` only. So `prose` matched nothing and every
 * heading in every article rendered at body size and body weight, leaving
 * posts as undifferentiated walls of text.
 *
 * Styled here rather than by adding the plugin: the site already has a type
 * scale, and pulling in a second one would mean two systems disagreeing about
 * what an h2 is. These sizes are the scale already in use.
 * ====================================================================== */

.prose { max-width: 68ch; }

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.85vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--on-surface, #171d1c);
  margin-top: 2.4em;
  margin-bottom: 0.1em;
  text-wrap: balance;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.014em;
  font-weight: 600;
  color: var(--on-surface, #171d1c);
  margin-top: 1.9em;
  margin-bottom: 0.1em;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.72;      /* long-form reading wants more air than UI copy */
  letter-spacing: -0.003em;
  color: var(--on-surface-variant, #3f4c49);
}

.prose ul, .prose ol { padding-left: 1.35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--on-surface-variant, #3f4c49);
  margin-top: 0.5em;
}
.prose li::marker { color: var(--brand-accent, #1d7d70); }

.prose strong { color: var(--on-surface, #171d1c); font-weight: 600; }

.prose a {
  color: var(--brand-accent, #1d7d70);
  text-decoration: none;
}


.prose blockquote {
  border-left: 3px solid var(--brand-accent, #1d7d70);
  padding-left: 1.1rem;
  color: var(--on-surface-variant, #3f4c49);
  font-style: italic;
}

/* --- Jump links -------------------------------------------------------
 * A row of destinations under the pricing hero. Laid out as a wrapping grid
 * of equal cards rather than a line of pills, so the six read as one set at
 * every width instead of reflowing into an uneven stack.
 *
 * The arrow says where the link goes: down for a section on this page, right
 * for one that leaves it. That is the only difference between the two kinds,
 * and it is worth showing rather than making someone find out by clicking. */
.dv-jump {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.75rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: left;
}

.dv-jump__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md, 14px);
  background: #fff;
  border: 1px solid var(--hairline-strong, rgb(23 29 28 / 0.12));
  color: var(--on-surface, #171d1c);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  text-decoration: none;
  transition:
    border-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    transform var(--resp-instant, 120ms) var(--ease-standard, ease);
}
.dv-jump__link > .material-symbols-outlined:first-child { color: var(--brand-accent, #1d7d70); flex: none; }
.dv-jump__link > span:nth-child(2) { flex: 1 1 auto; }

.dv-jump__chev {
  font-size: 1.125rem;
  color: var(--outline, #5c6b67);
  flex: none;
  transition: transform var(--resp-fast, 200ms) var(--ease-standard, ease);
}

/* The one that leaves the page is the primary action of the row. */
.dv-jump__link--out {
  background: var(--brand, #375c58);
  border-color: var(--brand, #375c58);
  color: #fff;
}
.dv-jump__link--out > .material-symbols-outlined:first-child,
.dv-jump__link--out .dv-jump__chev { color: rgb(255 255 255 / 0.85); }

.dv-jump__link:active { transform: scale(0.98); }

@media (hover: hover) and (pointer: fine) {
  .dv-jump__link:hover { border-color: var(--brand, #375c58); background: #f2f8f6; }
  .dv-jump__link:hover .dv-jump__chev { transform: translateY(2px); }
  .dv-jump__link--out:hover { background: #2b4a47; }
  .dv-jump__link--out:hover .dv-jump__chev { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .dv-jump__link, .dv-jump__chev { transition-duration: 0.01ms !important; }
  .dv-jump__link:active { transform: none !important; }
  .dv-jump__link:hover .dv-jump__chev { transform: none !important; }
}
@media (prefers-contrast: more) {
  .dv-jump__link { border-color: rgb(23 29 28 / 0.45); }
}

/* ======================================================================
 * 3d. WhatsApp button
 *
 * Bottom right, above the page but below the site's own chrome. The z-index
 * is deliberately 45: under the sticky header (50), the drawer's edge-swipe
 * strip (55), its scrim (60) and its panel (70). So when the mobile menu is
 * open the scrim covers this rather than a green button floating over a
 * dimmed page.
 *
 * The logo alone, at every width. No label: the glyph is the most recognised
 * mark on the internet and reads faster than the words next to it would.
 * ====================================================================== */

.dv-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;                 /* WhatsApp green: recognition is the point */
  color: #0b3d20;
  text-decoration: none;
  box-shadow:
    0 2px 6px hsl(var(--shadow-color, 175 30% 12%) / 0.14),
    0 12px 28px -8px hsl(var(--shadow-color, 175 30% 12%) / 0.34);
  transition:
    transform var(--resp-fast, 200ms) var(--ease-standard, ease),
    box-shadow var(--resp-fast, 200ms) var(--ease-standard, ease),
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease);
}

.dv-wa__icon { width: 1.75rem; height: 1.75rem; flex: none; display: block; }

/* Feedback on the press, not on the release. */
.dv-wa:active { transform: scale(0.96); }

@media (hover: hover) and (pointer: fine) {
  .dv-wa:hover {
    background: #1fb355;
    transform: translateY(-2px);
    box-shadow:
      0 3px 8px hsl(var(--shadow-color, 175 30% 12%) / 0.16),
      0 18px 36px -10px hsl(var(--shadow-color, 175 30% 12%) / 0.4);
  }
}

.dv-wa:focus-visible {
  outline: 3px solid #0b3d20;
  outline-offset: 3px;
}

/* Slightly tighter into the corner on a phone, where the margins are. */
@media (max-width: 640px) {
  .dv-wa {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
  .dv-wa__icon { width: 1.6rem; height: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dv-wa { transition-duration: 0.01ms !important; }
  .dv-wa:hover, .dv-wa:active { transform: none !important; }
}
@media (prefers-contrast: more) {
  .dv-wa { border: 2px solid #0b3d20; color: #052a14; }
}
@media print { .dv-wa { display: none !important; } }

/* ======================================================================
 * 3e. Cookie notice
 *
 * Small on purpose. It tells people what is set and points at the policy;
 * it does not ask permission, because nothing here waits for an answer.
 * Making it look like a consent gate when it is not would be worse than
 * saying nothing.
 *
 * Bottom left, because the WhatsApp button owns the bottom right. On a phone
 * its width is capped so the two never meet.
 * ====================================================================== */

.dv-cookie {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 46;
  max-width: 20rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--r-md, 0.75rem);
  border: 1px solid hsl(var(--outline-variant, 175 12% 78%) / 0.5);
  background: hsl(0 0% 100% / 0.86);
  -webkit-backdrop-filter: var(--material-regular, saturate(180%) blur(20px));
  backdrop-filter: var(--material-regular, saturate(180%) blur(20px));
  box-shadow: 0 8px 24px -10px hsl(var(--shadow-color, 175 30% 12%) / 0.28);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--md-sys-color-on-surface-variant, #44504e);

  /* Entrance state. Removing [hidden] plays it; see .dv-cookie--in. */
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity var(--resp-sheet, 300ms) var(--ease-standard, ease),
    transform var(--resp-sheet, 300ms) var(--ease-standard, ease);
}

.dv-cookie--in { opacity: 1; transform: none; }
.dv-cookie[hidden] { display: none; }

.dv-cookie__text { margin: 0; }

.dv-cookie__text a {
  color: var(--md-sys-color-primary, #0f766e);
  text-decoration: none;
}

.dv-cookie__ok {
  flex: none;
  align-self: center;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--md-sys-color-primary, #0f766e);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--resp-fast, 200ms) var(--ease-standard, ease);
}

@media (hover: hover) and (pointer: fine) {
  .dv-cookie__ok:hover { background: var(--md-sys-color-primary-container, #0b5c56); }
}
.dv-cookie__ok:active { transform: scale(0.97); }
.dv-cookie__ok:focus-visible { outline: 3px solid var(--md-sys-color-primary, #0f766e); outline-offset: 2px; }

/* Narrow enough that it never reaches the WhatsApp button in the far corner. */
@media (max-width: 640px) {
  .dv-cookie {
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100vw - 6rem);
    padding: 0.625rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.6875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep the fade, drop the travel. */
  .dv-cookie { transform: none; transition-duration: var(--resp-fast, 200ms); }
  .dv-cookie__ok:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dv-cookie { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .dv-cookie { background: #fff; border-color: rgb(23 29 28 / 0.5); color: #1a2321; }
}
@media print { .dv-cookie { display: none !important; } }

/* --- On this page -----------------------------------------------------
 * Contents list for the service detail pages. They run to roughly 1,700
 * words across fifteen headings, which is a lot to arrive at with no way in
 * other than scrolling. Sits at the end of the hero so it is the last thing
 * read before the body starts.
 *
 * Styled as a quiet block rather than a sidebar: these pages are a single
 * column and a floating table of contents would fight the reading measure. */
.dv-toc {
  margin-top: 2.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--hairline, rgb(23 29 28 / 0.07));
  border-radius: var(--r-md, 14px);
  background: #fff;
  max-width: 44rem;
}

.dv-toc__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-surface-variant, #3f4c49);
  margin: 0 0 0.7rem;
}

.dv-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dv-toc__list a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-container, #eaf0ee);
  color: var(--on-surface, #171d1c);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.006em;
  text-decoration: none;
  transition:
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    color var(--resp-fast, 200ms) var(--ease-standard, ease);
}
@media (hover: hover) and (pointer: fine) {
  .dv-toc__list a:hover { background: var(--brand, #375c58); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .dv-toc__list a { transition-duration: 0.01ms !important; }
}
@media (prefers-contrast: more) {
  .dv-toc { border-color: rgb(23 29 28 / 0.45); }
  .dv-toc__list a { border: 1px solid rgb(23 29 28 / 0.45); }
}

/* --- FAQ: read more ---------------------------------------------------
 * Sits under the answer, inside the disclosure, so it only exists once the
 * reader has opened the question and read the short answer. Styled as a
 * secondary action rather than a third primary button competing with the two
 * already on the page. */
.dv-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--hairline-strong, rgb(23 29 28 / 0.12));
  border-radius: 999px;
  background: #fff;
  color: var(--brand, #375c58);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.006em;
  text-decoration: none;
  transition:
    border-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    transform var(--resp-instant, 120ms) var(--ease-standard, ease);
}
.dv-faq-more .material-symbols-outlined {
  transition: transform var(--resp-fast, 200ms) var(--ease-standard, ease);
}
.dv-faq-more:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .dv-faq-more:hover { border-color: var(--brand, #375c58); background: #f2f8f6; }
  .dv-faq-more:hover .material-symbols-outlined { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .dv-faq-more, .dv-faq-more .material-symbols-outlined { transition-duration: 0.01ms !important; }
  .dv-faq-more:active { transform: none !important; }
}
@media (prefers-contrast: more) {
  .dv-faq-more { border-color: rgb(23 29 28 / 0.45); color: #14352f; }
}

/* ======================================================================
 * 4. Pricing
 * ====================================================================== */

.dv-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--hairline, rgb(23 29 28 / 0.07));
  border-radius: var(--r-lg, 20px);
  box-shadow: var(--elev-1);
  transition:
    transform var(--resp-move, 400ms) var(--ease-standard, ease),
    box-shadow var(--resp-move, 400ms) var(--ease-standard, ease),
    border-color var(--resp-fast, 200ms) var(--ease-standard, ease);
}
@media (hover: hover) and (pointer: fine) {
  .dv-price:hover { transform: translateY(-4px); box-shadow: var(--elev-3); }
}

.dv-price--featured {
  border-color: var(--brand, #375c58);
  box-shadow: var(--elev-2);
}
.dv-price__badge {
  position: absolute;
  top: -0.7rem;
  left: 1.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--brand, #375c58);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dv-price__name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: var(--on-surface-variant, #3f4c49);
  margin: 0 0 0.75rem;
}
.dv-price__amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--on-surface, #171d1c);
  margin: 0 0 0.25rem;
}
.dv-price__period {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.006em;
  color: var(--on-surface-variant, #3f4c49);
}
.dv-price__note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-surface-variant, #3f4c49);
  margin: 0.5rem 0 1.25rem;
}
.dv-price__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.dv-price__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--on-surface-variant, #3f4c49);
}
.dv-price__list .material-symbols-outlined {
  font-size: 1.125rem;
  color: var(--brand-accent, #1d7d70);
  flex: none;
  margin-top: 0.1rem;
}

/* The "problems it solves" list uses the same markup but carries crosses, and
 * a brand-teal cross reads as approval of the thing it is marking. Muted
 * instead: these are the problems, not the offer. */
.dv-list--problem .material-symbols-outlined { color: rgb(23 29 28 / 0.32); }
@media (prefers-contrast: more) {
  .dv-list--problem .material-symbols-outlined { color: rgb(23 29 28 / 0.6); }
}

/* ======================================================================
 * 5. Service path: Start Your Project
 *
 * Transitions rather than keyframes: the visitor can flip between services as
 * fast as they can click, and a keyframe would restart from zero every time
 * instead of retargeting from where it is.
 * ====================================================================== */

.dv-path { display: grid; gap: 0; }

.dv-path__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding-bottom: 1.4rem;
}
.dv-path__step:last-child { padding-bottom: 0; }

.dv-path__marker {
  position: relative;
  z-index: 1;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand, #375c58);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex: none;
}

/* The connector stops short of the next marker rather than running under it. */
.dv-path__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.875rem;
  top: 1.9rem;
  bottom: 0.35rem;
  width: 1px;
  background: var(--hairline-strong, rgb(23 29 28 / 0.12));
}

.dv-path__title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  margin: 0.2rem 0 0.15rem;
}
.dv-path__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--on-surface-variant, #3f4c49);
  margin: 0;
}

/* Project path entrances are temporary Web Animations in the shared runtime. */

/* ======================================================================
 * 6. Service picker
 * ====================================================================== */

.dv-pick {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--hairline-strong, rgb(23 29 28 / 0.12));
  border-radius: var(--r-md, 14px);
  background: #fff;
  cursor: pointer;
  transition:
    border-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    background-color var(--resp-fast, 200ms) var(--ease-standard, ease),
    transform var(--resp-instant, 120ms) var(--ease-standard, ease);
}
.dv-pick:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .dv-pick:hover { border-color: var(--brand-accent, #1d7d70); }
}
.dv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.dv-pick:has(input:checked) {
  border-color: var(--brand, #375c58);
  background: #f2f8f6;
  box-shadow: inset 0 0 0 1px var(--brand, #375c58);
}
.dv-pick:has(input:focus-visible) {
  outline: 2px solid var(--brand-accent, #1d7d70);
  outline-offset: 2px;
}
.dv-pick__icon { color: var(--brand, #375c58); flex: none; }
.dv-pick__name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  display: block;
}
.dv-pick__hint {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--on-surface-variant, #3f4c49);
  display: block;
  margin-top: 0.1rem;
}

/* Service-specific fieldsets. Hidden ones are removed from the document, not
 * just visually: a hidden required field cannot be filled and would block
 * submission with no visible cause. duara.js also disables them. */
.dv-fields[hidden] { display: none; }

/* Grid stagger is transient in fluid.js, so it never delays card hover. */

/* ======================================================================
 * 8. Preferences
 * ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  /* The marquee is continuous, large-area motion: the clearest case for
   * stopping outright. It holds its position and stays readable. */
  .dv-marquee__track { animation: none !important; transform: none !important; }
  .dv-marquee {
    overflow-x: auto;              /* still reachable, now by scrolling */
    -webkit-mask-image: none;
    mask-image: none;
  }
  .dv-marquee__track { width: auto; }

  .dv-card__bg,
  .dv-card,
  .dv-price,
  .dv-pick { transition-duration: 0.01ms !important; }
  .dv-card:hover, .dv-price:hover { transform: none !important; }

}

@media (prefers-contrast: more) {
  .dv-card__scrim {
    background: linear-gradient(to top, rgb(4 12 11 / 0.97) 0%, rgb(4 12 11 / 0.8) 55%, rgb(4 12 11 / 0.6) 100%);
  }
  .dv-card__desc { color: rgb(255 255 255 / 0.95); }
  .dv-price, .dv-pick { border-color: rgb(23 29 28 / 0.45); }
  .dv-hero__panel--left::after { background: rgb(23 29 28 / 0.4); }
}

/* One shared policy beats late Tailwind utilities and article-local hover rules.
 * Keep existing colors, transitions, and keyboard focus outlines. */
a:any-link { text-decoration-line: none !important; }

/* Sharing reuses the existing icon controls and surface tokens. */
.dv-share, .dv-share-status {
  position: fixed;
  z-index: 1000;
  padding: 1rem;
  border: 1px solid var(--dv-outline, #c2cecb);
  border-radius: 1rem;
  background: #f6faf8;
  color: #171d1c;
  box-shadow: 0 8px 32px rgb(23 29 28 / 15%);
  font: 400 0.875rem/1.5 Inter, sans-serif;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.dv-share[hidden], .dv-share-status[hidden], .dv-share__manual[hidden] { display: none; }
.dv-share { width: 18rem; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
.dv-share__heading { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.dv-share button { min-height: 44px; border-radius: 0.5rem; padding: 0.5rem 0.75rem; text-align: left; cursor: pointer; }
.dv-share__heading button { min-width: 44px; text-align: center; font-size: 1.5rem; }
.dv-share__options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.dv-share button:hover { background: #eaf0ee; }
.dv-share button:focus-visible, .dv-share a:focus-visible, [data-share-trigger]:focus-visible {
  outline: 2px solid #375c58; outline-offset: 3px;
}
.dv-share__manual { margin-top: 0.75rem; }
.dv-share__manual label, .dv-share__manual a { display: block; margin: 0.5rem 0; }
.dv-share__manual a { color: #375c58; font-weight: 600; }
.dv-share__manual textarea { width: 100%; max-width: 100%; font: inherit; border: 1px solid #c2cecb; border-radius: 0.5rem; padding: 0.5rem; }
.dv-share-status { left: 50%; bottom: 1rem; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); pointer-events: none; }
.dv-share__clipboard { position: fixed; left: -9999px; top: 0; }
