/* ===== VARIABLES ===== */
:root {
  --teal:    #2AADC9;
  --teal-d:  #1d8fab;
  --sand:    #EDD898;
  --sand-d:  #d4bc72;
  --bg:      #f7f9fb;
  --bg2:     #eef2f5;
  --surface: #ffffff;
  --text:    #1a2332;
  --text2:   #4a5568;
  --text3:   #8a97a8;
  --border:  #e2e8f0;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(42,173,201,0.10);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,249,251,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
#nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; border-radius: 0; }
.nav-logo span { font-family: 'Syne', sans-serif; font-size: 17px; color: var(--text); }
.nav-logo strong { color: var(--teal); }
.nav-links {
  display: flex; list-style: none; gap: 8px; margin-left: auto; align-items: center;
}
.nav-links a {
  padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text2); transition: all 0.15s;
}
.nav-links a:hover { color: var(--teal); background: rgba(42,173,201,0.07); }
.nav-links .nav-cta {
  background: var(--teal); color: #fff; padding: 8px 18px;
}
.nav-links .nav-cta:hover { background: var(--teal-d); color: #fff; }
.lang-switch {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.lang-btn {
  background: none; border: none; cursor: pointer; font-size: 20px;
  padding: 2px 4px; border-radius: 6px; line-height: 1;
  opacity: 0.4; transition: opacity 0.15s;
  outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.lang-btn:focus, .lang-btn:focus-visible { outline: none; box-shadow: none; }
.lang-btn:hover { opacity: 0.75; }
.lang-btn.active { opacity: 1; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px; margin-left: 8px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }
.nav-mobile {
  display: none; flex-direction: column; padding: 12px 24px 16px;
  border-top: 1px solid var(--border); gap: 4px;
}
.nav-mobile a {
  padding: 10px 12px; border-radius: 8px; font-size: 15px;
  font-weight: 500; color: var(--text2); transition: all 0.15s;
}
.nav-mobile a:hover { background: var(--bg2); color: var(--teal); }
.nav-mobile.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-size: 15px;
  font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,173,201,0.3); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #1a2e3d 0%, #1d4a5c 60%, #2AADC9 100%);
  padding: 140px 24px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(237,216,152,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
  padding-bottom: 80px;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-block; background: rgba(237,216,152,0.15);
  color: var(--sand); border: 1px solid rgba(237,216,152,0.3);
  padding: 5px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 600; letter-spacing: 0.5px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--sand); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-logo {
  flex-shrink: 0; width: 220px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-wave { line-height: 0; margin-top: -1px; }
.hero-wave svg { width: 100%; height: 80px; }

/* ===== SHARED SECTION ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
section h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 48px; color: var(--text); }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all 0.2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(42,173,201,0.3); }
.about-icon { font-size: 32px; margin-bottom: 16px; }
.about-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.about-card p { font-size: 15px; color: var(--text2); line-height: 1.7; }

/* ===== PROJECTS ===== */
.projects { padding: 100px 0; background: var(--bg2); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card {
  background: var(--surface); border-radius: 18px;
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.2s; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
.project-card.featured { border-color: rgba(42,173,201,0.4); box-shadow: 0 4px 24px rgba(42,173,201,0.10); }
.project-header {
  height: 160px; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.project-icon { font-size: 56px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.project-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.project-body h3 { font-size: 24px; margin-bottom: 12px; color: var(--text); }
.project-body p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.meta-badge {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text2); font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 20px;
}
.project-link {
  display: inline-flex; align-items: center; margin-top: 20px;
  font-size: 14px; font-weight: 700; color: var(--teal);
  transition: gap 0.15s; gap: 4px;
}
.project-link:hover { color: var(--teal-d); gap: 8px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--bg); }
.contact-sub {
  font-size: 17px; color: var(--text2); max-width: 500px;
  margin-bottom: 48px; margin-top: -24px;
}
.contact-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text2); }
.form-group input, .form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px; font-size: 15px;
  font-family: 'Inter', sans-serif; color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,173,201,0.12);
}
.form-status { font-size: 14px; font-weight: 500; min-height: 20px; }
.form-status.success { color: #2ecc71; }
.form-status.error { color: #e74c3c; }
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 4px; }
.contact-info-item a { color: var(--teal); font-weight: 500; font-size: 15px; }
.contact-info-item a:hover { color: var(--teal-d); }
.contact-info-item div { font-size: 15px; font-weight: 500; color: var(--text2); }

/* ===== FOOTER ===== */
footer {
  background: var(--text); padding: 36px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px;
}
footer .nav-logo span { color: #fff; }
footer .nav-logo img { filter: brightness(1.1); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
  .hero-inner { padding-bottom: 60px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 32px; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  section h2 { margin-bottom: 32px; }
  .about, .projects, .contact { padding: 72px 0; }
}
