/* RoseVia 2026 remake — homepage visual system */

.remake-home {
  --rv-night: #081b3a;
  --rv-night-2: #0d2a57;
  --rv-ink: #0b1f3a;
  --rv-blue: #176be8;
  --rv-blue-deep: #0d55c5;
  --rv-lime: #74c6ff;
  --rv-lime-soft: #eaf5ff;
  --rv-paper: #f3f8ff;
  --rv-white: #ffffff;
  --rv-line: rgba(11, 31, 58, 0.15);
  --rv-line-dark: rgba(255, 255, 255, 0.14);
  --rv-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --rv-shadow: 0 30px 80px rgba(11, 52, 116, 0.16);
  background: var(--rv-paper);
  color: var(--rv-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-feature-settings: "ss01" on, "ss02" on;
}

.remake-home ::selection {
  background: var(--rv-lime);
  color: var(--rv-night);
}

.remake-home .container {
  width: min(1240px, calc(100% - 64px));
}

.remake-home .section-pad {
  padding: clamp(88px, 9vw, 144px) 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--rv-lime);
  color: var(--rv-night);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.remake-home a:focus-visible,
.remake-home button:focus-visible,
.remake-home input:focus-visible,
.remake-home textarea:focus-visible {
  outline: 3px solid var(--rv-lime);
  outline-offset: 4px;
}

/* Header */
.remake-home .site-header {
  padding: 24px 0;
  color: #fff;
}

.remake-home .site-header::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.remake-home .site-header.scrolled,
.remake-home .site-header.menu-active {
  padding: 14px 0;
  background: rgba(8, 27, 58, 0.92);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(140%);
}

.remake-home .site-header.scrolled::after,
.remake-home .site-header.menu-active::after {
  opacity: 0;
}

.remake-home .header-content {
  gap: 22px;
}

.remake-home .site-header .brand-mark {
  width: 138px;
  height: 44px;
}

.remake-home .site-header .brand-mark img {
  transform: translateY(-17px);
}

.remake-home .site-header .logo-dark-bg,
.remake-home .site-header.scrolled .logo-dark-bg,
.remake-home .site-header.menu-active .logo-dark-bg {
  display: block;
}

.remake-home .site-header .logo-light-bg,
.remake-home .site-header.scrolled .logo-light-bg,
.remake-home .site-header.menu-active .logo-light-bg {
  display: none;
}

.remake-home .main-nav ul {
  gap: 30px;
}

.remake-home .main-nav a,
.remake-home .site-header.scrolled .main-nav a,
.remake-home .site-header.menu-active .main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.remake-home .main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--rv-lime);
  transition: right 0.24s ease;
}

.remake-home .main-nav a:hover,
.remake-home .main-nav a.active,
.remake-home .site-header.scrolled .main-nav a:hover,
.remake-home .site-header.scrolled .main-nav a.active,
.remake-home .site-header.menu-active .main-nav a:hover,
.remake-home .site-header.menu-active .main-nav a.active {
  color: #fff;
}

.remake-home .main-nav a:hover::after,
.remake-home .main-nav a.active::after {
  right: 0;
}

.remake-home .header-cta,
.remake-home .btn {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.remake-home .header-cta,
.remake-home .btn-primary {
  background: var(--rv-lime);
  color: var(--rv-night);
  box-shadow: none;
}

.remake-home .header-cta:hover,
.remake-home .btn-primary:hover {
  background: #a8ddff;
  color: var(--rv-night);
  box-shadow: 0 14px 34px rgba(116, 198, 255, 0.24);
  transform: translateY(-2px);
}

.remake-home .language-switcher,
.remake-home .site-header.scrolled .language-switcher,
.remake-home .site-header.menu-active .language-switcher {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.remake-home .language-switcher button,
.remake-home .site-header.scrolled .language-switcher button,
.remake-home .site-header.menu-active .language-switcher button {
  color: rgba(255, 255, 255, 0.62);
  border-radius: 1px;
}

.remake-home .language-switcher button.active,
.remake-home .site-header.scrolled .language-switcher button.active,
.remake-home .site-header.menu-active .language-switcher button.active {
  background: var(--rv-lime);
  color: var(--rv-night);
}

/* Hero */
.remake-home .hero {
  min-height: 920px;
  display: block;
  isolation: isolate;
  background: var(--rv-night);
  color: #fff;
  text-align: left;
}

.remake-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 76%);
}

