
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #0f172a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background: #0f172a;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

body.loading .main-home {
  opacity: 0;
  pointer-events: none;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* Main Layout */
.main-home,
.page-service {
  min-height: 100vh;
  position: relative;
  color: white;
}

.main-home {
  display: flex;
  flex-direction: column;
  background: #0f172a url('https://images.unsplash.com/photo-1614850523011-8f49ffc73908?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Ymx1ZSUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000') center center / cover no-repeat;
}

.page-service {
  background: #0f172a url('https://images.unsplash.com/photo-1614850523011-8f49ffc73908?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Ymx1ZSUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000') center center / cover no-repeat;
}

.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}


.animate-slide-up-active {
  opacity: 1 !important;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    padding: 1.5rem;
  }
}

.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.max-w-5xl {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.6s ease-in-out;
}

@media (min-width: 768px) {
  .header {
    margin-bottom: 2rem;
  }
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .badge {
    margin-bottom: 1.5rem;
    padding: 0.625rem 2rem;
  }
  .badge span {
    font-size: 1rem;
  }
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(to right, white, #dbeafe, white);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .main-title {
    margin-bottom: 1.5rem;
  }
}

.title-large {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.title-medium {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .title-large {
    font-size: 5.5rem;
  }
  .title-medium {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .title-large {
    font-size: 7rem;
  }
  .title-medium {
    font-size: 4.5rem;
  }
}

.tagline {
  font-size: 1rem;
  font-weight: 300;
  color: #dbeafe;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .tagline {
    font-size: 1.5rem;
  }
}

.highlight {
  font-weight: 600;
  color: white;
}

/* Grid */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .grid-two-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Cards */
.card {
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .card {
    padding: 1.25rem;
  }
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.card-hover {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.card-hover:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .card-header h2 {
    font-size: 1.5rem;
  }
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(96, 165, 250, 0.25), rgba(37, 99, 235, 0.25));
  backdrop-filter: blur(8px);
}

.icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 768px) {
  .icon-box {
    width: 3rem;
    height: 3rem;
  }
  .icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .contact-info {
    font-size: 0.875rem;
    gap: 1rem;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-dot {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.contact-dot::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: #60a5fa;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .contact-dot {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
  }
  .contact-dot::before {
    width: 0.5rem;
    height: 0.5rem;
  }
}

.contact-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #bfdbfe;
}

.contact-item a {
  color: #93c5fd;
  text-decoration: none;
  display: block;
  transition: color 0.15s ease-in-out;
}

.contact-item a:hover {
  color: white;
}

.contact-item a:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.card-text {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  color: #bfdbfe;
  line-height: 1.5;
}

.card-text strong {
  color: white;
  font-weight: 600;
}

@media (min-width: 768px) {
  .card-text {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
}

/* Services Grid Small */
.services-grid-small {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .services-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid-small {
    gap: 0.75rem;
  }
}

.service-btn {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .service-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

.service-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.service-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}


/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  background: linear-gradient(to bottom right, #25D366, #20BA5A);
  color: white;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
  }
}

.whatsapp-btn:hover {
  background: linear-gradient(to bottom right, #20BA5A, #1DA851);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3), 0 4px 6px -4px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:focus {
  outline: 2px solid rgba(37, 211, 102, 0.5);
  outline-offset: 2px;
}

.whatsapp-btn svg {
  transition: transform 0.3s;
}

.whatsapp-btn:hover svg {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  top: -3rem;
  right: 0;
  background: #111827;
  color: white;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Service Pages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
  font-weight: 500;
}

.back-link:hover {
  color: white;
}

.back-link svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.15s ease-in-out;
}

.back-link:hover svg {
  transform: translateX(-0.25rem);
}

.back-link:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.page-service .back-link {
  color: #93c5fd;
}

/* Hero Section */
.hero-section {
  margin-bottom: 1.5rem;
  animation: fadeIn 0.6s ease-in-out;
  flex-shrink: 0;
}

.hero-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.06));
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .hero-card {
    padding: 2rem;
  }
}

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

.hero-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-icon-large {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .hero-icon-large {
    font-size: 3.75rem;
  }
}

.hero-title-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
  .hero-title-section h1 {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

.hero-experience {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hero-experience {
    padding: 1.5rem;
  }
}

.hero-experience h2 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-experience .card-text {
  font-size: 0.875rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .hero-experience h2 {
    font-size: 1.5rem;
  }
  .hero-experience .card-text {
    font-size: 1rem;
  }
}


/* CTA Section */
.cta-section {
  border-radius: 0.75rem;
  padding: 0.875rem;
  text-align: center;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.cta-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.cta-section p {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .cta-section {
    padding: 1rem;
  }
  .cta-section h2 {
    font-size: 1.25rem;
  }
  .cta-section p {
    font-size: 0.875rem;
  }
}

.cta-btn-primary {
  background: white;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease-in-out;
  display: inline-block;
  border: 1px solid transparent;
}

.cta-btn-primary:hover {
  background: #eff6ff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease-in-out;
  display: inline-block;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.cta-btn-secondary:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.cta-btn-whatsapp {
  background: linear-gradient(to bottom right, rgba(37, 211, 102, 0.9), rgba(32, 186, 90, 0.9));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cta-btn-whatsapp:hover {
  background: linear-gradient(to bottom right, rgba(32, 186, 90, 0.95), rgba(29, 168, 81, 0.95));
  box-shadow: 0 1px 3px 0 rgba(37, 211, 102, 0.15), 0 1px 2px -1px rgba(37, 211, 102, 0.15);
}

.cta-btn-whatsapp:focus {
  outline: 2px solid rgba(37, 211, 102, 0.5);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .cta-btn-primary,
  .cta-btn-secondary,
  .cta-btn-whatsapp {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}




