/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3660;
  --primary-light: #1a6bb5;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 12px; color: var(--dark); }
.section-subtitle { text-align: center; color: var(--gray-500); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-accent { background: #e0f7fa; color: var(--accent); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important; font-size: 0.88rem !important;
  background: var(--primary); color: var(--white) !important;
  border-radius: 50px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-700); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 40%, #0f4c81 100%);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: 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");
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding-top: 100px; padding-bottom: 60px;
  position: relative; z-index: 1;
}
.hero-content h1 {
  font-size: 3.2rem; font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  margin-bottom: 32px; max-width: 500px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.hero-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.hero-card .check-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: rgba(255,255,255,0.8); font-size: 0.92rem;
}
.hero-card .check-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--white); flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services { background: var(--gray-100); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-icon.blue { background: #e0f2fe; }
.service-icon.green { background: #dcfce7; }
.service-icon.purple { background: #ede9fe; }
.service-icon.orange { background: #ffedd5; }
.service-icon.red { background: #fee2e2; }
.service-icon.cyan { background: #cffafe; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.service-card .learn-more {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: var(--transition);
}
.service-card:hover .learn-more { gap: 8px; }

/* ===== WHY US ===== */
.why-us { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 400px;
  position: relative; overflow: hidden;
}
.why-image::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20h20v20H20zM0 0h20v20H0z'/%3E%3C/g%3E%3C/svg%3E");
}
.why-image .big-number {
  font-size: 6rem; font-weight: 900; color: rgba(255,255,255,0.15);
  position: absolute; top: 20px; left: 30px;
}
.why-image .cert-badges {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}
.cert-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px; padding: 12px 18px;
  color: var(--white); font-size: 0.82rem; font-weight: 600;
  text-align: center;
}
.why-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.why-content > p { color: var(--gray-500); margin-bottom: 28px; line-height: 1.7; }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.why-item .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #e0f2fe; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.why-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.why-item p { font-size: 0.82rem; color: var(--gray-500); }

/* ===== PROCESS ===== */
.process { background: var(--dark); color: var(--white); }
.process .section-title { color: var(--white); }
.process .section-subtitle { color: rgba(255,255,255,0.5); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--primary-light));
  z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(15,76,129,0.3);
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--gray-100); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; transition: var(--transition);
  border: 1px solid transparent;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.92rem; color: var(--gray-700); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.9rem;
}
.author-info h4 { font-size: 0.88rem; font-weight: 600; }
.author-info p { font-size: 0.78rem; color: var(--gray-500); }

/* ===== BLOG ===== */
.blog { background: var(--white); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--gray-300);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.blog-image {
  height: 180px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.blog-image-icon { font-size: 3rem; opacity: 0.9; }
.blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  color: var(--white); padding: 4px 12px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600;
}
.blog-content { padding: 24px; }
.blog-meta {
  font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.blog-content h3 {
  font-size: 1rem; font-weight: 700; color: var(--dark);
  margin-bottom: 8px; line-height: 1.4;
}
.blog-content p {
  font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px;
}
.blog-readmore {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: var(--transition);
}
.blog-card:hover .blog-readmore { gap: 8px; }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-grid { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem; font-weight: 600; color: var(--dark);
  text-align: left; font-family: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-toggle {
  background: var(--accent); color: var(--white); transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px; padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact { background: var(--gray-100); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info > p { color: var(--gray-500); margin-bottom: 32px; line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
}
.contact-method .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #e0f2fe; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-method h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-method p { font-size: 0.85rem; color: var(--gray-500); }
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: var(--gray-700);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
  border-radius: 10px; font-size: 0.9rem; font-family: inherit;
  transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--primary);
  color: var(--white); border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: inherit;
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-error {
  margin-top: 12px; font-size: 0.85rem; color: #ef4444;
  text-align: center; min-height: 1em;
}
.form-success {
  display: none; text-align: center; padding: 30px;
}
.form-success.show { display: block; }
.form-success .icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h4 { font-size: 1.2rem; color: var(--success); margin-bottom: 8px; }
.form-success p { color: var(--gray-500); font-size: 0.9rem; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0; text-align: center; color: var(--white);
}
.cta h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.cta p { font-size: 1.05rem; opacity: 0.8; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #0a0e1a; color: rgba(255,255,255,0.6); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
}
.footer-brand h3 { color: var(--white); font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center; font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); cursor: pointer; border: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  position: absolute; right: 72px; bottom: 12px;
  background: var(--white); padding: 8px 16px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--dark);
  box-shadow: var(--shadow-md); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-300);
  padding: 16px 24px; z-index: 999;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 0; font-size: 0.95rem;
  font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-cta {
  display: inline-block; margin-top: 8px; padding: 10px 24px !important;
  background: var(--primary); color: var(--white) !important;
  border-radius: 50px; text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 250px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .hero-stat .number { font-size: 1.4rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 1.6rem; }
}
