/* =========================================================
   SOFCON — Furniture Moving, Qatar
   Custom RTL design system
   ========================================================= */

:root {
  --ink: #15120f;
  --ink-2: #211c18;
  --ink-3: #5b514a;
  --muted: #776b62;
  --paper: #f8f4ee;
  --paper-2: #efe7dc;
  --white: #ffffff;
  --red: #e2232b;
  --red-dark: #bd121a;
  --red-soft: rgba(226, 35, 43, 0.08);
  --green: #25d366;
  --line: rgba(21, 18, 15, 0.12);
  --line-soft: rgba(21, 18, 15, 0.07);

  --font-display: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-sm: 0 6px 20px -10px rgba(21, 18, 15, 0.18);
  --shadow-md: 0 22px 60px -30px rgba(21, 18, 15, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(21, 18, 15, 0.45);

  --container: min(1240px, 92vw);
  --header-h: 88px;
  --section-y: clamp(72px, 9vw, 128px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.skip-link:focus {
  transform: none;
  opacity: 1;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 210;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 238, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 238, 0.95);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -28px rgba(21, 18, 15, 0.5);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 14px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 8px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline-start: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(50%) scale(0);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: translateX(50%) scale(1);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  direction: ltr;
  transition: color 0.25s ease;
}

.nav-phone .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.nav-phone:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  z-index: 120;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease,
    transform 0.28s ease, box-shadow 0.28s ease;
}

.btn .icon {
  width: 19px;
  height: 19px;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 32px -16px rgba(226, 35, 43, 0.65);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(226, 35, 43, 0.7);
}

.btn--ghost {
  border-color: rgba(21, 18, 15, 0.28);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 17px;
  font-size: 0.86rem;
}

.btn--sm .icon {
  width: 16px;
  height: 16px;
}

.btn--block {
  width: 100%;
}

/* ---------- Shared section pieces ---------- */
.section {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 10px);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.26;
  letter-spacing: -0.01em;
  margin-top: 22px;
  text-wrap: balance;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-lead {
  max-width: 400px;
  color: var(--ink-3);
  line-height: 2;
  padding-bottom: 8px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}

.kicker b {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
}

.kicker i {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--red);
  opacity: 0.8;
}

.kicker--light {
  color: rgba(248, 244, 238, 0.66);
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--ink-2);
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--red);
  gap: 12px;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.9);
}

.text-link--light:hover {
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(46px, 7vw, 88px));
  padding-bottom: clamp(50px, 6vw, 90px);
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(226, 35, 43, 0.08), transparent 62%),
    radial-gradient(700px 480px at 4% 100%, rgba(226, 35, 43, 0.05), transparent 70%),
    var(--paper);
}

