/* =====================================================
   RLAgency Main Stylesheet
   Palette: Navy Blue #283650, Gold #d4a342, White #ffffff, Soft Gray #f4f6f9
   Typography: Use a modern sans-serif (e.g., 'Poppins', 'Inter', 'Roboto').
   ===================================================== */

/* 1. CSS Reset / Base -------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  padding-top: 0;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.62;
  color: #e0e7f1;
  background: #0f1724;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;

  img {
    max-width: 100%;
    display: block;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

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

a {
  color: #d4a342;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons should never show underline */
.btn,
.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn-outline,
.btn-outline:hover,
.btn-outline:focus {
  text-decoration: none;
}

.hero .hero-buttons a {
  text-decoration: none;
}

/* 2. Layout Utilities -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 3rem 0;
  position: relative;
  background: transparent;
  transition: background-color 0.8s ease, opacity 0.8s ease;
  overflow-x: hidden;
  max-width: 100vw;
}

.section,
.hero {
  scroll-margin-top: 10px;
}

.section.alt-dark {
  background: linear-gradient(180deg, rgba(15, 23, 36, 0) 0%, rgba(22, 35, 56, 0.5) 15%, rgba(22, 35, 56, 0.5) 85%, rgba(15, 23, 36, 0) 100%);
}

.section.alt-deeper {
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #e9eef7;
}

.section-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  line-height: 1;
}

.section-header h2 .gold-accent-bar:first-child,
.section-header h2 .gold-accent-bar:last-child {
  margin: 0;
}

.hidden {
  display: none !important;
}

/* Spacing helpers */
.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: .75rem;
}

.mb-2 {
  margin-bottom: 1.25rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 3rem;
}

/* 3. Typography -------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .5px;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
}

p {
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #b6c2d9;
  padding: 0 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 840px) {
  .lead {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .lead {
    padding: 0 1rem;
  }
}

.small {
  font-size: .875rem;
}

.accent {
  color: #d4a342;
}

/* 4. Navbar ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(40, 54, 80, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  will-change: transform;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
}

.navbar-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.navbar-brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  position: relative;
  padding: .35rem .55rem;
  transition: color .25s ease, transform .25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:after {
  display: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #e9e6df;
  transform: translateY(-1px);
}

.nav-links li {
  display: flex;
  align-items: center;
}

/* Hide mobile toggle by default (desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.nav-toggle:active {
  transform: scale(0.95);
}

/* Fancy highlight on hover */
.nav-links a:hover {
  text-shadow: 0 2px 12px rgba(196, 154, 82, .35);
}

/* Subtle entrance animation for navbar items */
.nav-links li {
  animation: navIn .6s ease both;
}

.nav-links li:nth-child(1) {
  animation-delay: .05s;
}

.nav-links li:nth-child(2) {
  animation-delay: .10s;
}

.nav-links li:nth-child(3) {
  animation-delay: .15s;
}

.nav-links li:nth-child(4) {
  animation-delay: .20s;
}

.nav-links li:nth-child(5) {
  animation-delay: .25s;
}

.nav-links li:nth-child(6) {
  animation-delay: .30s;
}

.nav-links li:nth-child(7) {
  animation-delay: .35s;
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================================
   MOBILE DRAWER MENU (Hamburger Menu)
   ============================================================================ */

@media (max-width: 840px) {

  /* Hide desktop navigation on mobile */
  .nav-links {
    display: none;
  }

  /* Hamburger button styling */
  .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10000;
    transition: transform 0.3s ease;
  }

  .hamburger-line {
    display: block;
    width: 26px;
    height: 2px;
    /* mais fino ajuda a parecer 3 linhas e não um bloco */
    background: #d4a342;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger-line+.hamburger-line {
    margin-top: 6px;
    /* aumenta este valor se quiseres mais espaço */
  }

  /* Hamburger animation: transform into X when open */
  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Backdrop overlay - semi-transparent dark layer behind drawer */
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 9998;
    backdrop-filter: blur(2px);
  }

  .mobile-menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }

  /* Mobile drawer - slides in from right */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: #0f1724;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s linear 0.3s;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s linear 0s;
  }

  /* Mobile menu header with logo */
  .mobile-menu-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mobile-menu-logo {
    width: 160px;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Mobile menu navigation container */
  .mobile-menu-nav {
    flex: 1;
    padding: 1rem 0;
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-menu-list li {
    margin: 0;
  }

  /* Mobile menu links */
  .mobile-menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
    position: relative;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:focus {
    background: rgba(212, 163, 66, 0.12);
    color: #d4a342;
    padding-left: 2rem;
    outline: none;
  }

  .mobile-menu-link:focus-visible {
    outline: 2px solid #d4a342;
    outline-offset: -2px;
  }

  .mobile-menu-link:active {
    background: rgba(212, 163, 66, 0.2);
    transform: scale(0.98);
  }

  /* Instagram icon in menu */
  .mobile-menu-link i {
    margin-right: 0.5rem;
    font-size: 1.15rem;
    vertical-align: middle;
  }

  /* Hide WhatsApp floating button when menu is open */
  body.menu-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    height: 100vh;
  }

  /* Focus trap helper - ensure focus stays within menu when open */
  .mobile-menu.is-open a:focus,
  .mobile-menu.is-open button:focus {
    outline: 2px solid #d4a342;
    outline-offset: 2px;
  }

  /* Smooth scroll behavior for menu links */
  .mobile-menu-link[href^="#"] {
    scroll-behavior: smooth;
  }
}

