/* Personal-brand portfolio refresh. Keeps the established blue palette. */
:root {
  --portfolio-line: color-mix(in srgb, var(--border) 78%, transparent);
  --portfolio-glow: color-mix(in srgb, var(--violet) 15%, transparent);
}

nav {
  height: 76px;
  background: color-mix(in srgb, var(--black) 91%, transparent);
  border-bottom-color: var(--portfolio-line);
}
.nav-links { gap: clamp(16px, 2vw, 30px); }
.nav-links a { font-size: 14px; }

#hero {
  min-height: min(850px, 100svh);
  padding-top: 126px;
  padding-bottom: 58px;
  isolation: isolate;
}
#hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(54vw, 700px);
  aspect-ratio: 1;
  right: clamp(20px, 5vw, 84px);
  top: 50%;
  transform: translateY(-46%);
  border: 1px solid var(--portfolio-line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px color-mix(in srgb, var(--border) 13%, transparent),
              0 0 100px var(--portfolio-glow);
  pointer-events: none;
}
.hero-grid { opacity: .28; }
.hero-content {
  width: min(760px, calc(100% - min(460px, 37vw) - 48px));
  max-width: 760px;
}
.hero-badge {
  margin-bottom: 22px;
  border-radius: 5px;
  letter-spacing: .12em;
}
h1.hero-title {
  font-size: clamp(52px, 6.1vw, 88px);
  line-height: .99;
  letter-spacing: -.055em;
  margin-bottom: 22px;
}
.hero-title .grad { display: inline-block; margin-top: 7px; }
.hero-sub {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--white);
  opacity: .82;
}
.hero-ctas { gap: 12px; margin-bottom: 32px; }
.hero-ctas .btn-primary,
.hero-ctas .btn-outline { min-height: 52px; align-items: center; }
.hero-photo-wrap {
  width: min(39vw, 490px);
  right: clamp(28px, 8vw, 132px);
  top: 48%;
}
.hero-photo-wrap img {
  width: 100%;
  height: min(610px, 72vh);
  object-fit: contain;
  object-position: bottom center;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: saturate(.84) contrast(1.04) drop-shadow(0 20px 54px color-mix(in srgb, var(--violet) 24%, transparent));
}
#hero .hero-stats {
  width: min(780px, 100%);
  max-width: 780px;
  margin-top: 30px;
  padding: 18px 20px;
  gap: 0;
  border: 1px solid var(--portfolio-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  backdrop-filter: blur(12px);
}
#hero .hero-stats .stat {
  min-width: 0;
  padding: 2px clamp(12px, 2vw, 26px);
  border-right: 1px solid var(--portfolio-line);
}
#hero .hero-stats .stat:first-child { padding-left: 2px; }
#hero .hero-stats .stat:last-child { border-right: 0; }
#hero .hero-stats .stat-num {
  font-size: clamp(24px, 2.65vw, 36px);
  line-height: 1.05;
  color: var(--violet);
  background: none;
  -webkit-text-fill-color: currentColor;
}
#hero .hero-stats .stat-label { font-size: 13px; margin-top: 6px; }

section { padding-top: clamp(76px, 8vw, 116px); padding-bottom: clamp(76px, 8vw, 116px); }
.section-tag { margin-bottom: 14px; }
.section-title { letter-spacing: -.04em !important; }
.section-sub { margin-bottom: 34px; }
#forwho .forwho-grid { gap: 16px; }
#forwho .tilt-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--card), color-mix(in srgb, var(--card2) 58%, var(--card)));
}
#forwho .fw-desc { font-size: 15px; line-height: 1.7; }

#services .svc-card { border-radius: 10px; }
#services .svc-mobile-toggle { display: none; }
#services .three-month-path { margin-top: 58px; }
#services .process-grid > div { min-height: 168px; border-radius: 10px; }

