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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b1f3b;
  background: #fff7fa;
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.15;
  color: #0b1f3b;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
}

ul {
  margin: 0;
  padding: 0;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: #fceef4;
  border-top: 1px solid #f1dce6;
  border-bottom: 1px solid #f1dce6;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-intro p {
  opacity: 0.75;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 247, 250, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(241, 220, 230, 0.6);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b1f3b;
  font-weight: 700;
  white-space: nowrap;
}

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

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.nav a {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 16px;
  min-height: 48px;
  border-radius: 18px;
  line-height: 1.2;
  border: 1px solid transparent;
  box-sizing: border-box;
  position: relative;
  transform: translateY(0);
  will-change: transform;
  transition: background-color 0.22s ease, box-shadow 0.22s ease,
    transform 0.22s ease, border-color 0.22s ease;
}

.nav a.active {
  background: #f3e8ec;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-weight: 700;
}

.nav a.active:hover {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 106, 134, 0.18),
    0 6px 14px rgba(11, 31, 59, 0.06);
}

.nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 3px;
  opacity: 0.7;
  background: linear-gradient(to bottom, transparent, #0b1f3b, transparent);
  border-radius: 4px;
}

/* =========================
   MOBILE MENU
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid #f1dce6;
  background: #fff7fa;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0b1f3b;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-right {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: #fff7fa;
    border-bottom: 1px solid #f1dce6;
    box-shadow: 0 10px 30px rgba(176, 106, 134, 0.08);
  }

  .header-right.is-open {
    display: flex;
  }

  .lang-switch {
    align-self: flex-start;
  }
}

/* =========================
   LANGUAGE SWITCH
========================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid #f1dce6;
  border-radius: 999px;
  background: rgba(255, 247, 250, 0.9);
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  color: #0b1f3b;
  transition: all 0.2s ease;
}

.lang.active {
  background: #0b1f3b;
  color: #ffffff;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 247, 250, 0.92) 0%,
    rgba(255, 244, 248, 0.88) 40%,
    rgba(255, 245, 249, 0.7) 65%,
    rgba(255, 245, 249, 0.42) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 18px;
  opacity: 0.85;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #b06a86;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 15px;
  opacity: 0.7;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  max-height: 420px;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #0b1f3b;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(11, 31, 59, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 31, 59, 0.2);
}

.btn-secondary {
  border: 1px solid #0b1f3b;
  color: #0b1f3b;
  background: transparent;
}

.btn-secondary:hover {
  background: #0b1f3b;
  color: #ffffff;
}

/* =========================
   CARDS
========================= */
.card {
  background: #ffffff;
  border: 1px solid rgba(241, 220, 230, 0.8);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(176, 106, 134, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(176, 106, 134, 0.12);
}

.hero-card {
  max-width: 420px;
  margin-left: auto;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fceef4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

/* =========================
   LISTS
========================= */
.check-list {
  list-style: none;
  margin-top: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b1f3b;
  font-weight: 700;
}

/* =========================
   SERVICE CARDS
========================= */
.service {
  overflow: hidden;
}

.service-media {
  position: relative;
  margin: -28px -28px 18px -28px;
}

.service-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-price {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 59, 0.88);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.service h3 {
  margin-bottom: 10px;
}

.service p {
  margin-bottom: 18px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff1f6;
  border: 1px solid #f1dce6;
  color: #0b1f3b;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  max-width: 220px;
  line-height: 1.3;
  text-align: center;
}

.service-cta:hover {
  background: #0b1f3b;
  color: #ffffff;
  border-color: #0b1f3b;
}

/* =========================
   FORMS
========================= */
.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #efd7e2;
  background: #ffffff;
  font: inherit;
  color: #0b1f3b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b06a86;
  outline: none;
  box-shadow: 0 0 0 4px rgba(176, 106, 134, 0.08);
}

.form-popup {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(11, 31, 59, 0.18);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.form-popup.success {
  background: #2e8b57;
}

.form-popup.error {
  background: #c0392b;
}

.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.quick-options span {
  width: 100%;
  font-size: 14px;
  opacity: 0.7;
}

.quick-options button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-options button:hover {
  background: #0b1f3b;
  color: #fff;
  border-color: #0b1f3b;
}

/* =========================
   CTA
========================= */
.cta-band {
  background: linear-gradient(135deg, #fff1f6, #ffe7f0);
  border: 1px solid #f1dce6;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.cta-prelink {
  margin-bottom: 18px;
  font-size: 15px;
  color: #0b1f3b;
  opacity: 0.82;
}

.cta-prelink a {
  font-weight: 700;
  text-decoration: none;
}

.cta-prelink a:hover {
  text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #0b1f3b;
  color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid rgba(10, 31, 59, 0.08);
}

.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  text-decoration: none;
  color: inherit;
}

.footer-contact-item:hover {
  opacity: 0.85;
}

.footer-contact-item > span:last-child,
.footer-contact-item > a,
.footer-contact-item > span:not(.footer-icon) {
  line-height: 1.4;
}

.footer-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-contact-note {
  margin-top: 8px;
  opacity: 0.78;
}

/* =========================
   SEO LANDING PAGE
========================= */
.seo-hero {
  padding: 96px 0 72px;
}

.seo-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 380px);
  gap: 42px;
  align-items: center;
}

