/* Arviprojects overrides — loaded after style.css */

/* Logo: ARVI PROJECTS × AG co-brand lockup (tools/logo/make_cobrand.py), sized by height so the Arvi part
   keeps its former size; below 768px the <picture> switches to the compact lockup (AG monogram only) */
.header-area .header__logo img,
.header-area-3 .header__logo img,
.header-area-4 .header__logo img {
  max-width: none;
  width: auto;
  height: 30px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* home header: the lockup sits between the date and the buttons */
  .header-area .header__logo img {
    height: 26px;
  }
}
@media only screen and (max-width: 767px) {
  .header-area .header__logo img,
  .header-area-3 .header__logo img,
  .header-area-4 .header__logo img {
    height: 28px;
  }
}
@media only screen and (max-width: 575px) {
  /* phones: shrinks with the screen so the header never scrolls sideways (8.22 = compact lockup width / height) */
  .header-area .header__logo img,
  .header-area-3 .header__logo img,
  .header-area-4 .header__logo img {
    height: min(24px, calc((100vw - 172px) / 8.22));
  }
  .header-area-3 .header__navicon .side-toggle,
  .header-area-4 .header__navicon .side-toggle {
    padding: 16px 0 16px 12px;
  }
}
.offset-logo,
.side-info-4 .offcanvas-4 .offset-logo {
  width: 290px;
  max-width: 100%;
}
@media only screen and (min-width: 768px) {
  .side-info-4 .offcanvas-4 .offset-logo {
    margin-right: 95px;
  }
}
@media only screen and (max-width: 575px) {
  .offset-logo,
  .side-info-4 .offcanvas-4 .offset-logo {
    width: 190px;
  }
}

/* Breadcrumb banners: a little more contrast for the white headline */
.breadcrumb__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.45) 0%, rgba(17, 17, 17, 0.25) 55%, rgba(17, 17, 17, 0.55) 100%);
}

