:root {
  --ink: #0d0f12;
  --ink-soft: #171a1f;
  --card-bg: #191d23;
  --cyan: #4dd6ea;
  --cyan-dark: #2fb8cf;
  --white: #ffffff;
  --text: #e6edf0;
  --text-muted: #93a3aa;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(77, 214, 234, 0.1), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(77, 214, 234, 0.08), transparent 45%);
  background-size: 26px 26px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--white); line-height: 1.25; }

a { color: var(--cyan); }

img { max-width: 100%; }

/* Header */
.site-header {
  background: rgba(13, 15, 18, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 88px; display: block; border-radius: 8px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--cyan); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--white);
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 14px;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}

/* Hero */
.hero {
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  max-width: 760px;
  margin: 0 auto 18px;
}
.hero h1 span { color: var(--cyan); }
.hero-tagline {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #c4d0d4;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--cyan);
}
.button:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }
.button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.button-outline:hover { border-color: var(--white); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: rgba(255, 255, 255, 0.03); }
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 10px auto 0;
}
.eyebrow {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.service-card .icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.service-card h3 { margin-top: 0; font-size: 1.1rem; }
.service-card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 24px;
  padding-top: 50px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}
.portfolio-card .thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.portfolio-card .thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 500%;
  height: 500%;
  border: 0;
  transform: scale(0.2);
  transform-origin: 0 0;
  pointer-events: none;
}
.thumb-driving { background: linear-gradient(135deg, #0b2545, #2563b0); }
.thumb-pool { background: linear-gradient(135deg, #0b2a52, #1c7fc0); }
.portfolio-card .body { padding: 20px; }
.portfolio-card h3 { margin-top: 0; font-size: 1.05rem; }
.portfolio-card p { color: var(--text-muted); font-size: 0.92rem; }
.portfolio-tag {
  display: inline-block;
  background: rgba(77, 214, 234, 0.12);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.portfolio-link {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-logo {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo img { width: 100%; max-width: 320px; }

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* Forms */
form { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
label { font-weight: 600; display: block; margin-bottom: 4px; }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
}
textarea { min-height: 130px; resize: vertical; }
.form-status { font-weight: 600; }
.form-status.success { color: var(--cyan); }
.form-status.error { color: #ff6b5e; }

.contact-note {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border);
  color: var(--white);
  padding: 40px 0 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-logo img { height: 52px; border-radius: 8px; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a { color: #c4d0d4; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--cyan); }
.copyright {
  font-size: 0.82rem;
  color: #8a979c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}
