:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #132b47;
  --muted: #5f7591;
  --brand: #217adb;
  --brand-dark: #1b66b8;
  --accent: #34eadc;
  --line: #d9e8fb;
  --shadow: 0 12px 35px rgba(33, 122, 219, 0.12);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 234, 220, 0.14), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(33, 122, 219, 0.12), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1150px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(33, 122, 219, 0.12);
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.5px;}

.logo-mark {
  font-size: 40px;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  & img {display: block; width: 100%; height: auto; margin-top: -8px;}
}

nav ul {
  display: flex; list-style: none; gap: 1.35rem;
  font-weight: 600; color: var(--muted);
}

nav ul a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.85rem 1.25rem; border: none; border-radius: 100px; font-weight: 700;
  border: 0px solid transparent; transition: 0.25s ease; cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #ffffff;
}

.btn-primary:hover { filter: brightness(0.95); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); background: #fff; }

.hero { padding: 4rem 0 3.5rem; overflow: clip; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem; align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--brand); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.8rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1; max-width: 15ch;
  color: #000000;
}

.hero p { margin-top: 1rem; max-width: 52ch; color: var(--muted); }

.hero-actions { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }

.hero-metrics { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; }

.metric {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.9rem 1rem; min-width: 138px;
}

.metric strong { display: block; font-size: 1.2rem; color: var(--brand-dark); }

.hero-visual {
  position: relative; min-height: 440px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(180deg, rgba(16, 31, 51, 0.08), rgba(16, 31, 51, 0.52)),
    url("https://images.unsplash.com/photo-1460317442991-0ec5e26b331e?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}

.hero-card {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(33, 122, 219, 0.2);
  border-radius: 14px; padding: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}

section { padding: 4rem 0; }

.section-head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: end; margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: #000;
}

.section-head p { color: var(--muted); max-width: 58ch; }

.services-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: 0 7px 18px rgba(33, 122, 219, 0.08);
}

.card h3 { margin-top: 0.8rem; margin-bottom: 0.4rem; font-size: 1.05rem; color: var(--brand); }
.card p { color: var(--muted); font-size: 0.95rem; }

.project {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
}

.project-media { height: 210px; background-size: cover; background-position: center; }
.project-body { padding: 1rem; }
.project-body h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--brand); }
.project-body p { color: var(--muted); font-size: 0.93rem; }

.cta-band {
  border-radius: 22px; padding: 2rem;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  color: #fff; display: grid; grid-template-columns: 1fr auto;
  gap: 1rem; align-items: center; box-shadow: var(--shadow);
}

.cta-band p { opacity: 0.95; max-width: 60ch; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}

.contact-meta p { color: var(--muted); margin-bottom: 0.7rem; }
form { display: grid; gap: 0.8rem; }
.field { display: grid; gap: 0.35rem; }

label { font-size: 0.9rem; font-weight: 600; color: var(--brand-dark); }

input, textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px;
  border: 1px solid #c9dbf4; background: #fff; font: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid rgba(33, 122, 219, 0.22);
  border-color: var(--brand);
}

textarea { resize: vertical; min-height: 120px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.8rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
  background: #ffffff;
}

.floating-actions {
  position: fixed; right: 1rem; bottom: 1rem;
  display: grid; gap: 0.7rem; z-index: 90;
}

.fab {
  width: 54px; height: 54px; border-radius: 999px; border: 0;
  box-shadow: var(--shadow); display: grid; place-items: center;
  cursor: pointer; color: #fff; font-size: 1.25rem; transition: transform 0.2s ease;
}

.fab:hover { transform: translateY(-2px); }
.fab.whatsapp { background: #25D366; color: #fff; }
.fab.call { background: var(--brand); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show { opacity: 1; transform: translateY(0); }

.menu-btn {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 0.45rem 0.7rem; font-weight: 700; cursor: pointer;
  color: var(--brand);
}

@media (max-width: 960px) {
  nav { display: none; }
  nav.open {
    display: block; position: absolute; top: 72px; left: 1rem; right: 1rem;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 0.8rem;
  }
  nav.open ul { flex-direction: column; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .services-grid, .project-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
}
