/* ========================================
   VERY NICE - PREMIUM CSS
   ======================================== */

:root {
  --primary: #0A5BFF;
  --primary-dark: #0847CC;
  --primary-light: #4A8BFF;
  --ice-blue: #E8F4FF;
  --ice-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --ink: #0b1220;
  --muted: #5f6b7a;
  --line: #E6EAF0;
  --bg: #F7F9FC;
  --white: #ffffff;
  --ok: #00a884;
  --shadow-sm: 0 2px 8px rgba(16,24,40,.08);
  --shadow-md: 0 8px 30px rgba(16,24,40,.12);
  --shadow-lg: 0 20px 60px rgba(10,91,255,.15);
  --radius: 16px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.nav .cta {
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(10,91,255,.25);
}

.nav .cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(10,91,255,.3);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10,91,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -30px) rotate(5deg); }
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-top: 2rem;
}

.badges-top {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px rgba(10,91,255,.25);
}

.cta-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,91,255,.35);
}

.cta-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.trust-indicators {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-item span {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ========================================
   CARDS & FORMS
   ======================================== */

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.form-card {
  position: sticky;
  top: 100px;
}

.form-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.input, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  padding: 0.9rem 1.2rem;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
}

.input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(10,91,255,.08);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn, .btn-full {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(10,91,255,.25);
}

.btn-full {
  width: 100%;
}

.btn:hover, .btn-full:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,91,255,.35);
}

.form-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.form-footer p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.contact-link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ========================================
   BADGES
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ========================================
   PRODUCT CARDS
   ======================================== */

.card-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 15px;
}

/* ========================================
   TECH CARDS
   ======================================== */

.card-tech {
  position: relative;
  padding-left: 5rem;
}

.tech-number {
  position: absolute;
  left: 2rem;
  top: 2rem;
  font-size: 48px;
  font-weight: 800;
  color: var(--ice-blue);
  line-height: 1;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1.5rem;
  color: white;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.section-contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.section-contact .section-header h2,
.section-contact .section-header p {
  color: white;
  -webkit-text-fill-color: white;
}

.card-contact-info {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.contact-detail strong {
  font-size: 20px;
  color: var(--ink);
}

.contact-detail span {
  color: var(--muted);
  font-size: 14px;
}

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

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-btn-wa:hover {
  background: var(--ok);
  border-color: var(--ok);
}

.response-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--ice-blue);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
  padding-left: 0.5rem;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--ok);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,168,132,.35);
  z-index: 998;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #008c6f;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0,168,132,.45);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0,168,132,.35);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0,168,132,.6), 0 0 0 15px rgba(0,168,132,.1);
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

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

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

/* ========================================
   RESPONSIVE
   ======================================== */

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

  .form-card {
    position: static;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .trust-indicators {
    gap: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .bar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .trust-indicators {
    justify-content: space-between;
  }

  .cols-3 {
    grid-template-columns: 1fr;
  }

  .card-tech {
    padding-left: 2rem;
  }

  .tech-number {
    font-size: 36px;
    left: 1.5rem;
  }
}

/* ========================================
   UTILITIES
   ======================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }