/* ================================================================
   MECCAR — NEW WEB | style.css
   Design System · Mobile-First · Vanilla CSS
   ================================================================

   TABLE OF CONTENTS
   -----------------
   1.  Google Fonts + Custom Fonts
   2.  CSS Variables (Design Tokens)
   3.  Reset & Base
   4.  Typography
   5.  Utility Classes
   6.  Layout Helpers
   7.  HEADER & NAV
   8.  HERO BANNER (CSS Slider)
   9.  SERVICES SECTION
  10.  SERVICE DETAIL PANEL
  11.  ABOUT US
  12.  BRANDS STRIP
  13.  VIDEO SECTION
  14.  REVIEWS (VIEWS) SECTION
  15.  TEAM SECTION
  16.  CONTACT CTA BANNER
  17.  FOOTER
  18.  FLOAT BUTTONS (WhatsApp / Email / ScrollUp)
  19.  VIDEO POPUP
  20.  ANIMATIONS
  21.  RESPONSIVE BREAKPOINTS

================================================================ */

/* ----------------------------------------------------------------
   1. Google Fonts + Custom Fonts
---------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700;800&family=Sarabun:wght@300;400;500;600&family=Bebas+Neue&display=swap");

/* MECCAR Branding Fonts */
@font-face {
  font-family: 'Annapolis';
  src: url('../fonts/annapolis.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AnnapolisCondItal';
  src: url('../fonts/annapoliscondital.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'AnnapolisSuper';
  src: url('../fonts/annapolissuperital.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DaysOne';
  src: url('../fonts/DaysOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}
/* Legacy Gotham */
@font-face {
  font-family: 'GothamNarrow';
  src: url('../fonts/GothamNarrow-Book.otf') format('opentype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GothamLight';
  src: url('../fonts/Gotham-Light.otf') format('opentype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GothamBold';
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
  font-weight: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------
   2. CSS Variables (Design Tokens)
---------------------------------------------------------------- */
:root {
  /* Colors */
  --clr-primary:    #ee7d00;
  --clr-primary-dk: #c56400;
  --clr-bg:         #101010;
  --clr-bg-2:       #181818;
  --clr-bg-3:       #1e1e1e;
  --clr-surface:    #242424;
  --clr-border:     rgba(255,255,255,0.08);
  --clr-white:      #ffffff;
  --clr-body:       #c8c8c8;
  --clr-muted:      #888888;

  /* Typography */
  --font-body:    'GothamLight', 'Sarabun', sans-serif;
  --font-heading: 'Bebas Neue', serif;
  --font-ui:      'GothamNarrow', 'Oxanium', sans-serif;
  --font-bold:    'GothamBold', sans-serif;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  100px;
  --space-2xl: 140px;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: 0.2s var(--ease);
  --trans-base: 0.35s var(--ease);
  --trans-slow: 0.6s var(--ease);

  /* Header */
  --header-h: 80px;
}

/* ----------------------------------------------------------------
   3. Reset & Base
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

a:hover { color: var(--clr-primary); }

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

button {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  transition: var(--trans-fast);
}

/* ----------------------------------------------------------------
   4. Typography
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  color: var(--clr-white);
  line-height: 1.1;
  font-weight: 400;
}

h1 { font-size: clamp(48px, 6vw, 80px); }
h2 { font-size: clamp(36px, 4.5vw, 56px); }
h3 { font-size: clamp(28px, 3vw, 40px); }
h4 { font-size: clamp(22px, 2.5vw, 30px); }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p { color: var(--clr-body); line-height: 1.7; }

/* ----------------------------------------------------------------
   5. Utility Classes
---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-gap        { padding: var(--space-xl) 0; }
.section-gap-sm     { padding: var(--space-lg) 0; }

.text-primary       { color: var(--clr-primary); }
.text-white         { color: var(--clr-white); }
.text-muted         { color: var(--clr-muted); }

.label-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--clr-white);
  margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   6. Layout Helpers
---------------------------------------------------------------- */
.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.grid-2         { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.grid-3         { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

/* ----------------------------------------------------------------
   7. HEADER & NAV
---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Racing stripes: 3px alternando 80% e 50% de transparência */
  background:
    repeating-linear-gradient(
      -60deg,
      rgba(0, 0, 0, 0.80) 0px,
      rgba(0, 0, 0, 0.80) 3px,
      rgba(0, 0, 0, 0.50) 3px,
      rgba(0, 0, 0, 0.50) 6px
    );
  transition: background var(--trans-base), box-shadow var(--trans-base);
}

.site-header.scrolled {
  background:
    repeating-linear-gradient(
      -60deg,
      rgba(0, 0, 0, 0.90) 0px,
      rgba(0, 0, 0, 0.90) 3px,
      rgba(0, 0, 0, 0.60) 3px,
      rgba(0, 0, 0, 0.60) 6px
    );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border), 0 8px 32px rgba(0,0,0,0.4);
}

/* .site-header.scrolled.hide-header {
  transform: translateY(-100%);
} */

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 38px;  /* 32px × 1.2 */
  width: auto;
  transition: opacity var(--trans-fast);
}

.header-logo:hover img { opacity: 0.85; }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  font-family: 'DaysOne', 'GothamNarrow', sans-serif;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-white);
  min-width: 80px;
  text-align: center;
  padding: 8px 10px;
  transition: color var(--trans-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--trans-base);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Right: Lang + Login */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switcher,
.mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 1px;
}

.lang-switcher .lang-btn,
.mobile-lang .lang-btn {
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 50px;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  background: none;
  font-family: var(--font-ui);
  /* Stable width so switching languages doesn't shift layout */
  min-width: 45px;
  text-align: center;
}

.lang-switcher .lang-btn:hover,
.lang-switcher .lang-btn.active,
.mobile-lang .lang-btn:hover,
.mobile-lang .lang-btn.active {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.lang-sep {
  color: var(--clr-border);
  font-size: 15px;
}

.btn-login {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: var(--clr-white);
  transition: all var(--trans-fast);
  white-space: nowrap;
  width: 100px;
  display: inline-block;
  text-align: center;
}

.btn-login:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(238,125,0,0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--trans-base);
  border-radius: 2px;
}

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

/* Mobile Menu Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--trans-base);
}

.mobile-nav-overlay.open { opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--clr-bg-2);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--space-md) var(--space-md);
  transform: translateX(100%);
  transition: transform var(--trans-base);
  border-left: 1px solid var(--clr-border);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-ui);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--trans-fast);
}

.mobile-nav a:hover { color: var(--clr-primary); }

.mobile-nav .mobile-lang {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
}

/* Common Button — Rounded */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid var(--clr-primary);
  border-radius: 50px;
  color: var(--clr-white);
  background: transparent;
  cursor: pointer;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-primary);
  border-radius: 50px;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
  z-index: -1;
}

.btn:hover { color: var(--clr-white); }
.btn:hover::before { transform: scale(1); }

.btn-solid {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-solid::before {
  background: var(--clr-primary-dk);
}

/* ----------------------------------------------------------------
   8. HERO BANNER (CSS Auto-Slider)
---------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

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

.hero-slide.active img {
  transform: scale(1.04);
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 3;
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero-content .container {
  padding-top: 20px;
}

.hero-logo {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 0.2s, transform 0.7s var(--ease) 0.2s;
}

.hero-logo img {
  width: 375px;  /* 2.5x */
  height: auto;
  max-width: 375px;
}

.hero-slide.active .hero-logo {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 16px;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 0.35s, transform 0.7s var(--ease) 0.35s;
}

.hero-slide.active .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  color: var(--clr-white);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease) 0.45s, transform 0.7s var(--ease) 0.45s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateX(0);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 74px);
  color: var(--clr-primary);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease) 0.58s, transform 0.7s var(--ease) 0.58s;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateX(0);
}