#cases .cases-grid { gap: 18px; }
#cases .case-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
}
#cases .case-img {
  height: 210px;
  min-height: 210px;
  background: radial-gradient(ellipse at 72% 26%, var(--portfolio-glow), transparent 48%),
              linear-gradient(145deg, var(--card2), var(--card));
}
#cases .case-img::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: 28px;
  top: 28px;
  border: 1px solid var(--portfolio-line);
  border-radius: 50%;
}
#cases .case-img .case-photo { z-index: 0; }
#cases .case-geo, #cases .case-niche { z-index: 2; }
#cases .case-body { padding: 22px; }
#cases .case-title { font-size: 17px; line-height: 1.45; }
#cases .metric-val { font-size: 25px; }

#reviews .review-card,
#blog .blog-card { border-radius: 10px; }
#cta-banner { background: var(--violet); }
#cta-banner .btn-primary { background: color-mix(in srgb, var(--black) 24%, var(--violet)) !important; }

@media (max-width: 1100px) {
  #hero { min-height: 700px; }
  #hero::before { width: 48vw; right: 12px; }
  .hero-photo-wrap { display:block; right:clamp(24px,5vw,56px); width:min(34vw,330px); }
  .hero-photo-wrap img { height:min(500px,66vh); }
  .hero-photo-mobile { display:none; }
  .hero-content { width: calc(100% - min(34vw,330px) - 52px); max-width:none; }
  h1.hero-title { font-size:clamp(44px,6vw,64px); }
  #hero .hero-stats { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  nav { height: 68px; }
  #hero {
    min-height: 0;
    display:block;
    padding: 92px 22px 34px;
  }
  #hero::before {
    width: 70vw;
    right: -27vw;
    top: 250px;
    transform: none;
  }
  .hero-photo-wrap { display:none; }
  .hero-content { width:100%; max-width:none; }
  .hero-photo-mobile { display:block; float:none; position:relative; z-index:1; width:min(62%,230px); height:210px; aspect-ratio:auto; margin:4px auto 14px; }
  .hero-photo-mobile img {
    width:100%; height:100%; display:block; mix-blend-mode:normal;
    filter:saturate(.9) drop-shadow(0 12px 24px var(--portfolio-glow));
    object-fit: contain;
    object-position: bottom center;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .hero-badge { font-size:10px; margin-bottom:15px; }
  h1.hero-title {
    max-width: 100%;
    font-size: clamp(36px, 9.4vw, 46px) !important;
    line-height: 1.04;
    letter-spacing: -.055em;
    margin: 8px 0 4px;
  }
  .hero-title .grad { margin-top:2px; }
  .hero-sub { font-size:15px; line-height:1.55; margin-bottom:18px; }
  .hero-ctas { clear:both; padding-top:0; gap:9px; margin-bottom:20px; }
  .hero-ctas .btn-primary,.hero-ctas .btn-outline { min-height:46px; justify-content:center; }
  #hero .hero-stats {
    clear: both;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 20px;
    padding: 7px 5px;
  }
  #hero .hero-stats .stat { padding: 7px 5px; border-right: 1px solid var(--portfolio-line); border-bottom: 0; }
  #hero .hero-stats .stat:last-child { border-right: 0; }
  #hero .hero-stats .stat:first-child { padding-left: 5px; }
  #hero .hero-stats .stat-num { font-size: clamp(12px, 3.6vw, 17px); white-space: nowrap; }
  #hero .hero-stats .stat-label { font-size: clamp(9px, 2.5vw, 10px); line-height: 1.2; margin-top: 4px; }
  #cases .case-img { height: 165px; min-height: 165px; }
  #cases .case-img::before { width: 120px; height: 120px; top: 20px; right: 18px; }
  #services .three-month-path { margin-top:30px; }
}

