:root{
  --bg:#241733; /* deep purple */
  --panel:#32193a; 
  --accent:#f5c400; /* yellow */
  --muted:#b6a6c0;
  --cta:#6b3bd8; /* purple CTA */
  --glass: rgba(255,255,255,0.04);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, rgba(20,17,35,1) 0%, rgba(26,18,39,1) 100%), url('') center/cover no-repeat;
  color:#eee;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

/* New Header Design */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent);
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
  left: 0;
  right: 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.logo-icon {
  background: #FFD700;
  color: black;
  border-radius: 5px;
  padding: 5px 10px;
  margin-right: 5px;
  font-size: 24px;
  font-weight: 700;
}

.logo-text {
  color: #a366ff;
  font-weight: 700;
}

.logo-agencia {
  font-size: 14px;
  margin-left: 5px;
  color: #ccc;
  font-weight: 400;
}

.menu {
  display: none;
  gap: 25px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 30px;
  flex: 1;
  justify-content: center;
  margin: 0 20px;
  overflow: hidden;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  padding: 5px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #a366ff;
}

.menu i {
  margin-left: 5px;
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.menu a:hover i {
  transform: rotate(180deg);
}

.btn-whatsapp {
  background-color: #7b32fc;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  display: none;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(123, 50, 252, 0.3);
}

.btn-whatsapp i {
  background: white;
  color: #25D366;
  border-radius: 50%;
  padding: 8px;
  font-size: 16px;
  margin-right: 10px;
}

/* Mobile Hamburger */
.hamburger{
  width:40px;
  height:40px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--glass);
  border:1px solid rgba(255,255,255,0.03);
  cursor:pointer;
  flex-shrink: 0;
}

/* Side menu overlay */
.side-menu{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:none;
  z-index:80;
}

.side-menu.open{display:block}

.side-menu .backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.side-menu .panel{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:78%;
  max-width:420px;
  background:linear-gradient(180deg,var(--panel),#22142a);
  padding:40px 28px;
  color:#ddd;
  box-shadow: 4px 0 30px rgba(0,0,0,0.6);
}

.side-menu .panel h3{
  margin:0 0 24px;
  font-size:20px;
  color:#fff;
}

.nav-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.nav-list a{
  color:var(--muted);
  text-decoration:none;
  font-size:18px;
}

.side-close{
  position:absolute;
  right:16px;
  top:16px;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

/* Services Section */
.services-section {
  padding: 120px 20px 60px; /* Added top padding for fixed header */
  max-width: 100vw;
  overflow-x: hidden;
}

.services-section h2 {
  text-align: center;
  font-size: 32px;
  color: #a366ff;
  margin-bottom: 10px;
}

.services-section p {
  text-align: center;
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
}

/* Partner Section */
.partner-section {
  text-align: center;
  margin-bottom: 50px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 400px;
  margin: 0 auto 50px auto;
}

.partner-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
  font-weight: 500;
}

.partner-logo {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: #111;
  border-radius: 16px;
  padding: 25px 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a366ff, #f5c400);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  border: 2px solid #a366ff;
  box-shadow: 0 0 25px rgba(163, 102, 255, 0.2);
  transform: translateY(-5px);
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: #a366ff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background: linear-gradient(135deg, #a366ff, #f5c400);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #f5c400;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.service-card ul li {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  transition: color 0.3s ease;
}

.service-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #a366ff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.service-card:hover ul li::before {
  color: #f5c400;
}

.service-card:hover ul li {
  color: #e0e0e0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: #222;
  color: #a366ff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover .tag {
  background-color: rgba(163, 102, 255, 0.1);
  border-color: #a366ff;
  color: #f5c400;
}

/* Partnership Section */
.partnership-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(163, 102, 255, 0.1), rgba(245, 196, 0, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.partnership-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.partnership-logo {
  height: 60px;
  width: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.partnership-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.partnership-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.partnership-text h3 {
  font-size: 24px;
  color: #a366ff;
  margin-bottom: 15px;
  font-weight: 700;
}

.partnership-text p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

/* WhatsApp Float - Unified Style */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive Design */

/* Medium screens - show desktop menu but compact */
@media(min-width: 768px) and (max-width: 1023px){
  .navbar {
    padding: 15px 24px;
  }
  
  .header-logo {
    height: 36px;
  }
  
  .menu {
    display: flex;
    gap: 20px;
    margin: 0 16px;
    padding: 8px 16px;
  }
  
  .menu a {
    font-size: 14px;
  }
  
  .btn-whatsapp {
    display: flex;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .hamburger {
    display: none;
  }
  
  .services-section {
    padding: 120px 32px 60px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .partnership-content {
    flex-direction: column;
    text-align: center;
  }
  
  .partnership-text {
    min-width: auto;
  }
  
  .whatsapp-float {
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    font-size: 26px;
  }
}

/* Large Desktop */
@media(min-width: 1024px){
  .navbar {
    padding: 15px 40px;
  }
  
  .menu {
    display: flex;
    gap: 25px;
    margin: 0 32px;
  }
  
  .btn-whatsapp {
    display: flex;
  }
  
  .hamburger {
    display: none;
  }
  
  .services-section {
    padding: 120px 40px 60px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Extra Large Desktop */
@media(min-width: 1200px){
  .navbar {
    padding: 15px 60px;
  }
  
  .menu {
    margin: 0 40px;
    gap: 30px;
  }
  
  .services-section {
    padding: 120px 60px 60px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
  }
}

/* Small Mobile */
@media(max-width: 480px){
  .navbar {
    padding: 15px 20px;
  }
  
  .header-logo {
    height: 32px;
  }
  
  .side-menu .panel {
    width: 82%;
  }
  
  .services-section {
    padding: 100px 20px 60px;
  }
  
  .services-section h2 {
    font-size: 28px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 20px 15px;
  }
  
  .partner-section {
    margin-bottom: 30px;
    padding: 15px;
  }
  
  .partner-logo {
    height: 35px;
  }
  
  .partnership-section {
    margin-top: 40px;
    padding: 25px 15px;
  }
  
  .partnership-content {
    gap: 20px;
  }
  
  .partnership-logo {
    height: 50px;
  }
  
  .partnership-text h3 {
    font-size: 20px;
  }
  
  .partnership-text p {
    font-size: 14px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Extra Small Mobile */
@media(max-width: 360px){
  .navbar {
    padding: 15px 16px;
  }
  
  .header-logo {
    height: 28px;
  }
  
  .side-menu .panel {
    width: 88%;
  }
  
  .services-section {
    padding: 100px 16px 60px;
  }
  
  .services-section h2 {
    font-size: 24px;
  }
  
  .service-card {
    padding: 18px 12px;
  }
  
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

/* Mobile responsive for new navbar */
@media (max-width: 767px) {
  .menu {
    display: none;
  }
  
  .btn-whatsapp {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
}

/* Prevent horizontal scroll */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* Small helpers */
.hidden{display:none}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.service-card {
  animation: fadeInUp 0.6s ease forwards;
}

.partner-logo, .partnership-logo {
  animation: pulse 2s infinite;
}
