/* ===== CSS Variables ===== */
:root {
  --primary: #2e4980;
  --primary-dark: #1a2d4d;
  --primary-light: #4a6399;
  --secondary: #008dcd;
  --secondary-dark: #0073a8;
  --secondary-light: #00b4e6;
  
  --gradient-primary: linear-gradient(135deg, #2e4980 0%, #008dcd 100%);
  --gradient-secondary: linear-gradient(135deg, #4a6399 0%, #00b4e6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(46, 73, 128, 0.05) 0%, rgba(0, 141, 205, 0.05) 100%);
  
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --text-light: #999999;
  
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #f5f5f5;
  
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --shadow-colored: 0 10px 40px rgba(46, 73, 128, 0.2);
  
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  position: relative;
}

/* Selection Style */
::selection {
  background: var(--secondary);
  color: var(--bg-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
  border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ===== Legal Banner (Anvisa) ===== */
.legal-banner {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2e4980 0%, #008dcd 100%);
  padding: 10px 0;
  z-index: 998;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.legal-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.legal-banner p {
  color: white;
  font-size: 0.8rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.legal-banner i {
  color: #ffd700;
  font-size: 1rem;
  animation: pulse 2s infinite;
}

.legal-banner strong {
  color: #ffd700;
  font-weight: 700;
}

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.99);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateX(5px);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  transition: color 0.3s ease;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  height: 100%;
}

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

.nav-menu a:not(.btn-primary-nav)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-menu a:not(.btn-primary-nav):hover::after {
  width: 100%;
}

.btn-primary-nav {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: all 0.3s ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  height: auto !important;
  margin-left: 0.5rem;
}

.btn-primary-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 73, 128, 0.25);
  filter: brightness(1.1);
}

.btn-primary-nav::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--bg-light);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  padding: 160px 0 100px;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(248,249,250,0.55) 50%, rgba(255,255,255,0.5) 100%),
    url('hero_image.jpg') center 20%/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(248,249,250,0.4) 40%, rgba(255,255,255,0.3) 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 141, 205, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: slideInLeft 0.8s ease;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(46, 73, 128, 0.1) 0%, rgba(0, 141, 205, 0.1) 100%);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46, 73, 128, 0.2);
  animation: fadeIn 0.8s ease 0.2s both;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  animation: fadeIn 0.8s ease 0.4s both;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.text-gradient::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.3;
  border-radius: 2px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeIn 0.8s ease 0.6s both;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn i {
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(46, 73, 128, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(46, 73, 128, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--border);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  color: var(--bg-white);
  border-color: transparent;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(46, 73, 128, 0.3);
}

.hero-features {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease 1s both;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray);
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-white);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  animation: slideInRight 0.8s ease;
}

.hero-visual img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.hero-visual:hover img {
  transform: scale(1.02);
}