.remake-home .hero::after {
  background:
    radial-gradient(circle at 78% 35%, rgba(23, 107, 232, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(116, 198, 255, 0.08), transparent 28%);
  opacity: 1;
}

.remake-home .hero-bg {
  z-index: -3;
  background: var(--rv-night);
}

.remake-home .hero-bg-image {
  object-position: 65% center;
  filter: saturate(1.02) contrast(1.03) brightness(0.86);
  transform: scale(1.03);
}

.remake-home .hero-overlay,
.remake-home .hero[data-slide="1"] .hero-overlay,
.remake-home .hero[data-slide="2"] .hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 27, 58, 0.86) 0%, rgba(8, 27, 58, 0.7) 38%, rgba(8, 27, 58, 0.18) 72%, rgba(8, 27, 58, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 27, 58, 0.08), rgba(8, 27, 58, 0.68));
}

.remake-home .hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
  padding-top: 178px;
}

.remake-home .hero-content {
  padding: 0;
  max-width: 780px;
}

.remake-home .hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--rv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remake-home .hero-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rv-lime);
  box-shadow: 0 0 0 6px rgba(116, 198, 255, 0.13), 0 0 22px rgba(116, 198, 255, 0.64);
  animation: rv-pulse 2.4s ease-in-out infinite;
}

@keyframes rv-pulse {
  50% { box-shadow: 0 0 0 10px rgba(116, 198, 255, 0), 0 0 30px rgba(116, 198, 255, 0.75); }
}

.remake-home .eyebrow {
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rv-lime);
  font-family: var(--rv-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.remake-home .eyebrow::before {
  content: "[";
  margin-right: 8px;
}

.remake-home .eyebrow::after {
  content: "]";
  margin-left: 8px;
}

.remake-home .eyebrow.outline {
  border: 0;
  color: var(--rv-blue);
}

.remake-home .hero h1 {
  max-width: 760px;
  min-height: 2em;
  margin: 24px 0 22px;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 1;
  letter-spacing: -0.058em;
  font-weight: 700;
  text-wrap: balance;
}

.remake-home .hero[data-slide="1"] h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 1;
  letter-spacing: -0.058em;
}

.remake-home .hero[data-slide="2"] h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 1;
  letter-spacing: -0.058em;
}

.remake-home .hero-title-line {
  display: block;
}

.remake-home .hero-title-line:last-child {
  color: var(--rv-lime);
}

.remake-home .hero p {
  max-width: 660px;
  min-height: 3.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.remake-home .hero-actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 34px;
}

.remake-home .hero-actions .btn {
  min-height: 58px;
  padding: 0 30px;
}

.remake-home .hero-actions .btn i {
  margin-left: 14px;
  transition: transform 0.2s ease;
}

.remake-home .hero-actions .btn:hover i {
  transform: translateX(4px);
}

.remake-home .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  backdrop-filter: blur(10px);
}

.remake-home .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.remake-home .hero-indicators {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 48px;
}

.remake-home .hero-dot,
.remake-home .hero-dot.active {
  width: 46px;
  height: 34px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--rv-mono);
  font-size: 0.64rem;
  text-align: left;
}

.remake-home .hero-dot.active {
  border-color: var(--rv-lime);
  color: var(--rv-lime);
}

.remake-home .hero-brief {
  align-self: end;
  margin-bottom: 26px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 17, 31, 0.54);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.remake-home .hero-brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--rv-lime);
  font-family: var(--rv-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.remake-home .hero-brief > p {
  margin: 26px 0;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
}

.remake-home .hero-brief ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.remake-home .hero-brief li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 600;
}

