/* =============================================
   VIZA MEDIU - Main Stylesheet
   Mobile-first, green theme
   ============================================= */

:root {
  --green-dark:   #1a5c2e;
  --green-main:   #2d8a4e;
  --green-mid:    #3aaa64;
  --green-light:  #e8f5ee;
  --green-pale:   #f4fbf7;
  --accent:       #f0a500;
  --accent-dark:  #c98400;
  --text-dark:    #1a2320;
  --text-mid:     #3d5249;
  --text-light:   #6b8578;
  --text-muted:   #6b7280;
  --white:        #ffffff;
  --border:       #d0e8da;
  --shadow-sm:    0 2px 8px rgba(45,138,78,.12);
  --shadow-md:    0 6px 24px rgba(45,138,78,.16);
  --shadow-lg:    0 12px 48px rgba(45,138,78,.20);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

main { flex: 1; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { margin-bottom: .9rem; color: var(--text-mid); }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
@media (min-width: 768px)  { .container { padding: 0 2rem; } }
@media (min-width: 1400px) { .container { max-width: 1360px; } }

/* SECTION */
section { padding: 3.5rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 { color: var(--green-dark); margin-bottom: .5rem; }
.section-title p  { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--accent));
  border-radius: 2px;
  margin: .7rem auto 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: var(--white);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--green-main);
  color: var(--green-main);
}
.btn-outline:hover {
  background: var(--green-main);
  color: var(--white);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}
.btn-accent:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
}
.navbar-brand .brand-icon {
  width: 40px; height: 40px;

  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  overflow: hidden;
}
.navbar-brand .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.navbar-brand span.brand-sub {
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-light);
  display: block;
  line-height: 1;
}
.navbar-brand .brand-wrap { display: flex; flex-direction: column; }
.navbar-brand .brand-name { line-height: 1.1; }

.nav-links {
  display: none;
  align-items: center;
  gap: .2rem;
}
.nav-links a {
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--green-light);
  color: var(--green-dark);
}
.nav-actions {
  display: none;
  align-items: center;
  gap: .6rem;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu — full screen overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  flex-direction: column;
  background: var(--white);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-mid);
}
.mobile-menu a:hover,
.mobile-menu a.active { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.mobile-menu .mobile-actions {
  display: flex;
  gap: .7rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.mobile-menu .mobile-actions .btn { flex: 1; text-align: center; padding: .75rem 1rem; font-size: 1rem; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-mid) 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff;
  margin-bottom: .8rem;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: .2rem;
}
@media (min-width: 900px) {
  .hero { padding: 6rem 0 7rem; }
  .hero h1 { font-size: 3.2rem; }
}

/* SERVICES GRID */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 576px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.service-card:hover {
  border-color: var(--green-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1rem; color: var(--green-dark); }
.service-card p  { font-size: .9rem; margin: 0; }

/* PRICING */
.pricing { background: var(--green-pale); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  position: relative;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--green-main);
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--white) 100%);
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-main);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-card .plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.price-amount .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.price-amount .currency { font-size: 1.1rem; font-weight: 700; color: var(--green-main); }
.price-amount .period  { font-size: .85rem; color: var(--text-light); }
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-mid);
}
.price-features li::before {
  content: '✓';
  color: var(--green-main);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--green-pale); }
.faq-question.open { background: var(--green-light); color: var(--green-dark); }
.faq-chevron {
  width: 20px; height: 20px;
  border-right: 2.5px solid var(--green-main);
  border-bottom: 2.5px solid var(--green-main);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-question.open .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }
.faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
  font-size: .95rem;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* CONTACT STRIP */
