:root {
  --deep: #083a5b;
  --accent: #1f9bd6;
  --muted: #6b7c89;
  --bg: #eef3f8;
  --white: #fff;
  --glow: rgba(31, 155, 214, 0.3);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--deep);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.logo { width: 48px; height: 48px; border-radius: 8px; transition: transform 0.3s ease; }
.logo:hover { transform: rotate(360deg); }
nav a {
  color: var(--deep);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }

section { padding: 60px 40px; max-width: 1100px; margin: auto; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
section.visible { opacity: 1; transform: translateY(0); }

.hero {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(to bottom, var(--bg), var(--white));
}
.large-logo { width: 150px; height: auto; margin-bottom: 20px; }
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}
.hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 20px;
  opacity: 0;
  transition: opacity 1.2s ease 0.2s;
}
.hero.visible h1 { opacity: 1; transform: scale(1); }
.hero.visible p { opacity: 1; }
.btn {
  background: var(--deep);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn:hover { background: var(--accent); box-shadow: 0 0 15px var(--glow); transform: translateY(-2px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.service {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.service.visible { opacity: 1; transform: translateY(0); }
.service:hover { transform: translateY(-5px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}
.modal-content {
  background-color: var(--white);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; }
.close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.member {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.member.visible { opacity: 1; transform: scale(1); }
.member .photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  transition: box-shadow 0.3s ease;
}
.member:hover .photo { box-shadow: 0 0 15px var(--glow); }
.member h4 { margin-bottom: 4px; }
.member p { color: var(--muted); font-size: 0.9rem; }

.contact-box {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.contact-box:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.contact-box a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-box a:hover { color: var(--deep); }
.wa-logo { width: 24px; height: 24px; vertical-align: middle; margin-left: 10px; }

footer {
  text-align: center;
  padding: 20px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 1s ease;
}
footer.visible { opacity: 1; }