.hero::after {
  content: "SOFCON";
  position: absolute;
  bottom: -6vw;
  inset-inline-start: -2vw;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(7rem, 17vw, 17rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 18, 15, 0.06);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(36px, 5.5vw, 86px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(226, 35, 43, 0.12);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.55rem, 4.75vw, 4.65rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.hl {
  color: var(--red);
  background-image: linear-gradient(rgba(226, 35, 43, 0.18), rgba(226, 35, 43, 0.18));
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 86%;
}

.stroke {
  color: var(--ink);
}

@supports ((-webkit-text-stroke: 1px black)) {
  .stroke {
    color: transparent;
    -webkit-text-stroke: 1.4px var(--ink);
  }
}

.hero-lead {
  max-width: 55ch;
  margin-top: 24px;
  color: var(--ink-3);
  line-height: 2.05;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-chips .icon {
  width: 15px;
  height: 15px;
  padding: 3px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  box-sizing: content-box;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat + .hero-stat {
  padding-inline-start: clamp(18px, 3vw, 36px);
  border-inline-start: 1px solid var(--line);
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero media / slider */
.hero-media {
  position: relative;
  height: clamp(470px, 64vh, 668px);
  border-radius: 30px 30px 30px 132px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px 20px 20px 118px;
  pointer-events: none;
}

.slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.1);
  transition: transform 7s ease;
}

.slide.is-active img {
  transform: scale(1.01);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(12, 10, 8, 0.82) 0%, rgba(12, 10, 8, 0.28) 34%, rgba(12, 10, 8, 0) 58%),
    linear-gradient(to bottom, rgba(12, 10, 8, 0.18), transparent 26%);
  pointer-events: none;
}

.slide-progress {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.slide-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}

@keyframes slideProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-seal {
  position: absolute;
  z-index: 4;
  top: 26px;
  inset-inline-start: 26px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
}

.hero-seal__ring {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: sealSpin 30s linear infinite;
}

.hero-seal__word {
  font-family: var(--font-display);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-seal__icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.hero-seal__country {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
}

@keyframes sealSpin {
  to { transform: rotate(360deg); }
}

.slide-caption {
  position: absolute;
  z-index: 4;
  inset-inline: 28px;
  bottom: 88px;
  color: #fff;
}

.slide-caption__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(12, 10, 8, 0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.slide-caption p {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.slide-caption p,
.slide-caption__tag {
  animation: captionIn 0.6s ease both;
}

@keyframes captionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.slider-ui {
  position: absolute;
  z-index: 5;
  inset-inline: 28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.slider-btn .icon {
  width: 18px;
  height: 18px;
}

.slider-btn[data-next] .icon {
  transform: rotate(-90deg);
}

.slider-btn[data-prev] .icon {
  transform: rotate(90deg);
}

.slider-btn:hover {
  background: #fff;
  color: var(--ink);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease, background 0.3s ease;
}

.slider-dot.is-active {
  width: 26px;
  background: #fff;
}

.slider-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
}

.slider-count i {
  font-style: normal;
  opacity: 0.5;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--red);
  color: var(--paper);
  overflow: hidden;
  padding-block: 15px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 30px;
  padding-inline-end: 30px;
}

.marquee__group span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.marquee__group .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(248, 244, 238, 0.55);
}

@keyframes marquee {
  to { transform: translateX(50%); }
}

/* ---------- About ---------- */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.about-copy .lead {
  margin-top: 26px;
}

.about-copy > p:not(.lead) {
  margin-top: 16px;
  color: var(--ink-3);
  line-height: 2.05;
}

.about-sign {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.about-sign::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
}

.vm-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.vm-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.vm-card__icon .icon {
  width: 22px;
  height: 22px;
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 14px;
}

.vm-card p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.about-visual {
  position: relative;
  padding-block: 18px 46px;
}

.about-frame {
  position: relative;
  width: 82%;
  margin-inline-start: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px 24px 24px 110px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px 16px 16px 96px;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.about-secondary {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 51%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 55%;
  border: 8px solid var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  top: 0;
  inset-inline-start: 2%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  line-height: 1.5;
}

.about-badge .icon {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.about-badge b {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

/* ---------- Services ---------- */
.services {
  background: var(--paper-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: var(--start, right);
  transition: transform 0.4s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -38px rgba(21, 18, 15, 0.45);
  border-color: transparent;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  transition: background 0.3s ease, color 0.3s ease;
}

.service__icon .icon {
  width: 25px;
  height: 25px;
}

.service__num {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(21, 18, 15, 0.28);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 22px;
}

.service p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.service .text-link {
  margin-top: auto;
  padding-top: 16px;
}

/* Featured service */
.service--featured {
  grid-column: span 2;
  justify-content: flex-end;
  min-height: 330px;
  padding: 0;
  border: 0;
  color: #fff;
}

.service--featured::before {
  display: none;
}

.service--featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.service--featured:hover img {
  transform: scale(1.07);
}

.service--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.9) 4%, rgba(12, 10, 8, 0.42) 48%, rgba(12, 10, 8, 0.08) 82%);
}

.service-featured__body {
  position: relative;
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service--featured .service__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.service--featured .service__num {
  top: auto;
  bottom: 32px;
  color: rgba(255, 255, 255, 0.5);
}

.service--featured h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-top: 20px;
}

.service--featured p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}

.service--featured .text-link {
  color: #fff;
  padding-top: 18px;
}

.service--featured .text-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* CTA tile */
.service--cta {
  background: var(--red);
  color: #fff;
  border-color: transparent;
  min-height: 244px;
}

.service--cta::before {
  display: none;
}

.service--cta .service__icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.service--cta h3 {
  font-size: 1.25rem;
}

.service--cta p {
  color: rgba(255, 255, 255, 0.8);
}

.service--cta .text-link {
  color: #fff;
}

.service--cta:hover {
  background: var(--red-dark);
  transform: translateY(-5px);
}

/* ---------- Why ---------- */
.why {
  position: relative;
  background:
    radial-gradient(700px 420px at 8% 100%, rgba(226, 35, 43, 0.16), transparent 68%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(44px, 6.5vw, 96px);
}

.why-visual {
  order: 2;
  position: relative;
  padding-block: 0 34px;
}

.why-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.why-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.55), transparent 46%);
}

.why-note {
  position: absolute;
  bottom: 0;
  inset-inline-start: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(248, 244, 238, 0.96);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.why-note__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
}

.why-note__icon .icon {
  width: 21px;
  height: 21px;
}

.why-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.why-note span:not(.why-note__icon) {
  font-size: 0.78rem;
  color: var(--muted);
}

.why-stamp {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px dashed rgba(248, 244, 238, 0.55);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  transform: rotate(-8deg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(12, 10, 8, 0.18);
}

.why-copy {
  order: 1;
}

.why-copy .section-title {
  color: var(--paper);
}

.why-lead {
  margin-top: 18px;
  color: rgba(248, 244, 238, 0.64);
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-top: 34px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-block: 17px;
  border-top: 1px solid rgba(248, 244, 238, 0.13);
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(248, 244, 238, 0.88);
}

.why-list li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  flex-shrink: 0;
}

.why-list .icon {
  width: 13px;
  height: 13px;
}

.why-quote {
  position: relative;
  margin-top: 34px;
  padding: 26px 30px;
  background: rgba(248, 244, 238, 0.045);
  border: 1px solid rgba(248, 244, 238, 0.09);
  border-inline-start: 2px solid var(--red);
  border-radius: 0 18px 18px 0;
}

.quote-mark {
  width: 30px;
  height: 22px;
  color: var(--red);
  margin-bottom: 12px;
}

.why-quote p {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(248, 244, 238, 0.82);
}

.why-quote footer {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(248, 244, 238, 0.5);
}

/* ---------- Process ---------- */
.process {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -3.5px;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 18, 15, 0.32);
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}