/* ============================================================================
   DESKTOP - Hide mobile menu components completely
   ============================================================================ */

@media (min-width: 841px) {

  /* Completely hide mobile drawer and related components on desktop */
  .mobile-menu,
  .mobile-menu-backdrop,
  .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Ensure desktop navbar is visible and functional */
  .navbar {
    display: block;
  }

  .nav-links {
    display: flex !important;
  }
}

/* Default state - hide hamburger button on desktop */
@media (min-width: 841px) {
  .nav-toggle {
    display: none !important;
  }

  /* Hide mobile menu components on desktop */
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none !important;
  }
}

.nav-links.open li:nth-child(1) {
  animation-delay: 0.15s;
}

.nav-links.open li:nth-child(2) {
  animation-delay: 0.2s;
}

.nav-links.open li:nth-child(3) {
  animation-delay: 0.25s;
}

.nav-links.open li:nth-child(4) {
  animation-delay: 0.3s;
}

.nav-links.open li:nth-child(5) {
  animation-delay: 0.35s;
}

.nav-links.open li:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes slideInNav {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-links li {
  width: 100%;
}

.nav-links a {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  display: block;
  text-align: left;
  width: 100%;
  color: #fff;
}

.nav-links a:hover {
  color: #d4a342;
}

.nav-toggle {
  display: block;
  z-index: 10001;
  position: relative;
}
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .nav-links {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 0.75rem 1.5rem;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .hero .subtitle {
    margin-bottom: 2rem;
  }

  .hero .hero-buttons {
    gap: 1rem;
    margin-top: 2rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .nav-links {
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }
}

/* 5. Hero / Home ------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  background: linear-gradient(135deg, #283650 0%, #1d2738 55%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: .4px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #f5e6c0 0%, #d4a342 25%, #d4a342 50%, #d4a342 75%, #f5e6c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 32px rgba(212, 163, 66, 0.3), 0 0 60px rgba(212, 163, 66, 0.15);
  background-size: 200% 100%;
  animation: goldShimmer 6s ease-in-out infinite;
  will-change: background-position;
  filter: brightness(1.1) saturate(1.05);
}

@keyframes goldShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .highlight {
    animation: none;
  }
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #d4dde8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* 6. Buttons ----------------------------------------------------------- */
.btn {
  --bg: #d4a342;
  --color: #fff;
  --hover: #e5b352;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--color);
  border: none;
  padding: .9rem 1.4rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 4px 18px -6px rgba(196, 154, 82, 0.4);
  will-change: transform;
}

.btn:hover {
  background: var(--hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 22px -4px rgba(196, 154, 82, 0.55);
}

.btn-outline {
  --bg: transparent;
  --color: #d4a342;
  border: 2px solid #d4a342;
  box-shadow: none;
}

.btn-outline:hover {
  background: #d4a342;
  color: #fff;
}

.btn-dark {
  --bg: #283650;
  --hover: #324667;
  box-shadow: 0 4px 18px -6px rgba(40, 54, 80, 0.5);
}

.btn-dark:hover {
  box-shadow: 0 6px 22px -4px rgba(40, 54, 80, 0.65);
}

/* 7. Services ---------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(12, 1fr);
}

.service-card {
  grid-column: span 4;
}

.service-card.wide {
  grid-column: span 8;
}

@media (max-width: 980px) {
  .service-card {
    grid-column: span 6;
  }

  .service-card.wide {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {

  .service-card,
  .service-card.wide {
    grid-column: span 12;
  }
}

.service-card {
  background: rgba(20, 29, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: .45s cubic-bezier(.4, .14, .3, 1);
  box-shadow: 0 6px 18px -12px rgba(40, 54, 80, 0.4);
  will-change: transform;
}

.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 154, 82, 0.08), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: .5s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px -18px rgba(40, 54, 80, 0.35);
}

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

.service-card h3 {
  margin-top: 0;
  font-size: 1.08rem;
  letter-spacing: .6px;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.service-card h3 i {
  color: #d4a342;
}

.service-card p {
  color: #d4dcee;
}

.service-bullets {
  margin: .6rem 0 0 1.05rem;
  padding: 0;
  color: #dbe6f5;
}

.service-bullets li {
  margin: .3rem 0;
  list-style: disc;
}

/* Minimal service short description — ensure high contrast */
.service-short {
  color: #eaf1fb;
  margin: 0 0 .6rem;
  font-size: .96rem;
}

/* Hidden details: start visually hidden but accessible */
.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .42s ease, opacity .32s ease, padding .28s ease;
}

.service-card.open .service-details {
  max-height: 800px;
  opacity: 1;
  padding-top: .6rem;
}

.service-details p.small {
  color: #bfcce0;
  margin: 0 0 .5rem;
}

/* Improve contrast of badges and short headings for legibility */
.service-badge {
  display: none;
}

/* Button focus and reduced visual noise */
.service-toggle {
  min-width: 150px;
}

.service-toggle:focus {
  outline: 3px solid rgba(196, 154, 82, 0.18);
}

/* Reduce initial text in cards for a minimal aesthetic */
.service-card .service-bullets {
  display: block;
}

/* New: two-up services layout */
.services-grid-2col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  max-width: 1100px;
  margin: 0 auto;
}

.services-grid-2col .service-card {
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  grid-column: span 1 !important;
}

.services-grid-2col .service-card .service-actions {
  margin-top: auto;
}

@media (max-width:900px) {
  .services-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
  }

  .services-grid-2col .service-card {
    min-height: 240px;
  }
}

