:root {
  --primary:       #0066ff;
  --primary-dark:  #0052cc;
  --whatsapp:      #25d366;
  --whatsapp-dark: #1eb954;
  --secondary:     #ff8800;
  --dark:          #0f172a;
  --light:         #f8fafc;
  --text:          #334155;
  --text-muted:    #64748b;
  --glass:         rgba(255, 255, 255, 0.85);
  --transition:    all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.header .logo-text,
.header .nav-links a,
.header .mobile-menu-btn {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.header.scrolled .logo-text,
.header.scrolled .nav-links a,
.header.scrolled .mobile-menu-btn {
  color: var(--dark);
  text-shadow: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--secondary) !important; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0.25rem;
}

.mobile-menu-btn i { width: 26px; height: 26px; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
  display: block;
  padding: 0.5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,102,255,0.25);
}

.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,211,102,0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover { background: white; color: var(--primary); }

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

.btn-full { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
  height: 100vh;
  min-height: 680px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0a0f1e 100%);
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.3), rgba(15,23,42,0.65));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.88;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* ── Quick Links ── */
.quick-links {
  margin-top: -64px;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

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

.link-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--dark);
  box-shadow: 0 20px 50px rgba(0,0,0,0.07);
  transition: var(--transition);
  text-align: center;
}

.link-card i { width: 40px; height: 40px; color: var(--primary); }
.link-card span { font-weight: 600; font-size: 0.95rem; word-break: break-all; }

.link-card:hover {
  transform: translateY(-8px);
  background: var(--primary);
  color: white;
  box-shadow: 0 24px 60px rgba(0,102,255,0.2);
}

.link-card:hover i { color: white; }

/* ── Services ── */
.services { padding: 8rem 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  background: white;
  padding: 3.5rem;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── Contact ── */
.contact { padding: 8rem 0; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: white;
  padding: 4rem;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.06);
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-item i { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
}

.no-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  height: 100%;
}

.no-form p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: white;
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-about p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.footer-links ul,
.footer-social ul { list-style: none; }

.footer-links li,
.footer-social li { margin-bottom: 0.7rem; }

.footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ── Cookie Banner ── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 700px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  padding: 1.25rem 1.75rem;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 200px;
}

.cookie-banner a { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .contact-container { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }

  .quick-links { margin-top: -40px; }
  .links-grid { grid-template-columns: 1fr; gap: 1rem; }

  .services { padding: 5rem 0; }
  .section-header { padding: 2.5rem 1.75rem; }

  .contact { padding: 5rem 0; }
  .contact-container { padding: 2.5rem 1.75rem; border-radius: 28px; }

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

  .hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 80px; height: 80px; }
  .btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
}