.step:hover .step__num {
  color: var(--red);
  -webkit-text-stroke-color: var(--red);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 18px;
}

.step p {
  margin-top: 8px;
  font-size: 0.87rem;
  line-height: 1.9;
  color: var(--ink-3);
}

/* ---------- CTA band ---------- */
.cta-section {
  padding-top: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  min-height: clamp(400px, 42vw, 500px);
  display: flex;
  align-items: center;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to left, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.7) 42%, rgba(10, 8, 7, 0.12) 78%),
    linear-gradient(to top, rgba(10, 8, 7, 0.45), transparent 60%);
}

.cta-band__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: clamp(34px, 6vw, 80px);
  color: #fff;
}

.cta-band__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 20px;
  text-wrap: balance;
}

.cta-band__content > p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  max-width: 46ch;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-copy .lead {
  margin-top: 24px;
  max-width: 46ch;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
  transform: translateX(-4px);
  border-color: rgba(226, 35, 43, 0.28);
  box-shadow: var(--shadow-sm);
}

.contact-link__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.contact-link__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-link__icon--wa {
  background: rgba(37, 211, 102, 0.1);
  color: #1aad55;
}

.contact-link__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.contact-link__body small {
  font-size: 0.75rem;
  color: var(--muted);
}

.contact-link__body strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-link__arrow {
  width: 18px;
  height: 18px;
  margin-inline-start: auto;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-link:hover .contact-link__arrow {
  color: var(--red);
  transform: translateX(-3px);
}

.contact-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.83rem;
  line-height: 1.8;
  color: var(--muted);
}