@media (max-width:720px) {
  .services-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services-grid-2col .service-card {
    min-height: auto;
  }
}

/* Service actions and button spacing */
.service-actions {
  margin-top: .7rem;
  display: flex;
  gap: .6rem;
  align-items: center;
}

.service-actions .btn {
  padding: .55rem .95rem;
  border-radius: 40px;
}

.service-actions .btn-outline {
  border-width: 1.5px;
}

/* Slightly lighter card background and subtler hover for a cleaner look */
.service-card {
  background: linear-gradient(180deg, rgba(20, 29, 45, 0.86), rgba(13, 21, 35, 0.86));
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -22px rgba(0, 0, 0, .55);
}

/* Improve heading weight and spacing */
.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: .5rem;
}

.service-short {
  font-size: .96rem;
  color: #ffffff;
  margin-bottom: .5rem;
}

/* Center the meeting CTA and limit width for better visual balance */
.meeting-cta-centered {
  display: block;
  margin: 0 auto;
  max-width: 820px;
  padding: 2.2rem 2.4rem;
}

@media (max-width:720px) {
  .meeting-cta-centered {
    padding: 1.6rem 1.2rem;
    max-width: 92%;
  }
}

/* 8. About ------------------------------------------------------------- */
.about-centered {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-centered .section-header {
  margin-bottom: 4rem;
}

.about-lead {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.about-mission {
  background: linear-gradient(135deg, rgba(26, 40, 71, 0.4), rgba(22, 35, 56, 0.3));
  border: 1px solid rgba(212, 163, 66, 0.15);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.about-mission::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 163, 66, 0.2), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
}

.about-mission:hover::after {
  opacity: 1;
}

.about-mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4a342, transparent);
}

.mission-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.value-item {
  padding: 2rem 1.5rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 40, 71, 0.4), rgba(22, 35, 56, 0.3));
  border-radius: 50%;
  border: 1px solid rgba(212, 163, 66, 0.2);
}

.value-icon i {
  font-size: 1.8rem;
  color: #d4a342;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #e8edf6;
  font-weight: 600;
}

.value-item p {
  font-size: 0.95rem;
  color: #b8c2d1;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .about-values {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 980px) {
  .about-wrapper {
    grid-template-columns: repeat(6, 1fr);
  }

  .about-text {
    grid-column: 1 / -1;
  }

  .about-visual {
    grid-column: 1 / -1;
    order: -1;
  }
}

/* Badges refine */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin: 1rem 0 1.1rem;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f4f6f9;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .4px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.badge-pill i {
  color: #d9bf86;
}

/* Steps as cards */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.1rem 0 1.4rem;
}

.step {
  background: rgba(13, 21, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem .95rem 1.1rem;
  color: #d8e3f1;
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, .5);
  transition: transform .35s ease, box-shadow .35s ease;
}

.step h4 {
  margin: .1rem 0 .35rem;
  font-size: 1rem;
  letter-spacing: .5px;
  color: #f2f6ff;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.step p {
  margin: 0;
  font-size: .92rem;
  color: #bdc9da;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, .6);
}

/* Stats – improve contrast on labels */
.stat-label {
  color: #41506a;
}