.hero-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) 0.65s, transform 0.7s var(--ease) 0.65s;
}

.hero-slide.active .hero-icon-row {
  opacity: 1;
  transform: translateY(0);
}

.hero-icon-row img {
  height: 140px;  /* 0.5x de 280px */
  width: auto;
}

.hero-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) 0.72s, transform 0.7s var(--ease) 0.72s;
}

.hero-slide.active .hero-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hero social sidebar */
.hero-social {
  position: absolute;
  left: 30px;
  bottom: 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-social a img {
  width: 22px;
  height: 22px;
  filter: brightness(0.7);
  transition: filter var(--trans-fast);
}

.hero-social a:hover img { filter: brightness(1); }

.hero-social-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 30px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--trans-base);
  border: none;
}

.hero-dot.active {
  background: var(--clr-primary);
  transform: scale(1.3);
}

/* ----------------------------------------------------------------
   9. SERVICES SECTION
---------------------------------------------------------------- */
#services {
  padding-top: 0;
  padding-bottom: 0;
  /* Full viewport width strip */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 100%;
}

.service-card {
  position: relative;
  padding: 56px 44px;
  border: 1px solid var(--clr-border);
  border-top: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--trans-base), background var(--trans-base);
  background: var(--clr-bg);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-base);
}

.service-card:hover::before,
.service-card.active::before {
  transform: scaleX(1);
}