.contact-footnote .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--red);
}

/* Form */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.6vw, 40px);
  box-shadow: var(--shadow-md);
}

.contact-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  flex-shrink: 0;
}

.contact-card__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-card__head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-card__head p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field label span {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #fbf8f4;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2978d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 35, 43, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23776b62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  padding-inline-start: 40px;
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
  background: rgba(226, 35, 43, 0.03);
}

.form-error {
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--red-dark);
}

.form-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.form-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: #1aad55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(248, 244, 238, 0.66);
  padding-top: clamp(56px, 7vw, 84px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.95fr 1.05fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 50px;
}

.brand--footer {
  display: inline-flex;
  padding: 10px 16px;
  background: var(--paper);
  border-radius: 12px;
}

.brand--footer img {
  width: 156px;
  height: auto;
}

.footer-brand > p {
  margin-top: 22px;
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(248, 244, 238, 0.56);
  max-width: 30ch;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 244, 238, 0.16);
  border-radius: 50%;
  color: var(--paper);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.footer-social .icon {
  width: 18px;
  height: 18px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col li > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  color: rgba(248, 244, 238, 0.6);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(248, 244, 238, 0.1);
  font-size: 0.8rem;
  color: rgba(248, 244, 238, 0.45);
}

.footer-tag {
  letter-spacing: 0.08em;
}

/* ---------- Floating elements ---------- */
.whatsapp-float {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65);
  transition: transform 0.25s ease;
}

