:root {
  --pool-dark: #0b2a52;
  --pool-mid: #1c7fc0;
  --pool-light: #eaf6fc;
  --sun: #ffe200;
  --white: #ffffff;
  --text: #1c2b33;
  --text-muted: #56707a;
  --border: #d7e6ea;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(11, 42, 82, 0.12);
}

* { box-sizing: border-box; }

.demo-banner {
  background: #14181d;
  color: #e6edf0;
  font-size: 0.85rem;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.demo-banner a {
  color: #4dd6ea;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.demo-banner a:hover { text-decoration: underline; }
html.framed .demo-banner { display: none; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--pool-light);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a { color: var(--pool-mid); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--pool-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pool-dark);
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--pool-mid); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--pool-dark);
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--pool-dark), var(--pool-mid));
  color: var(--white);
  padding: 64px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 380px; }
.hero-logo { flex: 0 1 320px; }
.hero-logo img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.logo-placeholder {
  width: 100%;
  max-width: 320px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(135deg, var(--pool-dark), var(--pool-mid));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.logo-placeholder .emoji { font-size: 2.4rem; }
.hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 12px; }
.hero-badge {
  display: inline-block;
  background: var(--sun);
  color: var(--pool-dark);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.hero-tagline { max-width: 640px; font-size: 1.05rem; opacity: 0.95; }
.hero-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-block;
  background: var(--sun);
  color: var(--pool-dark);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--sun);
}
.button:hover { opacity: 0.9; }
.button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

/* Sections */
.section { padding: 48px 0; }
.section-heading { margin-bottom: 20px; }
.section-heading p { color: var(--text-muted); max-width: 680px; }

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

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.service-card h3 { margin-top: 0; font-size: 1.05rem; }
.service-card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* Area list */
.note {
  background: var(--white);
  border-left: 4px solid var(--sun);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 20px 0;
}

/* Forms */
form { display: grid; gap: 14px; max-width: 560px; }
.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: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
textarea { min-height: 120px; resize: vertical; }
.form-status { font-weight: 600; }
.form-status.success { color: var(--pool-mid); }
.form-status.error { color: #b3261e; }

.sidebar-logo {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--pool-dark);
  color: var(--white);
  margin-top: 40px;
  padding: 32px 0 16px;
}
.site-footer a { color: var(--sun); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.copyright { font-size: 0.85rem; opacity: 0.8; }