.service-card:hover,
.service-card.active {
  background: var(--clr-bg-2);
  border-color: rgba(238,125,0,0.2);
}

.service-card-icon {
  margin-bottom: 28px;
}

.service-card-icon img {
  height: 230px;
  width: auto;
  transition: transform var(--trans-base), filter var(--trans-base);
  filter: drop-shadow(0 8px 24px rgba(238,125,0,0.08));
}

.service-card:hover .service-card-icon img {
  filter: drop-shadow(0 12px 32px rgba(238,125,0,0.22));
}

.service-card:hover .service-card-icon img {
  transform: scale(1.05) translateY(-4px);
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--clr-white);
  margin-bottom: 16px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-card h4.gold { color: var(--clr-primary); }

.service-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--clr-body);
  margin-bottom: 28px;
}

.service-card .btn-see-more {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--trans-fast);
  padding: 10px 22px;
  border: 1px solid rgba(238,125,0,0.35);
  border-radius: 50px;
  margin-top: auto;
  align-self: flex-start;
}

.service-card .btn-see-more::after {
  content: '→';
  transition: transform var(--trans-fast);
}

.service-card:hover .btn-see-more { gap: 14px; }
.service-card:hover .btn-see-more::after { transform: translateX(4px); }

/* ----------------------------------------------------------------
   10. SERVICE DETAIL PANEL
---------------------------------------------------------------- */
.service-detail {
  display: none;
  overflow: hidden;
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  animation: slideDown 0.45s var(--ease) forwards;
}

.service-detail.open {
  display: block;
}

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

.service-detail-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-md) var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.service-detail-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.service-detail-close:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.service-detail-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(238,125,0,0.12));
}

.service-detail-text h5 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 16px;
}

.service-detail-text ul {
  list-style: none;
  padding: 0;
}

.service-detail-text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--clr-body);
  line-height: 1.5;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
}

.service-detail-text .detail-subtitle {
  font-family: var(--font-bold);
  font-size: 13px;
  color: var(--clr-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
  display: block;
}

/* ----------------------------------------------------------------
   11. ABOUT US
---------------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text .label-tag { margin-bottom: 16px; }

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-body);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter var(--trans-slow);
}

.about-image:hover img { filter: brightness(1); }

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--clr-primary);
  opacity: 0.25;
  z-index: -1;
}

/* ----------------------------------------------------------------
   12. BRANDS STRIP
---------------------------------------------------------------- */
.brands-section {
  padding: 48px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-2);
}

.brands-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brands-img-desktop { display: block; }
.brands-img-mobile  { display: none; }