/* 9. Clients ----------------------------------------------------------- */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  transition: .45s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .35);
}

.client-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .55);
}

.client-logo-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.client-logo-inner {
  background: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1.4rem;
}

.client-logo img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: .5s cubic-bezier(.4, .14, .3, 1);
}

.client-logo:hover img {
  transform: scale(1.05);
}

/* Enhanced clients styling */
.enhanced-clients {
  gap: 2.2rem;
}

.client-logo {
  height: 160px;
}

.client-logo-box {
  height: 100%;
}

.enhanced-clients .client-logo-inner {
  height: 100%;
}

.enhanced-clients .client-logo img {
  max-height: 78px;
}

.clients-squares {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.clients-squares .client-square {
  width: 190px;
  height: 190px;
}

.clients-squares .client-square .client-logo-inner {
  padding: 1.2rem 1.2rem;
}

.clients-squares .client-square img.logo-img {
  max-height: 86px;
}

.clients-squares .client-1 img.logo-img {
  max-height: 110px;
}

.clients-squares .client-3 img.logo-img {
  max-height: 105px;
}

@media (max-width:820px) {
  .clients-squares .client-square {
    width: 160px;
    height: 160px;
  }

  .clients-squares .client-square img.logo-img {
    max-height: 70px;
  }

  .clients-squares .client-1 img.logo-img {
    max-height: 92px;
  }

  .clients-squares .client-3 img.logo-img {
    max-height: 88px;
  }
}

@media (max-width:560px) {
  .clients-squares {
    gap: 1.3rem;
  }

  .clients-squares .client-square {
    width: 140px;
    height: 140px;
  }

  .clients-squares .client-square img.logo-img {
    max-height: 62px;
  }

  .clients-squares .client-1 img.logo-img {
    max-height: 82px;
  }

  .clients-squares .client-3 img.logo-img {
    max-height: 78px;
  }
}

.client-logo:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(196, 154, 82, 0.08), transparent 70%);
  opacity: 0;
  transition: .6s;
}

.client-logo:hover:before {
  opacity: 1;
}

.client-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 36, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  opacity: 0;
  transition: .55s cubic-bezier(.4, .14, .3, 1);
  padding: .7rem .9rem .6rem;
  backdrop-filter: blur(8px) saturate(130%);
}

.client-overlay small {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .5px;
  margin-top: 2px;
  opacity: .85;
}

.client-logo:hover .client-overlay {
  opacity: 1;
}