/* Clickable (lightbox) images keep the template's fill behaviour */
.portfolio-gallery__inner .popup-image,
.gallery__wrapper .popup-image {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

/* Project page: next project link */
.arvi-next-project {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 30px;
  align-items: end;
  padding: 50px 0 10px;
  margin-bottom: 120px;
  border-top: 1px solid var(--border, #e5e5e5);
  color: #111;
}
.arvi-next-project .label {
  grid-column: 1 / -1;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.arvi-next-project .name {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  transition: color 0.3s ease;
}
.arvi-next-project .name i {
  font-size: 0.5em;
  margin-left: 14px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.arvi-next-project .meta {
  font-size: 16px;
  color: #6d6d6d;
  padding-bottom: 12px;
}
.arvi-next-project:hover .name {
  color: #A8865B;
}
.arvi-next-project:hover .name i {
  transform: translateX(8px);
}
@media only screen and (max-width: 767px) {
  .arvi-next-project {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }
}

/* About page: "Selected projects" list reuses the team hover list */
.about-team__wrapper .about-team__box .team-list li a {
  color: inherit;
}
.about-team__wrapper .about-team__box .team-list li a:hover {
  color: #A8865B;
}

/* Language switcher (EN / TR) */
.arvi-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}
.arvi-lang a {
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.arvi-lang a:hover,
.arvi-lang a.is-active {
  opacity: 1;
}
.arvi-lang span {
  opacity: 0.35;
}
/* home header uses mix-blend-mode: exclusion, so it needs white text until scrolled */
.header-area .arvi-lang {
  color: #fff;
}
.header-area.scrolled .arvi-lang,
.header-area-4 .arvi-lang {
  color: #111;
}
.header-area-3 .arvi-lang {
  color: #fff;
}
.header-area-3 .sticky .arvi-lang,
.header-area-3 .transformed .arvi-lang {
  color: #111;
}
.header-right {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 575px) {
  .arvi-lang {
    margin-right: 4px;
    font-size: 13px;
  }
}
@media only screen and (max-width: 1199px) {
  /* the hidden desktop nav still counts in the template's 50px flex gaps */
  .header-area-3__inner,
  .header-area-4__inner,
  .header-area__inner {
    gap: 12px;
  }
}
@media only screen and (max-width: 575px) {
  .header-area-3__inner,
  .header-area-4__inner,
  .header-area__inner {
    gap: 8px;
  }
}

/* Page loader: animated "Gergili Kemer" logo (assets/js/arvi-loader.js) */
.loader-wrap.arvi-loader {
  background: transparent;
  animation: arviLoaderFailsafe 0.4s ease 8s forwards;
}
.arvi-loader .arvi-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 110vh;
}
.arvi-loader .arvi-curtain path {
  fill: #141414;
}
.arvi-loader .loader-wrap-heading {
  position: relative;
  z-index: 2;
}
.loader-wrap.arvi-loader .arvi-loader-logo {
  position: relative;
  top: auto;
  display: block;
  width: clamp(230px, 30vw, 370px);
  max-height: 72vh;
  height: auto;
  overflow: visible;
  fill: #F2ECE2;
}
.arvi-loader .al-key {
  fill: #A8865B;
}
.arvi-loader .al-key-glow {
  opacity: 0;
  pointer-events: none;
}
.arvi-loader .al-sparks {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.arvi-loader .al-line {
  fill: none;
  stroke: #A8865B;
  stroke-width: 1.1;
  opacity: 0.9;
}
.arvi-loader .al-plumb {
  stroke-dasharray: 3 4;
  opacity: 0.6;
}
.arvi-loader.is-static .al-construct {
  opacity: 0;
}
.arvi-loader.is-hidden {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
@keyframes arviLoaderFailsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Service list rows: the whole highlighted row is the link (number and padding included) */
.services__wrapper .services__item a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Lightbox: the template asks for Font Awesome weight 200 ("thin"), which is not in the package, so the close
   button showed an empty square. The "light" weight (300) is shipped. */
.mfp-close::after {
  font-weight: 300;
}

/* ==========================================================================
   Products: gallery page (.arvi-pg-head, .arvi-cat*, .arvi-card*, .arvi-quote)
   and product pages (.arvi-crumbs, .arvi-pd*, .arvi-related).
   Markup is generated by tools/build_products.py; the page script is assets/js/arvi-products.js.
   ========================================================================== */

/* ---- gallery header ---- */
.arvi-pg-head {
  padding: 190px 0 30px;
}
.arvi-pg-head__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--primary);
}
.arvi-pg-head__intro {
  max-width: 660px;
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: var(--secondary);
}
.arvi-pg-head__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.arvi-pg-head__cats a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 500px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.arvi-pg-head__cats a span {
  font-size: 11px;
  color: #767676;
  transition: color 0.3s;
}
.arvi-pg-head__cats a:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}
.arvi-pg-head__cats a:hover span {
  color: rgba(255, 255, 255, 0.6);
}

/* ---- category blocks ---- */
.arvi-cat {
  padding-top: 110px;
  scroll-margin-top: 90px;
}
.arvi-cat__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 24px 80px;
  align-items: end;
  margin-bottom: 70px;
}
.arvi-cat__title {
  font-size: clamp(40px, 6.4vw, 104px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--primary);
}
.arvi-cat__intro {
  padding-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
}

/* staggered grid: odd cards sit left, even cards right and a little lower (never overlapping) */
.arvi-cat__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 7vw, 120px);
  row-gap: clamp(80px, 9vw, 150px);
  padding-bottom: 120px;
}
.arvi-cat__grid--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 70px);
}
.arvi-card {
  width: calc(var(--w, 1) * 100%);
  justify-self: start;
}
.arvi-card:nth-child(even) {
  justify-self: end;
  transform: translateY(var(--st, 90px));
}
.arvi-cat__grid--trio .arvi-card,
.arvi-cat__grid--trio .arvi-card:nth-child(even) {
  justify-self: center;
}
.arvi-card.arvi-card--wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(var(--w, 1) * 64%);
  transform: none;
}
.arvi-card__link {
  display: block;
  color: var(--primary);
  transition: none; /* GSAP drives the entrance; the template's a { transition: all } would lag it */
}
.arvi-card__media {
  display: block;
  overflow: hidden;
  background: #f3f1ed;
}
.arvi-card__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.arvi-card__link:hover .arvi-card__media img {
  transform: scale(1.04);
}
.arvi-card__link:focus-visible .arvi-card__media {
  outline: 2px solid #A8865B;
  outline-offset: 3px;
}
.arvi-card__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.arvi-card__name {
  color: var(--primary);
  transition: color 0.3s;
}
.arvi-card__code {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #767676;
}
.arvi-card__link:hover .arvi-card__name {
  color: #A8865B;
}

/* ---- request a quote strip ---- */
.arvi-quote {
  padding: 130px 0 150px;
}
.arvi-quote__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 50px 100px;
  align-items: end;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
.arvi-quote__title {
  font-size: clamp(38px, 5.2vw, 84px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--primary);
}
.arvi-quote__text p {
  max-width: 420px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
}
.arvi-quote__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px;
  align-items: end;
}
.arvi-quote__field input {
  width: 100%;
  height: 44px;
  border: 0;
  border-bottom: 1px solid var(--primary);
  border-radius: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 18px;
  letter-spacing: -0.54px;
  color: var(--primary);
}
.arvi-quote__field input::placeholder {
  color: var(--primary);
  opacity: 1;
}
.arvi-quote__field input:focus {
  border-bottom-color: #A8865B;
}
.arvi-quote__form .rr-btn-primary {
  grid-column: 1 / -1;
  justify-self: start;
}

