/*
Theme Name: Ethos Nature - Vodna Diagnostika
Theme URI: https://ethosnature.si
Author: Ethos Nature d.o.o.
Description: Tema po meri za Ethos Nature d.o.o. - diagnostika vodovodnih omrezij, iskanje puscanja in termografija stavb.
Version: 1.0
Text Domain: ethos-nature
*/

@charset "utf-8";

:root { --navy-950: #071722; --navy-900: #0B2436; --navy-850: #0E2C41; --navy-800: #123049; --navy-700: #1B4560; --cyan-300: #7FE6E9; --cyan-400: #2FD3D9; --cyan-500: #1BA9AF; --amber-300: #F6C579; --amber-400: #F0A83B; --amber-600: #C97F1C; --paper-100: #F4F2EA; --paper-200: #EAE6D9; --ink-900: #101A20; --ink-700: #33454F; --ink-500: #5C707A; --line-cyan: rgba(47,211,217,.22); --line-cyan-strong: rgba(47,211,217,.45); --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif; --font-body: 'IBM Plex Sans', -apple-system, sans-serif; --font-mono: 'IBM Plex Mono', 'Courier New', monospace; --radius-sm: 4px; --radius-md: 10px; --container: 1180px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0px; font-family: var(--font-body); color: var(--ink-900); background: var(--paper-100); -webkit-font-smoothing: antialiased; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0px; padding: 0px; list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0px; line-height: 1.08; letter-spacing: -0.01em; }

p { margin: 0px; line-height: 1.6; }

button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0px auto; padding: 0px 28px; }

.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-500); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan-500); display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--amber-400); outline-offset: 3px; }

.site-header { position: sticky; top: 0px; z-index: 50; background: rgba(7, 23, 34, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-cyan); }

.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--paper-100); }

.brand-mark { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--cyan-400); position: relative; flex-shrink: 0; }

.brand-mark::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid var(--amber-400); border-radius: 50%; }

.brand-mark::after { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; background: var(--cyan-300); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 8px 2px var(--cyan-300); }

.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.1; }

.brand-name span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--cyan-400); font-weight: 400; margin-top: 2px; }

.primary-nav ul { display: flex; gap: 34px; }

.primary-nav a { color: var(--paper-100); opacity: 0.8; font-size: 14.5px; font-weight: 500; transition: opacity 0.15s; }

.primary-nav a:hover { opacity: 1; color: var(--cyan-300); }

.header-cta { display: flex; align-items: center; gap: 18px; }

.phone-link { font-family: var(--font-mono); color: var(--paper-100); font-size: 13.5px; display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; border: 1px solid transparent; transition: transform 0.15s, background 0.15s, border-color 0.15s; }

.btn-amber { background: var(--amber-400); color: var(--navy-950); }

.btn-amber:hover { background: var(--amber-300); transform: translateY(-1px); }

.btn-outline { border-color: var(--line-cyan-strong); color: var(--paper-100); }

.btn-outline:hover { border-color: var(--cyan-400); color: var(--cyan-300); }

.btn-dark { background: var(--navy-900); color: var(--paper-100); }

.btn-dark:hover { background: var(--navy-800); }

.nav-toggle { display: none; background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: var(--paper-100); font-size: 26px; }

.hero { position: relative; background: radial-gradient(ellipse at 18% -10%, rgba(47,211,217,.14), transparent 55%),
    var(--navy-950); color: var(--paper-100); overflow: hidden; padding: 78px 0px 0px; }

.hero-grid-bg { position: absolute; inset: 0px; background-image: linear-gradient(var(--line-cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-cyan) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(rgba(0, 0, 0, 0.7), transparent 75%); opacity: 0.5; pointer-events: none; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 64px; }

.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; margin-bottom: 22px; }

.hero h1 em { font-style: normal; color: var(--cyan-300); }

.hero-sub { font-size: 17px; color: rgba(244, 242, 234, 0.78); max-width: 520px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }

.hero-stat b { font-family: var(--font-mono); font-size: 24px; color: var(--paper-100); display: block; }

