/* Shared presentation refinements; navigation metrics and inherited runtime stay intact. */
/* The former promotion intro and offer are temporarily suspended together. */
body .quick-offer { display: none !important; }
.eyebrow::before { content: none; display: none; }
body .site-search-trigger { border: 0; border-radius: 0; }

/* Hero headings use 80% of the inherited responsive sizes. Descriptions keep a 16px floor. */
body .home-hero h1.display,
body .page-hero h1.display,
body .contact-hero h1.display,
body .case-hero h1.display { font-size: clamp(44.8px, 7.12vw, 124.8px); }
body .service-detail-hero h1.display { font-size: clamp(46.4px, 6.96vw, 113.6px); }
body .blog-hero h1 { font-size: clamp(43.2px, 6.4vw, 97.6px); }
body .legal-hero h1 { font-size: clamp(46.4px, 6.4vw, 105.6px); }
body .dictionary-hero h1 { font-size: clamp(52.8px, 7.2vw, 113.6px); }
body .error-copy h1.display { font-size: clamp(43.2px, 5.12vw, 86.4px); }
body .chatbot-hero h1.display { font-size: clamp(33.6px, 3.68vw, 56px); }
body .home-hero h1.display,
body .page-hero h1.display,
body .contact-hero h1.display,
body .case-hero h1.display,
body .chatbot-hero h1.display,
body .blog-hero h1,
body .legal-hero h1,
body .dictionary-hero h1,
body .error-copy h1.display { line-height: 1.02; }
body .home-hero .lead,
body .page-hero .lead,
body .error-copy .lead { font-size: clamp(16px, 1.24vw, 20px); }
body .blog-hero .lead { font-size: clamp(16px, 1.4vw, 20.8px); }
body .contact-hero__aside > p,
body .dictionary-hero__intro > p { font-size: clamp(16px, 1.28vw, 19.2px); }
body .legal-hero__grid > div:last-child { font-size: clamp(16px, 1.16vw, 17.6px); }
body .chatbot-hero .lead { font-size: 16px; }
body .home-hero__service-subtitle { font-size: clamp(19.2px, 2.4vw, 34.4px); margin-top: 24px; }
body .home-hero { min-height: 80svh; padding: 120px 0 44.8px; }
body .home-hero__bottom { margin-top: 36.8px; gap: clamp(22.4px, 4vw, 64px); }
body .page-hero { padding: clamp(120px, 13.6vw, 184px) 0 clamp(64px, 8vw, 120px); }
body .page-hero__meta { gap: 40px; }
body .service-detail-hero { min-height: 0; }
body .page-hero .breadcrumbs { margin-bottom: clamp(43.2px, 5.6vw, 75.2px); }
body .blog-hero { padding: clamp(128px, 12vw, 184px) 0 clamp(64px, 7.2vw, 104px); }
body .blog-hero .breadcrumbs { margin-bottom: clamp(33.6px, 4.8vw, 57.6px); }
body .blog-hero .lead { margin-top: 33.6px; }
body .contact-hero { padding: clamp(120px, 9.6vw, 152px) 0 clamp(56px, 5.6vw, 88px); }
body .legal-hero { padding: clamp(65.6px, 8vw, 124.8px) 0 clamp(56px, 6.4vw, 94.4px); }
body .dictionary-hero { min-height: 576px; padding: 120px 0 70.4px; }
body .chatbot-hero { min-height: 0; padding: 123.2px 0 60.8px; }
body .chatbot-hero .breadcrumbs { margin-bottom: 22.4px; }

/* Service illustrations remain uncropped and separate from the compact hero. */
.service-feature-image { padding: clamp(30px, 4.5vw, 60px) 0; background: var(--paper); }
.service-feature-image__frame { margin-block: 0; }
.service-feature-image img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 16px; }

/* Home: spacing and a more concise service list. */
#web-services-title { margin-bottom: clamp(24px, 2.5vw, 40px); font-size: clamp(34px, 4vw, 64px); line-height: 1.04; }
#web-services-title + p { max-width: 78ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; margin-bottom: 28px; }
.home-services { padding-block: clamp(72px, 9vw, 128px); }
#services-title { max-width: 24ch; font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.home-services .service-list { margin-top: clamp(28px, 4vw, 48px); }
.home-services .service-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; min-height: 80px; padding-block: 16px; }
.home-services .service-row h3 { font-size: clamp(21px, 2.1vw, 32px); line-height: 1.25; letter-spacing: -.035em; }

