/* CubeTech — Strategic Communications & Political Consulting */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e8e4dc;
  background-color: #060a14;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 165, 78, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 40px;
  height: 40px;
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(232, 228, 220, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #c9a54e;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(201, 165, 78, 0.3);
  color: rgba(201, 165, 78, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: #c9a54e;
  border-color: #c9a54e;
  color: #060a14;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 165, 78, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(26, 39, 68, 0.4) 0%, transparent 60%);
}

.hero-accent {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 78, 0.3), transparent);
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a54e;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -1px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(232, 228, 220, 0.6);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: #c9a54e;
  color: #060a14;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-cta:hover {
  background: #e8d48b;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 165, 78, 0.25);
}

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

/* ─── Sections ─── */
.section {
  padding: 120px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a54e;
  margin-bottom: 48px;
}

.section-intro {
  font-size: 20px;
  color: rgba(232, 228, 220, 0.5);
  margin-top: -32px;
  margin-bottom: 60px;
}

/* ─── About ─── */
.section-about {
  background: #080d1a;
  border-top: 1px solid rgba(201, 165, 78, 0.06);
  border-bottom: 1px solid rgba(201, 165, 78, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  color: rgba(232, 228, 220, 0.65);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 2px solid rgba(201, 165, 78, 0.3);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: #c9a54e;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: rgba(232, 228, 220, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Services ─── */
.section-services {
  background: #060a14;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 165, 78, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.4s ease;
}

.service-card:hover {
  background: rgba(201, 165, 78, 0.04);
  border-color: rgba(201, 165, 78, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 800;
  color: rgba(201, 165, 78, 0.2);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: rgba(232, 228, 220, 0.5);
  line-height: 1.7;
}

.service-card {
  cursor: pointer;
}

.service-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #c9a54e;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-more {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Service Modal ─── */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.service-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.service-modal {
  position: relative;
  max-width: 580px;
  width: 100%;
  background: #0c1225;
  border: 1px solid rgba(201, 165, 78, 0.15);
  border-radius: 16px;
  padding: 48px 44px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}

.service-modal-overlay.active .service-modal {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(232, 228, 220, 0.4);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.service-modal-close:hover {
  color: #c9a54e;
}

.service-modal .service-modal-icon {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 800;
  color: rgba(201, 165, 78, 0.25);
  margin-bottom: 16px;
}

.service-modal h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-modal-intro {
  font-size: 15px;
  color: rgba(232, 228, 220, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-modal-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.service-modal-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: rgba(232, 228, 220, 0.7);
  line-height: 1.7;
  margin-bottom: 10px;
}

.service-modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201, 165, 78, 0.5);
}

.service-modal-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #c9a54e;
  color: #060a14;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.service-modal-cta:hover {
  background: #e8d48b;
  box-shadow: 0 8px 30px rgba(201, 165, 78, 0.2);
}

@media (max-width: 600px) {
  .service-modal-overlay {
    padding: 20px;
  }
  .service-modal {
    padding: 36px 28px;
  }
  .service-modal h3 {
    font-size: 22px;
  }
}

/* ─── Contact ─── */
.section-contact {
  background: #080d1a;
  border-top: 1px solid rgba(201, 165, 78, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.2;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201, 165, 78, 0.6);
}

.contact-item span,
.contact-item a {
  font-size: 16px;
  color: rgba(232, 228, 220, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #c9a54e;
}

/* ─── Form ─── */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 165, 78, 0.1);
  border-radius: 12px;
  padding: 40px;
}

form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201, 165, 78, 0.6);
  margin-bottom: 16px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(232, 228, 220, 0.7) !important;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(201, 165, 78, 0.08);
  transition: all 0.2s;
  margin: 0 !important;
}

.checkbox-label:hover {
  border-color: rgba(201, 165, 78, 0.2);
  background: rgba(201, 165, 78, 0.04);
}

.checkbox-label input[type="checkbox"] {
  accent-color: #c9a54e;
}

form textarea {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  border: 1px solid rgba(201, 165, 78, 0.15);
  background: rgba(6, 10, 20, 0.6);
  color: #e8e4dc;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.3s;
  margin-bottom: 20px;
}

form textarea:focus {
  outline: none;
  border-color: rgba(201, 165, 78, 0.4);
}

form input[type="submit"] {
  width: 100%;
  background: #c9a54e;
  border: none;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  color: #060a14;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

form input[type="submit"]:hover {
  background: #e8d48b;
  box-shadow: 0 8px 30px rgba(201, 165, 78, 0.2);
}

/* ─── Footer ─── */
footer {
  padding: 32px 0;
  border-top: 1px solid rgba(201, 165, 78, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(232, 228, 220, 0.3);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}
