/* === Cygnal Technologies Styles === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  color: #eaeef3;
  background: #0b0f14;
  line-height: 1.6;
}

/* Containers */
.container { width: min(1200px, 92%); margin-inline: auto; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,14,20,0.7); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.logo { height: 40px; width: auto; object-fit: contain; }
.brand-name { font-weight: 700; letter-spacing: 0.3px; color: #fff; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0; }
.nav a { color: #eaeef3; text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; }
.btn-contact {
  padding: 0.5rem 0.9rem; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
}

/* Parallax sections */
.parallax {
  position: relative; min-height: 68vh;
  background-image: url('../images/skyscraper.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed; /* desktop parallax */
  display: grid; place-items: center;
}
.parallax .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.6));
}
.hero { text-align: center; }
.hero .hero-content { position: relative; z-index: 1; padding: 5rem 0; }
.hero h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem); margin: 0 0 1rem; }
.hero p { max-width: 60ch; margin: 0 auto 1.5rem; opacity: 0.95; }
.cta {
  display: inline-block; background: #1e90ff; color: #fff; text-decoration: none;
  padding: 0.75rem 1.1rem; border-radius: 0.75rem; font-weight: 600;
  box-shadow: 0 6px 20px rgba(30,144,255,0.25);
}
.cta:hover { filter: brightness(1.06); }

.break { background-image: url('../images/skyscraper.jpg'); min-height: 40vh; }
.break .break-content { position: relative; z-index: 1; text-align: center; padding: 3rem 0; }
.break h2 { margin: 0 0 0.5rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section h2 { font-size: clamp(1.6rem, 1.3vw + 1rem, 2.2rem); margin: 0 0 1rem; }
p { margin: 0.5rem 0 1rem; opacity: 0.95; }

/* Cards & grids */
.grid { display: grid; gap: 1rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 1rem; border-radius: 1rem;
}
.card h3 { margin-top: 0; }

/* Partners */
.partners { margin-top: 1.5rem; }
.logo-grid {
  display: grid; gap: 1rem; align-items: center;
  grid-template-columns: repeat(8, minmax(80px, 1fr));
}
.logo-link, .badge-link {
  display: grid; place-items: center; height: 64px; padding: 0.5rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem; text-decoration: none; color: #dce3ea;
  text-align: center; font-weight: 600;
}
.logo-link img { max-height: 36px; width: auto; opacity: 0.92; }
.logo-link:hover img { opacity: 1; }
.badge-link:hover { background: rgba(255,255,255,0.06); }

/* Map */
#map { width: 100%; height: 380px; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }

/* Team */
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card { text-align: center; }
.team-card img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 0.8rem; margin-bottom: 0.6rem;
}
.role { opacity: 0.8; }

/* Testimonials */
.testimonials-grid { grid-template-columns: repeat(3, 1fr); }
blockquote { margin: 0; }
blockquote footer { opacity: 0.7; margin-top: 0.6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.contact-card, .contact-note { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 1rem; border-radius: 1rem; }

/* Footer */
.site-footer { padding: 1.5rem 0; background: #0a0e14; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.as-info { opacity: 0.95; }
.copyright { opacity: 0.7; }

/* Responsive */
@media (max-width: 900px) {
  .services-grid, .team-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid, .team-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .parallax { background-attachment: scroll; } /* mobile fallback */
  .brand-name { display: none; } /* save space */
}
