/* EnergyNets — static site in the Dental Marketing Reviews look. */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #1e293b;
  --ink-soft: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-hover: #c4d6da;
  --accent: #5d838c;
  --accent-dark: #3d5760;
  --accent-soft: #eef4f5;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;
  --err: #dc2626;
  --err-soft: #fef2f2;
  --star: #f59e0b;
  --radius: 12px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(226, 236, 238, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #c9d8db;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { white-space: nowrap; color: var(--ink-soft); font-size: 15px; font-weight: 600; transition: color .2s; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav .btn-sm { color: #fff; }
.nav .btn-sm:hover { color: #fff; }
.lang-switch { display: inline-flex; border: 1px solid #9fb6bb; border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch button {
  border: 0; background: transparent; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.lang-switch button:not(.active):hover { background: var(--accent-soft); }
.lang-switch button.active { background: var(--accent); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid #c9d8db; background: #e2ecee; padding: 12px 24px 16px; }
.mobile-nav a { display: block; padding: 9px 0; color: var(--ink); font-weight: 600; font-size: 16px; }
.mobile-nav.open { display: block; }
.mobile-nav .lang-switch { margin-top: 8px; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: rgba(255, 255, 255, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-sm { padding: 8px 16px; font-size: 15px; border-radius: 8px; background: var(--accent); }
.btn-sm:hover { background: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero-gradient { background: linear-gradient(135deg, #000000 0%, #3d5760 40%, #5d838c 100%); color: #fff; }
.hero { padding-top: 64px; padding-bottom: 72px; text-align: center; }
.chip {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.hero-brand {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 30px; font-weight: 800; letter-spacing: .01em; line-height: 1.2;
}
.hero-brand b { color: #fff; }
.hero-brand span {
  background: linear-gradient(90deg, #ffd27a, #f5a524 50%, #e07b12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .7em;
}
.hero-brand::before, .hero-brand::after {
  content: ""; flex: 0 1 90px; height: 2px;
  background: linear-gradient(90deg, transparent, #f5a524);
}
.hero-brand::after { background: linear-gradient(90deg, #f5a524, transparent); }
@media (max-width: 640px) {
  .hero-brand { font-size: 22px; gap: 4px 10px; }
  .hero-brand::before, .hero-brand::after { display: none; }
}
.hero-media { position: relative; max-width: 900px; margin: 28px auto 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .35) 22%, rgba(0, 0, 0, 0) 40%);
}
.hero h1 {
  position: absolute; left: 0; right: 0; bottom: 5%; z-index: 1; padding: 0 16px;
  font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.hero h1 .soft { color: #c4d6da; }
.hero p.lead { max-width: 640px; margin: 16px auto 0; color: rgba(255, 255, 255, .8); font-size: 16px; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-img {
  margin: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}
@media (max-width: 640px) { .hero h1 { font-size: 20px; bottom: 4%; } .hero { padding-top: 44px; padding-bottom: 52px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -36px; position: relative; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.stat .val { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .lbl { margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section headers ---------- */
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.section-head h2 { margin-top: 6px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.section-head p { margin-top: 8px; color: var(--muted); max-width: 640px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card.hover:hover {
  transform: translateY(-3px); border-color: var(--line-hover);
  box-shadow: 0 12px 32px rgba(93, 131, 140, .1), 0 4px 8px rgba(0, 0, 0, .04);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.card h3 { margin-top: 14px; font-size: 16px; font-weight: 700; }
.card p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- Promo ---------- */
.promo { border-radius: 16px; padding: 36px; }
.promo-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.promo-head h2 { font-size: 26px; font-weight: 800; }
.promo-head p { margin-top: 6px; color: rgba(255, 255, 255, .8); }
.promo .grid { margin-top: 28px; }
.product { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; position: relative; }
.product > a { display: block; background: #0f172a; }
.product { background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product > a:hover img { transform: scale(1.03); }
.product > a { overflow: hidden; }
.product .info p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.product .badge {
  position: absolute; top: 12px; left: 12px; background: var(--err); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.product .info { padding: 16px 18px 18px; text-align: center; }
.product h3 { font-size: 15px; font-weight: 700; }
.product .prices { margin-top: 6px; display: flex; align-items: baseline; gap: 10px; }
.product .old { color: var(--faint); text-decoration: line-through; font-size: 13px; }
.product .new { color: var(--accent); font-weight: 800; font-size: 18px; }
@media (max-width: 640px) { .promo { padding: 24px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.about h2 { margin-top: 6px; font-size: 26px; font-weight: 800; }
.about h2 span { color: var(--accent); }
.about > div > p { margin-top: 12px; color: var(--ink-soft); }
.features { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.features li { list-style: none; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.features { padding: 0; }
.features li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 3px;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.about-stats { display: grid; gap: 14px; }
.about-stats .stat { text-align: left; display: flex; align-items: center; gap: 16px; }
.about-stats .val { min-width: 92px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.project { padding: 0; overflow: hidden; }
.project img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.project .info { padding: 16px 20px 18px; }
.project .cat { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.project h3 { margin-top: 4px; font-size: 16px; }

/* ---------- Testimonials ---------- */
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.stars .off { color: var(--line); }
.quote { margin-top: 10px; color: var(--ink-soft); font-style: italic; }
.author { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none;
}
.author b { display: block; font-size: 14px; }
.author span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.contact-item:hover { text-decoration: none; }
.contact-item h3 { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
.contact-item p { font-weight: 600; margin-top: 2px; }
.contact-item .icon { flex: none; }
.contact-item .icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(93, 131, 140, .15); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field .error { display: none; color: var(--err); font-size: 12.5px; margin-top: 4px; }
.field.invalid .error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-wrap { display: inline-block; border: 2px solid transparent; border-radius: 6px; }
.captcha-wrap.invalid { border-color: var(--err); }
.form-status { display: none; padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.form-status.ok { display: block; background: var(--ok-soft); color: var(--ok); border: 1px solid #bbf7d0; }
.form-status.err { display: block; background: var(--err-soft); color: var(--err); border: 1px solid #fecaca; }

/* ---------- CTA + Footer ---------- */
.cta { padding-top: 48px; padding-bottom: 48px; text-align: center; }
.cta h2 { font-size: 24px; font-weight: 800; }
.cta p { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.cta .actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 32px 0; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-links a { font-size: 13px; }
.site-footer .copy { margin-top: 14px; font-size: 12px; color: var(--faint); }

/* ---------- Cookie banner ---------- */
.cookie {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 16px 20px;
  align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft);
}
.cookie.show { display: flex; }
.cookie p { flex: 1; min-width: 220px; }
.cookie .btns { display: flex; gap: 8px; }
.cookie .btn { padding: 8px 14px; font-size: 13px; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