.hero-stat span { font-size: 12.5px; color: rgba(244, 242, 234, 0.55); }

.scanner { position: relative; background: var(--navy-900); border: 1px solid var(--line-cyan); border-radius: var(--radius-md); padding: 22px 22px 26px; box-shadow: rgba(0, 0, 0, 0.55) 0px 30px 60px -20px; }

.scanner-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--cyan-400); text-transform: uppercase; margin-bottom: 16px; }

.scanner-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); display: inline-block; margin-right: 6px; animation: 1.6s ease 0s infinite normal none running blink; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.pipe-wrap { position: relative; height: 170px; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--navy-800), var(--navy-850)); border: 1px solid rgba(127, 230, 233, 0.18); }

.pipe-center-line { position: absolute; top: 50%; left: 0px; right: 0px; height: 1px; background: repeating-linear-gradient(90deg, rgba(127, 230, 233, 0.35) 0px, rgba(127, 230, 233, 0.35) 6px, transparent 6px, transparent 12px); transform: translateY(-50%); }

.scanline { position: absolute; top: 0px; bottom: 0px; width: 2px; background: linear-gradient(180deg, transparent, var(--cyan-300), transparent); box-shadow: 0 0 18px 3px var(--cyan-300); animation: 3.4s ease-in-out 0s infinite normal none running sweep; }

@keyframes sweep {
  0% { left: 2%; }
  45% { left: 96%; }
  50% { left: 96%; }
  95% { left: 2%; }
  100% { left: 2%; }
}

.leak-marker { position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; }

.leak-marker::before, .leak-marker::after { content: ""; position: absolute; inset: 0px; border-radius: 50%; border: 1.5px solid var(--amber-400); }

.leak-marker::after { animation: 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0s infinite normal none running ping; }

@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.leak-marker i { position: absolute; inset: 4px; background: var(--amber-400); border-radius: 50%; }

.readout { position: absolute; left: 62%; bottom: 14px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--amber-300); background: rgba(7, 23, 34, 0.85); border: 1px solid rgba(240, 168, 59, 0.35); border-radius: 5px; padding: 6px 9px; white-space: nowrap; line-height: 1.5; }

.readout b { color: var(--paper-100); }

.scanner-legend { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: rgba(244, 242, 234, 0.5); }

.hero-bottom-strip { position: relative; z-index: 2; border-top: 1px solid var(--line-cyan); padding: 22px 0px; }

.hero-bottom-strip .container { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; color: rgba(244, 242, 234, 0.6); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

section { padding: 96px 0px; }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy-950); margin-bottom: 14px; }

.section-head p { color: var(--ink-700); font-size: 16px; }

.on-dark .section-head h2, .on-dark .section-head p { color: var(--paper-100); }

.on-dark .section-head p { color: rgba(244, 242, 234, 0.72); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--paper-200); border: 1px solid var(--paper-200); }

.service-card { background: var(--paper-100); padding: 32px 26px; transition: background 0.2s; }

.service-card:hover { background: rgb(255, 255, 255); }

.service-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan-500); margin-bottom: 22px; }

.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--navy-950); }

.service-card p { font-size: 14.5px; color: var(--ink-700); }

.service-icon { width: 38px; height: 38px; margin-bottom: 18px; color: var(--amber-400); }

.method { background: var(--navy-950); color: var(--paper-100); }

.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0px; border-top: 1px solid var(--line-cyan); }

.method-step { padding: 34px 26px 0px; border-right: 1px solid var(--line-cyan); position: relative; }

.method-step:last-child { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }

.method-step .step-num { font-family: var(--font-mono); font-size: 13px; color: var(--amber-400); margin-bottom: 18px; display: block; }

.method-step h3 { font-size: 17.5px; margin-bottom: 10px; }

.method-step p { font-size: 14px; color: rgba(244, 242, 234, 0.65); margin-bottom: 28px; }

.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--paper-200); border: 1px solid var(--paper-200); }

.usecase { background: var(--paper-100); padding: 44px 40px; }

.usecase .eyebrow { margin-bottom: 20px; }

.usecase h3 { font-size: 24px; margin-bottom: 14px; color: var(--navy-950); }

.usecase p { color: var(--ink-700); margin-bottom: 22px; }

.usecase ul { display: flex; flex-direction: column; gap: 11px; }

.usecase li { font-size: 14.5px; color: var(--ink-900); padding-left: 22px; position: relative; }

.usecase li::before { content: ""; position: absolute; left: 0px; top: 6px; width: 9px; height: 9px; border: 1.5px solid var(--amber-400); border-radius: 50%; }

.thermo-section { position: relative; overflow: hidden; background: var(--navy-950); color: var(--paper-100); }

.thermo-section .hero-grid-bg { opacity: 0.35; }

.thermo-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.thermo-copy p { color: rgba(244, 242, 234, 0.72); margin: 18px 0px 26px; max-width: 520px; }

.thermo-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }

.thermo-list li { font-size: 14.5px; color: rgba(244, 242, 234, 0.85); padding-left: 24px; position: relative; }

.thermo-list li::before { content: ""; position: absolute; left: 0px; top: 6px; width: 9px; height: 9px; border: 1.5px solid var(--amber-400); border-radius: 50%; }

.thermo-card { position: relative; background: var(--navy-900); border: 1px solid var(--line-cyan); border-radius: var(--radius-md); padding: 22px 22px 20px; box-shadow: rgba(0, 0, 0, 0.55) 0px 30px 60px -20px; }

.thermo-map { position: relative; height: 190px; border-radius: 8px; overflow: hidden; background: radial-gradient(circle at 28% 38%, rgb(255, 221, 85) 0%, rgb(240, 168, 59) 10%, rgb(181, 71, 58) 26%, rgb(74, 43, 107) 46%, rgb(28, 47, 107) 66%, rgb(12, 26, 51) 85%), radial-gradient(circle at 66% 60%, rgb(255, 226, 122) 0%, rgb(240, 168, 59) 8%, transparent 40%); border: 1px solid rgba(127, 230, 233, 0.18); }

.thermo-hotspot { position: absolute; transform: translate(-50%, -50%); width: 14px; height: 14px; }

.thermo-hotspot i { position: absolute; inset: 0px; border-radius: 50%; border: 1.5px solid rgb(255, 255, 255); background: rgba(255, 255, 255, 0.15); }

.thermo-label { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; line-height: 1.5; text-align: center; white-space: nowrap; background: rgba(7, 23, 34, 0.85); border: 1px solid rgba(240, 168, 59, 0.35); border-radius: 5px; padding: 5px 8px; color: var(--amber-300); }

.thermo-label b { color: var(--paper-100); }

.thermo-scale { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: rgba(244, 242, 234, 0.55); }

.thermo-scale-bar { flex: 1 1 0%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgb(12, 26, 51), rgb(28, 47, 107), rgb(74, 43, 107), rgb(181, 71, 58), rgb(240, 168, 59), rgb(255, 221, 85)); }

.thermo-map-photo { background: none; }

.thermo-map-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1000px) {
  .thermo-inner { grid-template-columns: 1fr; }
}

.stats-strip { background: var(--navy-900); color: var(--paper-100); padding: 50px 0px; }

.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.stat-block b { display: block; font-family: var(--font-mono); font-size: 32px; color: var(--cyan-300); margin-bottom: 6px; }

.stat-block span { font-size: 13.5px; color: rgba(244, 242, 234, 0.65); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.about-copy p { color: var(--ink-700); margin-bottom: 16px; font-size: 15.5px; }

.about-facts { border: 1px solid var(--paper-200); border-radius: var(--radius-md); padding: 6px; }

.about-fact { display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--paper-200); font-size: 14.5px; }

.about-fact:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }

.about-fact span:first-child { color: var(--ink-500); }

.about-fact span:last-child { font-family: var(--font-mono); color: var(--navy-950); text-align: right; }

.contact { background: var(--navy-950); color: var(--paper-100); position: relative; overflow: hidden; }

.contact::before { content: ""; position: absolute; inset: 0px; background-image: linear-gradient(var(--line-cyan) 1px, transparent 1px),linear-gradient(90deg, var(--line-cyan) 1px, transparent 1px); background-size: 44px 44px; opacity: 0.35; mask-image: radial-gradient(at 70% 30%, black, transparent 70%); }

.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.contact-info h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }

.contact-info p { color: rgba(244, 242, 234, 0.72); margin-bottom: 30px; max-width: 440px; }

.contact-detail { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14.5px; }

.contact-detail b { font-family: var(--font-mono); color: var(--cyan-300); min-width: 96px; display: inline-block; font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.contact-form { background: var(--navy-900); border: 1px solid var(--line-cyan); border-radius: var(--radius-md); padding: 34px; }

.form-row { margin-bottom: 16px; }

.form-row label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 7px; }

.form-row input, .form-row select, .form-row textarea { width: 100%; background: var(--navy-950); border: 1px solid rgba(127, 230, 233, 0.25); border-radius: 6px; padding: 11px 13px; color: var(--paper-100); font-family: var(--font-body); font-size: 14px; }

.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--cyan-400); outline: none; }

.form-row textarea { resize: vertical; min-height: 90px; }

.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form .btn-amber { width: 100%; margin-top: 6px; }

.form-note { font-size: 12px; color: rgba(244, 242, 234, 0.45); margin-top: 14px; }

.whatsapp-panel { background: var(--navy-900); border: 1px solid var(--line-cyan); border-radius: var(--radius-md); padding: 40px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; }

.whatsapp-panel-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(37, 211, 102, 0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

.whatsapp-panel h3 { font-size: 21px; color: var(--paper-100); margin-bottom: 10px; }

.whatsapp-panel p { color: rgba(244, 242, 234, 0.7); font-size: 14.5px; max-width: 340px; margin-bottom: 26px; }

.btn-whatsapp { background: rgb(37, 211, 102); color: rgb(6, 33, 15); width: 100%; gap: 10px; }

.btn-whatsapp:hover { background: rgb(47, 224, 119); transform: translateY(-1px); }

.whatsapp-number { font-family: var(--font-mono); font-size: 13px; color: rgba(244, 242, 234, 0.5); margin-top: 16px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: rgb(37, 211, 102); color: rgb(255, 255, 255); display: flex; align-items: center; justify-content: center; box-shadow: rgba(0, 0, 0, 0.45) 0px 10px 24px -6px; transition: transform 0.15s; }

.wa-float:hover { transform: scale(1.06); }

@media (max-width: 760px) {
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

.site-footer { background: var(--navy-950); color: rgba(244, 242, 234, 0.6); border-top: 1px solid var(--line-cyan); }

.footer-inner { padding: 52px 0px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }

.footer-inner h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 16px; }

.footer-inner li { margin-bottom: 10px; font-size: 14px; }

.footer-inner a:hover { color: var(--cyan-300); }

.footer-brand p { font-size: 13.5px; max-width: 280px; margin-top: 14px; color: rgba(244, 242, 234, 0.55); }

.footer-bottom { border-top: 1px solid rgba(127, 230, 233, 0.12); padding: 20px 0px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.page-hero { background: var(--navy-950); color: var(--paper-100); padding: 70px 0px 50px; }

.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }

.page-content { padding: 70px 0px; max-width: 760px; margin: 0px auto; }

.page-content h2 { margin: 36px 0px 14px; font-size: 24px; color: var(--navy-950); }

.page-content p { color: var(--ink-700); margin-bottom: 16px; }

.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }

.page-content li { margin-bottom: 8px; color: var(--ink-700); }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-step { border-bottom: 1px solid var(--line-cyan); padding-bottom: 30px; }
  .usecases { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .primary-nav { position: fixed; inset: 76px 0px 0px; background: var(--navy-950); padding: 30px 28px; transform: translateX(100%); transition: transform 0.25s; z-index: 40; }
  .primary-nav.open { transform: translateX(0px); }
  .primary-nav ul { flex-direction: column; gap: 22px; }
  .primary-nav a { font-size: 18px; }
  .nav-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }
  .form-cols { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
