/* WMD.si — simple static Slovenian site */
:root {
  --blue: #0088b4;
  --blue-dark: #006a8c;
  --blue-deep: #003399;
  --orange: #f54626;
  --ink: #1a2332;
  --muted: #5a6577;
  --line: #e4e9ef;
  --bg: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(0, 51, 102, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--blue-deep);
  color: #cfe8f5;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  font-size: 0.9rem !important;
}

.nav-cta:hover {
  filter: brightness(0.95);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(245, 70, 38, 0.35), transparent 55%),
    linear-gradient(135deg, #003399 0%, #0088b4 55%, #006a8c 100%);
  padding: 4.5rem 0 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #ffd2c8;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 1.5rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.98rem;
}

.hero-card li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-card .check {
  color: #9dffc4;
  font-weight: 800;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Feature / perk grid */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.perk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.perk .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f6fb, #d7eef7);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.perk h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.perk p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 16px 50px rgba(0, 136, 180, 0.18);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  right: 1.2rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.price-card .price {
  margin: 0.75rem 0 1rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -0.03em;
}

.price-card .price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 0.15rem;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.price-card li:first-child {
  border-top: 0;
}

.price-card li strong {
  color: var(--ink);
}

.price-card .btn {
  width: 100%;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.25rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.band {
  background:
    linear-gradient(135deg, #003399 0%, #0088b4 100%);
  color: #fff;
  padding: 3.5rem 0;
}

.band .section-head h2,
.band .section-head p {
  color: #fff;
}

.band .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.quote p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.quote strong {
  display: block;
  color: var(--ink);
}

/* Domain checker strip */
.domain-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.domain-strip input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  outline: none;
}

.domain-strip input:focus {
  border-color: var(--blue);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, #003399 0%, #0088b4 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
}

.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  outline: none;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

/* Table */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.simple-table th,
.simple-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.simple-table th {
  background: #eef6fa;
  color: var(--blue-deep);
}

.simple-table tr:last-child td {
  border-bottom: 0;
}

/* Footer */
.site-footer {
  background: #0f1b2d;
  color: #c9d4e2;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.site-footer a {
  color: #c9d4e2;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.notice {
  background: #fff7e8;
  border: 1px solid #f0dfb5;
  color: #7a5a12;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  margin: 1.5rem 0 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .perk-grid,
  .service-grid,
  .price-grid,
  .stats,
  .quote-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.85rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .perk-grid,
  .service-grid,
  .price-grid,
  .stats,
  .quote-grid,
  .contact-grid,
  .footer-grid,
  .form-row,
  .domain-strip {
    grid-template-columns: 1fr;
  }

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