/* style.css */
:root {
  /* Colors */
  --c-blue-500: #3b82f6;
  --c-blue-600: #2563eb;
  --c-blue-700: #1d4ed8;

  --c-green-400: #34d399;
  --c-green-500: #10b981;
  --c-green-600: #059669;

  --c-slate-50: #f8fafc;
  --c-slate-100: #f1f5f9;
  --c-slate-200: #e2e8f0;
  --c-slate-800: #1e293b;
  --c-slate-900: #0f172a;

  /* Theme Tokens */
  --bg-body: var(--c-slate-50);
  --bg-surface: #ffffff;
  --bg-slate: var(--c-slate-100);
  --text-main: var(--c-slate-900);
  --text-muted: #475569;

  --primary-gradient: linear-gradient(135deg, var(--c-green-500), var(--c-blue-500));
  --primary-gradient-hover: linear-gradient(135deg, var(--c-green-600), var(--c-blue-600));

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Sizes */
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px -5px rgba(16, 185, 129, 0.4);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.lock-scroll {
  overflow: hidden;
  height: 100vh;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
  /* Optimizing for browser rendering: skip rendering logic for off-screen sections */
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
  overflow-x: hidden !important;
}

#inicio {
  content-visibility: visible;
}

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

.relative {
  position: relative;
}

.bg-slate {
  background-color: transparent;
}

.bg-dark-blue {
  background-color: var(--c-slate-900);
  color: white;
}

.bg-dark-blue .section-title,
.bg-dark-blue .map-info h3,
.bg-dark-blue .glass-panel h2 {
  color: white;
}

.bg-dark-blue .section-desc,
.bg-dark-blue .map-info p,
.bg-dark-blue .glass-panel p {
  color: #94a3b8;
}

.bg-dark-blue .badge {
  color: var(--c-green-400);
  background: rgba(52, 211, 153, 0.15);
}

.bg-dark-blue .glass-panel {
  border-color: rgba(255, 255, 255, 0.15);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--c-green-600);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-green {
  background-color: var(--c-green-500);
  color: white;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
  filter: brightness(1.05);
}

.btn-about-cta {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%) !important;
  border-radius: var(--border-radius-md);
  padding: 14px 32px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--c-slate-200);
}

.btn-outline:hover {
  border-color: var(--c-green-500);
  color: var(--c-green-600);
  background: white;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: none;
  position: relative;
}

.btn-ghost-text {
  visibility: hidden;
  white-space: nowrap;
}

.btn-real-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: white;
}

.btn-white {
  background: white;
  color: var(--c-slate-900);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-pulsing {
  animation: pulse 2s infinite;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition-normal);
  padding: 20px 0;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
}

.logo-icon.white {
  background: white;
  color: var(--c-green-600);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--c-green-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: visible;
  background: transparent;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  /* Ensures content stays ABOVE floating elements */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--c-green-600);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.1;
  text-align: left;
  color: #334155;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 40px 0;
  max-width: 500px;
  text-align: left;
}

.hero-bts {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.8s ease;
  will-change: transform;
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.05);
}


