:root {
  --primary: #0f1a2e;
  --primary-light: #1a3a5c;
  --accent: #e87a00;
  --accent-light: #ff9500;
  --dark: #0a0f1a;
  --gray-100: #f6f8fc;
  --gray-200: #e5e9f0;
  --gray-300: #cdd3de;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --gradient: linear-gradient(135deg, #0f1a2e 0%, #1a3a5c 100%);
  --gradient-accent: linear-gradient(135deg, #e87a00, #ff9500);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800); background: #fff; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-800); font-size: .85rem; font-weight: 500;
  padding: 8px 16px; border-radius: 10px; transition: all .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px; background: var(--accent); border-radius: 2px;
  transition: transform .25s;
}
.nav-links a:hover { background: var(--gray-100); color: var(--primary); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366 !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 100px !important;
  font-weight: 600 !important; box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: all .3s !important;
}
.nav-whatsapp:hover { background: #1da851 !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,.4) !important; }
.nav-whatsapp::after { display: none !important; }
.menu-toggle {
  display: none; background: none; border: none; width: 40px; height: 40px;
  color: var(--primary); cursor: pointer; border-radius: 10px;
  transition: background .2s;
}
.menu-toggle:hover { background: var(--gray-100); }

.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: var(--primary);
}
.hero-media video {
  position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
  width: auto; height: auto; transform: translate(-50%,-50%);
  object-fit: cover;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,15,26,.88) 0%, rgba(15,26,46,.65) 50%, rgba(26,58,92,.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 140px 28px 100px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 18px; border-radius: 100px;
  font-size: .8rem; color: rgba(255,255,255,.75);
  margin-bottom: 28px; animation: fadeSlideUp .8s .2s both;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 24px; max-width: 820px;
  animation: fadeSlideUp .8s .3s both;
}
.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.65);
  max-width: 580px; line-height: 1.75;
  margin-bottom: 40px; animation: fadeSlideUp .8s .4s both;
}
.hero-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeSlideUp .8s .5s both;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: none; position: relative; overflow: hidden;
}
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
  background: #1da851; transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,.45);
}
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: #fff; background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}
.btn-primary {
  background: #fff; color: var(--primary);
}
.btn-primary:hover { background: var(--gray-100); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.hero-stats {
  display: flex; gap: 48px; margin-top: 70px; flex-wrap: wrap;
  animation: fadeSlideUp .8s .6s both;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-size: 2.2rem; font-weight: 800; color: #fff;
  letter-spacing: -1px;
}
.hero-stat span {
  font-size: .8rem; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: 1px;
}

section { padding: 110px 28px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--primary);
  margin-bottom: 16px; letter-spacing: -1px; line-height: 1.15;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; }
.tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,122,0,.1), rgba(255,149,0,.08));
  color: var(--accent); font-size: .78rem; font-weight: 600;
  padding: 5px 16px; border-radius: 100px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.container { max-width: 1200px; margin: 0 auto; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.project-item {
  position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3;
}
.project-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.project-item:hover img { transform: scale(1.1); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity .35s;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay h4 { color: #fff; font-size: 1rem; font-weight: 600; }
.project-overlay span { color: rgba(255,255,255,.5); font-size: .8rem; }
.project-overlay .btn {
  margin-top: 10px; padding: 10px 20px; font-size: .8rem;
  align-self: flex-start;
}

.vid-section {
  position: relative; overflow: hidden; min-height: 500px;
  display: flex; align-items: center;
}
.vid-section video {
  position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
  width: auto; height: auto; transform: translate(-50%,-50%);
  object-fit: cover;
}
.vid-section .vid-overlay {
  position: absolute; inset: 0;
  background: rgba(10,15,26,0.75);
}
.vid-section .container { position: relative; z-index: 2; }
.vid-section .section-header h2 { color: #fff; }
.vid-section .section-header p { color: rgba(255,255,255,.65); }
.vid-section .tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}

.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.about-visual img { width: 100%; border-radius: var(--radius); display: block; }
.about-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  color: var(--primary); margin-bottom: 16px; line-height: 1.2;
}
.about-text p { color: var(--gray-600); margin-bottom: 14px; line-height: 1.65; font-size: .92rem; }
.about-stats-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 24px 0;
}
.about-stat-mini {
  background: var(--gray-100); border-radius: 14px; padding: 16px;
  text-align: center; border: 1px solid var(--gray-200);
}
.about-stat-mini strong {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--accent);
}
.about-stat-mini span { font-size: .75rem; color: var(--gray-600); }

