/* ============================================================
   RG Mobile Tyre Services — Global Styles
   Palette: black / white / yellow
   Fonts: Inter (display) + Montserrat (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --gold:        #f0b400;
  --gold-light:  #ffca2b;
  --gold-dark:   #c89612;
  --gold-pale:   rgba(240, 180, 0, 0.12);
  --gold-border: rgba(240, 180, 0, 0.28);
  --gold-glow:   rgba(240, 180, 0, 0.16);

  --bg:          #0a0a0a;
  --bg-surface:  #111111;
  --bg-surface2: #161616;
  --bg-card:     #131313;

  --text:        #f5f0e8;
  --text-muted:  #9a9289;
  --text-dim:    #4a4540;

  --border:      #222222;

  --font-display: 'Inter', sans-serif;
  --font-body:   'Montserrat', sans-serif;

  --nav-height:  80px;
  --max-width:   1300px;
  --radius:      2px;
  --transition:  0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.15rem; }
p { font-size: 0.92rem; line-height: 1.85; color: var(--text-muted); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.text-center { text-align: center; }
.gold { color: var(--gold); }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: 100px 0; }

/* ── Accent Line ── */
.gold-line {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.gold-line.center { margin: 1.5rem auto; }

/* ── Section Header ── */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 540px; }
.section-header.center p { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: #111111;
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(240, 180, 0, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(245, 240, 232, 0.25);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(240, 180, 0, 0.32);
}

.btn--gold {
  background: var(--gold);
  color: #111111;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.15em;
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 180, 0, 0.32);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #ffffff;
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.btn--outline-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  transition: transform var(--transition);
  font-family: inherit;
}
.btn-arrow:hover::after { transform: translateX(5px); }

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 1.2rem;
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.card:hover .card-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}
.card h3,
.card h4 {
  margin-bottom: 10px;
  color: var(--text);
}
.card p { font-size: 0.88rem; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 48px 0 32px;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-surface2) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 180, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover { border-color: var(--gold-border); }
.gallery-item:hover::before { opacity: 1; }
.gallery-item span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface2) 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240, 180, 0, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 480px; margin: 0 auto 36px; }
.cta-band .btn-group { justify-content: center; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 160px 0 84px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 60%, rgba(240, 180, 0, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero__title em { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb .sep {
  color: var(--gold);
  font-size: 0.6rem;
}
.breadcrumb .current { color: var(--text-dim); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Gold List ── */
.gold-list li { padding-left: 0; }
.gold-list li::before { content: ''; }

/* ── Stat Item ── */
.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ════════════════════════════════
   NAVIGATION
   ════════════════════════════════ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 100%); /* ← adiciona isto */
}

.main-nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > a,
.nav-dropdown > .nav-trigger {
  padding: 8px 13px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: var(--radius);
  transition: color var(--transition);
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8), 0 0px 2px rgba(0,0,0,1); /* ← adiciona isto */
}

.nav-links > a:hover,
.nav-dropdown > .nav-trigger:hover,
.nav-links > a.active {
  color: var(--gold);
}

.nav-links > a.nav-active {
  color: var(--gold);
}

.nav-dropdown { position: relative; }

.nav-trigger .arr {
  font-size: 0.55rem;
  transition: transform 0.25s ease;
  margin-top: 1px;
}

.nav-dropdown:hover .arr,
.nav-dropdown.open .arr {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #131313;
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 230px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.dropdown-menu a {
  display: block;
  padding: 11px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 28px;
  background: rgba(240, 180, 0, 0.08);
}

.nav-cta {
  padding: 10px 26px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: #111111;
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(240, 180, 0, 0.30);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 24px) 32px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu > a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu > a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.mobile-section { border-bottom: 1px solid var(--border); }

.mobile-section-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.mobile-section-btn .plus {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  font-family: var(--font-body);
}

.mobile-section.open .mobile-section-btn .plus { transform: rotate(45deg); }
.mobile-section.open .mobile-section-btn { color: var(--gold); }

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-section.open .mobile-sub { max-height: 320px; }

.mobile-sub a {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 0 9px 20px;
  border-left: 2px solid var(--border);
  transition: all 0.2s ease;
}
.mobile-sub a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 26px;
}
.mobile-sub a:last-child { margin-bottom: 12px; }

.mobile-cta-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 36px;
  background: var(--gold);
  color: #111111;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-align: center;
  transition: background var(--transition) !important;
  border: none;
}
.mobile-cta-btn:hover {
  background: var(--gold-light) !important;
  color: #111111 !important;
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.main-footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 88px 0 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px 72px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.footer__logo {
  display: block;
}

.footer__logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-desc {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 28px;
  max-width: 270px;
}

.footer-social,
.footer__social {
  display: flex;
  gap: 10px;
}

.footer-social a,
.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  overflow: hidden; /* ← adiciona isto */
  flex-shrink: 0;   /* ← e isto */
}

.footer-social a svg,
.footer__social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}

.footer-social a:hover,
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: #ffffff; }

.footer-col p {
  font-size: 0.84rem;
  padding: 4px 0;
}

.footer-col a.footer-tel,
.footer-col a.footer-mail {
  color: var(--text-muted);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ── Strip / Ticker ── */
.strip {
  overflow: hidden;
  padding: 0.85rem 0;
  background: url('../images/stripe_brand.png') center center / cover repeat-x;
  position: relative;
}

.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  gap: 2rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.strip__dot {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Brand Slider — Global Standard
   Use the same block on every page
   ============================================================ */

.brands-slider {
  padding: 10px 0 20px;
  background: #ffffff;
}

.brands-slider .section-header {
  margin-bottom: 28px;
}

.brands-slider .section-header.center {
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.brands-slider .section-header.center h2 {
  margin: 0;
}

.brands-tape {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: brands-scroll 34s linear infinite;
  will-change: transform;
}

.brand-logo-card {
  width: 200px;
  min-width: 200px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.brand-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 180, 0, 0.18);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

.brand-logo-image {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes brands-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brand-logo-card {
    width: 170px;
    min-width: 170px;
    height: 88px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .brand-logo-image {
    max-height: 38px;
  }
}

@media (max-width: 480px) {
  .brands-slider {
    padding: 10px 0 16px;
  }

  .brand-logo-card {
    width: 154px;
    min-width: 154px;
    height: 82px;
    padding: 14px 16px;
  }

  .brand-logo-image {
    max-height: 34px;
  }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }

  .nav-container { padding: 0 24px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .container { padding: 0 24px; }
  section { padding: 72px 0; }

  .nav__logo-img {
    height: 36px;
  }

  .footer__logo-img {
    height: 26px;
  }

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

  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 24px;
  }

  .cta-band { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .brand-logo-card {
    flex-basis: 160px;
    height: 76px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 26px; }
}