.whatsapp-float .icon {
  width: 28px;
  height: 28px;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.6s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.to-top {
  position: fixed;
  z-index: 80;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.to-top .icon {
  width: 19px;
  height: 19px;
}

.to-top:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  :root {
    --header-h: 80px;
  }

  .brand img {
    width: 160px;
  }

  .nav {
    gap: 12px;
  }

  .nav-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .hero-seal {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 1080px) {
  /* backdrop-filter creates a containing block for the fixed menu */
  .site-header,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .nav-toggle {
    display: grid;
  }

  .header-inner .brand {
    position: relative;
    z-index: 120;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    padding: calc(var(--header-h) + 26px) 6vw 40px;
    background: var(--paper);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    font-weight: 700;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav-link::after {
    position: static;
    transform: none;
    width: 6px;
    height: 6px;
    order: -1;
    opacity: 0;
  }

  .nav-link.is-active::after,
  .nav-link:hover::after {
    transform: none;
    opacity: 1;
  }

  .nav-contact {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-contact .nav-phone {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
    z-index: 110;
  }

  .hero {
    padding-top: calc(var(--header-h) + 46px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-media {
    height: min(620px, 88vw);
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  .hero::after {
    display: none;
  }

  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-copy {
    max-width: 720px;
  }

  .about-visual {
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .why-visual {
    order: 1;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .why-copy {
    order: 2;
  }

  .why-frame {
    aspect-ratio: 4 / 4.4;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-lead {
    max-width: 620px;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 22px;
  }

  .step:last-child {
    grid-column: span 2;
    max-width: calc(50% - 11px);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
    --section-y: 64px;
  }

  .brand img {
    width: 140px;
  }

  .hero {
    padding-bottom: 46px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 8.8vw, 3rem);
  }

  .stroke {
    -webkit-text-stroke-width: 1px;
  }

  .hero-lead {
    line-height: 1.95;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stat + .hero-stat {
    padding-inline-start: 14px;
  }

  .hero-stat span {
    font-size: 0.72rem;
  }

  .hero-media {
    height: min(540px, 118vw);
    border-radius: 24px 24px 24px 88px;
  }

  .hero-media::after {
    inset: 10px;
    border-radius: 16px 16px 16px 78px;
  }

  .hero-seal {
    width: 94px;
    height: 94px;
    top: 18px;
    inset-inline-start: 18px;
  }

  .hero-seal__icon {
    width: 24px;
    height: 24px;
  }

  .slide-caption {
    inset-inline: 20px;
    bottom: 78px;
  }

  .slider-ui {
    inset-inline: 20px;
    bottom: 18px;
    gap: 8px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .slider-count {
    font-size: 0.76rem;
  }

  .marquee {
    padding-block: 12px;
  }

  .marquee__group span {
    font-size: 0.85rem;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    padding-bottom: 30px;
  }

  .about-badge {
    top: 8px;
    font-size: 0.72rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service,
  .service--cta {
    min-height: 210px;
  }

  .service--featured {
    grid-column: span 1;
    min-height: 360px;
  }

  .service--featured .service__num {
    display: none;
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why-quote {
    padding: 22px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .step:last-child {
    grid-column: auto;
    max-width: none;
  }

  .cta-band {
    min-height: 0;
    border-radius: 24px;
  }

  .cta-band__overlay {
    background: linear-gradient(to top, rgba(10, 8, 7, 0.92) 10%, rgba(10, 8, 7, 0.55) 60%, rgba(10, 8, 7, 0.25));
  }

  .cta-band__content {
    padding: 34px 24px;
  }

  .cta-band__content .hero-actions .btn {
    flex: 1 1 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-col--contact {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .whatsapp-float {
    bottom: 16px;
    inset-inline-start: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float .icon {
    width: 26px;
    height: 26px;
  }

  .to-top {
    bottom: 16px;
    inset-inline-end: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 420px) {
  .container {
    width: 90vw;
  }

  .hero-chips {
    gap: 8px 16px;
  }

  .hero-chips li {
    font-size: 0.82rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .slider-dots {
    display: none;
  }

  .about-secondary {
    width: 58%;
    border-width: 5px;
  }

  .contact-link__body strong {
    font-size: 0.9rem;
  }
}

/* =========================================================
   Inner pages
   ========================================================= */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(720px 380px at 92% 0%, rgba(226, 35, 43, 0.07), transparent 70%),
    var(--paper);
  overflow: hidden;
}

.page-hero::after {
  content: "SOFCON";
  position: absolute;
  inset-inline-end: -0.06em;
  bottom: -0.2em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 18, 15, 0.055);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.page-hero__copy {
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-2);
  font-weight: 600;
}

.breadcrumb i {
  width: 14px;
  height: 1px;
  background: var(--line);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 18px;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 58ch;
  margin-top: 20px;
}

.page-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px 24px 24px 92px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px 16px 16px 80px;
  pointer-events: none;
}

.page-hero__tag {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  inset-inline-start: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(15, 12, 10, 0.82);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-hero__tag .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.page-hero--plain .page-hero__copy {
  max-width: 820px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section-head__side {
  display: grid;
  gap: 16px;
  max-width: 430px;
}

.section-head__side .section-lead {
  padding-bottom: 0;
}

/* ---------- Why teaser (home) ---------- */
.why--teaser .why-teaser {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.why-teaser__copy > p:not(.section-title) {
  max-width: 52ch;
  margin-top: 20px;
  color: rgba(248, 244, 238, 0.68);
  line-height: 2;
}

.why-teaser__copy .btn {
  margin-top: 28px;
}

.why-teaser__list {
  display: grid;
  gap: 12px;
}

.why-teaser__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(248, 244, 238, 0.045);
  border: 1px solid rgba(248, 244, 238, 0.1);
  border-radius: 14px;
  font-size: 0.92rem;
  color: rgba(248, 244, 238, 0.82);
}

.why-teaser__list li > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
}

.why-teaser__list .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Contact teaser (home) ---------- */
.contact--teaser {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.contact-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.contact-teaser .contact-links {
  margin-top: 0;
}

.contact-teaser .btn {
  margin-top: 18px;
}

/* ---------- About page ---------- */
.about-story .about-copy > p + p {
  margin-top: 14px;
}

.vm-grid--wide {
  max-width: 960px;
  gap: 18px;
}

.vm-grid--wide .vm-card {
  padding: 32px;
}

.values-section {
  background: var(--paper-2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.value-card__icon .icon {
  width: 23px;
  height: 23px;
}

.value-card h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.value-card p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-block: 30px;
  border-block: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}

.stat-item span {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.gallery figure:hover img {
  transform: scale(1.045);
}

.gallery figcaption {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(15, 12, 10, 0.72);
  color: #fff;
  font-size: 0.76rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Services page ---------- */
.services-detail {
  background: var(--paper);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.service-row + .service-row {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.service-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px 22px 22px 74px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.service-row:hover .service-row__media img {
  transform: scale(1.035);
}

.service-row:nth-child(even) .service-row__media {
  order: 2;
}

.service-row__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-row__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 18, 15, 0.3);
}

.service-row h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
}

.service-row > .service-row__body > p {
  max-width: 54ch;
  margin-top: 12px;
  color: var(--ink-3);
  line-height: 2;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 20px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.service-features .icon {
  width: 15px;
  height: 15px;
  margin-top: 7px;
  color: var(--red);
}

.service-row .text-link {
  margin-top: 24px;
}

/* ---------- Why page ---------- */
.reasons-section {
  background: var(--paper-2);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reason {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.reason__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
}

.reason__icon .icon {
  width: 24px;
  height: 24px;
}

.reason__num {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(21, 18, 15, 0.28);
}

.reason h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.reason p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.quote-band {
  position: relative;
  padding-block: clamp(56px, 7vw, 90px);
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(226, 35, 43, 0.18), transparent 68%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.quote-band__inner {
  max-width: 940px;
  margin-inline: auto;
}

.quote-band .why-quote {
  margin-top: 0;
}

.quote-band .why-quote p {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 2.05;
}

/* ---------- Contact page ---------- */
.contact--page {
  padding-top: clamp(16px, 3vw, 32px);
}

.contact-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.contact-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-notes .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.area-section {
  background: var(--paper-2);
}

.area-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.area-card .section-title {
  margin-top: 0;
}

.area-card p {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-3);
  line-height: 2;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.area-chips li {
  padding: 8px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1080px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero__copy {
    max-width: 720px;
  }

  .page-hero__media {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .why--teaser .why-teaser,
  .contact-teaser {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-row:nth-child(even) .service-row__media {
    order: 0;
  }

  .service-row__media {
    max-width: 640px;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 34px);
  }

  .page-hero::after {
    font-size: 7rem;
  }

  .page-title {
    font-size: clamp(1.95rem, 8vw, 2.6rem);
  }

  .breadcrumb {
    margin-bottom: 18px;
  }

  .page-hero__media {
    aspect-ratio: 4 / 3.2;
    border-radius: 22px 22px 22px 64px;
  }

  .page-hero__media::after {
    inset: 9px;
    border-radius: 15px 15px 15px 56px;
  }

  .page-hero__tag {
    bottom: 16px;
    inset-inline-start: 16px;
    font-size: 0.74rem;
  }

  .why-teaser__list li {
    padding: 14px 16px;
  }

  .service-row__media {
    aspect-ratio: 16 / 11;
    border-radius: 20px 20px 20px 56px;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .reasons-grid,
  .values-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .stats-band {
    gap: 14px;
  }

  .stat-item strong {
    font-size: 2rem;
  }

  .stat-item span {
    font-size: 0.76rem;
  }

  .gallery figure {
    aspect-ratio: 16 / 10;
  }

  .area-card .section-title {
    font-size: 1.7rem;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .slide img {
    transform: none;
  }
}