/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  /* Ensures content stays ABOVE floating elements */
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.8s ease;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-wrapper:hover {
  transform: scale(1.03);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-icon {
  width: 28px;
  height: 28px;
  background: #d1fae5;
  color: var(--c-green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: bold;
}

.features-list strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.features-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.link-forward {
  font-weight: 600;
  color: var(--c-blue-600);
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-forward:hover {
  color: var(--c-blue-700);
  gap: 12px;
}

/* Services */
.services.section {
  position: relative;
}

#services .container {
  position: relative;
  z-index: 2;
  /* Forces text and cards to stay above the decorative spine */
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  width: calc(33.333% - 20px);
  /* 3 cols on desktop for more breathing room and impact */
  min-width: 320px;
  background: var(--bg-surface);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--c-slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.service-icon {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 24px;
}

.box-green {
  background: #d1fae5;
  color: var(--c-green-600);
}

.box-blue {
  background: #dbeafe;
  color: var(--c-blue-600);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Featured Service Card Style (Image-first) */
.card-featured {
  padding: 0 !important;
  overflow: hidden;
  background: white !important;
  border: 1px solid var(--c-slate-200) !important;
  display: flex;
  flex-direction: column;
}

.card-img-container {
  width: 100%;
  height: 300px;
  /* Increased from 240px for maximum impact */
  overflow: hidden;
  position: relative;
  background: var(--c-slate-100);
}

.card-img-container::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.08);
  /* Stronger inner shadow for focus */
  pointer-events: none;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-glass-pill {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-glass-pill span {
  font-size: 1.1rem;
}

.card-featured:hover .card-img-container img {
  transform: scale(1.1);
}

.card-info {
  padding: 20px 24px 24px;
  /* Reduced vertical padding to prioritize the image area */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-info .service-title {
  color: var(--c-slate-900);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card-info .service-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-card-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-green-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-card-more:hover {
  color: var(--c-green-700);
  gap: 12px;
}

.transition-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 5;
  display: block;
  margin-top: -60px;
  margin-bottom: -5px;
  /* Previne espaços e linhas brancas no encontro com a sessão inferior */
  overflow: hidden;
}

.transition-image-wrapper img {
  width: 100%;
  max-width: 100%;
  /* Força expansão lado a lado */
  height: auto;
  min-height: 200px;
  object-fit: cover;
  /* Garante que nunca sobra margem branca nas laterais */
  object-position: center bottom;
  display: block;
  filter: none;
  /* Remover drop shadow agressivo para fusão perfeita */
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.cta-premium-box {
  background-color: var(--c-slate-900);
  border-radius: var(--border-radius-lg);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-premium-box::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at bottom center,
      #10b981 0%,
      var(--c-green-600) 25%,
      rgba(5, 150, 105, 0) 65%);
  filter: blur(60px);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  animation: explosion-glow 4s infinite alternate ease-in-out;
}

.cta-premium-box::after {
  content: "";
  position: absolute;
  bottom: -45%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle at bottom center,
      #ffffff 0%,
      #10b981 10%,
      rgba(16, 185, 129, 0.6) 30%,
      transparent 70%);
  filter: blur(25px);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}

@keyframes explosion-glow {
  0% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }

  100% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.1);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-premium-box h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.cta-premium-box p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 40px;
}

@media (max-width: 768px) {
  .cta-premium-box {
    padding: 60px 20px;
  }

  .cta-premium-box h2 {
    font-size: 2.25rem;
  }

  .cta-premium-box::before {
    bottom: -30%;
    width: 200%;
    height: 160%;
    filter: blur(40px);
    opacity: 1;
  }

  .cta-premium-box::after {
    bottom: -20%;
    width: 150%;
    height: 120%;
    filter: blur(20px);
  }
}

/* CTA Section */
.cta-section {
  margin-bottom: -1px;
}

main {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--c-slate-900);
  color: white;
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 20px;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: white;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a,
.footer-contact li {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--c-green-400);
}

.footer-contact strong {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

.footer .logo-text {
  color: white;
}

/* Animations */
@keyframes float {

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Background Animated Blobs */
.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.3;
  border-radius: 50%;
  animation: drift 15s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--c-green-400);
}

.blob-2 {
  bottom: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--c-blue-400);
  animation-delay: -5s;
}

@keyframes drift {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.1) translate(50px, 50px);
  }
}

/* Space Section */
.space-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: stretch;
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.space-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.space-img:first-child {
  grid-column: span 2;
  height: 380px;
}

.space-img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.2);
  z-index: 2;
}

/* Anchor point for images with critical content on the left */
img[src="espaco-3.webp"] {
  object-position: left center;
}

.space-location {
  height: 100%;
}

.map-card {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-wrapper {
  flex: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  min-height: 250px;
  position: relative;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s ease;
}

.map-wrapper:hover .map-img {
  transform: scale(1.1);
}

.map-info {
  text-align: left;
}

.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.map-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.w-full {
  width: 100%;
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Section */
.faq-section {
  background-color: var(--c-slate-900);
  padding: 100px 0;
  margin-top: -1px;
  /* Stitch sections to prevent sub-pixel white lines */
  position: relative;
  z-index: 2;
}

.faq-section .section-title {
  color: white;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.6);
}

.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  transition: var(--transition-normal);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-normal);
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: relative;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  background: white;
  transition: var(--transition-normal);
}