/* ----------------------------------------------------------------
   13. VIDEO SECTION
---------------------------------------------------------------- */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-block {
  position: relative;
  display: block;
  height: clamp(340px, 55vw, 640px);
  overflow: hidden;
  cursor: pointer;
}

.video-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.video-block:hover img { transform: scale(1.03); }

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-base);
}

.video-block:hover .video-overlay { background: rgba(0,0,0,0.32); }

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
  position: relative;
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(238,125,0,0.4);
  animation: pulse-ring 2s infinite;
}

.play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--clr-white);
  margin-left: 4px;
}

.video-block:hover .play-btn {
  border-color: var(--clr-primary);
  background: rgba(238,125,0,0.15);
  transform: scale(1.08);
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ----------------------------------------------------------------
   14. REVIEWS (VIEWS) SECTION
---------------------------------------------------------------- */
.reviews-section {
  position: relative;
  background: var(--clr-bg-2);
  padding: var(--space-xl) 0 0;
  overflow: hidden;
}

/* MECCAR flag logo badge — separated decoration */
.reviews-brand-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--clr-border);
}

.reviews-brand-badge img.flag-logo {
  height: 66px;
  width: auto;
  opacity: 0.85;
}

.reviews-brand-badge .badge-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
}

.reviews-brand-badge .badge-text {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

.reviews-header-left .label-tag { margin-bottom: 8px; }

/* Google Rating badge */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(238,125,0,0.08);
  border: 1px solid rgba(238,125,0,0.25);
  border-radius: 50px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 14px;
}

.google-rating-badge .rating-stars {
  display: inline-flex;
  gap: 1px;
}

.google-rating-badge .rating-stars span {
  color: var(--clr-primary);
  font-size: 21px;
  opacity: 0;
  transform: translateY(4px) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.google-rating-badge .rating-stars.animated span:nth-child(1) { transition-delay: 0.0s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(2) { transition-delay: 0.1s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(3) { transition-delay: 0.2s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(4) { transition-delay: 0.3s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(5) { transition-delay: 0.4s; opacity:1; transform:none; }

.google-rating-badge .rating-text {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--clr-body);
}

/* Animated Google Reviews heading */
.reviews-title-animated {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  overflow: hidden;
  display: block;
}

.reviews-title-animated .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reviews-title-animated.animated .word:nth-child(1) { transition-delay: 0.1s; opacity:1; transform:none; }
.reviews-title-animated.animated .word:nth-child(2) { transition-delay: 0.25s; opacity:1; transform:none; }

.reviews-header-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
}

.reviews-nav {
  display: flex;
  gap: 12px;
}

.reviews-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  transition: all var(--trans-fast);
}

.reviews-nav button:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(238,125,0,0.06);
}

.reviews-nav button img { width: 16px; filter: invert(1); }

/* Swiper reviews */
.reviews-swiper {
  overflow: hidden;
  padding-top: 14px; /* 10pt height increase to prevent top clipping on hover */
  margin-top: -14px; /* offset the top padding */
  padding-bottom: 40px;
}

.review-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 28px;
  border-radius: 16px;
  transition: border-color var(--trans-base), transform var(--trans-base), box-shadow var(--trans-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: rgba(238,125,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* ----------------------------------------------------------------
   RATING HERO — Big yellow stars display
---------------------------------------------------------------- */
.rating-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  width: 100%;
}

.rating-hero-stars {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.rh-star {
  font-size: 115.5px;  /* 64px × 1.2 × 1.5 */
  color: #FFD700;
  filter: drop-shadow(0 0 18px rgba(255,215,0,0.75));
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  cursor: default;
  line-height: 1;
}

.rh-star:hover {
  filter: drop-shadow(0 0 28px rgba(255,215,0,1));
  transform: scale(1.2) rotate(-5deg);
  transition: filter 0.2s, transform 0.2s;
}

.rating-hero.animated .rh-star:nth-child(1) { transition-delay:0.05s; opacity:1; transform:none; }
.rating-hero.animated .rh-star:nth-child(2) { transition-delay:0.15s; opacity:1; transform:none; }
.rating-hero.animated .rh-star:nth-child(3) { transition-delay:0.25s; opacity:1; transform:none; }
.rating-hero.animated .rh-star:nth-child(4) { transition-delay:0.35s; opacity:1; transform:none; }
.rating-hero.animated .rh-star:nth-child(5) { transition-delay:0.45s; opacity:1; transform:none; }

/* Shimmer pulsing — lento e aleatório */
@keyframes star-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(255,215,0,0.95));
    transform: scale(1.08);
  }
}

