:root {
  color-scheme: light;
  --ink: #12151a;
  --muted: #5b6472;
  --line: #dde3ea;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --accent: #24262a;
  --accent-strong: #111214;
  --warn: #f2b705;
  --road: #1e2b37;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(24, 35, 48, .12);
  font-family: "Trebuchet MS", Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

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

a,
button,
.btn,
.hero-call-card,
.guide-card,
.mobile-menu a {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

a:active,
button:active,
.btn:active,
.hero-call-card:active,
.guide-card:active,
.mobile-menu a:active {
  transform: scale(.985);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .18));
  border-bottom: 0;
  backdrop-filter: none;
}

.guide-header {
  position: relative;
  color: #fff;
  background: #24262a;
}

.brand,
.nav,
.hero-actions,
.trust-row,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -7px;
}

.menu-lines::after {
  top: 7px;
}

.mobile-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  z-index: 30;
  display: none;
  padding: 10px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(20, 24, 30, .12);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.mobile-menu[data-open] {
  display: grid;
}

.mobile-menu a {
  padding: 14px 12px;
  color: #171a1f;
  border-radius: 6px;
  font-weight: 800;
  transition: transform .12s ease, background .18s ease;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current] {
  background: #eef3f1;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  gap: 20px;
  color: rgba(255, 255, 255, .84);
  font-size: .95rem;
}

.nav a:hover {
  color: #fff;
}

.call-small,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 750;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.call-small {
  padding: 0 16px;
  color: #111;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1d7afc, #7b2ff7, #f2384f) border-box;
  border: 2px solid transparent;
}

.hero {
  display: grid;
  place-items: center;
  min-height: min(760px, 68vh);
  padding: 112px clamp(18px, 4vw, 56px) 58px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .62)),
    url("assets/images/hero-tractari.jpg") center / cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.hero-copy {
  width: min(100%, 980px);
}

.hero-panel {
  display: block;
  width: min(100%, 940px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 48px) clamp(20px, 5vw, 70px);
  border: 7px solid #fff;
  border-radius: 14px;
  background: rgba(0, 0, 0, .24);
}

