/* Minimalist monochrome design for crz.ro */
:root{
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #5f5f5f;
  --border: #e6e6e6;
  --card: #fafafa;
  --shadow: 0 14px 40px rgba(0,0,0,.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --pad: 24px;
  --section-gap: 28px;
}

html{
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-theme="dark"]{
  color-scheme: dark;
  --bg: #0b0b0b;
  --fg: #ffffff;
  --muted: #a8a8a8;
  --border: #242424;
  --card: #121212;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-size: 16px;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

img, svg{ max-width: 100%; height: auto; }

a{
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
a.underline{ text-decoration: underline; }
a:hover{ text-decoration: underline; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
}
.skip-link:focus{ left: 12px; }

.container{
  width: 100%;
  max-width: var(--maxw);
  padding: 0 var(--pad);
  margin: 0 auto;
}

#site-header{
  position: sticky;
  top: 0;
  z-index: 50;
}

header.site-header{
  position: relative;
  top: 0;
  z-index: 50;
  padding: var(--section-gap) var(--pad) 0;
  background: transparent;
}

header.site-header .container{
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
}

.nav-end{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.brand{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img{
  display: block;
  height: 44px;
  width: auto;
  object-fit: cover;
  object-position: center;
  max-height: 44px;
}
html:not([data-theme="dark"]) .brand img{
  filter: invert(1);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a{
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a[aria-current="page"]{
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
}

/* Services dropdown in header */
.nav-item-dropdown{
  position: relative;
}
.nav-link-trigger{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-link-trigger:hover,
.nav-link-trigger:focus{
  color: var(--fg);
  outline: none;
}
.nav-link-trigger[aria-expanded="true"]{
  color: var(--fg);
}
.nav-link-trigger::after{
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: .8;
}
.nav-dropdown{
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 220px;
  padding: 8px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  display: none;
  flex-direction: column;
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-dropdown[data-open="true"]{
  display: flex;
}
.nav-dropdown a{
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  border-radius: 0;
}
.nav-dropdown a:hover{
  color: var(--fg);
  background: var(--bg);
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0;
  color: inherit;
}
.lang-switch:hover{ background: var(--bg); border-color: var(--border); }
.lang-switch .flag-icon{
  display: block;
  width: 28px;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
}

main{
  padding: var(--section-gap) 0 0;
}

.hero{
  margin-bottom: var(--section-gap);
}

.hero .container{
  padding: var(--section-gap) var(--pad);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-content{
  max-width: 42rem;
  text-align: center;
  margin: 0 auto;
}

.hero-content .actions{
  justify-content: center;
}

.hero-content h1{
  white-space: nowrap;
}

.hero .container .hero-content{
  width: 100%;
  max-width: none;
}

.card--intro{
  text-align: left;
}

.card--intro .intro-headline{
  text-align: center;
  white-space: nowrap;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.kicker{
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--muted);
}

h1, h2, h3{
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1{ font-size: clamp(44px, 6vw, 78px); }
h2{ font-size: clamp(28px, 3.2vw, 44px); }
h3{ font-size: clamp(20px, 2.2vw, 28px); }

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

.hero-lead,
.hero p{
  margin-top: 16px;
  font-size: 1.125rem;
  line-height: 1.55;
  width: 80%;
  max-width: 80%;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .hero-subtitle{
  text-align: center;
  margin-top: 16px;
}

.hero-content .hero-body{
  text-align: justify;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
  width: 80%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.actions{
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
}
.button.primary{
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.button:hover{ text-decoration: none; filter: contrast(1.05); }

.panel{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 80%, transparent), var(--card));
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.panel svg{
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
}

.meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.875rem;
}

.hero + .section{
  border-top: none;
}

.section{
  margin-bottom: var(--section-gap);
  padding: 0;
}

.section > .container{
  padding: var(--section-gap) var(--pad);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card{
  grid-column: span 6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px 22px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--fg) 18%, var(--border));
}
.card h3{ margin-top: 10px; font-size: clamp(18px, 2vw, 22px); }
.card p{ margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; }

.tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.tag .icon,
.icon{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}

.list{
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.list li{ margin: 6px 0; }

.list-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2em;
  margin-top: 16px;
}
.list-cols .list{ margin-top: 0; }

.pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.price-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 22px 24px;
}
.price{
  font-weight: 900;
  font-size: clamp(36px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin-top: 10px;
  color: var(--fg);
  line-height: 1;
}
.price-sub{ margin-top: 6px; font-weight: 700; font-size: 0.8125rem; color: var(--muted); }
.price-note{ margin-top: 6px; font-size: 0.875rem; line-height: 1.4; }
.price-card .list{ font-size: 0.875rem; margin-top: 12px; }
.price-card h3{ font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Contact page: two boxes 50% / 50% */
.contact-boxes{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.contact-box{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.contact-box--map{
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.contact-map-wrap{
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 280px;
}
.contact-map-wrap iframe{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-info h3{ font-size: 1.125rem; margin: 0 0 10px; }
.contact-info .contact-intro{
  text-align: justify;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.contact-info-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
}
.contact-info-item:first-of-type{ margin-top: 0; }
.contact-info-icon{
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.07);
  color: var(--fg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
html[data-theme="dark"] .contact-info-icon{
  background: rgba(255, 255, 255, 0.12);
  color: var(--fg);
}
.contact-info-icon svg{ width: 22px; height: 22px; }
.contact-info-text strong{ display: block; font-size: 0.9375rem; margin-bottom: 4px; color: var(--fg); }
.contact-info-text p{ margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.contact-info-text a{ color: var(--fg); font-weight: 600; }

.contact-form{ margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.contact-form-row{ margin: 0 0 14px; }
.contact-form-row:last-of-type{ margin-bottom: 0; }
.contact-form-row--hidden{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.contact-form-row--submit{ margin-top: 18px; }
.contact-form label{ display: block; font-size: 0.9375rem; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{ width: 100%; padding: 10px 12px; font-size: 1rem; font-family: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); box-sizing: border-box; }
.contact-form input:focus,
.contact-form textarea:focus{ outline: none; border-color: var(--fg); }
.contact-form textarea{ resize: vertical; min-height: 100px; }
.contact-form-success{ margin: 0 0 16px; padding: 12px 14px; background: color-mix(in srgb, var(--fg) 10%, transparent); border-radius: var(--radius-sm); font-size: 0.9375rem; color: var(--fg); font-weight: 600; }
.visually-hidden{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

footer .container{
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding: var(--section-gap) var(--pad);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

footer{
  padding: 0 var(--pad) 80px;
  color: var(--muted);
  font-size: 0.9375rem;
}
footer p + p{ margin-top: 8px; }
.footer-legal-links{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4em 0.75em; margin-bottom: 6px; }
.footer-legal-links a{ font-weight: 600; }
.footer-legal-sep{ color: var(--muted); font-weight: 400; user-select: none; }
.footer-note{ font-size: 0.8125rem; opacity: .9; }
.footer-badge-wrap{ display: flex; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.footer-badge-wrap + p{ margin-top: 12px; }
.footer-payment-badge{ display: block; width: 250px; max-width: 100%; height: 50px; position: relative; min-width: 200px; flex-shrink: 0; }
.footer-payment-badge img{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: filter 0.25s ease; filter: grayscale(1); }
html[data-theme="dark"] .footer-payment-badge img{ filter: grayscale(1) invert(1); }
.footer-payment-badge:hover img{ filter: none; }
html[data-theme="dark"] .footer-payment-badge:hover img{ filter: none; }
.footer-np-img--light{ opacity: 1; visibility: visible; }
.footer-np-img--dark{ opacity: 0; visibility: hidden; pointer-events: none; }
html[data-theme="dark"] .footer-np-img--light{ opacity: 0; visibility: hidden; pointer-events: none; }
html[data-theme="dark"] .footer-np-img--dark{ opacity: 1; visibility: visible; pointer-events: auto; }

/* Legal / Terms pages */
.legal-content{ max-width: 72ch; margin: 0 auto; text-align: justify; }
.legal-content h2{ font-size: 1.25rem; margin-top: 0; margin-bottom: 1em; }
.legal-content h3{ font-size: 1.1rem; margin-top: 1.5em; margin-bottom: 0.5em; }
.legal-content p{ margin-bottom: 1em; line-height: 1.6; color: var(--muted); }
.legal-content p strong{ color: var(--fg); }
.table-wrap{ overflow-x: auto; margin: 1em 0; }
.legal-table{ width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.legal-table th, .legal-table td{ border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.legal-table th{ background: var(--card); font-weight: 700; color: var(--fg); }
.legal-table td{ color: var(--muted); }
.legal-list{ margin: 0.75em 0 1em 1.25em; padding: 0; color: var(--muted); line-height: 1.6; }
.legal-list li{ margin-bottom: 0.35em; }
.footer-badge-wrap > *{ margin-left: auto; margin-right: auto; }

/* Bottom-right theme toggle */
.theme-toggle{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.theme-toggle:hover{ filter: contrast(1.06); }
.theme-toggle:focus{ outline: 2px solid color-mix(in srgb, var(--fg) 45%, transparent); outline-offset: 3px; }

.theme-toggle svg{ width: 20px; height: 20px; display: block; }
.theme-toggle .moon{ display: none; }
html[data-theme="dark"] .theme-toggle .sun{ display: none; }
html[data-theme="dark"] .theme-toggle .moon{ display: block; }

/* Hamburger: hidden on desktop */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: var(--fg);
}
.nav-toggle:hover,
.nav-toggle:focus{
  background: var(--card);
  outline: none;
}
.nav-toggle-bar{
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
header.menu-open .nav-toggle-bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
header.menu-open .nav-toggle-bar:nth-child(2){ opacity: 0; }
header.menu-open .nav-toggle-bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px){
  header.site-header{ padding-left: 12px; padding-right: 12px; }
  header.site-header .container{ padding: 12px 16px; }
  .hero .container{ padding: 20px 16px; }
  .hero-content{ max-width: none; }
  .hero-content h1{ white-space: normal; }
  .card--intro .intro-headline{ white-space: normal; }
  .list-cols{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; gap: 24px; }
  .card{ grid-column: span 12; }
  .pricing{ grid-template-columns: 1fr; }
  .contact-boxes{ grid-template-columns: 1fr; }
  .contact-box--map{ min-height: 280px; }
  .contact-map-wrap{ min-height: 260px; }
  .panel{ padding: 18px 20px; }
  .panel svg{ width: 48px; height: 48px; }
  .section > .container{ padding: 20px 16px; }
  footer{ padding-left: 12px; padding-right: 12px; }
  footer .container{ padding: 20px 16px; }

  .nav-toggle{ display: flex; }
  .nav-end{ flex-wrap: wrap; width: auto; }
  .nav-links{
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    width: 100%;
    gap: 0;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  header.menu-open .nav-end{ width: 100%; }
  header.menu-open .nav-links{ display: flex; }
  .nav-links a{
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-item-dropdown{ flex-direction: column; align-items: stretch; }
  .nav-item-dropdown .nav-link-trigger{
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: none;
    text-align: left;
  }
  .nav-item-dropdown .nav-dropdown{
    position: static;
    display: none;
    margin-top: 0;
    padding: 0 0 8px 12px;
    box-shadow: none;
    border: none;
    border-radius: 0;
  }
  .nav-item-dropdown.is-open .nav-dropdown{ display: flex; }
  .nav-item-dropdown .nav-dropdown a{ padding: 10px 0; border-bottom: none; }
}