.cta-section {
  background: var(--gradient); padding: 110px 28px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem); color: #fff;
  font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; position: relative;
}
.cta-section p {
  color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 36px;
  max-width: 500px; margin-left: auto; margin-right: auto; position: relative;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  color: var(--primary); margin-bottom: 16px;
}
.contact-info p { color: var(--gray-600); margin-bottom: 28px; line-height: 1.7; }
.contact-detail {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.contact-detail-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gray-100); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; }
.contact-detail h4 { font-size: .9rem; color: var(--primary); font-weight: 600; }
.contact-detail span { font-size: .85rem; color: var(--gray-600); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--gray-800); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200);
  border-radius: 14px; font-size: .9rem; font-family: 'Inter', sans-serif;
  transition: all .25s; background: #fff; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,122,0,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--gradient); color: #fff; padding: 16px 40px;
  border: none; border-radius: 100px; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .3s cubic-bezier(.4,0,.2,1);
  font-family: 'Inter', sans-serif;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,26,46,.3); }

/* Send method radios */
.send-methods {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.send-radio {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  border: 2px solid var(--gray-200);
  cursor: pointer; font-size: .88rem; font-weight: 500;
  transition: all .2s; color: var(--gray-600);
}
.send-radio:hover { border-color: var(--accent); }
.send-radio:has(input:checked) {
  border-color: var(--accent); background: rgba(232,122,0,.06);
  color: var(--accent);
}
.send-radio input { display: none; }
.send-radio svg { width: 18px; height: 18px; flex-shrink: 0; }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { width: 64px; height: 64px; stroke: #22c55e; margin-bottom: 16px; }
.form-success h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.form-success p { color: var(--gray-600); }

/* ---- Lightbox / Carousel ---- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.lightbox.show { display: flex; }
.lb-close {
  position: absolute; top: 20px; right: 28px; z-index: 10;
  background: none; border: none; color: #fff; font-size: 2.5rem;
  cursor: pointer; width: 48px; height: 48px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%;
  transition: background .2s; line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,.1); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.08); border: none;
  color: #fff; width: 56px; height: 56px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .25s; font-size: 1.8rem;
}
.lb-nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-img-wrap {
  max-width: 90vw; max-height: 85vh; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 85vh; object-fit: contain;
  border-radius: 8px;
}
.lb-counter {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .85rem;
}

/* Services Section */
.services-section {
  background: var(--gray-100);
}
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all .3s;
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
  border-color: var(--accent);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,122,0,.08), rgba(255,149,0,.12));
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.service-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* Why Choose Us */
.why-section {
  background: #fff;
}
.why-wrap {
  max-width: 720px; margin: 0 auto;
}
.why-wrap .section-header { margin-bottom: 40px; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px;
}
.why-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 1rem; font-weight: 500; color: var(--gray-800);
}
.why-check {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,122,0,.1), rgba(255,149,0,.15));
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-check svg { width: 16px; height: 16px; }

/* Page Curtain */
.page-curtain {
  position: fixed; inset: 0; z-index: 999999;
  background: var(--primary);
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.page-curtain.active {
  transform: translateX(0);
  pointer-events: auto;
}

/* ---- Ikarus Section (in main site) ---- */
.ikarus-promo {
  background: linear-gradient(135deg, #0f1a2e, #1a3a5c);
  border-radius: var(--radius); padding: 60px; display: flex;
  align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.ikarus-promo h3 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.ikarus-promo p { color: rgba(255,255,255,.55); max-width: 500px; }
.ikarus-promo .btn { flex-shrink: 0; }

footer {
  background: var(--primary); color: rgba(255,255,255,.55); padding: 64px 28px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
footer h4 { color: #fff; font-weight: 600; font-size: .85rem; margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
footer a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: .88rem;
  display: block; padding: 5px 0; transition: all .2s;
}
footer a:hover { color: var(--accent); padding-left: 4px; }
footer p { font-size: .88rem; line-height: 1.7; }
.footer-brand { font-weight: 900; font-size: 1.4rem; color: #fff; margin-bottom: 8px; letter-spacing: -.5px; }
.footer-brand img { height: 36px; display: block; margin-bottom: 8px; }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}

.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer; text-decoration: none;
  animation: pulseWA 2s ease-in-out infinite;
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,.65); }
}
.whatsapp-float:hover { transform: scale(1.12); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.fade-up { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.fade-up.show { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-30px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.fade-left.show { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.fade-right.show { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px;
    left: 0; right: 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 16px; gap: 2px;
  }
  .nav-links.open a { width: 100%; padding: 12px 16px; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 70px 20px; }
  .hero-stats { gap: 32px; }
  .hero-stat strong { font-size: 1.6rem; }
  .about-stats-mini { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ikarus-promo { padding: 36px 24px; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.4rem; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-whatsapp span { display: none; }
}