.seo-hero-copy {
  max-width: 720px;
}

.seo-hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 18px;
}

.seo-lead {
  font-size: 19px;
  line-height: 1.7;
  opacity: 0.86;
  max-width: 680px;
}

.seo-summary-card {
  align-self: start;
  margin-left: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
  border: 1px solid #efd7e2;
}

.seo-summary-card h3 {
  margin-bottom: 14px;
}

.seo-intro {
  max-width: 760px;
}

.seo-cards .card {
  min-height: 190px;
}

.seo-card-accent {
  position: relative;
  overflow: hidden;
}

.seo-card-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b06a86 0%, #0b1f3b 100%);
}

.seo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

.seo-benefits .section-intro {
  margin-bottom: 28px;
}

.benefit-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.benefit-list,
.benefit-copy {
  background: #ffffff;
  border: 1px solid rgba(241, 220, 230, 0.8);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(176, 106, 134, 0.08);
}

.benefit-copy {
  display: flex;
  align-items: center;
}

.benefit-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  opacity: 0.9;
}

.seo-faq .card {
  min-height: 170px;
}

.seo-cta-band {
  max-width: 920px;
  margin: 0 auto;
}

.page-main .card h3 {
  margin-bottom: 10px;
}

.page-main .card p:last-child,
.page-main .card ul:last-child {
  margin-bottom: 0;
}

.pricing-hint-clean {
  margin-top: 18px;
}

.pricing-hint-clean a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0b1f3b;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pricing-hint-clean a:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* =========================
   CONTACT IMAGE LAYOUT
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.contact-image {
  display: block;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.96) contrast(1.08);
  object-position: center;
}

.contact-copy {
  display: block;
}

.micro-trust {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.72;
}

.logo {
  height: 32px;
  width: auto;
  display: block;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-image {
    grid-column: 1 / -1;
  }

  .contact-image img {
    min-height: 360px;
    max-height: 420px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-right {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: #fff7fa;
    border-bottom: 1px solid #f1dce6;
    box-shadow: 0 10px 30px rgba(176, 106, 134, 0.08);
  }

  .header-right.is-open {
    display: flex;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #f3e3ea;
    border-radius: 18px;
    line-height: 1.2;
    box-sizing: border-box;
    min-height: 48px;
    justify-content: flex-start;
  }

  .nav a.active {
    background: #f3e8ec;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-weight: 700;
    position: relative;
  }

  .nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: #0b1f3b;
    border-radius: 4px;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid,
  .seo-hero-grid,
  .benefit-band {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .seo-summary-card {
    margin-left: 0;
    max-width: 100%;
  }

  .seo-hero-copy h1 {
    max-width: none;
  }
}

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

  .contact-image {
    grid-column: auto;
  }

  .contact-image img {
    min-height: 260px;
    max-height: 340px;
  }
}

@media (max-width: 768px) {
  .hero-image img {
    max-height: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card,
  .cta-band {
    padding: 22px;
  }

  .service-media {
    margin: -22px -22px 16px -22px;
  }

  .form-popup {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .seo-lead,
  .benefit-copy p {
    font-size: 17px;
  }

  .seo-cards .card,
  .seo-faq .card {
    min-height: unset;
  }
}

@media (hover: hover) {
  .nav a:hover {
    background: #fceef4;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(11, 31, 59, 0.06);
  }
}

/* === SERVICE CARDS FIX === */

.grid.grid-3 .card {
  height: 100%;
}

.card.service {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card.service p:last-of-type {
  flex-grow: 1;
}

.card.service .service-cta {
  margin-top: auto;
  margin-bottom: 4px;
  align-self: center;
  min-width: 200px;
  max-width: 220px;
  width: 100%;
}

/* === SERVICE CARD HOVER EFFECT === */

/* lagani lift */
.card.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(176, 106, 134, 0.16),
    0 0 0 1px rgba(176, 106, 134, 0.08);
}

/* slika dobije mali zoom */
.card.service:hover .service-media img {
  transform: scale(1.04);
}

.service-media img {
  transition: transform 0.4s ease;
}

/* CTA highlight */
.card.service:hover .service-cta {
  background: #0b1f3b;
  color: #ffffff;
  border-color: #0b1f3b;
  transform: translateY(-1px);
}

/* CTA animation */
.service-cta {
  transition: all 0.2s ease;
}