.hero-call-card {
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.hero-call-card:hover {
  background: rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}

.hero-panel h1 span,
.hero-phone {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .12em;
}

.hero-phone {
  display: inline-block;
  margin-top: 26px;
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.hero-panel p {
  margin: 28px auto 0;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mobile-call {
  display: none;
}

.hero-actions,
.trust-row,
.hero-media {
  display: none;
}

.btn {
  padding: 0 20px;
  border: 1px solid transparent;
}

.btn.primary {
  color: #fff;
  background: var(--accent);
  border-color: rgba(255, 255, 255, .82);
}

.btn.primary:hover {
  background: var(--accent-strong);
}

.call-small:hover {
  color: #111;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1d7afc, #7b2ff7, #f2384f) border-box;
}

.btn.secondary {
  color: var(--road);
  background: #fff;
  border-color: var(--line);
}

.btn.whatsapp-btn {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}

.btn.whatsapp-btn:hover {
  color: #fff;
  background: #1ebe5a;
  border-color: #1ebe5a;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.trust-row div {
  min-width: 170px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-row dt {
  font-size: .95rem;
  font-weight: 850;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 22px -18px -18px 22px;
  z-index: -1;
  background: var(--warn);
  border-radius: var(--radius);
  content: "";
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .82);
  background: #2f3033;
  text-align: center;
}

.quick-contact p {
  max-width: 900px;
  margin: 0;
}

.quick-contact a {
  flex: 0 0 auto;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fraud-notice {
  padding: 10px clamp(18px, 4vw, 56px);
  color: #59616c;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #eef1f4;
}

.fraud-notice a {
  display: inline-block;
  max-width: 980px;
  font-size: .78rem;
  line-height: 1.45;
  text-decoration: none;
}

.fraud-notice a:hover {
  color: #22262c;
}

.english-section {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0;
}

.english-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.english-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.english-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.english-copy p {
  max-width: 690px;
  color: #333940;
  font-size: 1.12rem;
  line-height: 1.75;
}

.english-call {
  display: inline-block;
  margin-top: 18px;
  color: #1d2024;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section,
.band,
.cta {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
}

.service-grid article,
.post-card,
.price-panel {
  padding: 0;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  text-align: center;
}

.service-grid article {
  min-height: 0;
}

.service-grid h3 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.service-grid p {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.12rem;
  line-height: 1.7;
}

.service-grid p,
.post-card p,
.two-col p,
.band p,
.cta p {
  color: var(--muted);
}

.icon {
  display: block;
  width: 100%;
  height: 220px;
  margin-bottom: 22px;
  color: transparent;
  background: #d9dde1 url("assets/images/tractari-locale.jpg") center / cover;
  border-radius: 0;
  overflow: hidden;
}

.service-grid article:nth-child(2) .icon {
  background-image: url("assets/images/tractari-nationale.jpg");
}

.feature-section {
  display: grid;
  gap: clamp(54px, 7vw, 84px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 104px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.feature-image {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.feature-copy h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.feature-copy ul {
  display: grid;
  gap: 22px;
  margin: 42px 0 0;
  padding-left: 28px;
  color: #22262c;
  font-size: 1.12rem;
  line-height: 1.55;
  list-style-type: square;
}

.photo-carousel-section {
  padding: 0 clamp(18px, 4vw, 56px) clamp(58px, 8vw, 104px);
}

.photo-carousel {
  display: grid;
  grid-auto-columns: minmax(240px, 34vw);
  grid-auto-flow: column;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 0 18px;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}

.photo-carousel::-webkit-scrollbar {
  display: none;
}

.photo-carousel[data-dragging] {
  cursor: grabbing;
  scroll-snap-type: none;
}

.photo-carousel figure {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

.photo-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (min-width: 1180px) {
  .photo-carousel {
    grid-auto-columns: 340px;
  }
}

.band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 30px;
  align-items: start;
  background: var(--soft);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 720;
}

.two-col,
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 30px;
  align-items: center;
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.price-list p {
  margin: 0;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-card {
  min-height: 210px;
  transition: transform .18s ease, border-color .18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.post-card span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.guides-hero {
  display: grid;
  place-items: center;
  min-height: min(700px, 66vh);
  padding: clamp(92px, 10vw, 130px) clamp(18px, 4vw, 56px) clamp(48px, 7vw, 76px);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .62)),
    url("assets/images/hero-tractari.jpg") center / cover;
}

.guides-hero div {
  width: min(980px, 100%);
}

.guides-call-panel {
  margin: 0 auto;
}

.guides-mobile-call {
  margin-left: auto;
  margin-right: auto;
}

.guides-intro {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 70px) 0 0;
  text-align: center;
}

.guides-intro h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.guides-intro p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.18rem;
}

.guides-layout {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.guides-list {
  display: grid;
  gap: 14px;
}

.guide-card {
  display: block;
  padding: 22px;
  color: #20242a;
  background: #eef3f1;
  border: 1px solid #d8e3df;
  border-radius: var(--radius);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.guide-card:hover,
.guide-card[aria-current] {
  transform: translateY(-2px);
  background: #e4ece8;
  border-color: #b9cbc4;
}

.guide-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: #53665f;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.guide-card h2 {
  font-size: 1.25rem;
  line-height: 1.18;
}

.guide-card p {
  margin-bottom: 0;
  color: #5d676f;
}

.guide-reader {
  padding: clamp(26px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(24, 35, 48, .08);
}

.guide-reader h2 {
  margin-bottom: 24px;
}

.guide-reader h3 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.guide-reader p {
  color: #4f5965;
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-cta {
  margin-top: 34px;
}

.faq-section {
  padding-top: 0;
}

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

.faq-grid article {
  padding: 22px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-grid p {
  color: var(--muted);
}

.fraud-page {
  background: #fff;
}

.page-hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(92px, 10vw, 128px) 0 clamp(34px, 5vw, 58px);
}

.compact-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.compact-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.fraud-content {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(54px, 7vw, 92px);
}

.fraud-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.fraud-content p {
  color: #4f5965;
  font-size: 1.05rem;
  line-height: 1.78;
}

.fraud-content a {
  color: #1d5fbd;
  font-weight: 850;
}

.cta {
  margin: 0 clamp(18px, 4vw, 56px) clamp(38px, 5vw, 64px);
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  background: var(--road);
  border-radius: var(--radius);
}

.cta p,
.cta .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.privacy-note {
  max-width: 620px;
  font-size: .86rem;
}

.footer-stats-link {
  display: inline-grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #6f7884;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}

.footer-stats-link:hover {
  color: var(--ink);
  border-color: #aeb8c4;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .band,
  .two-col,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .english-section {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .guides-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .blog-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 12px;
    display: flex;
    transform: translateX(-50%);
  }

  .brand > span:not(.brand-mark) {
    display: none;
  }

  .brand-mark {
    width: 58px;
    height: 44px;
  }

  .call-small {
    padding: 0 12px;
    font-size: .9rem;
  }

  .quick-contact,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .quick-contact a {
    width: 100%;
  }

  .hero {
    min-height: 620px;
    padding-top: 98px;
  }

  .hero-panel {
    border-width: 5px;
    padding: 28px 12px;
  }

  .hero-phone {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-panel p {
    white-space: nowrap;
    font-size: clamp(1.02rem, 5.4vw, 1.5rem);
  }

  .hero-panel strong {
    white-space: nowrap;
    font-size: clamp(.74rem, 3.15vw, 1rem);
    letter-spacing: 0;
  }

  .mobile-call {
    display: inline-flex;
    justify-content: center;
    width: min(100%, 420px);
    margin-top: 18px;
    padding: 15px 18px;
    color: #111;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(90deg, #1d7afc, #7b2ff7, #f2384f) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 850;
  }

  .service-grid,
  .blog-grid,
  .faq-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .english-copy {
    text-align: center;
  }

  .feature-copy ul {
    margin-top: 24px;
  }

  .service-grid article,
  .post-card {
    min-height: auto;
  }
}