.contact-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: #fff;
  padding: 3rem 0;
}
.contact-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-strip h2 { color: #fff; }
.contact-strip p  { color: rgba(255,255,255,.85); margin: 0; }
.contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
}
.contact-item .ci-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item a { color: #fff; }
.contact-item a:hover { color: var(--accent); }
@media (min-width: 768px) {
  .contact-strip-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* FORM PAGE */
.form-section { background: var(--green-pale); padding: 3rem 0; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.form-card-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: #fff;
  padding: 2rem 2.5rem;
}
.form-card-header h2 { color: #fff; margin-bottom: .4rem; }
.form-card-header p  { color: rgba(255,255,255,.85); margin: 0; }
.form-body { padding: 1.5rem 1.2rem; }
@media (min-width: 600px) {
  .form-body { padding: 2rem 2.5rem; }
}

.form-group {
  margin-bottom: 1.4rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-dark);
  margin-bottom: .45rem;
}
.form-group label span.required { color: #e53e3e; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(45,138,78,.12);
}
.form-control::placeholder { color: #aab8b4; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }
input[type="date"].form-control {
  min-width: 0;
  display: block;
  color-scheme: light;
}
.form-row > .form-group { min-width: 0; }

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .form-row.col-2 { grid-template-columns: repeat(2, 1fr); }
  .form-row.col-3 { grid-template-columns: repeat(3, 1fr); }
}

.form-section-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-main);
  border-bottom: 2px solid var(--green-light);
  padding-bottom: .5rem;
  margin-bottom: 1.2rem;
  margin-top: 1.8rem;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.radio-group.horizontal, .checkbox-group.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: .8rem;
}
.radio-item, .check-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  cursor: pointer;
  font-size: .92rem;
  color: var(--text-mid);
}
.radio-item input, .check-item input {
  width: 17px; height: 17px;
  accent-color: var(--green-main);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .1rem;
}

.caen-tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem;
  margin-top: .6rem;
}
.caen-tag {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green-main);
  padding: .45rem .65rem .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  position: relative;
}
.caen-tag-body {
  flex: 1;
  min-width: 0;
}
.caen-tag strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
}
.caen-tag span.caen-tag-name {
  display: block;
  font-weight: 400;
  font-size: .75rem;
  color: var(--green-dark);
  opacity: .8;
  margin-top: .15rem;
  line-height: 1.3;
  word-break: break-word;
}
.caen-tag button {
  background: none; border: none; cursor: pointer;
  color: var(--green-dark); font-size: 1rem; line-height: 1;
  padding: 0; flex-shrink: 0; opacity: .6;
}
.caen-tag button:hover { opacity: 1; }

.caen-search-wrap { position: relative; }
.caen-suggestions {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--green-main);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  list-style: none;
  margin: 0; padding: 0;
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.caen-suggestions.open { display: block; }
.caen-suggestions li {
  padding: .55rem .9rem;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.caen-suggestions li:last-child { border-bottom: none; }
.caen-suggestions li:hover,
.caen-suggestions li.active { background: var(--green-light); color: var(--green-dark); }
.caen-suggestions li strong { color: var(--green-dark); }

.caen-tag strong { font-weight: 700; }

.form-note {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: .3rem;
}

/* CONTACT PAGE */
.contact-page { background: var(--green-pale); padding: 3rem 0; }
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 2fr; } }

.contact-info-card {
  background: linear-gradient(160deg, var(--green-dark), var(--green-main));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card p  { color: rgba(255,255,255,.8); margin: 0; font-size: .9rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}
.contact-info-item .ii-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item .ii-text { font-size: .92rem; }
.contact-info-item .ii-text strong { display: block; color: #fff; margin-bottom: .1rem; }
.contact-info-item .ii-text span  { color: rgba(255,255,255,.75); }
.contact-info-item .ii-text a     { color: rgba(255,255,255,.9); }
.contact-info-item .ii-text a:hover { color: var(--accent); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) { .contact-form-card { padding: 1.5rem 1.2rem; } }

/* BLOG */
.blog-list-section {
  background: var(--green-pale);
  padding: 3rem 0;
}
.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
}
.blog-search {
  max-width: 340px;
}
.blog-sort {
  max-width: 190px;
}
.blog-results-info {
  color: var(--text-light);
  font-size: .85rem;
  font-weight: 600;
}
.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.blog-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.4);
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.blog-meta { display: flex; gap: .8rem; font-size: .8rem; color: var(--text-light); }
.blog-tag {
  background: var(--green-light);
  color: var(--green-dark);
  padding: .15rem .6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.05rem; }