.remake-home .hero-brief li span {
  color: var(--rv-lime);
  font-family: var(--rv-mono);
  font-size: 0.68rem;
}

.remake-home .hero-trust {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.35fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}

.remake-home .hero-trust > div {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.remake-home .hero-trust strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
}

.remake-home .hero-trust span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.remake-home .hero-trust .hero-trust-note {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  border-right: 0;
}

.remake-home .hero-trust-note span {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--rv-mono);
  text-transform: uppercase;
}

.remake-home .hero-trust-note i {
  color: var(--rv-lime);
}

.remake-home .hero-scroll {
  position: absolute;
  right: 26px;
  bottom: 138px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--rv-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.remake-home .hero-scroll i {
  color: var(--rv-lime);
}

/* Section typography */
.remake-home .section-heading {
  max-width: 760px;
}

.remake-home .section-heading.centered {
  max-width: 980px;
  margin: 0 auto 64px;
}

.remake-home .section-heading h2 {
  margin-top: 22px;
  color: var(--rv-ink);
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-wrap: balance;
}

.remake-home .section-heading p {
  margin-top: 24px;
  color: #5d6872;
  font-size: 1.02rem;
  line-height: 1.8;
}

.remake-home .section-heading-editorial {
  text-align: left;
}

.remake-home .section-heading-editorial p {
  max-width: 650px;
}

/* Services */
.remake-home .services {
  position: relative;
  overflow: hidden;
  background: var(--rv-paper);
}

.remake-home .services::before {
  content: "SERVICES / 01";
  position: absolute;
  top: 52px;
  right: 5vw;
  color: rgba(16, 24, 32, 0.16);
  font-family: var(--rv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.remake-home .services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  counter-reset: services;
}

.remake-home .service-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 4;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  counter-increment: services;
}

.remake-home .service-card:first-child {
  grid-column: span 7;
}

.remake-home .service-card:nth-child(2) {
  grid-column: span 5;
}

.remake-home .service-card:nth-child(6) {
  min-height: 250px;
  grid-column: span 12;
}

.remake-home .service-card::before {
  content: "0" counter(services);
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(16, 24, 32, 0.34);
  font-family: var(--rv-mono);
  font-size: 0.7rem;
}

.remake-home .service-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
  transition: transform 0.5s ease;
}

.remake-home .service-card:hover::after {
  transform: scale(1.5);
}

.remake-home .service-card.featured {
  background: var(--rv-blue);
  border-color: var(--rv-blue);
  color: #fff;
}

.remake-home .service-card.service-card-dark {
  background: var(--rv-night);
  border-color: var(--rv-night);
  color: #fff;
}

.remake-home .service-card.service-card-accent {
  background: var(--rv-lime-soft);
}

.remake-home .service-card:hover,
.remake-home .service-card.featured:hover,
.remake-home .service-card.service-card-dark:hover,
.remake-home .service-card.service-card-accent:hover {
  border-color: var(--rv-blue);
  background: var(--rv-white);
  color: var(--rv-ink);
  box-shadow: var(--rv-shadow);
  transform: translateY(-7px);
}

.remake-home .icon-box,
.remake-home .service-card:hover .icon-box,
.remake-home .service-card.featured .icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  opacity: 0.8;
}

.remake-home .service-card h3 {
  max-width: 380px;
  margin-top: 54px;
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  letter-spacing: -0.025em;
}

.remake-home .service-card p {
  max-width: 520px;
  margin: 15px 0 24px;
  color: #67717a;
  line-height: 1.7;
}

.remake-home .service-card.featured p,
.remake-home .service-card.service-card-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.remake-home .service-card:hover p,
.remake-home .service-card.featured:hover p,
.remake-home .service-card.service-card-dark:hover p {
  color: #67717a;
}

.remake-home .service-card a,
.remake-home .service-card.featured a,
.remake-home .service-card.service-card-dark a,
.remake-home .service-card:hover a {
  margin-top: auto;
  color: inherit;
  font-family: var(--rv-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* About */
.remake-home .about {
  position: relative;
  overflow: hidden;
  background: var(--rv-night);
  color: #fff;
}

.remake-home .about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 80% 50%, #000, transparent 64%);
}

.remake-home .about-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(58px, 8vw, 110px);
}