@media (max-width: 700px) {
  #services .svc-grid-four {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 9px;
  }
  #services .svc-card {
    min-width: 0;
    min-height: 0;
    padding: 13px 11px;
    border-radius: 8px;
    overflow: visible;
  }
  #services .svc-card:nth-child(4) { grid-column:1/-1; }
  #services .svc-header { min-height:0; margin-bottom:8px; }
  #services .svc-name { font-size:13px; line-height:1.25; overflow-wrap:anywhere; }
  #services .svc-tagline { display:block; font-size:12px; line-height:1.45; margin-bottom:10px; }
  #services .svc-price { font-size:21px; line-height:1.1; }
  #services .svc-price-sub { display:block; font-size:10px; line-height:1.4; margin-top:4px; }
  #services .svc-mobile-toggle { display:none !important; }
  #services .svc-divider { display:block; margin:11px 0; }
  #services .svc-features { display:flex; gap:6px; }
  #services .svc-features li { font-size:11px; line-height:1.35; }
  #services .svc-cta { display:flex; min-height:38px; padding:9px 7px; font-size:11px; line-height:1.25; text-align:center; justify-content:center; }
  #services .process-grid { grid-template-columns:1fr !important; gap:8px; }
  #services .process-grid > div { min-height:0; padding:14px; gap:6px; }
  #services .process-grid strong { font-size:15px; line-height:1.3; }
  #services .process-grid span { font-size:13px; line-height:1.45; }
  #services .three-month-path h3 { font-size:22px; line-height:1.2; margin-bottom:12px; }
}
@media (max-width: 380px) {
  #services .svc-grid-four { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  #services .svc-card:nth-child(4) { grid-column:auto; }
  #hero { padding-inline:18px; }
  #hero .hero-stats .stat-num { font-size:12px; }
}

/* Restore the original service carousel and its centered active-card emphasis
   on touch and tablet widths. The desktop service grid stays in the document. */
@media (max-width: 1100px) {
  #services .svc-grid-four { display:none !important; }
  #services .svc-scroll {
    display:flex !important;
    margin:0 -22px;
    padding:10px 9vw 22px;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:9vw;
  }
  #services .svc-scroll .svc-card {
    flex:0 0 min(82vw,320px);
    width:min(82vw,320px) !important;
    max-width:320px;
    min-height:0;
    padding:19px 17px;
  }
  #services .svc-scroll-dots {
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:24px;
    margin-top:8px;
  }
}

/* Mobile hero: place the portrait beside the heading instead of after it. */
@media (max-width: 700px) {
  #hero .hero-content { position:relative; }
  #hero .hero-photo-mobile {
    position:absolute;
    top:74px;
    right:0;
    float:none;
    width:min(37%,155px);
    max-width:155px;
    height:230px;
    aspect-ratio:auto;
    margin:0;
    z-index:1;
  }
  #hero h1.hero-title {
    width:calc(100% - min(37%,155px) - 12px);
    max-width:none;
    min-height:235px;
    margin:8px 0 18px;
    font-size:clamp(32px,8.5vw,44px) !important;
    line-height:1.04 !important;
    letter-spacing:-.05em;
  }
  #hero h1.hero-title .grad { display:block; margin-top:4px; }
  #hero .hero-sub { clear:both; max-width:100%; margin:0 0 18px; font-size:15px; line-height:1.55; }
  #hero::before { width:82vw; right:-30vw; top:195px; }
}

/* Keep the final call-to-action in the site's dark blue palette in both themes. */
#cta-banner {
  background:var(--dark) !important;
  color:var(--white);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
#cta-banner .btn-primary { background:#0d5294 !important; color:#fff !important; }

/* Give calculator results a direct, visible next step. */
.calc-review-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin:16px 0 8px;
  padding:12px 18px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#0d5294;
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.calc-review-cta:hover,.calc-review-cta:focus-visible { filter:brightness(1.12); }

.mobile-sticky-cta { display:none; }
@media (max-width:700px) {
  body { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
  .mobile-sticky-cta {
    position:fixed;
    z-index:1000;
    left:16px;
    right:16px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    display:flex;
    min-height:50px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.2);
    border-radius:12px;
    background:#0d5294;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
  }
  .mobile-sticky-cta:focus-visible { outline:3px solid var(--violet); outline-offset:3px; }
}