.client-ig {
  display: inline-flex;
  margin-top: .45rem;
  background: linear-gradient(90deg, #d4a342, #f5e6c0);
  color: #162338;
  padding: .25rem .45rem;
  border-radius: 999px;
  font-size: .65rem;
  gap: .25rem;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 4px 12px -6px rgba(196, 154, 82, .55);
}

.client-ig i {
  font-size: .75rem;
  line-height: 1;
}

@media (max-width: 680px) {
  .client-logo {
    height: 130px;
  }

  .client-logo-inner {
    padding: 1rem 1.1rem;
  }

  .client-logo img {
    max-height: 60px;
  }

  .client-overlay {
    font-size: .68rem;
  }
}

/* 9b. Portfolio (cards) - new styles to match React-like portfolio */
.portfolio-grid-v3 {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-card-v3 {
  background: rgba(20, 29, 45, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 12px 36px -22px rgba(0, 0, 0, .6);
}

.portfolio-card-v3:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .6);
}

.portfolio-card-header {
  height: 120px;
  background: linear-gradient(135deg, rgba(40, 54, 80, 0.06), rgba(196, 154, 82, 0.06));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portfolio-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(90deg, #d4a342, #f5e6c0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #162338;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px -14px rgba(196, 154, 82, .6);
}

.portfolio-category-badge {
  display: inline-block;
  padding: .28rem .6rem;
  font-size: .72rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-weight: 700;
  color: #162338;
  background: linear-gradient(90deg, #f5e6c0, #d4a342);
  border-radius: 999px;
  box-shadow: 0 6px 18px -12px rgba(196, 154, 82, .45);
}

.portfolio-card-content {
  padding: 1.15rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-align: center;
}

.portfolio-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8eef7;
  margin: 0 0 .25rem;
}

.portfolio-card-description {
  color: #bfcbe0;
  font-size: .95rem;
  margin: 0 0 .6rem;
}

.client-channels {
  font-size: .82rem;
  color: #9fb0c8;
  font-weight: 700;
  margin-bottom: .6rem;
}

.portfolio-card-header {
  height: 140px;
  background: linear-gradient(135deg, rgba(40, 54, 80, 0.03), rgba(196, 154, 82, 0.03));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.portfolio-card-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card-v3:hover .card-logo {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Apply same white backdrop to client grid logos for consistency */
.client-logo-inner {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-inner img.logo-img {
  background: transparent;
  max-height: 86px;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: .6rem;
}

.metric-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: .6rem .4rem;
}

.metric-value {
  font-weight: 700;
  color: #d4a342;
  font-size: 1rem;
}

.metric-label {
  font-size: .72rem;
  color: #9fb0c8;
  text-transform: capitalize;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .6rem;
  justify-content: center;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6f5;
  padding: .32rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  white-space: normal;
  max-width: 100%;
}

.portfolio-tag {
  word-break: break-word;
}

.btn-portfolio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border-radius: 40px;
  border: 1px solid rgba(196, 154, 82, 0.12);
  background: transparent;
  color: #d4a342;
  font-weight: 700;
  text-decoration: none;
  transition: all .28s ease;
}

.btn-portfolio:hover {
  background: #d4a342;
  color: #162338;
  box-shadow: 0 10px 30px -18px rgba(196, 154, 82, .55);
  transform: translateY(-3px);
}

.clients-cta .btn {
  background: linear-gradient(90deg, #d4a342, #f5e6c0);
  color: #162338;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(196, 154, 82, .45);
}

.clients-cta .btn:hover {
  transform: translateY(-4px);
}

@media (max-width:720px) {
  .portfolio-card-header {
    height: 100px;
  }

  .portfolio-icon-circle {
    width: 52px;
    height: 52px;
  }

  .portfolio-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 10. Contact ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

form.contact-form {
  display: grid;
  gap: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: .45rem;
  font-size: .85rem;
  letter-spacing: .5px;
  font-weight: 600;
  text-transform: uppercase;
  color: #b9c6dc;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid #c2cad6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  resize: vertical;
  min-height: 54px;
  transition: border-color .35s ease, background .35s;
}

.contact-form textarea {
  min-height: 160px;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d4a342;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 154, 82, 0.25);
}

.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  margin-top: .25rem;
  text-align: center;
}

.btn-whatsapp {
  --bg: #25D366;
  --hover: #1ebe5b;
  background: var(--bg);
  color: #fff;
  box-shadow: 0 4px 18px -6px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: var(--hover);
  box-shadow: 0 6px 22px -4px rgba(37, 211, 102, 0.6);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  z-index: 1400;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.55), 0 4px 14px -4px rgba(0, 0, 0, .4);
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 34px -6px rgba(37, 211, 102, 0.6);
  text-decoration: none;
  background: #1ebe5b;
}

.floating-whatsapp:active {
  transform: translateY(-1px) scale(.97);
}

.floating-whatsapp .wa-icon {
  line-height: 1;
  display: flex;
}

.floating-whatsapp .wa-tooltip {
  position: absolute;
  right: 70px;
  background: #182433;
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: .45rem .6rem;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: .35s ease;
  white-space: nowrap;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5);
}

.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width:640px) {
  .floating-whatsapp {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
    bottom: 20px;
    right: 20px;
    position: fixed;
    z-index: 9999;
  }

  .floating-whatsapp .wa-tooltip {
    display: none;
  }

  .contact-options-card {
    padding: 2rem 1.5rem;
  }

  .btn-whatsapp-primary {
    padding: 1.25rem 1.5rem !important;
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-whatsapp-primary .btn-content {
    align-items: center;
    text-align: center;
  }

  .btn-whatsapp-primary strong {
    font-size: 1.1rem;
  }

  .btn-whatsapp-primary small {
    font-size: 0.8rem;
  }

  .contact-social-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .social-contact-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .social-contact-btn i {
    font-size: 1.5rem;
  }
}

/* Subtle pulse */
@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  55% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.floating-whatsapp {
  animation: waPulse 3.2s ease-in-out infinite;
}

/* Centered contact layout */
.contact-centered {
  max-width: 680px;
  margin: 0 auto;
}

.contact-header-centered {
  text-align: center;
}

/* Contact Options Card */
.contact-options-card {
  background: rgba(20, 29, 45, 0.6);
  border: 1px solid rgba(212, 163, 66, 0.15);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
  max-width: 600px;
  margin: 0 auto;
}

/* Main WhatsApp CTA */
.contact-main-cta {
  margin-bottom: 2rem;
}

.btn-whatsapp-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  background: linear-gradient(135deg, #25D366, #1fb855) !important;
  color: #fff !important;
  padding: 1.5rem 2rem !important;
  border-radius: 16px !important;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  border: none;
  text-decoration: none;
}

.btn-whatsapp-primary:hover {
  background: linear-gradient(135deg, #1fb855, #128c3e) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.btn-whatsapp-primary i {
  font-size: 2rem;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.btn-whatsapp-primary .btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.btn-whatsapp-primary strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.btn-whatsapp-primary small {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Divider */
.contact-divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 66, 0.2), transparent);
}

.contact-divider span {
  position: relative;
  background: rgba(20, 29, 45, 0.9);
  padding: 0 1rem;
  color: rgba(224, 231, 241, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
}

/* Social Contact Grid */
.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.social-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: rgba(15, 23, 36, 0.6);
  border: 1px solid rgba(212, 163, 66, 0.15);
  border-radius: 12px;
  color: #e0e7f1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.social-contact-btn:hover {
  background: rgba(212, 163, 66, 0.1);
  border-color: rgba(212, 163, 66, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 163, 66, 0.15);
  text-decoration: none;
}

.social-contact-btn i {
  font-size: 1.8rem;
  color: #d4a342;
}

.social-contact-btn span {
  font-size: 0.85rem;
}

.alert {
  padding: .9rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .3px;
  margin: 0 0 1.25rem;
}

.alert-success {
  background: #e9f6ef;
  color: #1d6c3a;
  border: 1px solid #bee3cd;
}

.alert-error {
  background: #fceaea;
  color: #b93528;
  border: 1px solid #f5c6c1;
}

/* 11. Meeting ---------------------------------------------------------- */
.meeting-cta {
  text-align: center;
  background: linear-gradient(135deg, #0f1724, #172741);
  color: #fff;
  border-radius: 22px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.meeting-cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(196, 154, 82, .25), transparent 60%);
  opacity: .45;
}

.meeting-cta h2 {
  color: #fff;
}

/* 12. Footer ----------------------------------------------------------- */
footer,
.site-footer {
  background: #111722;
  color: #dbe2ed;
  padding: 2.8rem 0;
  font-size: .95rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.site-footer .footer-brand {
  grid-column: span 1;
}

.site-footer .footer-desc {
  color: #9fb0c8;
  margin-top: .6rem;
  max-width: 300px;
}

.site-footer h4 {
  margin: 0 0 .6rem;
  color: #e9eef7;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #e9eef7;
  text-decoration: none;
  opacity: .9;
}

.site-footer a:hover {
  color: #d4a342;
}

.site-footer .footer-contact p {
  margin: .25rem 0;
  color: #bfcde0;
}

.site-footer .footer-newsletter {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
}

.site-footer .footer-newsletter input[type="email"] {
  padding: .55rem .8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.site-footer .footer-newsletter input::placeholder {
  color: #98a9bf;
}

.site-footer .footer-socials a {
  color: #e9eef7;
  margin-right: .6rem;
  font-size: 1.15rem;
}

.site-footer .footer-bottom {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
  color: #9fb0c8;
}

@media (max-width:920px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
  }

  .site-footer .footer-brand {
    margin-bottom: 1rem;
  }
}

/* Tone down gold accents and heavy shadows for about section */
.text-gold {
  color: #c8a66a;
}

.gold-accent-bar {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #bfa46a, #d3b776);
  border-radius: 2px;
  flex-shrink: 0;
}

.card,
.about-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: none;
}

.hover\:shadow-medium:hover {
  box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .5);
}

