/* ========================================
   FisioPro — Premium Design System
   ======================================== */

/* --- CSS Variables --- */
:root {
  --green-900: #052912;
  --green-800: #0a3d1c;
  --green-700: #0f5c2a;
  --green-600: #158038;
  --green-500: #1a9e48;
  --green-400: #22c55e;
  --green-300: #4ade80;
  --green-200: #86efac;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  --brand-green: #00522C;
  --brand-green-hover: #003a1f;

  --black: #050505;
  --dark: #0d0d0d;
  --gray-900: #111;
  --gray-800: #1e1e1e;
  --gray-700: #333;
  --gray-600: #555;
  --gray-500: #717171;
  --gray-400: #999;
  --gray-300: #c4c4c4;
  --gray-200: #e0e0e0;
  --gray-100: #f2f2f2;
  --gray-50: #fafafa;
  --white: #ffffff;

  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .2);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .3);
  --shadow-green: 0 0 32px rgba(34, 197, 94, .35);
  --glow-green: 0 0 60px rgba(34, 197, 94, .2), 0 0 120px rgba(34, 197, 94, .08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .6s cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .02em;
}

.btn--primary {
  background: var(--brand-green);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 82, 44, .3);
}

.btn--primary:hover {
  background: var(--brand-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 82, 44, .5);
}

.btn--outline {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn--outline:hover {
  background: var(--brand-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn--outline-dark:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-2px);
}



.btn--lg {
  padding: 16px 38px;
  font-size: 1rem;
}

.btn--xl {
  padding: 20px 48px;
  font-size: 1.08rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

/* --- Section Defaults --- */
.section {
  padding: 80px 0;
  position: relative;
  box-sizing: border-box;
}

.section--dark {
  background: var(--gray-900);
}

.section--light {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
}

.section__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--green-200);
  border-radius: 100px;
  background: var(--green-50);
}

.section__tag--light {
  color: var(--green-300);
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
}

.badge--pill {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.section__title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -.02em;
  text-wrap: balance; /* Prevent single word lines / widows */
}

.accent-text {
  font-family: inherit;
  font-style: normal;
  color: var(--green-500);
}

.sobre__content .accent-text {
  font-size: 0.7em;
}

.section__title--light {
  color: var(--white);
}

.section__title--light .accent-text {
  color: var(--green-400);
}

.section__desc {
  font-size: .95rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  text-wrap: pretty; /* Prevent single word lines / widows */
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.header__logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 4px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-700);
  transition: var(--transition);
  border-radius: 2px;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--green-700);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  padding: 10px 24px;
  font-size: .85rem;
}

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-800);
  position: absolute;
  left: 0;
  transition: var(--transition);
  border-radius: 2px;
}

.header__menu-btn span:nth-child(1) {
  top: 0;
}

.header__menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__menu-btn span:nth-child(3) {
  bottom: 0;
}

.header__menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* modern dynamic viewport height */
  display: flex;
  align-items: stretch;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.1) 100%);
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity 3s ease-in-out;
  pointer-events: none;
  /* Esconde o botão de play nativo em todos os browsers */
  -webkit-media-controls: none;
}

/* Remove o play overlay nativo no Chrome/Android */
.hero__video::-webkit-media-controls {
  display: none !important;
}
.hero__video::-webkit-media-controls-enclosure {
  display: none !important;
}
.hero__video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}
/* Firefox */
.hero__video::-moz-media-controls {
  display: none !important;
}

.hero__video--b {
  opacity: 0;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 5% 90%, rgba(34, 197, 94, .12) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 90% 10%, rgba(34, 197, 94, .08) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(34, 197, 94, .04) 0%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
  margin: auto;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.hero__content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(34, 197, 94, .05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.br-mobile {
  display: none;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-wrap: balance; /* Prevent single word lines / widows */
}

.hero__title .accent-text {
  color: var(--green-400);
  text-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.hero__sub {
  font-size: clamp(0.95rem, 4vw, 1.15rem);
  line-height: 1.6;
  color: #ddd;
  margin: 0 auto 36px;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  text-wrap: pretty; /* Prevent single word lines / widows */
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}

.hero__trust-points span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image-frame {
  width: 440px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--glow-green);
  position: relative;
  border: 1px solid rgba(34, 197, 94, .2);
}

.hero__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 41, 18, .4) 0%, transparent 50%);
  pointer-events: none;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   POSITIONING CARDS
   ======================================== */