.hero-stats {
  position: relative;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: fadeIn 0.8s ease 1.2s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ===== Section Styles ===== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  display: block;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(46, 73, 128, 0.1);
  width: fit-content;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* ===== About Section ===== */
.about {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1631549916768-4119b2e5f926?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.02;
  z-index: 0;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(0, 141, 205, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  position: relative;
  padding-left: 30px;
}

.about-text h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-primary);
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-list {
  margin-bottom: 2.5rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.about-list li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.about-list i {
  color: var(--secondary);
  margin-top: 0.25rem;
  font-size: 1.25rem;
  min-width: 25px;
}

.about-numbers {
  display: flex;
  gap: 3rem;
  padding: 2rem;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 73, 128, 0.1);
}

.number-item {
  text-align: center;
  flex: 1;
}

.number-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.number-item .label {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Regulation Section ===== */
.regulation {
  background: var(--bg-white);
  position: relative;
}

.regulation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.regulation-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.regulation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.regulation-card:hover::before {
  transform: scaleX(1);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(46, 73, 128, 0.3);
}

.card-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.card-icon i {
  font-size: 1.75rem;
  color: var(--bg-white);
  z-index: 1;
}

.regulation-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.regulation-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.services-list {
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 200px;
  height: 200px;
  background: var(--gradient-soft);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.service-item:hover::after {
  right: -50px;
}

.service-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.service-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 60px;
}

.service-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
}

.service-content p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== Process Section ===== */
.process {
  background: var(--bg-white);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-marker {
  position: absolute;
  left: 30px;
  width: 45px;
  height: 45px;
  background: var(--bg-white);
  border: 3px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 141, 205, 0.3);
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  background: var(--gradient-primary);
  border-color: transparent;
}

.timeline-item:hover .timeline-marker i {
  color: var(--bg-white);
}

.timeline-marker i {
  color: var(--secondary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.timeline-content {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.timeline-item:hover .timeline-content {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.timeline-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
}

.timeline-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.timeline-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: var(--bg-white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Testimonials Section ===== */
.testimonials {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-light);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.1;
  font-family: serif;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating i {
  font-size: 1.1rem;
}

.testimonial p {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-author::before {
  content: '';
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FAQ Section ===== */
.faq {
  background: var(--bg-white);
}

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

.faq-item {
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg-white);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item.active {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 141, 205, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: var(--bg-white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: var(--gradient-soft);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question i {
  color: var(--secondary);
  transition: var(--transition);
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 2rem 2rem;
  color: var(--text-gray);
  line-height: 1.8;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== CTA Section ===== */
.cta {
  background: var(--gradient-primary);
  color: var(--bg-white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.cta-content p {
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5C;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ===== Contact Section ===== */
.contact {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 800;
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: var(--transition);
}

.contact-method:hover::before {
  transform: scaleY(1);
}

.contact-method:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(10px);
  border-color: var(--secondary);
}

.contact-method i {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 5px 15px rgba(46, 73, 128, 0.3);
}

.contact-method strong {
  display: block;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-method span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.contact-hours h3,
.contact-schedule h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
}

.contact-hours p,
.contact-schedule p {
  color: var(--text-gray);
  line-height: 1.7;
}

.office-location {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.office-location:hover {
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.office-location i {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.office-location strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.office-location p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

.contact-schedule {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 141, 205, 0.1);
  background: var(--bg-white);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
  cursor: pointer;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1.25rem;
  font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--bg-white);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
}

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

.footer-brand {
  max-width: 450px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(46, 73, 128, 0.3);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding-left: 20px;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: var(--transition);
}

.footer-column a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-column a:hover {
  color: var(--bg-white);
  padding-left: 25px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-offices {
  color: rgba(255,255,255,0.8);
  margin: 1rem 0;
  font-size: 1rem;
}

.footer-offices i {
  margin-right: 0.75rem;
  color: var(--secondary);
}

.footer-disclaimer {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  /* Legal Banner Mobile */
  .legal-banner {
    padding: 8px 10px;
    top: 60px;
  }
  
  .legal-banner p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .legal-banner i {
    font-size: 0.85rem;
  }
  
  /* Navigation Menu */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }
  
  /* Header adjustments */
  header {
    height: 60px;
  }
  
  .navbar {
    height: 60px;
    padding: 0 15px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Hero Section Mobile */
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .hero-content,
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-stats {
    position: static;
    margin-top: 20px;
    padding: 15px;
    gap: 15px;
  }
  
  .stat-item {
    padding: 10px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 70px;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  /* Section spacing */
  section {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* Service Cards Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  /* Process Timeline Mobile */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* FAQ Mobile */
  .faq-question {
    padding: 15px;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 25px;
  }
  
  /* Buttons Mobile */
  .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  /* Container Mobile */
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .legal-banner p {
    font-size: 0.65rem;
    padding: 0 5px;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero h1 {
    font-size: 1.875rem;
  }
  
  .hero-text {
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .regulation-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .contact-method {
    padding: 15px;
    font-size: 0.9rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 30px 0;
  }
  
  .footer-logo {
    height: 40px;
  }
}