/* 13. Animations / Transitions Hooks ---------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.4, .14, .3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Keep content visible if JS/AOS not ready to avoid "only navbar" issue */
body:not(.aos-init-ok) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

noscript [data-animate],
noscript [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.fade-in {
  animation: fadeIn .9s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Premium Enhancements & Gold Accents */
.gold-accent-bar {
  display: inline-block;
  width: 42px;
  height: 6px;
  background: linear-gradient(90deg, #d4a342, #e5b352);
  border-radius: 6px;
  margin-right: .7rem;
  position: relative;
  top: -4px;
  box-shadow: 0 2px 6px -2px rgba(196, 154, 82, .6);
}

.gold-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 68% 38%, rgba(196, 154, 82, .25), transparent 60%), radial-gradient(circle at 20% 75%, rgba(196, 154, 82, .15), transparent 70%);
  mix-blend-mode: overlay;
  opacity: .55;
}

.nav-links .lang-switch {
  display: flex;
  gap: .35rem;
  align-items: center;
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links .lang-switch a {
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .lang-switch a.active {
  background: #d4a342;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

.nav-links .btn-nav-cta {
  background: linear-gradient(90deg, #d4a342, #e5b352);
  color: #fff;
  padding: .55rem 1rem .55rem .85rem;
  border-radius: 40px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 4px 14px -4px rgba(196, 154, 82, .55);
  transition: background .4s ease, transform .35s ease, box-shadow .4s ease;
}

.nav-links .btn-nav-cta:hover {
  background: linear-gradient(90deg, #e5b352, #d4a342);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px -4px rgba(196, 154, 82, .65);
  text-decoration: none;
}

.nav-links .btn-nav-cta i {
  font-size: 1rem;
  line-height: 1;
}

/* Extra subtle float animation for logos */
.client-logo {
  animation: floatUp 5.8s ease-in-out infinite;
}

.client-logo:nth-child(2) {
  animation-delay: 1.4s;
}

.client-logo:nth-child(3) {
  animation-delay: 2.8s;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Accent focus rings */
:focus-visible {
  outline: 2px solid #d4a342;
  outline-offset: 2px;
}

/* Hero gradient enhancement */
.hero {
  position: relative;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(40, 54, 80, .1), rgba(196, 154, 82, .12));
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Animated underline for headings */
.section-header h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Language specific font adjustments (optional future) */
/* html[lang='pt'] body { font-feature-settings: "liga" 1; } */

/* Icon color polish */
.bi-send,
.bi-calendar-check,
.bi-rocket-takeoff-fill,
.bi-grid {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}

/* Elevate meeting CTA */
.meeting-cta {
  box-shadow: 0 14px 40px -18px rgba(40, 54, 80, .6);
}

/* Minor breathing animation for stats after finish */
.stat-finished {
  animation: pulseGold 2.8s ease-in-out 1;
}

@keyframes pulseGold {
  0% {
    color: #283650;
  }

  50% {
    color: #d4a342;
  }

  100% {
    color: #d4a342;
  }
}

/* 14. Media Queries ---------------------------------------------------- */
@media (max-width: 1020px) {
  .hero {
    padding: 5rem 0 4rem;
  }
}

@media (max-width: 720px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .meeting-cta {
    padding: 3rem 1.5rem;
  }

  .gold-accent-bar {
    width: 60px !important;
  }

  .section-header h2 {
    gap: 16px;
    font-size: 1.6rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .stats-grid {
    gap: 1.25rem;
  }

  .stat {
    padding: 1.2rem 0.8rem 1.4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    margin-bottom: 1rem;
  }

  .section-header .lead {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

/* Intro video overlay */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1116;
}

.intro-overlay.hidden {
  display: none;
}

.intro-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-overlay.fading {
  transition: opacity 900ms ease;
  opacity: 0;
}

/* Fade + subtle zoom for closing animation */
.intro-overlay.zoom-fade {
  animation: zoomFadeOut 900ms ease forwards;
}

@keyframes zoomFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

.intro-skip {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2510;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  padding: .5rem .75rem;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  font-weight: 700;
}

.intro-overlay .sr-only {
  position: absolute;
  left: -9999px;
}

/* 15. Scrollbar (WebKit) ---------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f4f6f9;
}

::-webkit-scrollbar-thumb {
  background: #d4a342;
  border-radius: 20px;
  border: 2px solid #f4f6f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #e5b352;
}

/* 16. Stats Counters -------------------------------------------------- */
.stats-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 2.5rem 0 1rem;
}

.stat {
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 40, 71, 0.4), rgba(22, 35, 56, 0.3));
  border: 1px solid rgba(212, 163, 66, 0.2);
  padding: 1.4rem 1rem 1.6rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(40, 54, 80, 0.06);
  transition: .5s;
  will-change: transform;
}

.stat:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(196, 154, 82, .08), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: .6s;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px -10px rgba(40, 54, 80, 0.25);
}

.stat:hover:before {
  opacity: 1;
}

.stat-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #283650;
  margin-bottom: .35rem;
}

.stat-finished {
  color: #d4a342;
  transition: color .6s ease;
}

.stat-label {
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
}

/* Brand gradient text & navbar refinement */
.brand-text-gradient {
  background: linear-gradient(90deg, #d4a342 0%, #f5e6c0 45%, #d4a342 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.navbar {
  background: rgba(25, 34, 50, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
}

.navbar.scrolled {
  background: rgba(25, 34, 50, 0.94);
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .45);
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
  transition: height .35s ease;
}

.navbar-brand {
  gap: .75rem;
}

.navbar-brand img {
  transition: height .35s ease, filter .5s;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

.navbar-brand img:hover {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5));
}

.service-badge {
  display: none !important;
}

/* Logo ring effect */
.logo-ring {
  position: relative;
  border-radius: 10px;
}

.logo-ring {
  box-shadow: 0 0 0 0 rgba(196, 154, 82, .0);
  transition: box-shadow .45s ease, transform .35s ease;
}

.logo-ring:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(196, 154, 82, .35), 0 10px 26px -12px rgba(0, 0, 0, .6);
}

/* Navbar social icon */
.nav-links .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px -8px rgba(0, 0, 0, .6);
}

.nav-links .social a:hover {
  background: linear-gradient(135deg, #d4a342, #f5e6c0);
  color: #162338;
  text-decoration: none;
}

/* Instagram Spotlight section */
.insta-head {
  margin-bottom: 1rem;
}

.insta-head h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  line-height: 1;
}

.insta-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}

.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .85, .2, 1);
  filter: saturate(110%) contrast(105%);
}

