:root {
  --navy: #1A1A2E;
  --navy-mid: #16213E;
  --navy-light: #0F3460;
  --red: #E94560;
  --gold: #F5A623;
  --white: #FFFFFF;
  --white-70: rgba(255,255,255,0.7);
  --white-10: rgba(255,255,255,0.06);
  --white-20: rgba(255,255,255,0.12);
  --red-glow: rgba(233,69,96,0.25);
  --gold-glow: rgba(245,166,35,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ===== CURSOR ===== */
.cursor {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: screen;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: all 0.15s ease; opacity: 0.6;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 6%;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(26,26,46,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--white-10);
  padding: 14px 6%;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none; color: var(--white);
  display: flex; align-items: center; gap: 2px;
}
.logo .dot { color: var(--red); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  color: var(--white-70); text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px; border-radius: 4px;
  font-weight: 600 !important; letter-spacing: 0.06em !important;
  font-size: 0.78rem !important; transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: #c73550 !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  opacity: 0; transform: translateY(20px);
  animation: menuIn 0.4s forwards;
}
.mobile-menu a:nth-child(2) { animation-delay: 0.05s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.1s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.15s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.2s; }
.mobile-menu a:nth-child(6) { animation-delay: 0.25s; }
.mobile-menu a:nth-child(7) { animation-delay: 0.3s; }
.mobile-menu .close-btn {
  position: absolute; top: 22px; right: 6%;
  font-size: 1.8rem; background: none; border: none;
  color: var(--white); cursor: pointer; font-family: inherit;
}
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.04em;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: transparent; color: var(--red); transform: translateY(-2px); box-shadow: 0 12px 30px var(--red-glow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,0.1); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: transparent; color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 30px var(--gold-glow); }
.btn-whatsapp { background: #25D366; color: white; border: none; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

/* ===== UTILITY ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.section-tag::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--red); }
h2.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
}
.gold { color: var(--gold); }
.red { color: var(--red); }
section { padding: 100px 6%; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; flex-wrap: wrap; gap: 24px;
}

/* ===== MARQUEE ===== */
.marquee-section { padding: 0; background: var(--red); overflow: hidden; }
.marquee-track {
  display: flex; align-items: center;
  width: max-content; animation: marquee 30s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 36px; white-space: nowrap;
  font-family: 'Syne', sans-serif; font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.marquee-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== PROJECT / PORTFOLIO CARDS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width:900px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:600px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card {
  border-radius: 12px; overflow: hidden; position: relative;
  background: var(--white-10); border: 1px solid var(--white-10);
  cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 4/3; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 32px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--red); }
.project-thumb { flex: 1; position: relative; overflow: hidden; }
.project-thumb-inner {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 3.5rem; transition: transform 0.5s ease;
}
.project-card:hover .project-thumb-inner { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.98) 0%, rgba(26,26,46,0.3) 60%, transparent 100%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; gap: 12px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-info { padding: 20px; }
.project-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--red); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.project-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.project-overlay p { font-size: 0.875rem; color: var(--white-70); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width:900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:600px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--white-10); border: 1px solid var(--white-10);
  border-radius: 12px; padding: 36px; transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: rgba(245,166,35,0.3); transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.quote-mark { font-family: 'Syne', sans-serif; font-size: 5rem; line-height: 0.6; color: var(--red); opacity: 0.4; margin-bottom: 16px; font-weight: 800; }
.testimonial-text { font-size: 0.95rem; line-height: 1.8; color: var(--white-70); margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  flex-shrink: 0; border: 2px solid var(--white-20);
}
.author-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.8rem; color: var(--white-70); margin-top: 2px; }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 56px; }
@media (max-width:900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  padding: 36px 28px; border-radius: 12px;
  background: var(--white-10); border: 1px solid var(--white-10);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.service-card:hover { background: rgba(233,69,96,0.07); border-color: rgba(233,69,96,0.3); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(233,69,96,0.15); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 20px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(233,69,96,0.25); }
.service-card h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; line-height: 1.7; color: var(--white-70); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 42vh; display: flex; align-items: flex-end;
  padding: 140px 6% 60px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 60% 40%, rgba(233,69,96,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(245,166,35,0.07) 0%, transparent 70%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero p { font-size: 1.1rem; color: var(--white-70); max-width: 540px; line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #c73550 100%);
  position: relative; overflow: hidden;
  padding: 100px 6%; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px; position: relative;
}
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; position: relative; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FOOTER ===== */
footer {
  padding: 60px 6% 40px;
  border-top: 1px solid var(--white-10);
  background: var(--navy-mid);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.875rem; color: var(--white-70); line-height: 1.8; max-width: 280px; margin-top: 12px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-70); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--white-70); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--white-10); font-size: 0.8rem; color: var(--white-70); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--white-10); border: 1px solid var(--white-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; text-decoration: none; color: var(--white-70); transition: all 0.3s;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-2px); }

/* ===== WHATSAPP STICKY ===== */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s ease; animation: wobble 4s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }
@keyframes wobble {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-8deg); }
  96% { transform: rotate(8deg); }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal-l.visible, .reveal-r.visible { opacity: 1; transform: none; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--navy-mid); border: 1px solid var(--white-20); border-radius: 16px; max-width: 780px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 48px; position: relative; animation: fadeUp 0.4s ease; }
.modal-close { position: absolute; top: 20px; right: 20px; background: var(--white-10); border: none; color: var(--white); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.3s; font-family: inherit; }
.modal-close:hover { background: var(--red); }
.modal h2 { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.modal-tag { display: inline-block; padding: 4px 14px; border-radius: 100px; background: var(--red); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.modal-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 5rem; margin-bottom: 28px; border: 1px solid var(--white-20); }
.modal p { color: var(--white-70); line-height: 1.8; margin-bottom: 16px; }
.modal-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--white-10); }
.modal-meta-item label { font-size: 0.7rem; color: var(--white-70); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.modal-meta-item p { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin: 4px 0 0; color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 70px 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}