.faq-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  transform: rotate(90deg);
  transition: var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 32px 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ Active State */
.faq-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--c-green-500);
}

.faq-item.active .faq-icon-wrapper {
  background: var(--c-green-500);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.faq-item.active .faq-icon {
  background: white;
}

.faq-item.active .faq-icon::after {
  transform: rotate(0deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Adjust based on content */
}

/* Media Queries Override for FAQ */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 0 20px 20px;
  }
}

@media (max-width: 1150px) {
  .nav-links {
    gap: 16px;
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
  
  .nav-cta {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

/* Media Queries */
@media (max-width: 992px) {

  .nav-links {
    display: none;
  }

  .nav-cta {
    font-size: 0.85rem;
    padding: 10px 16px;
    gap: 6px;
  }

  /* Set Flex and Column-Reverse so images come first for Hero */
  .hero-container {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  /* About container is already image-first in DOM */
  .about-container {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 40px;
  }

  .about-content {
    align-items: flex-start;
    text-align: left;
  }

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

  .space-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .space-img,
  .space-img:first-child {
    grid-column: span 1;
    height: 280px;
  }

  /* Reset desktop specific left-padding */
  .about-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Completely center the image wrappers */
  .hero-image-wrapper {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .hero-img {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
    object-position: center;
    border-radius: 20px;
  }


  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title {
    text-align: left;
  }

  .hero-desc {
    text-align: center;
    margin: 0 auto 40px;
  }

  .hero-bts {
    justify-content: center;
  }

  .features-list {
    align-items: center;
    text-align: left;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    gap: 32px 24px;
  }

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

  .footer-brand p {
    margin: 16px 0 0;
    max-width: 100%;
  }

  .footer-contact {
    text-align: left;
  }

  /* Expand Specialty Cards on Mobile */
  .services-grid {
    gap: 20px;
  }

  .service-card {
    width: 100%;
    min-width: 0;
    padding: 30px 20px;
  }
}

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

  .hero-bts {
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-bts .btn {
    flex: 1;
    min-width: 140px;
    /* Base size for mobile */
    padding: 14px 8px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  @media (max-width: 360px) {
    .hero-bts {
      flex-wrap: wrap;
    }

    .hero-bts .btn {
      width: 100%;
      flex: none;
    }
  }

  .hero {
    padding-top: 120px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .glass-panel {
    padding: 40px 20px;
  }

  .glass-panel h2 {
    font-size: 1.8rem;
  }

  .navbar {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    font-size: 0.85rem;
    padding: 10px 16px;
    gap: 6px;
  }

  .nav-cta .icon-whatsapp {
    width: 16px;
    height: 16px;
  }
}

/* Testimonials Section - Marquee Style */
.testimonials-section {
  background-color: var(--c-slate-50);
  color: var(--text-main);
  padding-bottom: 120px;
  overflow: hidden;
}

.testimonials-section .section-title {
  color: var(--text-main);
}

.testimonials-section .section-desc {
  color: var(--text-muted);
}

.testimonials-marquee-wrapper {
  width: 100%;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  overflow-x: auto;
  display: flex;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.testimonials-marquee-wrapper:active {
  cursor: grabbing;
}

.testimonials-marquee-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--c-slate-200);
  border-radius: var(--border-radius-md);
  padding: 32px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  background: white;
  border-color: var(--c-green-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-green-500);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
  line-height: 1.2;
}

.testimonial-tag {
  font-size: 0.875rem;
  color: var(--c-green-600);
  opacity: 0.9;
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.05;
  color: var(--c-green-400);
}

@media (max-width: 992px) {
  .testimonials-marquee-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 40px 0;
    scroll-snap-type: x mandatory;
  }

  .testimonials-track {
    gap: 20px;
    padding: 0 5%;
    /* Padding within the scroll container */
  }

  .testimonial-card {
    width: 80vw;
    opacity: 1;
    transform: scale(1);
    scroll-snap-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--c-slate-200);
  }
}