.rating-hero.animated .rh-star {
  animation: star-pulse ease-in-out infinite;
}

/* delays e durações diferentes por estrela — efeito aleatório */
.rating-hero.animated .rh-star:nth-child(1) { animation-duration: 5.2s; animation-delay: 0.0s;  }
.rating-hero.animated .rh-star:nth-child(2) { animation-duration: 7.1s; animation-delay: 1.3s;  }
.rating-hero.animated .rh-star:nth-child(3) { animation-duration: 4.8s; animation-delay: 2.7s;  }
.rating-hero.animated .rh-star:nth-child(4) { animation-duration: 6.4s; animation-delay: 0.8s;  }
.rating-hero.animated .rh-star:nth-child(5) { animation-duration: 5.9s; animation-delay: 3.5s;  }

/* 70+ counter — direita, branco */
.rating-hero-count {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  text-align: right;
}

.rating-hero-number {
  font-family: 'Bebas Neue', serif;
  font-size: 120px;  /* 80px × 1.5 */
  line-height: 0.9;
  color: #ffffff;    /* branco */
  letter-spacing: 2px;
}

.rating-hero-plus {
  font-family: 'Bebas Neue', serif;
  font-size: 72px;
  color: #ffffff;
  line-height: 1;
  display: inline;
  margin-left: 4px;
}

.rating-hero-label {
  font-family: 'DaysOne', var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* 5.0 score — esquerda */
.rating-hero-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
}

.rating-hero-score .score-number {
  font-family: 'Bebas Neue', serif;
  font-size: 128px;  /* 64px × 2 */
  line-height: 0.9;
  color: var(--clr-white);
  letter-spacing: 1px;
}

.rating-hero-score .score-label {
  font-family: 'DaysOne', var(--font-ui);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* --- MOBILE: metade dos tamanhos --- */
@media (max-width: 768px) {
  .rh-star              { font-size: 57px; }
  .rating-hero-number   { font-size: 60px; }
  .rating-hero-plus     { font-size: 36px; }
  .rating-hero-score .score-number { font-size: 64px; }
  .rating-hero          { gap: 16px; }
}

/* ---------------------------------------------------------------- */

/* Rating badge stars — yellow */
.google-rating-badge .rating-stars span {
  color: #FFD700;
  font-size: 22.5px;
  opacity: 0;
  transform: translateY(4px) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.google-rating-badge .rating-stars.animated span:nth-child(1) { transition-delay: 0.0s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(2) { transition-delay: 0.1s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(3) { transition-delay: 0.2s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(4) { transition-delay: 0.3s; opacity:1; transform:none; }
.google-rating-badge .rating-stars.animated span:nth-child(5) { transition-delay: 0.4s; opacity:1; transform:none; }

/* Review card stars — yellow */
.review-stars span {
  color: #FFD700;
  font-size: 27px;
  opacity: 0;
  transform: translateY(6px) scale(0.4);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.review-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--clr-white);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-body);
  flex-grow: 1;
  margin-bottom: 20px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--clr-border);
}

.review-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-border);
}

.review-name {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--clr-white);
  margin-bottom: 2px;
}

.review-platform {
  font-size: 12px;
  color: var(--clr-muted);
}

.reviews-bg-image {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 135%;
  opacity: 0.35;
  filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
  pointer-events: none;
}