.cards-row,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-premium {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  opacity: 0;
  transition: var(--transition);
}

.card-premium:hover {
  border-color: var(--green-200);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-premium:hover::before {
  opacity: 1;
}

.card-premium__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-50);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  transition: var(--transition);
}

.card-premium:hover .card-premium__number {
  color: var(--green-100);
  transform: scale(1.1);
}

.card-premium__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
  position: relative;
  z-index: 1;
}

.card-premium h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.card-premium p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  text-wrap: pretty;
}

.card-premium__step {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 4px;
  width: fit-content;
}

.card-premium__lead {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-400) !important;
  line-height: 1.4;
  margin-bottom: 2px !important;
}

.section__footer {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.positioning {
  padding: 40px 0;
}

.positioning .section__header {
  margin-bottom: 24px;
}

.section__footer p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ========================================
   TIMELINE / METHOD
   ======================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline__item {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.timeline__item:hover {
  background: rgba(34, 197, 94, .06);
  border-color: rgba(34, 197, 94, .2);
  box-shadow: 0 0 30px rgba(34, 197, 94, .08);
}

.card-premium--dark.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.card-premium--dark.active .card-premium__number {
  color: rgba(34, 197, 94, 0.2);
}

.card-premium--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.card-premium--dark h3 {
  color: var(--white);
}

.card-premium--dark p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.card-premium--dark .card-premium__number {
  color: rgba(255, 255, 255, 0.18);
  font-size: 4.5rem;
  top: 5px;
  right: 15px;
}

.card-premium--dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-12px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.15);
}

.card-premium--dark:hover .card-premium__number {
  color: rgba(34, 197, 94, 0.25);
}

.card-premium--dark .card-premium__icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--green-400);
  border-color: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
}

.card-premium--dark:hover .card-premium__icon {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
}

.trust-note {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.section__footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.timeline__number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green-400);
  margin-bottom: 16px;
  font-family: var(--font-primary);
  letter-spacing: -.03em;
  text-shadow: 0 0 20px rgba(34, 197, 94, .4);
}

.timeline__item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.timeline__item p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

/* ========================================
   SERVICES
   ======================================== */
.servicos {
  background: linear-gradient(to bottom, #ffffff 0%, #f3f5f4 100%);
  position: relative;
  padding: 40px 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  border-color: var(--green-300);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.service-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 82, 44, .1);
}

.service-card .btn:hover {
  box-shadow: 0 8px 24px rgba(0, 82, 44, .2);
}

/* ========================================
   ABOUT / SOBRE
   ======================================== */
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sobre__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 360px;
  border: 3px solid rgba(26, 138, 71, .12);
  margin: 0 auto;
}

.sobre__image-frame img {
  width: 100%;
  object-fit: cover;
}

.sobre__mobile-tag {
  display: none;
  margin-bottom: 24px;
}

.sobre__content .section__tag {
  margin-bottom: 12px;
}

.sobre__content .section__title {
  text-align: left;
  margin-bottom: 16px;
}

.sobre__content p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.6;
}

.sobre__credentials {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.sobre__credentials div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sobre__credentials strong {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-500);
}

.sobre__credentials span {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-700);
}

.sobre__quote {
  margin: 16px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--green-500);
  background: var(--green-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sobre__quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--green-700);
  line-height: 1.6;
  font-weight: 500;
}

/* ========================================
   EXPERIENCE / AMBIENTE — BENTO GALLERY
   ======================================== */
.experiencia {
  padding: 32px 0 32px;
}

.experience-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Bento Gallery Grid ---- */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
  margin-top: 8px;
}