.insta-item:hover img {
  transform: scale(1.06);
}

.insta-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(196, 154, 82, .12), transparent 60%);
  opacity: 0;
  transition: .5s;
}

.insta-item:hover:after {
  opacity: 1;
}

/* Socials extended section */
.socials-head {
  justify-content: center;
  text-align: center;
}

.socials-info-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1.5rem auto 1rem;
  max-width: 1000px;
  justify-items: center;
}

.socials-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 1.2rem 1.6rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-height: 150px;
  width: 100%;
}

.socials-card-link {
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.socials-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 163, 66, 0.4);
  box-shadow: 0 8px 24px rgba(212, 163, 66, 0.2);
}

.socials-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 154, 82, 0.14), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: .55s;
}

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

.socials-card .icon {
  font-size: 1.4rem;
  line-height: 1;
  color: #d4a342;
  text-shadow: 0 4px 18px rgba(196, 154, 82, 0.35);
}

.socials-card .label {
  font-size: .7rem;
  letter-spacing: 1.1px;
  font-weight: 700;
  text-transform: uppercase;
  color: #aebcd1;
}

.socials-card .value {
  font-size: .85rem;
  font-weight: 600;
  color: #f2f6fc;
  word-break: break-word;
  line-height: 1.3;
}

.socials-card .value a,
.socials-card a.value {
  color: #f2f6fc !important;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.socials-card .value a:hover,
.socials-card a.value:hover {
  text-decoration: underline;
  color: #d4a342 !important;
  transform: translateX(3px);
}

.socials-card .phones a {
  display: inline-block;
  padding: 0.25rem 0;
  color: #f2f6fc !important;
}

.socials-card .phones a:hover {
  transform: translateX(3px);
  color: #d4a342 !important;
}

.socials-card-phones {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.socials-card-phones:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 163, 66, 0.4);
  box-shadow: 0 8px 24px rgba(212, 163, 66, 0.2);
}

