/* Euro Smart Homes — distinct from other CloudAxis satellite sites */
:root {
  --bg: #0f1419;
  --bg-elevated: #1a222c;
  --surface: #232d3a;
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --border: #334155;
  --radius: 12px;
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 72ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 20% -20%, rgba(217, 119, 6, 0.12), transparent 50%),
    radial-gradient(ellipse 100% 60% at 100% 50%, rgba(51, 65, 85, 0.35), transparent 55%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 0.5rem;
}

.wrap {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--bg) !important;
  text-decoration: none;
}

/* Hero & sections */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section {
  padding: 2.5rem 0 3rem;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-head {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.card-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 2.25rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.sub {
  margin: 0;
  color: var(--text-muted);
}

.prose {
  padding: 2rem 0 3.5rem;
  max-width: var(--max);
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.35rem;
}

.prose strong {
  color: var(--text);
}

.contact-block {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-block strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.note-small {
  font-size: 0.9rem;
  color: var(--text-muted);
}