/* Item sizes */
.bento-item--hero {
  grid-column: span 5;
  grid-row: span 2;
}

.bento-item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-item--wide {
  grid-column: span 6;
  grid-row: span 1;
}

.bento-item--medium {
  grid-column: span 3;
  grid-row: span 1;
}

.bento-item--square {
  grid-column: span 3;
  grid-row: span 1;
}

/* Base bento item */
.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.bento-item img,
.bento-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(.4, 0, .2, 1), filter 0.5s ease;
  filter: brightness(0.88) saturate(0.95);
  pointer-events: none;
}

.bento-item:hover img,
.bento-item:hover video {
  transform: scale(1.07);
  filter: brightness(1.0) saturate(1.05);
}

/* Gradient overlay */
.bento-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px 20px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.35) 35%,
      transparent 70%);
  transition: background 0.4s ease;
}

.bento-item:hover .bento-item__overlay {
  background: linear-gradient(to top,
      rgba(0, 30, 15, 0.88) 0%,
      rgba(0, 50, 25, 0.45) 40%,
      transparent 70%);
}

/* Tag label */
.bento-item__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-300);
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 100px;
  padding: 4px 11px;
  margin-bottom: 8px;
  backdrop-filter: blur(6px);
  width: fit-content;
  transition: background 0.3s ease, color 0.3s ease;
}

.bento-item:hover .bento-item__tag {
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
}

/* Caption */
.bento-item__caption {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  height: 40px;
}

.bento-item:hover .bento-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Hero item title tweak */
.bento-item--hero .bento-item__caption,
.bento-item--tall .bento-item__caption {
  font-size: 0.9rem;
  max-width: 90%;
}

/* Bento Gallery Controls */
.bento-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.bento-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.bento-btn:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  transform: scale(1.05);
}

.bento-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bento-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.bento-dot.active {
  background: var(--green-400);
  width: 20px;
  border-radius: 100px;
  transform: scale(1.1);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bento-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(120px, 16vh, 170px);
  }

  .bento-item--hero {
    grid-column: span 4;
    grid-row: span 2;
  }

  .bento-item--tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-item--wide {
    grid-column: span 6;
    grid-row: span 1;
  }

  .bento-item--medium {
    grid-column: span 3;
    grid-row: span 1;
  }

  .bento-item--square {
    grid-column: span 3;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .experiencia {
    padding: 40px 0;
  }

  .bento-controls {
    display: flex;
  }

  .bento-gallery {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 16px !important;
    padding: 16px 24px 24px 24px !important;
    margin: 8px -24px 0 -24px !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }

  .bento-gallery::-webkit-scrollbar {
    display: none !important;
  }

  .bento-gallery::before,
  .bento-gallery::after {
    content: '';
    flex: 0 0 1px;
  }

  .bento-item {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .bento-item__overlay {
    padding: 24px 20px 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%) !important;
  }

  .bento-item__tag {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    margin-bottom: 8px !important;
  }

  .bento-item__caption {
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    display: block !important;
  }
}

/* ========================================
   UNIFIED CONTACT & CTA (2 COLUMNS)
   ======================================== */
.unified-contact {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--gray-100);
  position: relative;
  z-index: 10;
}

.unified-contact__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

/* INFO COLUMN */
.unified-contact__info {
  display: flex;
  flex-direction: column;
}

.info-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  height: 100%;
}

.unified-contact__map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 242px;
  border: 1px solid var(--gray-100);
  filter: grayscale(0.2);
}

.unified-contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.info-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--gray-600);
}

.info-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.info-item svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.info-item p strong {
  color: var(--gray-800);
  font-weight: 700;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
  margin-top: 4px;
  width: fit-content;
  text-decoration: underline;
}

.map-link svg {
  transition: transform 0.3s ease;
}

.map-link:hover {
  color: var(--brand-green);
}

/* ACTION COLUMN */
.unified-contact__action {
  height: 100%;
}

.action-card {
  background: #ffffff;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 197, 94, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.action-card .section__title {
  font-size: 1.65rem;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.03em;
}

