/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #050f1a;
  --bg2:      #091524;
  --bg3:      #0e1e30;
  --accent:   #0284c7;
  --accent2:  #38bdf8;
  --accent3:  #0369a1;
  --text:     #c8d8e8;
  --text-dim: #5a7a9a;
  --white:    #f0f8ff;
  --radius:   8px;
  --trans:    0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter','Segoe UI',system-ui,sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0; background: rgba(2,132,199,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.1); }
.header-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.site-logo span { color: rgba(255,255,255,0.7); }
.site-nav ul { display: flex; gap: 18px; list-style: none; align-items: center; }
.site-nav a { color: rgba(10,22,40,0.9); font-size: 0.82rem; font-weight: 500; transition: color var(--trans); white-space: nowrap; }
.site-nav a:hover { color: #050f1a; }
.nav-cta { background: #050f1a !important; color: #0284c7 !important; padding: 7px 14px; border-radius: 6px; font-weight: 700 !important; font-size: 0.82rem !important; }
.nav-cta:hover { background: #0e1e30 !important; color: #38bdf8 !important; }
.nav-phone { display: inline-flex !important; align-items: center; gap: 5px; background: #fff !important; color: #0284c7 !important; padding: 6px 11px !important; border-radius: 6px; font-weight: 700 !important; font-size: 0.8rem !important; white-space: nowrap; }
.nav-phone:hover { background: #f0f8ff !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--trans); display: block; }
.mobile-nav { display: none; background: rgba(2,132,199,0.98); border-top: 1px solid rgba(255,255,255,0.15); padding: 16px 24px; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-nav a { display: block; color: #fff; font-size: 1rem; font-weight: 500; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-nav.open { display: block; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all var(--trans); border: none; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); color: #050f1a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; justify-content: center; }

/* SECTIONS */
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--text); max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.accent { color: var(--accent); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 24px 80px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,22,40,0.93) 0%, rgba(10,22,40,0.70) 55%, rgba(10,22,40,0.88) 100%), url('https://hidroizolacija-kleti.si/wp-content/uploads/2026/06/hidro-kleti.jpg') center/cover no-repeat; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(2,132,199,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(2,132,199,0.05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%); }
.hero-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(2,132,199,0.05) 50%, transparent 60%); animation: sweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero-content { position: relative; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(2,132,199,0.12); border: 1px solid rgba(2,132,199,0.3); color: var(--accent2); padding: 7px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 24px; }
.hero-desc { font-size: 1.1rem; color: var(--text); max-width: 580px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.trust-badges { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0 40px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent2); background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.25); padding: 6px 14px; border-radius: 20px; }
.hero-stats { display: flex; gap: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.07); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num span { color: var(--accent); font-size: 1.2rem; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

/* SERVICES */
.services { background: var(--bg2); padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg3); border: 1px solid rgba(2,132,199,0.1); border-radius: 14px; padding: 32px 28px; transition: border-color var(--trans), transform var(--trans); }
.service-card:hover { border-color: rgba(2,132,199,0.35); transform: translateY(-3px); }
.service-icon { width: 52px; height: 52px; background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; padding: 13px; }
.service-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* HOW IT WORKS */
.how-it-works { background: #f0f8ff; padding: 100px 0; }
.how-it-works .section-label { color: #0284c7; }
.how-it-works .section-title { color: #050f1a; }
.how-it-works .section-desc { color: #1a3a5a; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 32px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all var(--trans); }
.step-card:hover { box-shadow: 0 8px 24px rgba(2,132,199,0.15); transform: translateY(-2px); }
.step-num { font-size: 3rem; font-weight: 800; color: rgba(2,132,199,0.15); line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 1rem; font-weight: 700; color: #050f1a; margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; color: #5a8a72; line-height: 1.65; }

/* STATS */
.stats-section { background: #e8f4ff; padding: 60px 0; position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(2,132,199,0.1) 1px, transparent 1px); background-size: 32px 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; text-align: center; }
.stat-card { background: #fff; border-radius: 16px; padding: 28px 16px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.stat-big { font-size: 2rem; font-weight: 800; color: #050f1a; line-height: 1; margin-bottom: 8px; }
.stat-big span { color: #0284c7; font-size: 1rem; }
.stat-desc { font-size: 0.82rem; color: #5a8a72; line-height: 1.5; }

/* CITIES */
.cities-section { background: #f0f8ff; padding: 100px 0; position: relative; overflow: hidden; }
.cities-section::before { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: rgba(2,132,199,0.06); }
.cities-section .section-label { color: #0284c7; }
.cities-section .section-title { color: #050f1a; }
.cities-section .section-desc { color: #1a3a5a; }
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.city-card { background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 24px; transition: all var(--trans); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.city-card:hover { box-shadow: 0 8px 24px rgba(2,132,199,0.15); transform: translateY(-2px); }
.city-card--cta { border-color: rgba(2,132,199,0.2); background: rgba(2,132,199,0.03); }
.city-card h3 { font-size: 0.9rem; font-weight: 700; color: #050f1a; margin-bottom: 8px; }
.city-card p { font-size: 0.82rem; color: #5a8a72; line-height: 1.6; }

/* FAQ */
.faq-section { background: var(--bg); padding: 100px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg2); border: 1px solid rgba(2,132,199,0.1); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1rem; font-weight: 600; text-align: left; transition: color var(--trans); }
.faq-q:hover { color: var(--accent); }
.faq-arrow { flex-shrink: 0; transition: transform var(--trans); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }

/* CONTACT */
.contact-section { background: var(--bg2); padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-info p { color: var(--text); margin-bottom: 24px; line-height: 1.7; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { font-size: 0.95rem; color: var(--text); }
.contact-form-wrap { background: var(--bg3); border: 1px solid rgba(2,132,199,0.12); border-radius: 16px; padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { background: var(--bg2); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 11px 14px; color: var(--white); font-size: 0.95rem; font-family: inherit; transition: border-color var(--trans); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; }
.form-success { display: none; margin-top: 14px; padding: 12px 16px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); border-radius: 8px; color: #38bdf8; font-size: 0.9rem; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 8px; color: #f87171; font-size: 0.9rem; }

/* CROSS BANNER */
.cross-banner { position: relative; padding: 0; overflow: hidden; }
.cross-banner-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(2,132,199,0.08) 0%, rgba(2,132,199,0.03) 100%); border-top: 1px solid rgba(2,132,199,0.2); border-bottom: 1px solid rgba(2,132,199,0.2); }
.cross-banner-inner { position: relative; display: flex; align-items: center; gap: 32px; padding: 24px 0; text-decoration: none; transition: opacity 0.25s; }
.cross-banner-inner:hover { opacity: 0.88; }
.cross-banner-left { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cross-banner-icon { width: 48px; height: 48px; background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cross-banner-name { font-size: 0.95rem; font-weight: 800; color: var(--white); }
.cross-banner-center { flex: 1; }
.cross-banner-headline { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cross-banner-sub { font-size: 0.8rem; color: var(--text-dim); }
.cross-banner-cta { display: flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 10px 20px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }

/* FOOTER */
.site-footer { background: var(--bg); border-top: 1px solid rgba(2,132,199,0.1); padding: 48px 0; }
.footer-inner { text-align: center; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.875rem; color: var(--text-dim); max-width: 500px; margin: 0 auto 14px; }
.footer-email { margin: 12px 0; }
.footer-email a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.footer-email a:hover { color: var(--white); }
.footer-trust { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.footer-trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--accent2); background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.3); padding: 6px 14px; border-radius: 20px; }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .contact-form-wrap { padding: 24px; }
  .cross-banner-center { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .trust-badges { gap: 8px; }
}


/* CROSS BANNERS GRID */
.cross-banners { background: var(--bg2); border-top: 1px solid rgba(255,255,255,0.05); padding: 32px 0; }
.cross-banners-label { text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }
.cross-banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cross-banner-card { display: flex; align-items: center; gap: 16px; background: var(--bg3); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px 20px; text-decoration: none; transition: border-color var(--trans), transform var(--trans); }
.cross-banner-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.cross-banner-card-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; border: 1px solid; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cross-banner-card-body { flex: 1; }
.cross-banner-card-name { font-size: 0.85rem; font-weight: 800; margin-bottom: 3px; }
.cross-banner-card-desc { font-size: 0.78rem; color: var(--text-dim); }
.cross-banner-card > svg { color: var(--text-dim); flex-shrink: 0; }
@media (max-width: 600px) { .cross-banners-grid { grid-template-columns: 1fr; } }

/* HERO DROPS */
.hero-drops { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-drops span {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(2,132,199,0.7);
  border-radius: 50%;
  animation: drop-fall 6s ease-in infinite;
}
.hero-drops span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 5s; }
.hero-drops span:nth-child(2) { left: 25%; animation-delay: 1.2s; animation-duration: 7s; width: 3px; height: 3px; }
.hero-drops span:nth-child(3) { left: 45%; animation-delay: 2.5s; animation-duration: 6s; }
.hero-drops span:nth-child(4) { left: 62%; animation-delay: 0.7s; animation-duration: 8s; width: 2px; height: 2px; }
.hero-drops span:nth-child(5) { left: 78%; animation-delay: 3.2s; animation-duration: 5.5s; }
.hero-drops span:nth-child(6) { left: 90%; animation-delay: 1.8s; animation-duration: 7.5s; width: 3px; height: 3px; }

@keyframes drop-fall {
  0%   { top: -5px; opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.5; }
  100% { top: 105%; opacity: 0; }
}