/* ----------------------------------------------------------------
   15. TEAM SECTION
---------------------------------------------------------------- */
.team-section { padding: var(--space-xl) 0; }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section-header .label-tag { margin-bottom: 8px; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 640px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;   /* retrato completo, sem corte */
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s var(--ease);
  filter: brightness(0.75) saturate(0.7);
}

.team-card:hover .team-card-img {
  transform: scale(1.04);
  filter: brightness(0.85) saturate(0.9);
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  transform: translateY(0);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--clr-white);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.team-card-role {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.team-card-expand {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--trans-fast);
  background: rgba(0,0,0,0.3);
}

.team-card-expand:hover,
.team-card.expanded .team-card-expand {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* Team Bio Accordion */
.team-bio {
  display: none;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  border-top: none;
}

.team-bio.open {
  display: block;
  animation: slideDown 0.45s var(--ease) forwards;
}

.team-bio-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md);
  background: var(--clr-bg-2);
}

.team-bio-img {
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.team-bio-img img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.team-bio-title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--clr-white);
  margin-bottom: 4px;
}

.team-bio-role {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 20px;
  display: block;
}

.team-bio-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-body);
}

.team-bio-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-muted);
  font-size: 18px;
  transition: all var(--trans-fast);
  margin-left: auto;
  margin-bottom: 16px;
}

.team-bio-close:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* ----------------------------------------------------------------
   16. CONTACT CTA BANNER
---------------------------------------------------------------- */
.contact-cta {
  background: linear-gradient(135deg, var(--clr-bg-2) 0%, #1a1a1a 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(238,125,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}

.contact-cta p {
  font-size: 16px;
  color: var(--clr-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------------
   17. FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-xl) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-lg);
  align-items: start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-group img { height: 40px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 6px 14px;
  position: relative;
  transition: color var(--trans-fast);
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--trans-base);
}

.footer-nav a:hover { color: var(--clr-primary); }
.footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 15px;
  transition: all var(--trans-fast);
}

.footer-social a:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(238,125,0,0.06);
}

.footer-social a img { width: 18px; filter: invert(0.5); transition: filter var(--trans-fast); }
.footer-social a:hover img { filter: invert(1); }

.footer-contact-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-phone {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--clr-white);
  letter-spacing: 1px;
  transition: color var(--trans-fast);
}

.footer-phone:hover { color: var(--clr-primary); }

.footer-email {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--clr-muted);
  transition: color var(--trans-fast);
}

.footer-email:hover { color: var(--clr-primary); }

/* Footer Bottom */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-md) 0;
}

.footer-address {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.7;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
  text-align: center;
}

.footer-legal {
  text-align: right;
}

.footer-legal a {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--clr-muted);
  transition: color var(--trans-fast);
  line-height: 2;
  display: block;
}

.footer-legal a:hover { color: var(--clr-primary); }

/* ----------------------------------------------------------------
   18. FLOAT BUTTONS (WhatsApp / Email / ScrollUp)
---------------------------------------------------------------- */
.float-btns {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-2);
  cursor: pointer;
  transition: all var(--trans-base);
  text-decoration: none;
  position: relative;
}

.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  background: var(--clr-bg-3);
  color: var(--clr-white);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast);
}

.float-btn:hover::before { opacity: 1; }

.float-btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
}

.float-btn-whatsapp:hover {
  background: #20b558;
  transform: scale(1.08);
}

.float-btn-email:hover {
  border-color: var(--clr-primary);
  background: rgba(238,125,0,0.1);
  transform: scale(1.08);
}

.float-btn-scrollup {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-base), transform var(--trans-base);
}

.float-btn-scrollup.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn-scrollup:hover {
  border-color: var(--clr-primary);
  transform: translateY(-4px);
}

.float-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-white);
}

.float-btn-whatsapp svg { width: 24px; height: 24px; }

/* ----------------------------------------------------------------
   19. VIDEO POPUP
---------------------------------------------------------------- */
.video-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-base);
}

.video-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.video-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}