.action-card .section__desc {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.05rem;
  color: var(--gray-600);
}

.mini-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--gray-800);
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.custom-select__trigger {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--gray-500); /* Placeholder color by default */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

.custom-select.open .custom-select__trigger {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23158038' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
}

.custom-select__trigger.has-value {
  color: var(--gray-800);
}

.custom-select__options {
  position: absolute;
  display: block;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
  padding: 6px;
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-select__option {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  user-select: none;
  text-align: left;
}

.custom-select__option:hover {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 500;
}

.custom-select__option.selected {
  background: var(--brand-green);
  color: var(--white);
  font-weight: 600;
}

.form-group input::placeholder {
  color: var(--gray-500);
  opacity: 1;
}

.form-group input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.mini-form .btn--xl {
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
  text-align: center;
  gap: 10px;
  white-space: nowrap;
}

.mini-form .btn--xl svg {
  flex-shrink: 0;
  overflow: visible;
}

.action-card__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.action-card__trust span {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 992px) {
  .unified-contact {
    padding: 50px 0;
  }

  .unified-contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .unified-contact__action {
    order: 1;
    position: static;
  }

  .unified-contact__info {
    order: 2;
  }

  .info-card {
    padding: 24px;
  }

  .action-card {
    padding: 30px 20px;
  }

  .action-card .section__title {
    font-size: 1.5rem;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--gray-50);
  color: var(--gray-700);
  padding: 60px 0 0;
  border-top: 1px solid var(--gray-200);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 40px;
}

.footer__logo {
  height: 44px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--gray-500);
}

.footer__crefito {
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand-green);
}