/* Mobile: make the two decision-making sections readable without horizontal swipes. */
@media (max-width:700px) {
  #forwho .forwho-grid {
    display:grid !important;
    grid-template-columns:1fr;
    gap:12px;
  }
  #forwho .forwho-scroll,
  #forwho .carousel-dots,
  #services .svc-scroll,
  #services .svc-scroll-dots { display:none !important; }
  #services .svc-grid-four {
    display:grid !important;
    grid-template-columns:1fr;
    gap:12px;
  }
  #services .svc-grid-four .svc-card {
    width:auto !important;
    max-width:none;
    padding:19px 18px;
  }
}

/* Case cards currently have no relevant campaign screenshots. Keep the cards,
   but remove the empty image slot until real evidence is available. */
#cases .case-img { display:none !important; }
#cases .case-title { font-size:16px; line-height:1.5; }
#reviews .review-text { font-size:15px; line-height:1.65; font-style:normal; }

#faq .faq-list { display:grid; gap:10px; max-width:900px; }
#faq details { padding:18px 20px; border:1px solid var(--border); border-radius:14px; background:var(--card); }
#faq summary { cursor:pointer; font-size:16px; font-weight:700; line-height:1.5; }
#faq details p { margin:12px 0 0; color:var(--muted); font-size:15px; line-height:1.65; }

/* Hero refinement requested from the supplied desktop and mobile reference. */
@media (min-width:701px) {
  #hero .hero-content {
    width:min(760px,calc(100% - min(560px,45vw) - clamp(72px,8vw,140px) - 36px));
    max-width:760px;
    text-align:center;
  }
  #hero .hero-badge { margin-left:auto; margin-right:auto; }
  #hero .hero-sub { margin-left:auto; margin-right:auto; }
  #hero .hero-ctas { justify-content:center; }
  #hero .hero-stats { margin-left:auto; margin-right:auto; }
  #hero .hero-stats .stat { text-align:center; }
  #hero .hero-photo-wrap {
    width:min(45vw,560px);
    right:clamp(72px,8vw,140px);
    top:50%;
  }
  #hero .hero-photo-wrap img { height:min(720px,88vh); }
}

@media (max-width:700px) {
  #hero .hero-content { text-align:center; }
  #hero .hero-badge { margin:0 auto 15px; }
  #hero h1.hero-title {
    width:100%;
    min-height:0;
    margin:10px auto 8px;
    text-align:center;
  }
  #hero .hero-photo-mobile {
    position:relative;
    top:auto;
    right:auto;
    float:none;
    width:min(78vw,300px);
    max-width:300px;
    height:320px;
    margin:0 auto 14px;
  }
  #hero .hero-sub { clear:none; text-align:center; margin:0 auto 18px; }
  #hero .hero-ctas { align-items:stretch; }
  #hero .hero-stats .stat { text-align:center; }
}
@media (prefers-reduced-motion: reduce) {
  #hero .hero-grid { animation: none; }
}

/* Requested refinements. Keep the previous layout rules above as history;
   these final overrides control the visible alignment and contact treatments. */
#hero .hero-content,
#hero h1.hero-title,
#hero .hero-sub { text-align:right; }
#hero .hero-badge { margin-left:auto; margin-right:0; }
#hero .hero-ctas { justify-content:flex-end; }