.blog-card h3 a { color: var(--text-dark); }
.blog-card h3 a:hover { color: var(--green-main); }
.blog-card p { font-size: .9rem; flex: 1; }
.blog-read-more { font-size: .88rem; font-weight: 600; color: var(--green-main); margin-top: auto; }
.blog-empty {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
}
.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* BLOG POST */
.blog-post-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 2.5rem 0 3rem;
  color: #fff;
}
.blog-post-hero .breadcrumb { margin-bottom: 1.2rem; }
.blog-post-hero .breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.blog-post-hero .breadcrumb a:hover { color: #fff; }
.blog-post-hero .breadcrumb span { color: rgba(255,255,255,.55); }
.blog-post-hero .breadcrumb span:last-child {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40vw;
  display: inline-block;
  vertical-align: bottom;
}
.blog-post-hero h1 { color: #fff; margin-bottom: .8rem; font-size: 2rem; line-height: 1.25; }
.blog-post-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  margin-bottom: .9rem;
}
.blog-post-kicker .badge { font-size: .78rem; }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
  margin-top: .4rem;
}
.blog-post-meta span + span::before {
  content: '·';
  margin-right: .75rem;
  opacity: .5;
}
.blog-post-section {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
@media (max-width: 767px) {
  .blog-post-hero { padding: 1.5rem 0 2rem; }
  .blog-post-hero h1 { font-size: 1.45rem; line-height: 1.3; margin-bottom: .6rem; }
  .blog-post-hero .breadcrumb { font-size: .78rem; }
  .blog-post-section { padding: 1.25rem 0 2rem; }
  .blog-post-image { max-height: 200px; margin-bottom: 1.2rem; }
  .post-body p { font-size: .96rem; line-height: 1.75; }
  .post-body h2 { font-size: 1.18rem; margin: 1.2rem 0 .5rem; }
  .post-body h3 { font-size: 1.03rem; margin: 1rem 0 .4rem; }
  .blog-post-cta { padding: 1rem; margin-top: 1.5rem; }
  .blog-post-cta h3 { font-size: .98rem; }
  .blog-sidebar-block { padding: 1rem; }
}
.blog-post-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 980px) {
  .blog-post-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}
.post-body {

  margin: 0;
  padding: 0;
}
.post-body h2, .post-body h3 { color: var(--green-dark); margin: 1.8rem 0 .8rem; }
.post-body p   { font-size: 1.02rem; line-height: 1.8; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-mid); }
.post-body li  { margin-bottom: .4rem; font-size: 1rem; }
.post-body blockquote {
  border-left: 4px solid var(--green-main);
  padding: 1rem 1.4rem;
  background: var(--green-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-mid);
}
.blog-post-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.blog-post-cta,
.blog-sidebar-block {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}
.blog-post-cta {
  margin-top: 2rem;
}
.blog-post-sidebar {
  display: grid;
  gap: 1rem;
}
.blog-sidebar-block h3 {
  color: var(--green-dark);
  font-size: 1rem;
  margin-bottom: .9rem;
}
.toc-nav a,
.blog-sidebar-post {
  display: block;
  color: var(--text-mid);
  font-size: .88rem;
  text-decoration: none;
  padding: .45rem 0;
}
.toc-nav a:hover,
.blog-sidebar-post:hover {
  color: var(--green-main);
}
.blog-sidebar-post + .blog-sidebar-post {
  border-top: 1px solid var(--border);
}
.blog-sidebar-post span,
.blog-sidebar-post small {
  display: block;
}
.blog-sidebar-post small {
  color: var(--text-light);
  margin-top: .2rem;
}

/* =============================================
   AUTH — Two-panel split layout
   ============================================= */