/* Four complete, linked visual cards replace the former home animation. */
.home-service-cards { padding: clamp(54px, 7vw, 92px) 0; background: var(--paper); }
.home-service-cards__head { max-width: 900px; margin-bottom: 30px; }
.home-service-cards__head h2 { margin: 0; font-size: clamp(32px, 3.5vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.home-service-cards__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-service-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--white); transition: transform .2s var(--ease), border-color .2s; }
.home-service-card__visual { margin: 0; background: var(--ink); }
.home-service-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.home-service-card__copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.home-service-card h3 { margin: 0 0 12px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.home-service-card p { margin: 0 0 20px; color: #595650; font-size: 15px; line-height: 1.6; }
.home-service-card__copy > p:last-child { margin-bottom: 0; }
.home-service-card__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--red); font-size: 12px; font-weight: 800; }
.home-service-card:hover { transform: translateY(-4px); border-color: var(--red); }
.home-service-card:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 1100px) {
  .home-service-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body .chatbot-hero { padding: 120px 0 43.2px; }
  body .chatbot-hero h1.display { font-size: clamp(33.6px, 6vw, 52.8px); }
}
@media (max-width: 820px) {
  body .home-hero { padding-top: 120px; }
  body .dictionary-hero { min-height: 0; padding-top: 120px; }
  body .error-copy h1.display { font-size: clamp(38.4px, 10vw, 65.6px); }
  body .mobile-contact-bar a { gap: 8px; }
  body .mobile-contact-bar a::before { content: ""; display: block; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
  body .mobile-contact-bar a[href^="tel:"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3 3.5 5.3c.4 7.6 7.6 14.8 15.2 15.2L21 17l-4-3-2 2c-3-1.2-5.8-4-7-7l2-2-3-4Z' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3 3.5 5.3c.4 7.6 7.6 14.8 15.2 15.2L21 17l-4-3-2 2c-3-1.2-5.8-4-7-7l2-2-3-4Z' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  body .mobile-contact-bar a[href^="https://wa.me/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.8 7.3L3 20l1.2-4.7a8.5 8.5 0 1 1 16.3-3.8Z' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='m8 7.3-1.1 1c.5 4.4 4.2 7.6 7.7 8l1.1-1.4-2.4-1.6-1.1 1c-1.6-.7-3-2-3.8-3.7l1-1.1L8 7.3Z' fill='white'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.8 7.3L3 20l1.2-4.7a8.5 8.5 0 1 1 16.3-3.8Z' fill='none' stroke='white' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='m8 7.3-1.1 1c.5 4.4 4.2 7.6 7.7 8l1.1-1.4-2.4-1.6-1.1 1c-1.6-.7-3-2-3.8-3.7l1-1.1L8 7.3Z' fill='white'/%3E%3C/svg%3E"); }
}
@media (max-width: 700px) {
  body .blog-hero { padding-top: 120px; padding-bottom: 57.6px; }
  body .blog-hero h1 { font-size: clamp(34.4px, 10.8vw, 49.6px); }
  body .blog-hero .lead { margin-top: 24px; }
}
@media (max-width: 640px) {
  .home-service-cards__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  body .button { max-width: 100%; white-space: normal; }
  body .button > span:first-child { min-width: 0; overflow-wrap: anywhere; }
  body .button > span[aria-hidden="true"] { flex-shrink: 0; }
  body .dictionary-grid { grid-template-columns: minmax(0, 1fr); }
  body .dictionary-entry { min-width: 0; overflow-wrap: anywhere; }
  body .home-hero h1.display { font-size: clamp(34.4px, 11.6vw, 48px); }
  body .page-hero h1.display { font-size: clamp(38.4px, 13.6vw, 60.8px); }
  body .service-detail-hero h1.display { font-size: clamp(34.4px, 10.4vw, 49.6px); }
  body .contact-hero h1.display { font-size: clamp(32px, 10.4vw, 46.4px); }
  body .case-hero h1.display { font-size: clamp(30.4px, 9.6vw, 43.2px); }
  body .dictionary-hero h1 { font-size: clamp(42.4px, 12.8vw, 60.8px); }
  body .legal-hero h1 { font-size: clamp(33.6px, 10.8vw, 51.2px); }
  body .error-copy h1.display { font-size: clamp(35.2px, 10.8vw, 49.6px); }
  body .chatbot-hero h1.display { font-size: clamp(29.6px, 7.68vw, 41.6px); }
  body .home-hero__service-subtitle { font-size: clamp(17.6px, 6vw, 24.8px); margin-top: 16px; }
  body .page-hero,
  body .home-hero,
  body .contact-hero,
  body .chatbot-hero,
  body .dictionary-hero { padding-top: 120px; }
  body .page-hero__meta { gap: 32px; }
  body .home-hero { padding-bottom: 25.6px; }
  body .legal-hero { padding-top: 51.2px; }
  body .home-services .service-row { grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 12px; min-height: 72px; padding-block: 14px; }
  body .home-services .service-row h3 { font-size: 21px; }
  .service-feature-image img { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-service-card { transition: none; }
  .home-service-card:hover { transform: none; }
}

/* A quiet WhatsApp invitation, coordinated with the existing mobile contact bar. */
.whatsapp-notice { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); }
.whatsapp-notice__tip { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 310px; padding-left: 14px; border: 1px solid rgba(24,99,60,.18); border-radius: 14px; background: #fffdf8; box-shadow: 0 6px 24px rgba(17,17,17,.12); }
.whatsapp-notice__tip[hidden] { display: none; }
.whatsapp-notice__text { display: flex; align-items: center; gap: 9px; padding-block: 10px; color: #244b36; font-size: 12px; line-height: 1.45; }
.whatsapp-notice__text::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #328657; }
.whatsapp-notice__close { align-self: stretch; flex: 0 0 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #526258; font: inherit; font-size: 22px; cursor: pointer; }
.whatsapp-notice__launch { flex: 0 0 58px; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: #31784b; color: white; box-shadow: 0 6px 24px rgba(17,17,17,.18); }
.whatsapp-notice__launch svg { width: 31px; height: 31px; }
.whatsapp-notice a:focus-visible, .whatsapp-notice button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
body.menu-open .whatsapp-notice, body.cookie-dialog-open .whatsapp-notice, body.site-search-open .whatsapp-notice, body:has(input:focus,textarea:focus,select:focus) .whatsapp-notice { visibility: hidden; pointer-events: none; }
@media (max-width: 820px) {
  .whatsapp-notice { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-notice__launch { display: none; }
  .whatsapp-notice__tip { max-width: min(310px, calc(100vw - 24px)); }
}