.insta-subtitle {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  letter-spacing: .5px;
  font-weight: 600;
  color: #e1e7f1;
  display: flex;
  align-items: center;
  gap: .5rem;
}

@media (max-width:780px) {
  .socials-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .socials-card {
    min-height: 120px;
  }
}

@media (max-width:520px) {
  .socials-card {
    padding: .85rem .8rem .9rem;
  }

  .socials-card .icon {
    font-size: 1.25rem;
  }

  .socials-card .value {
    font-size: .8rem;
  }
}

@media (max-width: 1024px) {
  .insta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.insta-follow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(90deg, #d4a342, #f5e6c0);
  color: #0f1724;
  box-shadow: 0 6px 18px -10px rgba(196, 154, 82, .6);
}

/* Swiper Slides Opacity - Reduce transparency for non-active slides */
.swiper-slide {
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.swiper-slide-active {
  opacity: 1;
}

/* Add padding to swiper slides on mobile */
@media (max-width: 768px) {
  .swiper-slide {
    padding: 0 1rem;
  }
}

/* Swiper Navigation Arrows - Golden Color */
.swiper-button-next,
.swiper-button-prev {
  color: #d4a342 !important;
  background: transparent;
  width: 48px !important;
  height: 48px !important;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #f5e6c0 !important;
  transform: scale(1.15);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
  font-weight: 900;
}

@media (max-width: 768px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 14px !important;
  }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: rgba(212, 163, 66, 0.2);
  }

  .btn,
  .service-card,
  .portfolio-card,
  .about-mission {
    transition-duration: 0.2s;
  }

  /* More breathing space for cards and content */
  .service-card {
    padding: 2rem 2rem;
    margin-bottom: 2rem;
  }

  .service-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
  }

  .service-card p {
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .portfolio-card {
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
  }

  .about-card,
  .card {
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
  }

  .socials-card {
    padding: 2rem 1.75rem;
    margin-bottom: 1.5rem;
  }

  .contact-options-card {
    padding: 3rem 2.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 50px;
  }

  h2 {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  h3 {
    margin-bottom: 1.25rem;
  }

  p {
    margin-bottom: 1.5rem;
  }

  .section-header {
    padding: 0 1rem;
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {

  .btn:hover,
  .service-card:hover,
  .portfolio-card:hover,
  .stat:hover {
    transform: none;
  }

  .btn:active,
  .service-card:active,
  .stat:active {
    transform: scale(0.98);
  }

  /* Remove hover effect from mouse tracking on touch devices */
  .about-mission:hover::after {
    opacity: 0;
  }
}

.insta-follow:hover {
  transform: translateY(-2px);
  text-decoration: none;
}