.video-popup-content {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  aspect-ratio: 16/9;
  border: 1px solid var(--clr-border);
}

.video-popup-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-popup-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-white);
  cursor: pointer;
  font-size: 20px;
  transition: all var(--trans-fast);
}

.video-popup-close:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* ----------------------------------------------------------------
   20. ANIMATIONS
---------------------------------------------------------------- */
[data-aos] { will-change: transform, opacity; }

.fade-line {
  display: inline-block;
  overflow: hidden;
}

/* ----------------------------------------------------------------
   21. RESPONSIVE BREAKPOINTS
---------------------------------------------------------------- */

/* --------- 1200px --------- */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-logo-group { grid-column: 1; }
  .footer-contact-group { grid-column: 2; align-items: flex-end; }
  .footer-nav { grid-column: 1 / -1; justify-content: flex-start; }
  /* .footer-social { grid-column: 1; } */
}

/* --------- 992px --------- */
@media (max-width: 992px) {
  :root { --space-xl: 72px; --space-lg: 48px; }

  .main-nav,
  .header-right { display: none; }

  .hamburger { display: flex; }
  .mobile-nav-overlay { display: block; }

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

  .service-card {
    border-top: 1px solid var(--clr-border);
    padding: 40px 28px;
  }

  .service-card-icon img {
    height: 192px;
  }

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

  .about-image { display: none; }

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

  .footer-top {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-contact-group { align-items: flex-start; }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .footer-legal { text-align: left; }
  .footer-legal a { display: inline; margin-right: 8px; }
}

/* --------- 768px --------- */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --space-xl: 56px;
    --space-lg: 40px;
    --space-md: 20px;
  }

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

  .service-card-icon img {
    height: 160px;
  }


  .hero-title { font-size: clamp(40px, 10vw, 64px); }
  .hero-subtitle { font-size: clamp(34px, 8vw, 52px); }

  .hero-social { display: none; }
  .hero-dots { display: none; }

  .service-detail-inner {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  .service-detail-img {
    max-width: 120px;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .reviews-brand-badge { flex-wrap: wrap; gap: 12px; }



  .brands-img-desktop { display: none; }
  .brands-img-mobile  { display: block; }

  .contact-cta { padding: 56px 0; }

  .play-btn { width: 60px; height: 60px; }
  .play-btn svg { width: 22px; height: 22px; }

  .float-btns { right: 16px; bottom: 16px; }
  .float-btn { width: 44px; height: 44px; }
}

/* --------- 480px --------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-content .container { padding-top: 0; }

  .service-card { padding: 32px 24px; }

  .review-card { padding: 24px; }

  .footer-logo-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav a { padding: 8px 0; }
}

/* ----------------------------------------------------------------
   22. CONTACT PAGE & FORM
---------------------------------------------------------------- */
.contact-page-wrapper {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.contact-form-card {
  width: 100%;
  max-width: 600px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.contact-form-card h2 {
  font-size: 40px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-form-card .subtitle {
  font-size: 15px;
  color: var(--clr-muted);
  margin-bottom: 32px;
}

.contact-form-card .form-group {
  margin-bottom: 24px;
}

.contact-form-card label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 8px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
  width: 100%;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--clr-white);
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(238,125,0,0.15);
}

.contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  border-radius: 50px;
  color: var(--clr-white);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-base);
}

.contact-submit-btn:hover {
  background: var(--clr-primary-dk);
  border-color: var(--clr-primary-dk);
  box-shadow: 0 8px 24px rgba(238,125,0,0.25);
  transform: translateY(-2px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Success Confirmation State */
.contact-confirm {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.contact-confirm .check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(238,125,0,0.1);
  border: 2px solid var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact-confirm .check-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--clr-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-confirm h3 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-confirm p {
  font-size: 16px;
  color: var(--clr-body);
  margin-bottom: 32px;
}

.contact-confirm .back-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-white);
  transition: all var(--trans-fast);
}

.contact-confirm .back-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(238,125,0,0.06);
}