.remake-home .about-media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(116, 198, 255, 0.4);
}

.remake-home .about-media img {
  position: relative;
  aspect-ratio: 0.9 / 1;
  border-radius: 0;
  filter: saturate(0.74) contrast(1.07);
  box-shadow: 34px 34px 0 rgba(23, 107, 232, 0.18);
}

.remake-home .certificate-card {
  left: auto;
  right: -30px;
  bottom: 34px;
  width: 235px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: rgba(8, 27, 58, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.remake-home .certificate-card strong {
  color: var(--rv-lime);
  font-family: var(--rv-mono);
}

.remake-home .certificate-card span {
  color: rgba(255, 255, 255, 0.55);
}

.remake-home .about .eyebrow.outline {
  color: var(--rv-lime);
}

.remake-home .about .section-heading h2 {
  color: #fff;
}

.remake-home .about .section-heading > p {
  color: rgba(255, 255, 255, 0.62);
}

.remake-home .about-points {
  margin-top: 34px;
  gap: 0;
  border-top: 1px solid var(--rv-line-dark);
}

.remake-home .about-points span {
  padding: 14px 0;
  border-bottom: 1px solid var(--rv-line-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.remake-home .about-points i {
  color: var(--rv-lime);
}

.remake-home .about-stats {
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--rv-line-dark);
}

.remake-home .about-stat {
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--rv-line-dark);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.remake-home .about-stat:last-child {
  border-right: 0;
}

.remake-home .about-stat strong {
  color: var(--rv-lime);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.remake-home .about-stat span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

/* Solutions */
.remake-home .solutions {
  background: #fff;
}

.remake-home .solution-support-grid {
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--rv-line);
  border-left: 1px solid var(--rv-line);
}

.remake-home .solution-support-card {
  min-height: 290px;
  padding: 32px;
  border-right: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.remake-home .solution-support-card::before {
  display: none;
}

.remake-home .solution-support-card:hover {
  z-index: 1;
  background: var(--rv-paper);
  box-shadow: var(--rv-shadow);
  transform: translateY(-4px);
}

.remake-home .solution-support-head {
  display: block;
  margin-bottom: 24px;
}

.remake-home .solution-support-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  border: 1px solid var(--rv-line);
  border-radius: 50%;
  color: var(--rv-blue);
  background: transparent;
  box-shadow: none;
}

.remake-home .solution-support-card:hover .solution-support-icon {
  color: var(--rv-night);
  background: var(--rv-lime);
  box-shadow: none;
}

.remake-home .solution-support-card h3 {
  max-width: 280px;
  font-size: 1.08rem;
}

.remake-home .solution-support-card ul {
  gap: 8px;
  padding-left: 0;
}

.remake-home .solution-support-card li {
  padding-left: 16px;
  color: #6a737c;
  font-size: 0.83rem;
}

.remake-home .solution-support-card li::before {
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  background: var(--rv-blue);
  box-shadow: none;
}

.remake-home .solutions-cta {
  margin-top: 16px;
  padding: clamp(38px, 5vw, 68px);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8, 27, 58, 0.95), rgba(13, 54, 117, 0.68)),
    url("../images/hero/hero-components.webp") center / cover;
  box-shadow: none;
}

.remake-home .solutions-cta::after {
  content: "+";
  position: absolute;
  right: 34px;
  top: 18px;
  color: var(--rv-lime);
  font-family: var(--rv-mono);
  font-size: 1.5rem;
}

/* Portfolio */
.remake-home .portfolio {
  padding: clamp(96px, 9vw, 140px) 0 80px;
  background:
    radial-gradient(circle at 78% 16%, rgba(23, 107, 232, 0.3), transparent 30%),
    var(--rv-night);
}

.remake-home .portfolio::before {
  background-size: 64px 64px;
}

.remake-home .portfolio-heading {
  margin-bottom: 52px;
  opacity: 1 !important;
  transform: none !important;
}

.remake-home .portfolio .section-heading h2 {
  max-width: 780px;
  color: #fff;
}

.remake-home .portfolio .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.remake-home .portfolio .eyebrow {
  color: var(--rv-lime);
}

.remake-home .portfolio-showcase {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.62fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.remake-home .portfolio-stage {
  min-height: 520px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.remake-home .portfolio-main-card {
  inset: 22px 78px 70px 22px;
  border-radius: 0;
}

.remake-home .portfolio-detail-card {
  right: 20px;
  bottom: 22px;
  border-radius: 0;
}

.remake-home .portfolio-panel {
  min-height: 520px;
  padding: 44px 36px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}

.remake-home .portfolio-panel h3 {
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  letter-spacing: -0.045em;
}

.remake-home .portfolio-meta {
  gap: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.remake-home .portfolio-meta div {
  padding: 16px 8px;
  border: 0;
  background: transparent;
}

.remake-home .portfolio-selector-shell {
  margin-top: 12px;
  border-radius: 0;
}

.remake-home .portfolio-thumb,
.remake-home .portfolio-thumb.active {
  border-radius: 0;
}

/* Editorial / blog */
.remake-home .blog {
  background: var(--rv-paper);
}

.remake-home .blog .section-heading.split {
  align-items: flex-end;
  margin-bottom: 56px;
}

.remake-home .text-link.dark {
  color: var(--rv-ink);
  font-family: var(--rv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.remake-home .home-blog-viewport {
  overflow: hidden;
}

.remake-home .home-blog-slide {
  border: 0;
  border-right: 1px solid var(--rv-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.remake-home .blog-card-link {
  height: 100%;
}

.remake-home .home-blog-image {
  filter: saturate(0.78) contrast(1.04);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.remake-home .home-blog-slide:hover .home-blog-image {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.025);
}

.remake-home .home-blog-card-body {
  padding: 28px 24px 30px 0;
}

.remake-home .home-blog-meta {
  font-family: var(--rv-mono);
  font-size: 0.64rem;
}

.remake-home .home-blog-card-body h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

/* Process */
.remake-home .process {
  position: relative;
  overflow: hidden;
  background: #dceeff;
}

.remake-home .process::after {
  content: "04";
  position: absolute;
  right: -0.04em;
  bottom: -0.3em;
  color: rgba(7, 17, 31, 0.07);
  font-family: var(--rv-mono);
  font-size: clamp(12rem, 28vw, 30rem);
  line-height: 1;
}

.remake-home .process-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.remake-home .process .eyebrow.outline {
  color: var(--rv-night);
}

.remake-home .process .section-heading h2,
.remake-home .process .section-heading p {
  color: var(--rv-night);
}

.remake-home .process-list {
  gap: 0;
  border-top: 1px solid rgba(7, 17, 31, 0.24);
}

.remake-home .process-list article {
  grid-template-columns: 50px 1fr;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid rgba(7, 17, 31, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.remake-home .process-list i {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 17, 31, 0.36);
  border-radius: 50%;
  background: transparent;
  color: var(--rv-night);
}

.remake-home .process-list p {
  color: rgba(7, 17, 31, 0.64);
}

/* Partners */
.remake-home .partners {
  background: #fff;
}

.remake-home .partner-marquee {
  border-top: 1px solid var(--rv-line);
  border-bottom: 1px solid var(--rv-line);
}

.remake-home .partner-item {
  border: 0;
  border-right: 1px solid var(--rv-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  filter: grayscale(1);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.remake-home .partner-item:hover {
  filter: grayscale(0);
}

.remake-home .partner-item-wide {
  min-width: 260px;
  filter: none;
}

.remake-home .partner-item-wide img {
  width: 86%;
  max-height: 68px;
  object-fit: contain;
}

.remake-home .partner-item-dev,
.remake-home .partner-item-step {
  padding: 24px 30px;
  background: #fff;
}

.remake-home .partner-item-dev img,
.remake-home .partner-item-step img,
.remake-home .partner-item:nth-child(7n + 2).partner-item-dev img {
  width: 100%;
  height: 88px;
  max-height: 88px;
  object-fit: contain;
  transform: none;
}

.remake-home .partner-item-dev img,
.remake-home .partner-item:nth-child(7n + 2).partner-item-dev img {
  filter: contrast(1.08) brightness(1.02);
}

@media (max-width: 620px) {
  .remake-home .partner-item-dev,
  .remake-home .partner-item-step {
    padding: 18px 24px;
  }

  .remake-home .partner-item-dev img,
  .remake-home .partner-item-step img,
  .remake-home .partner-item:nth-child(7n + 2).partner-item-dev img {
    height: 70px;
    max-height: 70px;
  }
}

/* Contact */
.remake-home .contact {
  position: relative;
  overflow: hidden;
  background: var(--rv-night);
}

.remake-home .contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 90%, rgba(23, 107, 232, 0.34), transparent 32%);
}

.remake-home .contact-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 17vw, 220px) minmax(0, 1fr);
  gap: clamp(34px, 4vw, 56px);
  align-items: stretch;
}

.remake-home .contact .section-heading h2 {
  color: #fff;
}

.remake-home .contact .section-heading > p {
  color: rgba(255, 255, 255, 0.6);
}

.remake-home .contact-list {
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--rv-line-dark);
}

.remake-home .contact-list a,
.remake-home .contact-list span {
  padding: 14px 0;
  border-bottom: 1px solid var(--rv-line-dark);
  color: rgba(255, 255, 255, 0.74);
}

.remake-home .contact-list i {
  color: var(--rv-lime);
}

.remake-home .contact-brand {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  opacity: 1;
  isolation: isolate;
}

.remake-home .contact-brand::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(116, 198, 255, 0.34) 16%,
    rgba(116, 198, 255, 0.34) 84%,
    transparent
  );
  transform: translateX(-50%);
}

.remake-home .contact-brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(116, 198, 255, 0.28);
  background:
    radial-gradient(circle at 50% 42%, rgba(23, 107, 232, 0.28), transparent 58%),
    #081b3a;
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
  box-shadow:
    0 0 0 12px rgba(8, 27, 58, 0.88),
    0 26px 60px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.remake-home .contact-brand img {
  position: relative;
  z-index: 1;
  width: min(92%, 200px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 0.98;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.remake-home .contact-form {
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 0;
  background: var(--rv-paper);
  box-shadow: 30px 30px 0 rgba(23, 107, 232, 0.18);
}

.remake-home .contact-form label {
  color: #40506a;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.remake-home .contact-form input,
.remake-home .contact-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(7, 17, 31, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--rv-night);
  caret-color: var(--rv-blue);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  font-variant: normal;
  font-variant-caps: normal;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none !important;
}

.remake-home .contact-form input::placeholder,
.remake-home .contact-form textarea::placeholder {
  color: rgba(8, 27, 58, 0.46);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
  text-transform: none;
}

.remake-home .contact-form input:focus,
.remake-home .contact-form textarea:focus {
  border-color: var(--rv-blue);
  box-shadow: none;
}

.remake-home .contact-form .btn {
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  background: var(--rv-blue);
  color: #fff;
}

.remake-home .contact-form .btn:hover {
  background: var(--rv-blue-deep);
}

/* Footer & floating contact */
.remake-home .site-footer {
  background: #030912;
}

.remake-home .footer-grid {
  align-items: flex-end;
  padding: 68px 0 42px;
}

.remake-home .footer-brand .brand-mark {
  width: 170px;
}

.remake-home .footer-links {
  justify-content: flex-end;
  gap: 22px;
}

.remake-home .footer-links a,
.remake-home .footer-bottom {
  font-family: var(--rv-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.remake-home .whatsapp-icon {
  background: var(--rv-lime);
  color: var(--rv-night);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

/* Responsive */
@media (max-width: 1120px) {
  .remake-home .main-nav ul {
    gap: 18px;
  }

  .remake-home .main-nav a,
  .remake-home .site-header.scrolled .main-nav a {
    font-size: 0.7rem;
  }

  .remake-home .hero-shell {
    gap: 46px;
  }

  .remake-home .hero h1 {
    font-size: clamp(3rem, 5.6vw, 5.45rem);
  }

  .remake-home .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .remake-home .contact-brand {
    display: none;
  }
}

@media (max-width: 900px) {
  .remake-home .container {
    width: min(100% - 40px, 760px);
  }

  .remake-home .site-header::after {
    left: 20px;
    right: 20px;
  }

  .remake-home .main-nav {
    top: 76px;
    background: rgba(7, 17, 31, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .remake-home .main-nav ul {
    gap: 0;
  }

  .remake-home .main-nav a,
  .remake-home .site-header.scrolled .main-nav a,
  .remake-home .site-header.menu-active .main-nav a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
  }

  .remake-home .hamburger {
    border-radius: 2px;
  }

  .remake-home .hero {
    min-height: 940px;
  }

  .remake-home .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .remake-home .hero-brief {
    display: none;
  }

  .remake-home .hero-content {
    max-width: 700px;
  }

  .remake-home .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }

  .remake-home .hero-trust-note,
  .remake-home .hero-scroll {
    display: none !important;
  }

  .remake-home .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .remake-home .service-card,
  .remake-home .service-card:first-child,
  .remake-home .service-card:nth-child(2),
  .remake-home .service-card:nth-child(6) {
    min-height: 310px;
    grid-column: span 1;
  }

  .remake-home .about-grid,
  .remake-home .process-grid,
  .remake-home .contact-grid {
    grid-template-columns: 1fr;
  }

  .remake-home .about-grid {
    gap: 80px;
  }

  .remake-home .about-media {
    max-width: 600px;
  }

  .remake-home .solution-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .remake-home .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .remake-home .portfolio-stage {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .remake-home .portfolio-panel {
    min-height: 430px;
  }

  .remake-home .solutions-cta {
    align-items: flex-start;
  }

  .remake-home .footer-grid,
  .remake-home .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .remake-home .container {
    width: min(100% - 32px, 560px);
  }

  .remake-home .section-pad {
    padding: 86px 0;
  }

  .remake-home .site-header {
    padding: 14px 0;
  }

  .remake-home .site-header .brand-mark {
    width: 116px;
    height: 38px;
  }

  .remake-home .site-header .brand-mark img {
    transform: translateY(-14px);
  }

  .remake-home .header-cta {
    display: none;
  }

  .remake-home .hero {
    min-height: 820px;
  }

  .remake-home .hero::before {
    background-size: 48px 48px;
  }

  .remake-home .hero-bg-image {
    object-position: 62% center;
  }

  .remake-home .hero-overlay,
  .remake-home .hero[data-slide="1"] .hero-overlay,
  .remake-home .hero[data-slide="2"] .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 27, 58, 0.84), rgba(8, 27, 58, 0.45)),
      linear-gradient(180deg, rgba(8, 27, 58, 0.05), rgba(8, 27, 58, 0.76));
  }

  .remake-home .hero-shell {
    padding-top: 125px;
  }

  .remake-home .hero-status {
    margin-bottom: 24px;
    font-size: 0.62rem;
  }

  .remake-home .hero h1 {
    margin-top: 18px;
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .remake-home .hero[data-slide="1"] h1 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .remake-home .hero[data-slide="2"] h1 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .remake-home .hero p {
    font-size: 0.98rem;
  }

  .remake-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .remake-home .hero-actions .btn {
    min-height: 54px;
    padding: 0 16px;
    font-size: 0.76rem;
  }

  .remake-home .hero-trust {
    bottom: 18px;
  }

  .remake-home .hero-trust > div {
    min-height: 76px;
    padding: 12px 10px;
  }

  .remake-home .hero-trust strong {
    font-size: 1rem;
  }

  .remake-home .hero-trust span {
    font-size: 0.55rem;
  }

  .remake-home .section-heading.centered {
    margin-bottom: 46px;
  }

  .remake-home .section-heading h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .remake-home .services-grid,
  .remake-home .solution-support-grid {
    grid-template-columns: 1fr;
  }

  .remake-home .service-card,
  .remake-home .service-card:first-child,
  .remake-home .service-card:nth-child(2),
  .remake-home .service-card:nth-child(6) {
    min-height: 300px;
  }

  .remake-home .about-media::before {
    inset: -10px 10px 10px -10px;
  }

  .remake-home .about-media img {
    box-shadow: 18px 18px 0 rgba(23, 107, 232, 0.2);
  }

  .remake-home .certificate-card {
    right: -6px;
    bottom: 16px;
    width: 210px;
  }

  .remake-home .about-stats {
    grid-template-columns: 1fr;
  }

  .remake-home .about-stat,
  .remake-home .about-stat:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--rv-line-dark);
  }

  .remake-home .about-stat:last-child {
    border-bottom: 0;
  }

  .remake-home .solution-support-card {
    min-height: 260px;
  }

  .remake-home .solutions-cta {
    display: block;
  }

  .remake-home .solutions-cta-btn {
    width: 100%;
    margin-top: 28px;
  }

  .remake-home .portfolio-heading,
  .remake-home .blog .section-heading.split {
    align-items: flex-start;
  }

  .remake-home .portfolio-stage {
    min-height: 380px;
  }

  .remake-home .portfolio-main-card {
    inset: 16px 48px 58px 16px;
  }

  .remake-home .portfolio-detail-card {
    right: 14px;
    bottom: 16px;
    height: 128px;
  }

  .remake-home .portfolio-panel {
    min-height: 420px;
    padding: 32px 24px;
  }

  .remake-home .process-grid {
    gap: 48px;
  }

  .remake-home .contact-form {
    padding: 28px 22px;
    box-shadow: 14px 14px 0 rgba(23, 107, 232, 0.2);
  }

  .remake-home .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .remake-home .hero-status span {
    animation: none;
  }
}

/* RoseVia 2026 — unified homepage topbar */
.remake-home .site-header,
.remake-home .site-header.scrolled,
.remake-home .site-header.menu-active {
  min-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(116, 198, 255, 0.2);
  background:
    radial-gradient(circle at 18% 0%, rgba(116, 198, 255, 0.2), transparent 25%),
    linear-gradient(100deg, rgba(8, 27, 58, 0.94), rgba(11, 42, 91, 0.93));
  color: #fff;
  box-shadow: 0 14px 40px rgba(2, 13, 31, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
}

.remake-home .site-header::after,
.remake-home .site-header.scrolled::after,
.remake-home .site-header.menu-active::after {
  display: none;
}

.remake-home .site-header .header-content {
  min-height: 48px;
  gap: 22px;
}

.remake-home .site-header .brand-mark {
  width: 126px;
  height: 42px;
}

.remake-home .site-header .brand-mark img {
  transform: translateY(-16px);
}

.remake-home .header-cta {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(116, 198, 255, 0.48);
  border-radius: 4px;
}

.remake-home .language-switcher,
.remake-home .site-header.scrolled .language-switcher,
.remake-home .site-header.menu-active .language-switcher,
.remake-home .hamburger {
  border-radius: 4px;
}

@media (max-width: 900px) {
  .remake-home .main-nav {
    top: 64px;
    border-color: rgba(116, 198, 255, 0.2);
    border-radius: 5px;
    background: rgba(8, 27, 58, 0.99);
    box-shadow: 0 18px 42px rgba(2, 13, 31, 0.3);
  }
}

@media (max-width: 620px) {
  .remake-home .site-header,
  .remake-home .site-header.scrolled,
  .remake-home .site-header.menu-active {
    min-height: 64px;
    padding: 8px 0;
  }

  .remake-home .site-header .brand-mark {
    width: 112px;
    height: 38px;
  }

  .remake-home .site-header .brand-mark img {
    transform: translateY(-14px);
  }
}