.auth-body { background: #f4fbf7; }

.auth-split {
  display: flex;
  min-height: 100vh;
}
.auth-split--centered {
  align-items: center;
  justify-content: center;
  background: #f4fbf7;
}

/* Left green panel */
.auth-split-left {
  display: none;
  width: 42%;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-main) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auth-split-left::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.auth-split-left::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
@media (min-width: 900px) { .auth-split-left { display: flex; } }

.auth-split-left-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.auth-brand--dark { color: var(--green-dark); }
.auth-brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.auth-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.auth-brand-icon--green {
  background: var(--green-light);
}
.auth-brand:hover .auth-brand-icon,
.auth-brand:hover .auth-brand-icon--green {
  background: inherit;
  color: #fff;
  filter: none;
  opacity: 1;
}

.auth-left-hero { margin-top: auto; }
.auth-left-hero h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.auth-left-hero p {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

.auth-left-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.auth-left-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.auth-left-feat-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.auth-left-features strong { color: #fff; }

.auth-left-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: auto;
}
.auth-left-footer a { color: rgba(255,255,255,.7); }
.auth-left-footer a:hover { color: #fff; }

/* Right panel */
.auth-split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.2rem;
  background: #f4fbf7;
  min-height: 100vh;
}
.auth-split-right-inner {
  width: 100%;
  max-width: 460px;
}

.auth-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(45,138,78,.10);
}
@media (min-width: 480px) { .auth-box { padding: 2.5rem; } }

.auth-box-header { margin-bottom: 1.5rem; }
.auth-box-header h1 { font-size: 1.6rem; margin-bottom: .3rem; }
.auth-box-header p  { font-size: .9rem; color: var(--text-light); margin: 0; }
.auth-box-header a  { color: var(--green-main); font-weight: 600; }

/* Social buttons */
.auth-social-btns { display: flex; flex-direction: column; gap: .65rem; }
.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.auth-social-btn:hover {
  border-color: var(--green-main);
  background: var(--green-pale);
  box-shadow: 0 2px 8px rgba(45,138,78,.12);
  color: var(--text-dark);
}
.auth-social-btn--apple { color: #000; }
.auth-social-btn--apple:hover { border-color: #000; background: #f5f5f5; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.auth-social-note { font-size: .76rem; color: var(--text-light); text-align: center; margin: .3rem 0 0; line-height: 1.5; }

/* Divider */
.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.4rem 0;
  font-size: .82rem;
  color: var(--text-light);
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  background: #fff;
  padding: 0 .8rem;
  position: relative;
}

/* form label row */
.form-label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-dark); }
.form-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.form-label-row .form-label { margin-bottom: 0; }
.form-label-link { font-size: .82rem; color: var(--green-main); font-weight: 500; }

/* Password eye toggle */
.input-with-eye { position: relative; }
.input-with-eye .form-control { padding-right: 2.8rem; }
.input-eye-btn {
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  display: flex;
  align-items: center;
}
.input-eye-btn:hover { color: var(--green-main); }

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 1.2rem;
  line-height: 1.45;
}
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: var(--green-light); color: var(--green-dark); border: 1px solid var(--green-mid); }

/* Back link */
.auth-back-link {
  text-align: center;
  font-size: .83rem;
  color: var(--text-light);
  margin-top: 1.2rem;
}
.auth-back-link a { color: var(--text-light); }
.auth-back-link a:hover { color: var(--green-main); }

/* btn-block */
.btn-block { width: 100%; justify-content: center; }

/* Legacy single-card auth (keep for backward compat) */
.auth-page {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.2rem;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 480px) { .auth-card { padding: 2.5rem; } }
.auth-logo {
  text-align: center;
  margin-bottom: 1.8rem;
}
.auth-logo .logo-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto .8rem;
}
.auth-logo h2 { color: var(--green-dark); margin-bottom: .3rem; }
.auth-logo p  { font-size: .9rem; margin: 0; }
.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.4rem 0;
  font-size: .85rem;
  color: var(--text-light);
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  background: var(--white);
  padding: 0 .8rem;
  position: relative;
}
.auth-footer-text {
  text-align: center;
  font-size: .88rem;
  color: var(--text-light);
  margin-top: 1.4rem;
}
.auth-footer-text a { font-weight: 600; }

/* PASSWORD STRENGTH */
.password-strength { margin-top: .5rem; }
.strength-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .3rem;
}
.strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .3s, background .3s;
  width: 0%;
}