/* ---- product page ---- */
.arvi-pd {
  padding: 150px 0 80px;
}
.arvi-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 38px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #767676;
}
.arvi-crumbs a {
  color: inherit;
}
.arvi-crumbs a:hover,
.arvi-crumbs [aria-current] {
  color: var(--primary);
}
.arvi-pd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: 60px clamp(40px, 6vw, 110px);
  align-items: start;
}
.arvi-pd__media {
  display: grid;
  gap: 22px;
}
.arvi-pd__fig {
  margin: 0;
  background: #f3f1ed;
}
.arvi-pd__fig a {
  display: block;
  cursor: zoom-in;
}
.arvi-pd__fig img {
  display: block;
  width: 100%;
  height: auto;
}
.arvi-pd__fig figcaption {
  padding: 12px 14px 14px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d6d6d;
}
.arvi-pd__fig--main figcaption {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.arvi-pd__fig--tall {
  max-width: min(100%, 680px);
}
.arvi-pd__drawings,
.arvi-pd__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.arvi-pd__fig--detail img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.arvi-pd__fig--draw {
  background: #fff;
  border: 1px solid var(--border);
}
.arvi-pd__fig--draw img {
  padding: 10px 10px 0;
  box-sizing: border-box;
}
.arvi-pd__info {
  align-self: start;
  padding-top: 4px;
}
.arvi-pd__cat {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A8865B;
}
.arvi-pd__cat:hover {
  color: var(--primary);
}
.arvi-pd__title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.arvi-pd__code {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767676;
}
.arvi-pd__lead {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.2px;
  color: var(--secondary);
}
.arvi-pd__specs {
  margin: 34px 0 0;
  border-top: 1px solid var(--border);
}
.arvi-pd__specs > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.45;
}
.arvi-pd__specs dt {
  font-weight: 500;
  color: #767676;
}
.arvi-pd__specs dd {
  margin: 0;
  color: var(--primary);
}
.arvi-pd__specs dd a {
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.3);
  text-underline-offset: 3px;
}
.arvi-pd__specs dd a:hover {
  color: #A8865B;
}
.arvi-pd__rows {
  list-style: none;
  display: grid;
  gap: 6px;
}
.arvi-pd__rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.arvi-pd__rows span {
  color: var(--secondary);
}
.arvi-pd__rows b {
  font-weight: 500;
  text-align: right;
}
.arvi-pd__specs small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #767676;
}
.arvi-pd__list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.arvi-pd__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--primary);
}
.arvi-pd__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: #A8865B;
}
.arvi-pd__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  margin-top: 38px;
}
.arvi-pd__back {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--secondary);
  border-bottom: 1px solid transparent;
}
.arvi-pd__back:hover {
  color: var(--primary);
  border-bottom-color: currentColor;
}

/* ---- related products + next product ---- */
.arvi-related {
  padding: 50px 0 0;
}
.arvi-related__title {
  margin-bottom: 56px;
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--primary);
}
.arvi-cat__grid--flat {
  row-gap: 50px;
  padding-bottom: 90px;
}
.arvi-cat__grid--flat .arvi-card,
.arvi-cat__grid--flat .arvi-card:nth-child(even) {
  width: 100%;
  justify-self: stretch;
  transform: none;
}