.social-label { display:none !important; }
.social-icon-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.social-icon-row .social-text {
  width:42px; height:42px; padding:0; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:11px; background:var(--card); color:transparent;
  font-size:0; text-decoration:none; position:relative; transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.social-icon-row .social-text::before { color:var(--white); font-size:20px; line-height:1; }
.social-icon-row a[href^="tel:"]::before { content:"☎"; }
.social-icon-row a[href*="wa.me"]::before { content:"◉"; }
.social-icon-row a[href*="t.me"]::before { content:"➤"; }
.social-icon-row a[href*="instagram.com"]::before { content:"◎"; }
.social-icon-row a[href*="tiktok.com"]::before { content:"♪"; }
.social-icon-row .social-text:hover,.social-icon-row .social-text:focus-visible { border-color:var(--violet); background:var(--glow); transform:translateY(-2px); }

/* Keep the address link while suppressing the stale embedded map imagery. */
#contact .map-iframe { display:none !important; }
#contact .map-box { height:auto !important; min-height:0 !important; max-height:none !important; }
#contact .map-open { display:flex; min-height:72px; align-items:center; justify-content:center; text-align:center; border:1px solid var(--border); border-radius:14px; background:var(--card); padding:18px; }
#contact .map-iframe { display:block !important; }
#contact .map-box { height:auto !important; min-height:280px !important; max-height:300px !important; }
#contact .map-iframe { flex:1 1 auto; width:100%; min-height:220px; border:0; }
@media (max-width:700px) {
  #contact .map-box { min-height:200px !important; max-height:200px !important; }
  #contact .map-iframe { min-height:155px; }
}

/* Match the supplied reference: centered hero copy in the left column,
   recognizable social marks, and a map point rather than a route planner. */
@media (min-width:701px) {
  #hero .hero-content { text-align:center; }
  #hero .hero-badge,#hero .hero-sub { margin-left:auto; margin-right:auto; }
  #hero .hero-ctas { justify-content:center; }
}
@media (max-width:700px) {
  #hero .hero-content,#hero h1.hero-title,#hero .hero-sub { text-align:center; }
  #hero .hero-badge,#hero .hero-sub { margin-left:auto; margin-right:auto; }
  #hero .hero-ctas { justify-content:center; }
}
.social-icon-row .social-text { border-radius:50%; color:transparent; }
.social-icon-row .social-text::before { content:none !important; }
.social-icon-row .social-text svg { width:23px; height:23px; fill:none; stroke:#fff; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.social-icon-row a[href^="tel:"] { background:#243442; }
.social-icon-row a[href*="wa.me"] { background:#25D366; border-color:#25D366; }
.social-icon-row a[href*="t.me"] { background:#229ED9; border-color:#229ED9; }
.social-icon-row a[href*="instagram.com"] { background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%); border-color:#d6249f; }
.social-icon-row a[href*="tiktok.com"] { background:#101010; border-color:#333; }
.social-icon-row a[href*="t.me"] svg { fill:#fff; stroke:none; }
.social-icon-row a[href*="tiktok.com"] svg { fill:none; stroke:#fff; stroke-width:2.5; }

/* Additive mobile interaction: keep the compact three-column service layout,
   but restore the active card emphasis used by the original carousels. */
@media (max-width: 700px) {
  #services .svc-grid-four .svc-card {
    position:relative;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
    transform-origin:center center;
  }
  #services .svc-grid-four .svc-card.is-mobile-active,
  #services .svc-grid-four .svc-card:focus-within {
    z-index:5;
    border-color:var(--violet) !important;
    box-shadow:0 0 0 2px var(--violet),0 0 22px color-mix(in srgb,var(--violet) 32%,transparent),0 12px 28px color-mix(in srgb,var(--violet) 22%,transparent) !important;
    transform:scale(1.035);
  }
}

/* Latest corrections from the client's screenshots. */
#hero .hero-content,#hero h1.hero-title,#hero .hero-sub { text-align:left !important; }
#hero .hero-badge,#hero .hero-sub { margin-left:0 !important; margin-right:auto !important; }
#hero .hero-ctas { justify-content:flex-start !important; }
#cases .case-img:has(.case-photo) { display:flex !important; height:160px; }
#cases .case-img:not(:has(.case-photo)) { display:none !important; }
.contact-item-social { align-items:center !important; }
.social-icon-row .social-text { width:38px; height:38px; }
.social-icon-row a[href*="instagram.com"] { background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%); border-color:#d6249f; }
.social-icon-row a[href*="tiktok.com"],.social-icon-row a[href*="threads.com"] { background:#101010; border-color:#333; }
.social-icon-row a[href*="t.me"] { background:#229ED9; border-color:#229ED9; }
.social-icon-row a[href*="wa.me"] { background:#25D366; border-color:#25D366; }
.social-icon-row a[href^="viber:"] { background:#7360F2; border-color:#7360F2; }
.social-icon-row a[href*="t.me"] svg { fill:#fff; stroke:none; }
.social-icon-row a[href*="tiktok.com"] svg { fill:none; stroke:#fff; stroke-width:2.5; }
.social-icon-row a[href*="threads.com"] svg { stroke-width:2.1; }

/* Screenshot fixes: keep the existing sections, refine their spacing and icon marks. */
.social-icon-row { align-items:center !important; gap:10px !important; }
.social-icon-row .social-text {
  width:40px !important; height:40px !important; min-width:40px; flex:0 0 40px;
  display:grid !important; place-items:center; padding:0 !important; overflow:hidden;
}
.social-icon-row .social-text svg { width:22px; height:22px; display:block; }
/* A compact @ mark is the most recognizable Threads mark at this size. */
.social-icon-row a[href*="threads.com"] svg,
.social-icon-row a[href^="viber:"] svg { display:none !important; }
.social-icon-row a[href*="threads.com"]::after {
  content:"@"; color:#fff; font:700 24px/1 Arial,sans-serif; letter-spacing:-2px;
}
.social-icon-row a[href^="viber:"]::after {
  content:"☎"; color:#fff; font:700 20px/1 Arial,sans-serif;
}

@media (min-width:1101px) {
  #hero { width:100%; max-width:1520px; margin-inline:auto; }
  #hero .hero-content { width:min(690px,calc(100% - min(38vw,490px) - 64px)); max-width:690px; }
  #hero .hero-photo-wrap { width:min(38vw,490px); right:clamp(42px,7vw,100px); }
  #hero .hero-photo-wrap img { height:min(620px,72vh); }
}
@media (max-width:700px) {
  #forwho .tilt-card { min-height:0 !important; height:auto !important; padding:17px !important; }
  #forwho .fw-header { margin-bottom:8px; }
  #forwho .fw-desc { margin:0; line-height:1.5; }
  #services .svc-grid-four {
    display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:stretch; gap:12px;
  }
  #services .svc-card { min-width:0; min-height:0; height:auto; padding:15px !important; }
  #services .svc-card:nth-child(4) { grid-column:auto !important; }
  #services .svc-name { font-size:14px !important; line-height:1.3; }
  #services .svc-tagline { font-size:13px !important; line-height:1.45; }
  #services .svc-price { font-size:23px !important; }
  #services .svc-price-sub { font-size:11px !important; }
  #services .svc-features { display:flex; flex-direction:column; gap:7px; }
  #services .svc-features li { font-size:12px !important; line-height:1.4; }
  #services .svc-cta { min-height:42px; font-size:12px !important; }
}
@media (max-width:390px) {
  #services .svc-grid-four { grid-template-columns:1fr !important; }
}
/* Use clean line logos for Threads and Viber instead of text approximations. */
.social-icon-row a[href*="threads.com"]::after,
.social-icon-row a[href^="viber:"]::after { content:none !important; }
.social-icon-row a[href*="threads.com"] svg,
.social-icon-row a[href^="viber:"] svg {
  display:block !important; width:23px; height:23px; fill:none; stroke:#fff;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}

/* Social links: larger, centered brand buttons matching the supplied examples. */
.social-icon-row {
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap;
}
.social-icon-row .social-text {
  box-sizing:border-box;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  flex:0 0 52px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  overflow:hidden;
  color:transparent;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.social-icon-row .social-text::before,
.social-icon-row .social-text::after { content:none !important; display:none !important; }
.social-icon-row .social-text svg {
  display:block !important;
  width:27px !important;
  height:27px !important;
  margin:0 !important;
  fill:none;
  stroke:#fff;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.social-icon-row a[href*="instagram.com"] {
  background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%) !important;
  border-color:#d6249f !important;
}
.social-icon-row a[href*="tiktok.com"],
.social-icon-row a[href*="threads.com"] {
  background:#111 !important;
  border-color:#333 !important;
}
.social-icon-row a[href*="t.me"] {
  background:#229ED9 !important;
  border-color:#229ED9 !important;
}
.social-icon-row a[href*="wa.me"] {
  background:#25D366 !important;
  border-color:#25D366 !important;
}
.social-icon-row a[href^="viber:"] {
  background:#7360F2 !important;
  border-color:#7360F2 !important;
}
.social-icon-row a[href*="t.me"] svg { fill:#fff !important; stroke:none !important; }
.social-icon-row a[href*="tiktok.com"] svg { fill:none !important; stroke:#fff !important; stroke-width:2.5 !important; }
.social-icon-row a[href*="threads.com"] svg,
.social-icon-row a[href^="viber:"] svg { width:29px !important; height:29px !important; }
.social-icon-row .social-text:hover,
.social-icon-row .social-text:focus-visible { transform:translateY(-2px); filter:brightness(1.08); }
@media (max-width:700px) {
  .social-icon-row { gap:10px !important; }
  .social-icon-row .social-text { width:48px !important; height:48px !important; min-width:48px !important; flex-basis:48px !important; }
}

/* Use the client's supplied platform marks as the actual social button artwork. */
.social-icon-row .social-text {
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:cover !important;
  border:0 !important;
  box-shadow:none !important;
}
.social-icon-row .social-text svg { display:none !important; }
.social-icon-row a[href*="instagram.com"] { background-image:url("assets/social-instagram.png") !important; }
.social-icon-row a[href*="tiktok.com"] { background-image:url("assets/social-tiktok.png") !important; }
.social-icon-row a[href*="threads.com"] { background-image:url("assets/social-threads.png") !important; }
.social-icon-row a[href*="t.me"] { background-image:url("assets/social-telegram.png") !important; }
.social-icon-row a[href*="wa.me"] { background-image:url("assets/social-whatsapp.png") !important; }
.social-icon-row a[href^="viber:"] { background-image:url("assets/social-viber.png") !important; }

/* Keep the mobile hero's heading and larger portrait on one line. */
@media (max-width:700px) {
  #hero .hero-content {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(118px,38%) !important;
    column-gap:10px;
    align-items:center;
  }
  #hero .hero-badge { grid-column:1 / -1; justify-self:start; }
  #hero h1.hero-title {
    grid-column:1;
    grid-row:2;
    width:auto !important;
    min-height:0 !important;
    margin:6px 0 18px !important;
    font-size:clamp(26px,7.4vw,38px) !important;
    line-height:1.04 !important;
    overflow-wrap:anywhere;
  }
  #hero .hero-photo-mobile {
    grid-column:2;
    grid-row:2;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    max-width:none !important;
    height:clamp(205px,62vw,270px) !important;
    margin:0 0 18px !important;
    align-self:center;
  }
  #hero .hero-photo-mobile img {
    width:100%; height:100%; object-fit:contain; object-position:center bottom;
  }
  #hero .hero-sub,
  #hero .hero-ctas,
  #hero .hero-stats { grid-column:1 / -1; }
  #hero .hero-sub { clear:none !important; }
  #hero .hero-stats {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    white-space:nowrap;
  }
  #hero .hero-stats .stat { min-width:0; }
  #hero .hero-stats .stat-num { font-size:clamp(11px,3.4vw,16px) !important; }
  #hero .hero-stats .stat-label { font-size:clamp(8px,2.35vw,10px) !important; }
}
@media (max-width:360px) {
  #hero .hero-content { grid-template-columns:minmax(0,1fr) 112px !important; column-gap:6px; }
  #hero h1.hero-title { font-size:25px !important; }
}

/* Social logos supplied by the client: consistent compact buttons, all in one row. */
.social-icon-row { display:flex !important; flex-wrap:nowrap !important; align-items:center !important; gap:8px !important; }
.social-icon-row .social-text { width:40px !important; height:40px !important; min-width:40px !important; flex:0 0 40px !important; padding:0 !important; display:flex !important; align-items:center !important; justify-content:center !important; overflow:hidden !important; border-radius:50% !important; background-image:none !important; }
.social-icon-row .social-logo { display:block !important; width:100% !important; height:100% !important; object-fit:contain !important; border-radius:50%; }
.social-icon-row .social-text svg { display:none !important; }
@media (max-width:700px) {
  .social-icon-row { gap:6px !important; }
  .social-icon-row .social-text { width:38px !important; height:38px !important; min-width:38px !important; flex-basis:38px !important; }
}

/* Shrink the decorative orbit behind the hero portrait on desktop and phones. */
#hero::before {
  width:min(38vw,540px) !important;
  right:clamp(32px,9vw,150px) !important;
  box-shadow:inset 0 0 0 28px color-mix(in srgb,var(--border) 11%,transparent),
             0 0 64px var(--portfolio-glow) !important;
}
@media (max-width:700px) {
  #hero::before {
    width:min(62vw,340px) !important;
    right:-12vw !important;
    top:190px !important;
    box-shadow:inset 0 0 0 18px color-mix(in srgb,var(--border) 10%,transparent),
               0 0 38px var(--portfolio-glow) !important;
  }
}

/* Show the supplied square social artwork without clipping its corners. */
.social-icon-row .social-text {
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  flex:0 0 42px !important;
  overflow:visible !important;
  border-radius:9px !important;
  background:transparent !important;
  background-image:none !important;
}
.social-icon-row .social-logo {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:0 !important;
}
@media (max-width:700px) {
  .social-icon-row .social-text {
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    flex-basis:38px !important;
  }
}

/* Mobile services stay in one horizontal carousel row. */
@media (max-width:700px) {
  #services .svc-grid-four { display:none !important; }
  #services .svc-scroll {
    display:flex !important;
    margin:0 -22px;
    padding:14px 9vw 24px;
    gap:14px;
    overflow-x:auto;
    overflow-y:visible;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:9vw;
    -webkit-overflow-scrolling:touch;
  }
  #services .svc-scroll .svc-card {
    flex:0 0 min(78vw,360px);
    width:min(78vw,360px) !important;
    max-width:360px;
    min-height:0;
    padding:19px 17px;
    scroll-snap-align:center;
    opacity:.62;
    transform:scale(.965);
    transform-origin:center center;
    transition:transform .22s ease,opacity .22s ease,box-shadow .22s ease,border-color .22s ease;
  }
  #services .svc-scroll .svc-card.is-active {
    opacity:1;
    transform:scale(1);
    border-color:var(--violet) !important;
    box-shadow:0 0 0 2px var(--violet),0 0 24px color-mix(in srgb,var(--violet) 32%,transparent),0 12px 28px color-mix(in srgb,var(--violet) 22%,transparent) !important;
    z-index:2;
  }
  #services .svc-scroll-dots {
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:26px;
    margin-top:4px;
  }
  #services .svc-scroll-dots .dot { cursor:pointer; }
}
@media (max-width:390px) {
  #services .svc-scroll .svc-card {
    flex-basis:min(84vw,330px);
    width:min(84vw,330px) !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  #services .svc-scroll .svc-card { transition:none; }
}
@media (max-width:700px) {
  #services .svc-grid-four .svc-card:hover,
  #services .svc-grid-four .svc-card:focus-within,
  #services .svc-grid-four .svc-card.is-mobile-active { transform:scale(1.012); }
}
@media (prefers-reduced-motion:reduce) {
  #services .svc-grid-four .svc-card { transition:none; }
}

/* Keep the orbit as a small accent behind the portrait. */
#hero::before {
  width:min(28vw,390px) !important;
  right:clamp(45px,10vw,140px) !important;
  box-shadow:inset 0 0 0 12px color-mix(in srgb,var(--border) 8%,transparent),
             0 0 28px color-mix(in srgb,var(--portfolio-glow) 60%,transparent) !important;
}
@media (max-width:700px) {
  #hero::before {
    width:min(44vw,240px) !important;
    right:-5vw !important;
    top:180px !important;
    box-shadow:inset 0 0 0 9px color-mix(in srgb,var(--border) 8%,transparent),
               0 0 18px color-mix(in srgb,var(--portfolio-glow) 55%,transparent) !important;
  }
  .mobile-sticky-cta { transition:opacity .18s ease, transform .18s ease; }
  .mobile-sticky-cta.is-hidden { opacity:0; pointer-events:none; transform:translateY(calc(100% + 18px)); }
}