/* TERMS PAGE */
.terms-section { padding: 3rem 0; }
.terms-toc {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.terms-toc h4 { color: var(--green-dark); margin-bottom: .8rem; }
.terms-toc ol { padding-left: 1.2rem; }
.terms-toc li { margin-bottom: .4rem; font-size: .92rem; }
.terms-article {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.terms-article h3 { color: var(--green-dark); margin-bottom: .8rem; }
.terms-article p  { font-size: .95rem; }
.terms-article ul { padding-left: 1.4rem; color: var(--text-mid); }
.terms-article li { margin-bottom: .4rem; font-size: .92rem; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 3rem 0;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p  { color: rgba(255,255,255,.8); margin: 0; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .8rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* FOOTER */
.footer {
  background: #000b07;
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
}

/* ---- grid: 1 col mobile → 2 col tablet → 4 col desktop ---- */
.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem 3rem; }
}

/* ---- brand column ---- */
.footer-brand { display: flex; flex-direction: column; }
.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-brand .brand-wrap { display: flex; flex-direction: column; }
.footer-brand .brand-name { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.footer-brand .brand-sub  { font-size: .72rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.footer-brand p { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.6); margin: 0; }

/* ---- nav columns ---- */
.footer-col h5 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-mid); }

/* ---- contact column ---- */
.footer-contact-items { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.footer-contact-item .fci-icon { flex-shrink: 0; margin-top: .1rem; opacity: .65; }
.footer-contact-item a { color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--green-mid); }

/* ---- payment logos ---- */
.footer-payments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
@media (min-width: 640px) {
  .footer-payments { flex-direction: row; align-items: center; gap: 1.2rem; }
}
.footer-payments-label {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.footer-payments-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.footer-payments-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: .75;
  transition: opacity .2s;
}
.footer-payments-logos img:hover { opacity: 1; }

/* ---- bottom bar ---- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1.5rem;
  padding: 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: nowrap; }
  .footer-bottom > span:first-child { flex: 1; min-width: 0; }
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.85); }
.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.35) !important;
  font-size: .75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-powered img { opacity: .5; border-radius: 4px; transition: opacity .2s; vertical-align: middle; }
.footer-powered:hover { color: rgba(255,255,255,.7) !important; }
.footer-powered:hover img { opacity: .9; }

/* ================================================================
   BLOG / RESURSE
   ================================================================ */

/* Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 3rem 0 2.5rem;
  color: #fff;
}
.blog-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin: .4rem 0 .6rem; }
.blog-hero p  { color: rgba(255,255,255,.8); font-size: 1rem; margin: 0 0 1.5rem; }
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Category pills */
.blog-hero-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .9rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: transparent; color: rgba(255,255,255,.75);
  font-size: .82rem; font-weight: 500; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.cat-pill:hover  { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }
.cat-pill.active { background: #fff; color: var(--green-dark); border-color: #fff; font-weight: 700; }

/* Controls bar */
.blog-main { padding: 2.5rem 0 3.5rem; background: var(--green-pale); min-height: 40vh; }
.blog-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-bottom: 2rem;
  background: #fff; padding: .85rem 1.1rem;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.blog-search-wrap {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-light);
}
.blog-search {
  flex: 1; border: none; outline: none;
  font-size: .9rem; color: var(--text-dark);
  background: transparent;
}
.blog-sort {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .4rem .7rem; font-size: .85rem; color: var(--text-mid);
  background: #fff; cursor: pointer;
}
.blog-results-info { font-size: .82rem; color: var(--text-light); white-space: nowrap; }

/* Articles grid */
.articles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 580px)  { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

/* Article card */
.article-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.article-card-img {
  position: relative; height: 180px;
  background: var(--green-pale);
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: .75rem;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.article-card-img.bg-teal { background: linear-gradient(135deg,#0d9488,#065f46); }
.article-card-img.bg-gold { background: linear-gradient(135deg,#d97706,#92400e); }
.article-card-img.bg-blue { background: linear-gradient(135deg,#2563eb,#1e3a8a); }
.article-card-img .fa    { position: absolute; bottom: .75rem; right: .9rem; font-size: 2.5rem; color: rgba(255,255,255,.18); }

/* Category badge */
.cat-badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  background: rgba(255,255,255,.92); color: var(--green-dark);
}
.cat-badge.firme { color: #0d9488; }
.cat-badge.ghid  { color: #d97706; }
.cat-badge.mediu { color: #2563eb; }

/* Card body */
.article-card-body  { flex: 1; display: flex; flex-direction: column; padding: 1.1rem 1.2rem; }
.article-card-title { font-size: 1rem; font-weight: 700; color: var(--green-dark); line-height: 1.35; margin-bottom: .55rem; }
.article-card-excerpt { font-size: .85rem; color: var(--text-mid); line-height: 1.6; flex: 1; margin: 0 0 1rem; }
.article-card-footer  { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .78rem; color: var(--text-light); margin-top: auto; }
.article-card-footer .read-time { display: flex; align-items: center; gap: .3rem; }
.article-read-link { color: var(--green-main); font-weight: 600; white-space: nowrap; }

/* Load more */
.blog-load-more { text-align: center; margin-top: 2rem; }
.btn-load-more {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 2rem; border-radius: var(--radius-md);
  border: 2px solid var(--green-main); background: transparent;
  color: var(--green-main); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: background .18s, color .18s;
}
.btn-load-more:hover { background: var(--green-main); color: #fff; }

/* Empty state */
.blog-empty { grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.blog-empty .fa { font-size: 2.5rem; display: block; margin-bottom: .75rem; opacity: .4; }

/* ALERTS / NOTICE */
.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: .92rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.alert-info    { background: #e0f2fe; color: #0369a1; border-left: 4px solid #0ea5e9; }
.alert-success { background: var(--green-light); color: var(--green-dark); border-left: 4px solid var(--green-main); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-accent { background: #fff3cd; color: #92400e; }

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
}
.page-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.page-link:hover, .page-link.active {
  background: var(--green-main);
  border-color: var(--green-main);
  color: #fff;
}

/* UTILITY */
.text-center   { text-align: center; }
.text-green    { color: var(--green-main); }
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-light); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.fw-bold { font-weight: 700; }

/* INPUT PASSWORD TOGGLE */
.input-wrapper { position: relative; }
.input-wrapper .form-control { padding-right: 3rem; }
.input-eye {
  position: absolute;
  right: .9rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 1rem;
  padding: 0;
}

/* SCROLL TO TOP */
#scrollTop {
  position: fixed;
  bottom: 4.5rem; right: 1.5rem;
  width: 50px; height: 50px;
  background: var(--green-main);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: translateY(-3px); background: var(--green-dark); }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 900;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease forwards; }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  min-height: 680px;
}
.slide {
  display: flex;
  position: absolute;
  inset: 0;
  min-height: 680px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .85s ease, visibility .85s ease;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-color: var(--green-dark);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  transform: scale(1.02);
  transition: transform 5.5s ease;
}
.slide.active .slide-bg {
  transform: scale(1);
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.72) 0%,rgba(0, 0, 0, 0.48) 44%,rgba(4,25,13,.32) 100%),rgba(0,0,0,.18);
}
/* Full-screen gradient backgrounds for each slide */
.slide:nth-child(1) .slide-bg { background-color: #0f3d1f; }
.slide:nth-child(2) .slide-bg { background-color: #1a2d1e; }
.slide:nth-child(3) .slide-bg { background-color: #12401c; }

.slide-placeholder-img .ph-frame {
  width: min(380px, 42%);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: rgba(255,255,255,.3);
  font-size: .85rem;
  right: 0;
  position: absolute;
  margin-right: 4%;
}
.slide-placeholder-img .ph-frame span { font-size: 2.8rem; opacity: .4; }

.slide-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 7.5rem;
  width: 100%;
}
.slide-content .container { position: relative; z-index: 2; }
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}
.slide-content h1 { color: #fff; margin-bottom: .7rem; max-width: 640px; }
.slide-content h1 span { color: var(--accent); }
.slide-content p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 520px; font-size: 1.05rem; }
.slide-actions     { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Controls */
.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}
.slider-dots { display: flex; gap: .5rem; }
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.slider-dot.active { background: #fff; width: 28px; border-radius: 5px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.28); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }
@media (min-width: 768px) {
  .slider-arrow.prev { left: 1.5rem; }
  .slider-arrow.next { right: 1.5rem; }
}

/* =============================================
   STEP FORM WIZARD
   ============================================= */
.step-progress-wrap { margin-bottom: 2rem; }
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: .5rem 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  flex: 1;
  min-width: 0;
  position: relative;
}
.step-item.step-skipped { display: none; }
.step-item:not(:last-child):not(.step-skipped)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item.done:not(:last-child)::after,
.step-item.active:not(:last-child)::after {
  background: var(--green-main);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  transition: all .3s;
  flex-shrink: 0;
}
.step-item.active .step-num {
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(45,138,78,.2);
}
.step-item.done .step-num {
  background: var(--green-dark);
  color: #fff;
}
.step-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.step-item.active .step-label { color: var(--green-dark); }
.step-item.done  .step-label  { color: var(--green-main); }
.step-counter {
  text-align: center;
  font-size: .78rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: .4rem;
  display: none;
}
@media (max-width: 540px) {
  .step-num { width: 28px; height: 28px; font-size: .78rem; }
  .step-item:not(:last-child):not(.step-skipped)::after { top: 14px; left: calc(50% + 14px); right: calc(-50% + 14px); }
  .step-label { display: none; }
  .step-counter { display: block; }
}

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* Step nav buttons */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: .75rem;
  flex-wrap: wrap;
}
.step-nav .btn-back { margin-right: auto; }
@media (max-width: 480px) {
  .step-nav { flex-direction: column-reverse; gap: .6rem; }
  .step-nav .btn-back { margin-right: 0; }
  .btn-full-mobile { width: 100%; justify-content: center; }
}

/* Package selector (step 1) */
.pkg-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }

.pkg-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  text-align: center;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.pkg-card:hover { border-color: var(--green-main); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pkg-card.selected {
  border-color: var(--green-main);
  background: var(--green-pale);
  box-shadow: var(--shadow-md);
}
.pkg-card input[type="radio"] { display: none; }
.pkg-badge-top {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-main);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .85rem;
  border-radius: 50px;
  white-space: nowrap;
}
.pkg-card .pkg-name {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}
.pkg-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .2rem;
  line-height: 1;
}
.pkg-price .cur  { font-size: .95rem; font-weight: 700; color: var(--green-main); }
.pkg-price .amt  { font-size: 2.5rem; font-weight: 800; color: var(--green-dark); }
.pkg-price .per  { font-size: .78rem; color: var(--text-light); }
.pkg-type-badge {
  display: inline-block;
  padding: .18rem .65rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  margin: 0 auto;
}
.pkg-type-once { background: #fff3cd; color: #7d5000; }
.pkg-type-sub  { background: var(--green-light); color: var(--green-dark); }

.pkg-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .83rem;
  color: var(--text-mid);
  line-height: 1.4;
}
.pkg-features li::before {
  content: '✓';
  color: var(--green-main);
  font-weight: 700;
  flex-shrink: 0;
}

.preview-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .35rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.preview-btn:hover { border-color: var(--green-main); color: var(--green-main); }

/* Step summary box */
.order-summary:empty { display: none; }
.order-summary {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  font-size: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
}
.order-summary strong { color: var(--green-dark); }
.order-summary .edit-link { font-size: .8rem; color: var(--green-main); cursor: pointer; text-decoration: underline; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,15,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modalFadeIn .18s ease;
}
@keyframes modalFadeIn { from { opacity:0; } to { opacity:1; } }
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 18px;
  max-width: 600px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06);
  animation: modalSlideUp .22s cubic-bezier(.34,1.3,.64,1);
}
@keyframes modalSlideUp { from { opacity:0; transform:translateY(28px) scale(.97); } to { opacity:1; transform:none; } }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.8rem 1rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 18px 18px 0 0;
  z-index: 1;
}
.modal-header h4 { color: var(--green-dark); font-size: 1.05rem; }
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-pale); border: none;
  border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; color: var(--green-dark);
  transition: background .15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--green-light); }