@media only screen and (max-width: 1199px) {
  .arvi-pg-head {
    padding: 150px 0 20px;
  }
  .arvi-pd {
    padding: 130px 0 60px;
  }
  .arvi-quote__inner {
    gap: 40px 60px;
  }
}
@media only screen and (max-width: 991px) {
  .arvi-cat {
    padding-top: 80px;
  }
  .arvi-cat__head {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
  .arvi-cat__grid--trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arvi-pd__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* stacked: main picture, then the details, then drawings / in-project photo */
  .arvi-pd__media {
    display: contents;
  }
  .arvi-pd__fig--main {
    order: 1;
  }
  .arvi-pd__info {
    order: 2;
    padding-top: 0;
  }
  .arvi-pd__details,
  .arvi-pd__fig--ctx {
    order: 3;
  }
  .arvi-pd__drawings {
    order: 4;
  }
  .arvi-pd__fig--tall {
    max-width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }
  .arvi-quote {
    padding: 90px 0 100px;
  }
  .arvi-quote__inner {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
}
@media only screen and (max-width: 767px) {
  .arvi-pg-head {
    padding: 120px 0 10px;
  }
  .arvi-pg-head__intro {
    font-size: 16px;
  }
  .arvi-pg-head__cats {
    margin-top: 30px;
  }
  .arvi-cat {
    padding-top: 60px;
  }
  .arvi-cat__head {
    margin-bottom: 36px;
  }
  /* phones: one picture per row, no stagger */
  .arvi-cat__grid:not(.arvi-cat__grid--trio) {
    grid-template-columns: 1fr;
  }
  .arvi-cat__grid {
    row-gap: 44px;
    padding-bottom: 40px;
  }
  .arvi-card,
  .arvi-card:nth-child(even),
  .arvi-card.arvi-card--wide {
    width: 100%;
    justify-self: stretch;
    transform: none;
  }
  .arvi-pd {
    padding: 110px 0 40px;
  }
  .arvi-crumbs {
    margin-bottom: 26px;
    font-size: 12px;
  }
  .arvi-pd__drawings {
    grid-template-columns: 1fr;
  }
  .arvi-pd__specs > div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .arvi-quote__form {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media only screen and (max-width: 575px) {
  .arvi-pd__details {
    grid-template-columns: 1fr;
  }
  .arvi-cat__grid--flat {
    grid-template-columns: 1fr;
  }
  .arvi-card__cap {
    flex-direction: column;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arvi-card__media img {
    transition: none;
  }
}

/* ==========================================================================
   Service pages (long form): intro text width, cards, text rows, related projects, FAQ spacing.
   Markup is generated by tools/services/build_services.py.
   ========================================================================== */
.arvi-svc-intro .services-2__content p {
  max-width: 440px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.arvi-svc-intro .services-2__wrapper p.title {
  margin: 0;
  line-height: 1.15;
}
.arvi-svc {
  padding: 0 0 120px;
}
.arvi-svc__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 100px;
  align-items: end;
  margin-bottom: 60px;
}
.arvi-svc__kicker {
  grid-column: 1 / -1;
  margin: 0 0 -10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
}
.arvi-svc__title {
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--primary);
}
.arvi-svc__lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--secondary);
}
.arvi-svc__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.arvi-svc__card {
  padding: 36px 34px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.arvi-svc__num {
  display: block;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--secondary);
}
.arvi-svc__card-title {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.arvi-svc__card p,
.arvi-svc__body p,
.arvi-svc__list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
}
.arvi-svc__card p {
  margin: 0;
}
.arvi-svc a:not(.arvi-ref),
.arvi-pg-head__intro a,
.portfolio-details__overview p a,
.arvi-svc-intro .services-2__content a,
.arvi-svc-faq .accordion-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: #A8865B;
  text-underline-offset: 3px;
}
.arvi-svc__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 100px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.arvi-svc__row:last-child {
  border-bottom: 1px solid var(--border);
}
.arvi-svc__h {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.arvi-svc__body p {
  max-width: 680px;
  margin: 0 0 16px;
}
.arvi-svc__body p:last-child {
  margin-bottom: 0;
}
.arvi-svc__list {
  max-width: 680px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.arvi-svc__list:last-child {
  margin-bottom: 0;
}
.arvi-svc__list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--border);
}
.arvi-svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 1px;
  background: #A8865B;
}
.arvi-svc__refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
}
.arvi-ref {
  display: block;
  color: var(--primary);
}
.arvi-ref__img {
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 18px;
}
.arvi-ref__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.arvi-ref:hover .arvi-ref__img img {
  transform: scale(1.04);
}
.arvi-ref__meta {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--secondary);
}
.arvi-ref__name {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.arvi-ref__name i {
  margin-left: 8px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}
.arvi-ref:hover .arvi-ref__name i {
  transform: translateX(6px);
}
.arvi-svc-faq {
  padding-bottom: 20px;
}
.arvi-svc-faq .accordion-header {
  margin: 0;
}

@media only screen and (max-width: 1199px) {
  .arvi-svc__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arvi-svc__head,
  .arvi-svc__row {
    gap: 24px 60px;
  }
}
@media only screen and (max-width: 991px) {
  .arvi-svc {
    padding-bottom: 80px;
  }
  .arvi-svc__head,
  .arvi-svc__row {
    grid-template-columns: 1fr;
  }
  .arvi-svc__row {
    padding: 40px 0;
  }
  .arvi-svc__refs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 575px) {
  .arvi-svc__cards,
  .arvi-svc__refs {
    grid-template-columns: 1fr;
  }
  .arvi-svc__card {
    padding: 28px 22px 30px;
  }
  .arvi-svc__num {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arvi-ref__img img,
  .arvi-ref__name i {
    transition: none;
  }
}
