/*
Theme Name: ManoAkvariumas Nordic
Theme URI: https://manoakvariumas.lt/
Author: ManoAkvariumas.lt
Description: ManoAkvariumas.lt responsive service theme.
Version: 2.7.3
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: manoakvariumas
*/

:root {
  --navy: #071f3b;
  --blue: #0875d1;
  --blue-dark: #075fad;
  --sky: #edf7ff;
  --ice: #f5f9fd;
  --ink: #10243d;
  --muted: #58708a;
  --line: #dce7f0;
  --white: #fff;
  --shadow: 0 8px 24px rgba(7, 31, 59, .09);
  --radius: 8px;
  --content: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
button, input, textarea { font: inherit; }
.container { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.icon { display: block; width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -100px; padding: 10px 14px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: relative; z-index: 50; height: 88px; background: #fff; border-bottom: 1px solid #edf1f5; }
.header-inner { height: 88px; display: flex; align-items: center; gap: 44px; }
.site-brand { display: inline-flex; width: 174px; height: 86px; flex: 0 0 174px; align-items: center; justify-content: flex-start; overflow: hidden; text-decoration: none; }
.site-brand img { width: 166px; height: auto; }
.primary-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.primary-nav ul { display: flex; align-items: center; gap: 48px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; color: var(--ink); font-size: 15px; font-weight: 750; text-decoration: none; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--blue); }
.primary-nav .current-menu-item > a::after { position: absolute; right: 0; bottom: -24px; left: 0; height: 3px; background: var(--blue); content: ""; }
.mobile-nav-contact { display: none; }
.header-phone { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; margin-left: auto; padding: 0 24px; border-radius: 26px; background: #0568c1; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone:hover { background: var(--blue-dark); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 9px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; height: 2px; margin: 6px 0; background: currentColor; content: ""; transition: .18s ease; }

/* Shared controls */
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: 7px; font-size: 16px; font-weight: 800; line-height: 1; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); color: #fff; }
.button-outline { border-color: #9ecdf4; background: #fff; color: var(--blue); }
.button-outline:hover { background: var(--sky); color: var(--blue-dark); }
.button-light { border-color: #fff; background: #fff; color: var(--blue); }
.carousel-dots { display: none; align-items: center; justify-content: center; gap: 5px; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: #dce3eb; }
.carousel-dots .active { width: 15px; border-radius: 5px; background: var(--blue); }

/* Desktop homepage geometry */
.home-main { overflow: hidden; }
.home-hero { background: #fff; }
.hero-layout { display: grid; grid-template-columns: 45% 55%; grid-template-rows: 390px 76px; align-items: center; min-height: 466px; }
.hero-content { position: relative; z-index: 2; align-self: center; padding: 20px 42px 10px 0; transform: translateY(-18px); }
.hero-content h1 { margin: 0; color: var(--navy); font-size: clamp(48px, 3.48vw, 50px); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; }
.hero-content h1 span { color: var(--blue); }
.hero-content > p { max-width: 520px; margin: 20px 0 0; color: #3c5065; font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; margin-top: 24px; }
.hero-actions .button { min-width: 190px; }
.hero-media { height: 390px; align-self: stretch; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: translateY(-18px) scale(1.16); }
.trust-list { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 230px)); gap: 48px; width: 790px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: grid; grid-template-columns: 46px 1fr; align-items: center; column-gap: 12px; min-width: 0; color: var(--blue); }
.trust-list li > .icon:first-child { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--sky); }
.trust-list span { min-width: 0; }
.trust-list strong, .trust-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trust-list strong { color: var(--ink); font-size: 16px; font-weight: 800; }
.trust-list small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.trust-arrow { display: none; }

.home-services { padding: 12px 0 36px; background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { display: grid; grid-template-columns: 48px 1fr; height: 198px; overflow: hidden; align-content: start; gap: 12px; padding: 26px 22px 22px; border: 1px solid #e2eaf2; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(8, 39, 70, .08); }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); }
.service-icon .icon { width: 29px; height: 29px; }
.service-card h2 { margin: 2px 0 8px; color: var(--navy); font-size: 18px; line-height: 1.2; }
.service-card p { min-height: 63px; margin: 0; color: #41576e; font-size: 15px; line-height: 1.42; }
.service-card a { display: inline-flex; align-items: center; gap: 3px; margin-top: 10px; color: var(--blue); font-size: 15px; font-weight: 800; text-decoration: none; }
.service-card a .icon { width: 17px; height: 17px; }

.home-works { padding: 48px 0 64px; background: #fff; }
.works-layout { position: relative; display: block; }
.section-side-heading { max-width: 360px; padding: 0; }
.section-side-heading h2 { margin: 0; color: var(--navy); font-size: 34px; line-height: 1.1; }
.section-side-heading h2::after { display: block; width: 46px; height: 3px; margin-top: 16px; background: var(--blue); content: ""; }
.section-side-heading p { margin: 24px 0 20px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.section-side-heading .button { min-height: 48px; padding-inline: 20px; font-size: 15px; }
.mobile-label { display: none; }
.work-rail { display: flex; align-items: flex-start; gap: 24px; margin-top: 28px; }
.work-card { flex: var(--media-ratio, 1.5) 1 0; min-width: 0; overflow: hidden; border: 1px solid #e0e9f1; border-radius: 11px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 24px rgba(8, 39, 70, .08); }
.work-image { overflow: hidden; background: var(--ice); }
.work-image img { width: 100%; height: auto; }
.work-caption { display: block; padding: 16px 18px 18px; }
.work-caption strong, .work-caption small { display: block; }
.work-caption strong { overflow: hidden; color: var(--navy); font-size: 18px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.work-caption small { margin-top: 5px; color: var(--muted); font-size: 15px; }

.home-process { padding: 0 0 72px; }
.process-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 176px; align-items: center; border-radius: 12px; background: #f1f6fc; }
.process-layout > h2 { margin: 0; padding-left: 34px; color: var(--navy); font-size: 34px; line-height: 1.08; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0 26px 0 0; list-style: none; }
.process-list li { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; min-height: 176px; padding: 0 18px; }
.process-list li:not(:last-child)::after { position: absolute; top: 50%; right: -2px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); content: ""; transform: translateY(-50%) rotate(45deg); }
.process-list > li > .icon { width: 48px; height: 48px; padding: 9px; border-radius: 50%; background: #fff; color: var(--blue); }
.process-list strong, .process-list small { display: block; }
.process-list strong { color: var(--navy); font-size: 17px; }
.process-list small { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.35; }

.home-content-row { padding: 0 0 72px; }
.content-columns { display: block; }
.partners-column { margin-top: 60px; padding: 0; border: 0; }
.mini-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mini-section-heading h2 { margin: 0; color: var(--navy); font-size: 34px; line-height: 1.1; }
.mini-section-heading a { font-size: 16px; font-weight: 800; text-decoration: none; }
.article-rail, .product-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card, .product-card { overflow: hidden; border: 1px solid #e0e8f0; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(7,31,59,.07); }
.article-thumb { display: block; height: 220px; overflow: hidden; background: var(--ice); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { min-height: 138px; padding: 20px 22px 24px; }
.article-body time { display: block; color: #687d91; font-size: 15px; }
.article-body h3 { height: auto; margin: 12px 0 0; overflow: visible; font-size: 19px; line-height: 1.38; }
.article-body h3 a { color: var(--navy); text-decoration: none; }
.product-card { display: block; min-height: 338px; color: var(--ink); text-decoration: none; }
.product-card img { width: 100%; height: 232px; object-fit: contain; padding: 24px 28px 8px; }
.product-card > span { display: block; padding: 12px 22px 24px; }
.product-card strong { display: block; color: var(--navy); font-size: 19px; line-height: 1.3; }
.product-card small { display: block; margin-top: 10px; color: #ff542c; font-size: 16px; }

.home-cta { padding: 0 0 58px; }
.cta-layout { display: flex; min-height: 190px; align-items: center; justify-content: space-between; gap: 48px; padding: 36px 52px; border-radius: 14px; background: linear-gradient(105deg, rgba(0,96,190,.94), rgba(0,166,222,.82)), url("assets/hero-aquarium.png") center 55% / cover; color: #fff; }
.cta-layout h2 { margin: 0; color: #fff; font-size: 34px; line-height: 1.15; }
.cta-layout p { margin: 12px 0 0; color: rgba(255,255,255,.94); font-size: 16px; }
.cta-actions { display: flex; gap: 24px; }
.cta-actions .button { min-width: 210px; min-height: 52px; }

/* Footer */
.site-footer { background: #fff; color: var(--muted); border-top: 1px solid #e5edf4; }
.footer-main { display: grid; grid-template-columns: 230px 1fr 1fr .75fr; gap: 72px; align-items: start; padding: 50px 0 44px; }
.footer-brand img { width: 190px; height: auto; }
.footer-main h2 { margin: 0 0 14px; color: var(--navy); font-size: 18px; }
.footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-main li { font-size: 15px; line-height: 1.65; }
.footer-main a { color: inherit; text-decoration: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--blue); }
.social-icons { display: flex; gap: 14px; color: var(--blue); }
.social-icons span { display: grid; width: 34px; height: 34px; place-items: center; }
.social-icons .icon { width: 26px; height: 26px; }
.footer-bottom { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid #e5edf4; color: #566b80; font-size: 14px; }
.footer-bottom a { font-weight: 800; text-decoration: none; }
.footer-counter { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-weight: 400 !important; }
.footer-counter img { width: 88px; height: 31px; object-fit: contain; }

/* Inner pages */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 68px 0 50px; background: #eef8ff; border-bottom: 1px solid var(--line); }
.page-hero::before { position: absolute; z-index: -2; inset: 0; background: url("assets/hero-aquarium.png") center 58% / cover no-repeat; content: ""; filter: saturate(.86); opacity: .2; }
.page-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(237,247,255,.91) 0%, rgba(241,249,255,.82) 50%, rgba(255,255,255,.9) 100%); content: ""; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1, .archive-header h1 { margin: 0; color: var(--navy); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -.035em; }
.breadcrumbs { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.content-shell { display: grid; grid-template-columns: minmax(0, 820px) minmax(230px, 1fr); gap: 70px; align-items: start; padding-block: 66px 90px; }
.entry-content { min-width: 0; font-size: 17px; line-height: 1.7; }
.entry-content h2, .entry-content h3 { color: var(--navy); line-height: 1.15; }
.entry-content h2 { margin: 2em 0 .7em; font-size: clamp(29px, 3vw, 40px); }
.entry-content h3 { margin: 1.7em 0 .6em; font-size: 24px; }
.entry-content img { border-radius: 12px; }
.entry-sidebar { position: sticky; top: 24px; padding: 26px; border-radius: 12px; background: var(--ice); }
.entry-sidebar h2 { margin: 0 0 12px; color: var(--navy); font-size: 24px; }
.entry-sidebar p { color: var(--muted); }
.entry-sidebar .button { width: 100%; }
.entry-sidebar .phone-link { display: block; margin-top: 14px; color: var(--navy); font-size: 18px; font-weight: 800; text-align: center; text-decoration: none; }
.service-page-intro > p { max-width: 760px; margin: 0; color: #334b63; font-size: 20px; line-height: 1.62; }
.service-photo-strip { display: flex; align-items: flex-start; gap: 14px; margin: 30px 0 38px; }
.service-photo-strip figure { flex: var(--media-ratio, 1.4) 1 0; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--ice); box-shadow: 0 7px 20px rgba(7,31,59,.08); }
.service-photo-strip img { width: 100%; height: auto; border-radius: 0; }
.service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-detail { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; gap: 15px; padding: 24px 22px; border: 1px solid #dfeaf3; border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(7,31,59,.07); }
.service-detail:first-child { grid-column: 1 / -1; grid-template-columns: 58px minmax(0, 1fr); padding: 28px 26px; background: linear-gradient(135deg, #f5faff, #fff); }
.service-detail-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); }
.service-detail:first-child .service-detail-icon { width: 58px; height: 58px; }
.service-detail-icon .icon { width: 30px; height: 30px; }
.service-detail:first-child .service-detail-icon .icon { width: 34px; height: 34px; }
.service-detail h2 { margin: 2px 0 10px; font-size: 24px; line-height: 1.18; letter-spacing: -.018em; }
.service-detail p { margin: 0; color: #40566d; font-size: 16px; line-height: 1.62; }
.service-detail ul { margin: 15px 0 0; padding-left: 20px; color: #314a62; font-size: 15px; line-height: 1.58; }
.service-detail li + li { margin-top: 4px; }
.service-page-cta { margin: 20px 0 0; }
.service-page-cta a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; }
.service-page-cta a:hover { background: var(--blue-dark); color: #fff; }
.portfolio-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.portfolio-grid figure { flex: var(--media-ratio, 1.333333) 1 calc(var(--media-ratio, 1.333333) * 260px); min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.portfolio-grid img { display: block; width: 100%; height: auto; border-radius: 0; }
.portfolio-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: 13px; }
.archive-header.page-hero { padding: 68px 0 50px; }
.archive-header > div > div { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 17px; }
.posts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-top: 60px; padding-bottom: 80px; }
.pagination { grid-column: 1/-1; }

@media (max-width: 1100px) {
  :root { --content: 980px; }
  .primary-nav ul { gap: 24px; }
  .hero-layout { grid-template-columns: 48% 52%; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li:last-child { display: none; }
  .works-layout { grid-template-columns: 155px 1fr; }
  .content-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--content)); }
  .site-header, .header-inner { height: 64px; }
  .header-inner { justify-content: space-between; }
  .site-brand { width: 128px; height: 61px; flex-basis: 128px; }
  .site-brand img { width: 122px; }
  .primary-nav { transform: none; }
  .primary-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .primary-nav.is-open { position: fixed; top: 64px; right: 0; bottom: 0; left: 0; display: flex; min-height: 0; overflow-y: auto; flex-direction: column; padding: 24px 20px 22px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open > ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav.is-open > ul > li > a { display: block; padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav.is-open .current-menu-item > a { background: #f0f8ff; color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
  .primary-nav.is-open .current-menu-item > a::after { display: none; }
  .primary-nav.is-open .mobile-nav-contact { display: grid; gap: 12px; margin-top: auto; padding: 24px 8px 2px; border-top: 1px solid var(--line); }
  .mobile-nav-email { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #dce9f4; border-radius: 10px; background: #f7fbff; text-decoration: none; }
  .mobile-nav-email span { color: var(--muted); font-size: 13px; font-weight: 650; }
  .mobile-nav-email strong { color: var(--navy); font-size: 16px; overflow-wrap: anywhere; }
  .mobile-nav-phone { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 13px; padding: 10px 18px; border-radius: 11px; background: var(--blue); color: #fff; text-decoration: none; }
  .mobile-nav-phone:hover { background: var(--blue-dark); color: #fff; }
  .mobile-nav-phone > .icon { width: 25px; height: 25px; }
  .mobile-nav-phone span { display: grid; gap: 2px; }
  .mobile-nav-phone small { color: rgba(255,255,255,.84); font-size: 13px; font-weight: 650; }
  .mobile-nav-phone strong { color: #fff; font-size: 18px; line-height: 1.1; }

  .home-hero { position: relative; padding: 0 0 24px; background: #fff; }
  .hero-layout { position: relative; display: block; width: 100%; min-height: 0; }
  .hero-media { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 390px; }
  .hero-media::after { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2,18,35,.12) 0%, rgba(2,24,50,.35) 37%, rgba(2,24,50,.98) 100%); content: ""; }
  .hero-media img { object-position: 54% 58%; transform: translateY(-50px) scale(1.18); }
  .hero-content { padding: 105px 20px 0; transform: none; }
  .hero-content h1 { color: #fff; font-size: clamp(33px, 8.8vw, 37px); line-height: 1.08; }
  .hero-content h1 span { color: #fff; }
  .hero-content > p { margin-top: 12px; color: rgba(255,255,255,.94); font-size: 15px; line-height: 1.45; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 20px; }
  .hero-actions .button { width: 100%; min-height: 50px; border-radius: 6px; font-size: 16px; }
  .hero-actions .button-outline { border-color: #fff; }
  .trust-list { position: relative; z-index: 2; grid-template-columns: 1fr; gap: 10px; width: auto; margin: 22px 16px 0; }
  .trust-list li, .trust-list li:last-child { display: grid; grid-template-columns: 46px 1fr 20px; min-height: 64px; padding: 8px 14px; border: 1px solid #e3ebf2; border-radius: 9px; background: #fff; box-shadow: 0 5px 16px rgba(7,31,59,.07); }
  .trust-list li > .icon:first-child { width: 42px; height: 42px; padding: 9px; }
  .trust-list strong, .trust-list small { white-space: normal; }
  .trust-list strong { color: var(--navy); font-size: 16px; }
  .trust-list small { margin-top: 2px; font-size: 14px; }
  .trust-arrow { display: block; width: 20px; height: 20px; }

  .home-services { padding: 0 0 44px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { display: grid; grid-template-columns: 68px 1fr; width: auto; height: auto; min-height: 132px; overflow: visible; align-items: center; gap: 12px; padding: 17px 18px; border-radius: 10px; }
  .service-icon { width: 58px; height: 58px; }
  .service-icon .icon { width: 36px; height: 36px; }
  .service-card h2 { margin: 0 0 5px; font-size: 19px; }
  .service-card p { min-height: 0; font-size: 15px; line-height: 1.42; }
  .service-card a { margin-top: 7px; font-size: 15px; }
  .service-card a .icon { width: 18px; height: 18px; }

  .home-works { padding: 0 0 48px; }
  .works-layout { display: block; }
  .section-side-heading { display: flex; max-width: none; align-items: center; justify-content: space-between; padding: 0 0 18px; }
  .section-side-heading h2 { font-size: 26px; }
  .section-side-heading h2::after, .section-side-heading p { display: none; }
  .section-side-heading .button { min-height: auto; padding: 0; border: 0; font-size: 15px; }
  .section-side-heading .button .desktop-label { display: none; }
  .section-side-heading .button .mobile-label { display: inline; }
  .work-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .work-rail::-webkit-scrollbar, .article-rail::-webkit-scrollbar, .product-rail::-webkit-scrollbar { display: none; }
  .work-card { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; border-radius: 10px; }
  .work-image { height: auto; }
  .work-caption { padding: 18px 20px 20px; }
  .work-caption strong { font-size: 20px; white-space: normal; }
  .work-caption small { margin-top: 5px; font-size: 14px; }
  .works-layout > .carousel-dots { display: flex; margin-top: 18px; }

  .home-process { padding: 0 0 48px; }
  .process-layout { display: block; padding: 0; background: transparent; }
  .process-layout > h2 { margin: 0 0 20px; padding: 0; font-size: 26px; }
  .process-layout > h2 br { display: none; }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; }
  .process-list li { display: flex; min-height: 132px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; border: 1px solid #e4ebf2; border-radius: 10px; background: #fff; box-shadow: 0 5px 16px rgba(7,31,59,.06); }
  .process-list li:not(:last-child)::after { display: none; }
  .process-list > li > .icon { width: 48px; height: 48px; padding: 10px; }
  .process-list strong { font-size: 16px; }
  .process-list small { margin-top: 3px; font-size: 14px; line-height: 1.35; }

  .home-content-row { padding: 0 0 50px; }
  .content-columns { display: block; }
  .partners-column { margin-top: 48px; padding: 0; border: 0; }
  .mini-section-heading { margin-bottom: 18px; }
  .mini-section-heading h2 { font-size: 26px; }
  .mini-section-heading a { font-size: 15px; }
  .article-rail, .product-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .article-card { min-width: 84%; scroll-snap-align: start; border-radius: 10px; }
  .article-thumb { height: 185px; }
  .article-body { min-height: 105px; padding: 14px 18px 18px; }
  .article-body time { font-size: 14px; }
  .article-body h3 { height: auto; margin-top: 7px; font-size: 19px; line-height: 1.35; }
  .articles-column > .carousel-dots, .partners-column > .carousel-dots { display: flex; margin-top: 18px; }
  .product-card { display: block; min-width: 80%; min-height: 320px; scroll-snap-align: start; border-radius: 10px; }
  .product-card img { width: 100%; height: 200px; padding: 18px; object-fit: contain; }
  .product-card > span { display: block; padding: 14px 20px 20px; }
  .product-card strong { display: block; font-size: 20px; }
  .product-card small { display: block; margin-top: 9px; font-size: 17px; }

  .home-cta { padding: 0 16px 42px; }
  .cta-layout { width: 100%; min-height: 300px; align-items: stretch; flex-direction: column; justify-content: center; gap: 20px; padding: 32px 24px; border-radius: 12px; text-align: center; }
  .cta-layout h2 { font-size: 28px; }
  .cta-layout p { margin-top: 10px; font-size: 16px; line-height: 1.45; }
  .cta-actions { flex-direction: column; gap: 14px; }
  .cta-actions .button { width: 100%; min-height: 54px; font-size: 16px; }

  .site-footer { padding-top: 4px; }
  .footer-main { display: flex; align-items: center; flex-direction: column; gap: 16px; padding: 26px 16px 16px; text-align: center; }
  .footer-brand img { width: 150px; }
  .footer-links, .footer-contact { display: none; }
  .footer-social h2 { display: none; }
  .social-icons { gap: 14px; }
  .social-icons span { width: 40px; height: 40px; }
  .social-icons .icon { width: 28px; height: 28px; }
  .footer-bottom { min-height: 0; align-items: center; flex-direction: column; justify-content: center; gap: 16px; padding: 12px 16px 28px; font-size: 14px; text-align: center; }
  .footer-counter { flex-direction: column; gap: 10px; }
  .footer-counter img { width: 112px; height: 39px; }

  .page-hero { padding: 48px 0 36px; }
  .page-hero::before { background-position: 58% 55%; opacity: .17; }
  .content-shell { grid-template-columns: minmax(0, 1fr); gap: 42px; padding-block: 48px 70px; }
  .entry-sidebar { position: static; }
  .service-page-intro > p { font-size: 18px; line-height: 1.58; }
  .service-photo-strip { width: 100%; max-width: 100%; gap: 12px; margin: 24px 0 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .service-photo-strip::-webkit-scrollbar { display: none; }
  .service-photo-strip figure { flex: 0 0 calc(var(--media-ratio, 1.4) * 180px); scroll-snap-align: start; }
  .service-details { grid-template-columns: 1fr; gap: 14px; }
  .service-detail, .service-detail:first-child { grid-column: auto; grid-template-columns: 50px minmax(0, 1fr); gap: 13px; padding: 21px 18px; }
  .service-detail-icon, .service-detail:first-child .service-detail-icon { width: 50px; height: 50px; }
  .service-detail-icon .icon, .service-detail:first-child .service-detail-icon .icon { width: 29px; height: 29px; }
  .service-detail h2 { margin-top: 1px; font-size: 22px; }
  .service-detail p { font-size: 16px; line-height: 1.58; }
  .service-page-cta a { width: 100%; min-height: 52px; padding-inline: 18px; text-align: center; }
  .portfolio-grid figure { flex: 0 0 100%; }
  .posts-list { grid-template-columns: 1fr; }
}

@media (max-width: 410px) {
  .container { width: min(100% - 28px, var(--content)); }
  .hero-content { padding-inline: 16px; }
  .hero-content h1 { font-size: 34px; }
  .service-card { grid-template-columns: 64px 1fr; padding-inline: 16px; }
  .service-icon { width: 56px; height: 56px; }
  .process-list { gap: 11px; }
  .process-list li { min-height: 148px; padding: 15px; }
  .process-list strong { font-size: 15px; }
  .article-card { min-width: 86%; }
  .product-card { min-width: 82%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