.footer__col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer__col p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.footer__col a {
  display: block;
  font-size: .88rem;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.footer__address-link {
  display: block;
  transition: var(--transition);
}

.footer__address-link:hover p {
  color: var(--brand-green);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.social-link svg {
  display: block;
  width: 26px;
  height: 26px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.social-link:hover svg {
  transform: scale(1.15) translateZ(0);
}


.social-link--whatsapp:hover {
  color: #25D366;
}

.social-link--instagram:hover {
  color: #E1306C;
}

.footer__col a:hover {
  color: var(--brand-green);
}

.footer__bottom {
  border-top: 1px solid var(--gray-200);
  padding: 20px 0;
  font-size: .8rem;
  color: var(--gray-600);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__credit {
  color: var(--gray-500);
}

.footer__credit a {
  transition: var(--transition);
}

.footer__credit a:hover {
  color: var(--brand-green);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.whatsapp-float.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.5);
}

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

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 82, 44, .5);
}

/* ========================================
   CAROUSEL CONTROLS
   ======================================== */
.carousel-controls {
  display: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .br-mobile {
    display: block;
  }

  .br-desktop {
    display: none;
  }


  .hero__inner {
    gap: 30px;
  }

  .hero__image-frame {
    max-width: 360px;
  }

  .cards-row {
    gap: 16px;
  }

  .services-grid {
    gap: 20px;
  }

  .card-premium {
    padding: 20px 16px;
  }

  .card-premium__icon {
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-card__icon {
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 992px) {
  .header:has(.header__nav.open) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .header__nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 110px;
    gap: 16px;
    z-index: 1000;
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    padding: 4px 0;
    transition: var(--transition);
  }

  .header__nav a::after {
    background: var(--green-400);
  }

  .header__nav a:hover,
  .header__nav a.active {
    color: var(--green-400);
  }

  .header__cta {
    display: none;
  }

  .header__menu-btn {
    display: block;
  }

  .header__menu-btn.active span {
    background: var(--white);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    justify-items: center;
  }

  .hero__sub {
    margin: 0 auto 36px;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__ctas {
    align-items: center;
  }

  .hero__cta-wrapper {
    align-items: center;
  }

  .hero__trust-points {
    justify-content: center;
  }

  .hero__image-frame {
    max-width: 340px;
    margin: 0 auto;
  }

  .cards-row,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 32px 24px 48px 24px;
    margin: -32px -24px -24px -24px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .cards-grid::-webkit-scrollbar {
    display: none;
  }

  .cards-grid .card-premium {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .carousel-btn:hover {
    background: var(--green-500);
    border-color: var(--green-500);
    transform: scale(1.05);
  }

  .carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
  }

  .carousel-dots .dot.active {
    background: var(--green-400);
    transform: scale(1.4);
  }

  .timeline::before {
    display: none;
  }

  .sobre__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .sobre__content p {
    text-align: left;
  }

  .sobre__mobile-tag {
    display: inline-block;
  }

  .sobre__desktop-tag {
    display: none !important;
  }

  .sobre__content .section__title {
    text-align: center;
  }

  .sobre__image-frame {
    margin: 0 auto;
    max-width: 200px;
  }

  .sobre__credentials {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }


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

  .localizacao__info .section__title {
    text-align: center;
  }

  .localizacao__info {
    text-align: center;
  }

  .localizacao__hours {
    justify-content: center;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 105px 0 32px; /* Adjusted vertical padding for beautiful mobile screen fit */
  }

  .hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem); /* Extremely responsive fluid header size */
    margin-bottom: 12px; /* Tighter margins to fit text beautifully without cutoffs */
    line-height: 1.15;
  }

  .hero__sub {
    margin-bottom: 24px; /* Reduced margins to save valuable screen estate */
  }

  .hero__badges {
    margin-bottom: 16px;
    gap: 6px;
    justify-content: center;
  }

  .hero__badges .badge {
    font-size: 0.58rem;
    padding: 4px 8px;
    letter-spacing: 0.06em;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn--lg {
    padding: 12px 22px;
    font-size: 0.88rem;
  }

  .action-card {
    padding: 24px 16px;
  }

  .btn--xl {
    padding: 16px 32px;
    font-size: .95rem;
  }

  .mini-form .btn--xl {
    padding: 16px 12px;
    font-size: 0.85rem;
    gap: 8px;
  }

  .hero::before {
    animation: none;
  }

  .hero__trust-points {
    gap: 8px;
    flex-direction: column;
  }

  .hero__trust-points span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    justify-content: center;
  }
}

/* ========================================
   TESTIMONIALS — INFINITE MARQUEE
   ======================================== */
.testimonials {
  background: #f7f8f6;
  padding: 40px 0 40px;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.testimonials__header .section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* — Marquee wrapper with fade masks — */
.testimonials__track-wrapper {
  position: relative;
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%);
  padding: 16px 0 24px;
}

/* — Scrolling track — */
.testimonials__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testimonials-scroll 40s linear infinite;
}

.testimonials__track:hover {
  animation-play-state: paused;
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* — Individual card — */
.tcard {
  flex-shrink: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .06),
    0 8px 24px rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* subtle top accent line */
.tcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--green-400) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonials__track:hover .tcard:hover::before {
  opacity: 1;
}

.tcard:hover {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, .1),
    0 16px 40px rgba(0, 0, 0, .07);
  transform: translateY(-4px);
}

/* Stars */
.tcard__stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

/* Quote text */
.tcard__quote {
  font-size: 0.915rem;
  line-height: 1.65;
  color: #3a3a3a;
  font-style: normal;
  font-weight: 400;
  flex: 1;
  quotes: none;
  border: none;
  padding: 0;
  margin: 0;
  text-wrap: pretty;
}

/* Author row */
.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Avatar circle with initials */
.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.tcard__info strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
}

.tcard__info span {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
}

/* CTA below carousel */
.testimonials__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  text-align: center;
}

/* — Responsive — */
@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0 48px;
  }

  .tcard {
    width: 280px;
    padding: 22px 20px 20px;
  }

  .testimonials__track {
    gap: 14px;
  }

  .testimonials__track-wrapper {
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%);
    mask-image: linear-gradient(to right,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%);
  }
}

@media (max-width: 480px) {
  .tcard {
    width: 260px;
  }

  .tcard__quote {
    font-size: 0.875rem;
  }
}