.modal-body { padding: 1.6rem 1.8rem; }
.modal-body .doc-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.8;
  background: #fafafa;
}
.modal-body .doc-preview h5 {
  color: var(--green-dark);
  margin-bottom: .6rem;
  font-size: .95rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.modal-body .doc-preview .field-row {
  display: flex;
  gap: .5rem;
  margin-bottom: .4rem;
  border-bottom: 1px dotted var(--border);
  padding-bottom: .3rem;
}
.modal-body .doc-preview .field-label { font-weight: 600; color: var(--text-dark); min-width: 180px; flex-shrink: 0; }

/* Error modal variant */
.modal-box--sm { max-width: 420px; }
.modal-header--error { background: #fff8f8; border-radius: 18px 18px 0 0; border-bottom-color: #fecaca; }
.modal-header--error h4 { color: #b91c1c; }
.modal-header--error .modal-close { background: #fee2e2; color: #b91c1c; }
.modal-header--error .modal-close:hover { background: #fecaca; }
.modal-error-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #ef4444; color: #fff;
  font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Package CTA link button */
.pkg-cta {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .6rem 1rem;
  border-radius: var(--radius-md);
  background: var(--green-main);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: .3px;
  transition: background .2s, transform .15s;
}
.pkg-cta:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff; }
.pkg-card.selected .pkg-cta { background: var(--green-dark); }

/* Delivery option cards */
.delivery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.delivery-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: center;
}
.delivery-card input { display: none; }
.delivery-card:hover { border-color: var(--green-main); }
.delivery-card.selected { border-color: var(--green-main); background: var(--green-pale); }
.delivery-card .d-icon { font-size: 1.8rem; }
.delivery-card .d-label { font-weight: 700; font-size: .88rem; color: var(--text-dark); }
.delivery-card .d-sub   { font-size: .75rem; color: var(--text-light); }
