/* ============================================================
   RIA Auto Trans — style.css
   Mobile-first, zero frameworks, zero jQuery
   ============================================================ */

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

:root {
  --blue: #1a56db;
  --blue-dark: #1341b0;
  --blue-light: #e8f0fd;
  --green: #25d366;
  --green-dark: #1da851;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --container: 1160px;
  --header-h: 68px;
}

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

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

/* --- Skip link --- */
.skip-link {
  position: absolute; top: -100px; left: 0; z-index: 9999;
  background: var(--blue); color: #fff; padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* --- Container --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex; align-items: center; gap: .5rem;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 1; min-width: 0; }
.logo img { height: 46px; width: auto; max-width: 140px; }
.logo-text { font-weight: 700; font-size: 1.1rem; color: var(--blue); }

.header-cta { margin-left: auto; flex-shrink: 0; }
.header-phone { font-size: .85rem; padding: .4rem .7rem; white-space: nowrap; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius);
  margin-left: .5rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-900); border-radius: 2px;
  transition: var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav */
.main-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.main-nav.open { max-height: 600px; }
.main-nav .container { padding-top: .5rem; padding-bottom: .5rem; }

.nav-list { display: flex; flex-direction: column; gap: 0; }
.nav-list > li > a {
  display: block; padding: .65rem .5rem;
  color: var(--gray-700); font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.nav-list > li > a:hover { color: var(--blue); text-decoration: none; }
.nav-list > li:last-child > a { border-bottom: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  background: var(--gray-50); border-left: 3px solid var(--blue);
  display: none; padding: .25rem 0;
}
.dropdown.open { display: block; }
.dropdown li a {
  display: block; padding: .5rem 1.5rem;
  color: var(--gray-700); font-size: .95rem;
  transition: color var(--transition);
}
.dropdown li a:hover { color: var(--blue); text-decoration: none; }

/* Desktop nav */
@media (min-width: 900px) {
  .hamburger { display: none; }
  .main-nav {
    max-height: none; overflow: visible;
    border-top: none; background: none;
  }
  .main-nav .container { padding: 0; }
  .nav-list { flex-direction: row; align-items: center; gap: .25rem; }
  .nav-list > li > a {
    padding: .4rem .75rem; border-bottom: none;
    border-radius: var(--radius);
    font-size: .92rem;
  }
  .has-dropdown { position: relative; }
  .dropdown {
    position: absolute; top: 100%; left: 0;
    min-width: 220px; background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    display: none; z-index: 200;
    margin-top: -2px;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block; }
  /* Punte invizibilă — zona hover extinsă pe .has-dropdown acoperă golul */
  .has-dropdown { padding-bottom: 8px; margin-bottom: -8px; }
  .header-inner { gap: 2rem; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-nav { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .25rem;
  padding: .5rem 0; font-size: .85rem; color: var(--gray-500);
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: '›'; margin-right: .25rem; color: var(--gray-500); }
.breadcrumb a { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--gray-500); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; font-family: var(--font);
  border: 2px solid transparent; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none; line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.btn-call { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-call:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.btn-whatsapp { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-whatsapp:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

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

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: var(--white); border-color: var(--white); }

.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .875rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: #111;
  color: var(--white); padding: 4rem 0 3rem;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .45;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-desc { font-size: clamp(.95rem, 2vw, 1.15rem); opacity: .92; max-width: 600px; margin: 0 auto 1.75rem; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Butonul "Sună acum" — alb cu text albastru, vizibil pe orice fond întunecat */
.hero .btn-call,
.cta-banner .btn-call {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.hero .btn-call:hover,
.cta-banner .btn-call:hover {
  background: #e8f0fd;
  color: var(--blue-dark);
  border-color: #e8f0fd;
}

/* Statistici — orizontal pe desktop, cu separator */
.hero-stats {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 0; margin-top: 2.5rem;
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15);
  padding: 1rem 0;
}
.hero-stat {
  text-align: center; padding: .5rem 2rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-val { font-size: 1.9rem; font-weight: 700; display: block; color: var(--white); }
.hero-stat .stat-label { font-size: .82rem; opacity: .8; display: block; margin-top: .1rem; }

@media (max-width: 599px) {
  .hero-stat { padding: .5rem 1.2rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stats { flex-direction: column; padding: .5rem 0; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 3rem 0; }
.section-alt { background: var(--gray-50); }
.section-blue { background: var(--gray-900); color: var(--white); }
.section-title { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: .5rem; color: var(--gray-900); }
.section-title.white { color: var(--white); }
.section-desc { color: var(--gray-500); margin-bottom: 2rem; font-size: 1.05rem; }
.section-desc.white { color: rgba(255,255,255,.85); }
.section-header { margin-bottom: 2rem; }
.section-header.centered { text-align: center; }

/* ============================================================
   GRID & CARDS
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; color: var(--gray-900); }
.card-text { color: var(--gray-500); font-size: .95rem; margin-bottom: 1rem; }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card .card-body { flex: 1; display: flex; flex-direction: column; }
.service-card .card-body a.btn { margin-top: auto; }

/* Icon card */
.icon-card {
  padding: 1.5rem; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  text-align: center;
}
.icon-card .icon { font-size: 2.2rem; margin-bottom: .75rem; }
.icon-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.icon-card p { color: var(--gray-500); font-size: .9rem; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content { padding: 2.5rem 0; }
.content-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .content-grid { grid-template-columns: 1fr 1fr; }
  .content-grid.wide-left { grid-template-columns: 2fr 1fr; }
  .content-grid.wide-right { grid-template-columns: 1fr 2fr; }
}
.content-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Prose */
.prose h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1rem; color: var(--blue); }
.prose h2 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; margin: 1.5rem 0 .75rem; color: var(--gray-900); }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1rem 0 .5rem; color: var(--gray-900); }
.prose p { margin-bottom: 1rem; color: var(--gray-700); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; color: var(--gray-700); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--gray-900); }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }

/* Feature list */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓'; color: var(--blue); font-weight: 700;
  flex-shrink: 0; margin-top: .1rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gray-900);
  color: var(--white); padding: 2.5rem 1.5rem;
  text-align: center; border-radius: var(--radius);
  margin: 2rem 0;
}
.cta-banner h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: .75rem; color: var(--white); }
.cta-banner p { opacity: .85; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; color: var(--white); }
.cta-banner .btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ============================================================
   TARIFE TABLE
   ============================================================ */
.price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.price-table th {
  background: var(--blue); color: var(--white);
  padding: .8rem 1rem; text-align: left; font-weight: 600;
}
.price-table td {
  padding: .8rem 1rem; border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--gray-50); }
.price-table .price { font-weight: 700; color: var(--blue); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: .75rem; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  background: var(--white); border: none; cursor: pointer;
  padding: 1rem 1.25rem; font-size: 1rem; font-weight: 600;
  color: var(--gray-900); display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; font-family: var(--font);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { color: var(--blue); }
.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
  color: var(--blue); font-weight: 700; font-size: 1rem;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 1.25rem 1rem;
  color: var(--gray-700); line-height: 1.6;
  border-top: 1px solid var(--gray-100);
}
.faq-answer.open { display: block; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '🔍'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,86,219,.5); opacity: 0;
  transition: opacity 0.2s ease; font-size: 1.5rem;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.9); align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: .75rem; }
.contact-info-item .icon { color: var(--blue); flex-shrink: 0; margin-top: .1rem; }
.contact-info-item strong { display: block; font-size: .85rem; color: var(--gray-500); margin-bottom: .1rem; }
.contact-info-item a { color: var(--gray-900); font-weight: 600; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.map-wrap iframe { display: block; width: 100%; height: 280px; border: none; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-weight: 500; font-size: .9rem; color: var(--gray-700); }
.form-group input,
.form-group textarea {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: .7rem 1rem; font-size: 1rem; font-family: var(--font);
  color: var(--gray-900); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.honey { display: none !important; }

.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-bottom: 1rem; font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   PARTENERI / BADGES
   ============================================================ */
.partners-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.partner-card {
  flex: 1 1 200px; padding: 1.25rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white);
}
.partner-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; color: var(--gray-900); }
.partner-card p { font-size: .9rem; color: var(--gray-500); }

/* ============================================================
   ZONE ACOPERIRE
   ============================================================ */
.zones { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.zone-tag {
  padding: .35rem .9rem; background: var(--blue-light);
  color: var(--blue); border-radius: 100px; font-size: .875rem;
  font-weight: 500;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed; bottom: 1.5rem; right: 1.25rem;
  z-index: 2000; display: flex; flex-direction: column; gap: .75rem;
  align-items: flex-end;
}

.float-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; border-radius: 100px;
  color: var(--white); font-weight: 600; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; white-space: nowrap;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); text-decoration: none; color: var(--white); }
.float-btn:active { transform: scale(0.97); }

.float-call { background: var(--blue); }
.float-whatsapp { background: var(--green); }

.float-label { display: none; }
@media (min-width: 480px) { .float-label { display: inline; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: var(--gray-200); padding: 3rem 0 0; }

.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.site-footer h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: .75rem; }
.site-footer p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .9rem; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { display: flex; flex-direction: column; gap: .35rem; }

.contact-list { display: flex; flex-direction: column; gap: .5rem !important; }
.contact-list li { display: flex; align-items: center; gap: .5rem; }
.contact-list svg { flex-shrink: 0; opacity: .7; }
.footer-program { font-weight: 600; color: var(--white) !important; margin-top: .5rem; }

.footer-bottom { padding: 1rem 0; }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.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; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; flex-wrap: wrap; align-items: center; }

/* Highlight box */
.highlight-box {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin: 1.5rem 0; color: var(--gray-700);
}
.highlight-box strong { color: var(--blue); }

/* Andrei quote */
.quote-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--shadow);
}
.quote-avatar {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--blue-light);
}
.quote-content p { color: var(--gray-700); font-style: italic; margin-bottom: .5rem; }
.quote-content strong { color: var(--gray-900); font-style: normal; }

/* ============================================================
   PAGE HERO (pagini interioare)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  background: #111; color: var(--white);
  padding: 3rem 0;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.page-hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 2rem;
}
.page-hero-text { flex: 1 1 300px; }
.page-hero-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: .75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.page-hero-text h1 span { color: #7dd3fc; display: block; }
.page-hero-text p {
  font-size: 1rem; opacity: .88; margin-bottom: 1.25rem;
  max-width: 480px; text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.page-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.page-hero-badges {
  display: flex; flex-direction: column; gap: .75rem;
  flex-shrink: 0;
}
.badge-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .75rem 1.25rem; text-align: center;
  backdrop-filter: blur(4px); min-width: 110px;
}
.badge-val { display: block; font-size: 1.4rem; font-weight: 700; color: #7dd3fc; }
.badge-lbl { display: block; font-size: .78rem; opacity: .8; margin-top: .1rem; }

@media (min-width: 768px) {
  .page-hero-badges { flex-direction: row; }
  .page-hero { padding: 4rem 0; }
}

/* ============================================================
   TWO COLUMN LAYOUT (pagini interioare)
   ============================================================ */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .two-col-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.two-col-main { }
.two-col-side { }
.side-img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); margin-bottom: 1.5rem;
  aspect-ratio: 4/3; object-fit: cover;
}
.info-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem;
}
.info-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; color: var(--gray-900); }

/* Features 2-col grid */
.features-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .5rem; margin: 1rem 0 1.5rem;
}
.feature-box {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .75rem;
  background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: .9rem; color: var(--gray-700);
}
.feature-box svg { color: var(--blue); flex-shrink: 0; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pricing-type { font-size: .85rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.pricing-val { font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: .5rem; }
.pricing-val span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-val.free { font-size: 1.4rem; color: var(--green-dark); }
.pricing-desc { font-size: .82rem; color: var(--gray-500); }
.pricing-card-free { border-color: var(--green); }
.pricing-card-free .pricing-type { color: var(--green-dark); }

/* Pricing card as call-to-action link */
a.pricing-card { display: block; text-decoration: none; color: inherit; }
a.pricing-card-cta { border-color: var(--blue); }
a.pricing-card-cta:hover { background: var(--blue); border-color: var(--blue); }
a.pricing-card-cta:hover .pricing-val-cta,
a.pricing-card-cta:hover .pricing-lbl { color: var(--white); }
.pricing-val-cta { font-size: 1.4rem; font-weight: 700; color: var(--blue); line-height: 1.1; margin-bottom: .5rem; display: block; transition: color var(--transition); }
.pricing-val-free { font-size: 1.5rem; color: var(--green-dark); display: block; line-height: 1; margin-bottom: .5rem; font-weight: 700; }
a.pricing-card-free:hover { background: var(--green); border-color: var(--green); }
a.pricing-card-free:hover .pricing-val-free,
a.pricing-card-free:hover .pricing-lbl { color: var(--white); }
.pricing-lbl { display: block; font-size: .9rem; color: var(--gray-700); font-weight: 500; transition: color var(--transition); }

/* Steps list */
.steps-list { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-nr {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: .95rem;
}
.step div p { color: var(--gray-500); font-size: .9rem; margin: .2rem 0 0; }
.step div strong { color: var(--gray-900); }

/* ============================================================
   RELATED LINKS
   ============================================================ */
.related-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.related-link {
  padding: .4rem .9rem;
  background: var(--blue-light); color: var(--blue);
  border-radius: 100px; font-size: .875rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.related-link:hover { background: var(--blue); color: var(--white); text-decoration: none; }

/* text-center utility */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  section { padding: 4rem 0; }
  .hero { padding: 5rem 0 4rem; }
}

@media (min-width: 900px) {
  .content-grid { gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* --- Mobile fixes --- */
@media (max-width: 767px) {
  /* Page hero — centrare text pe mobil */
  .page-hero-inner { justify-content: center; text-align: center; }
  .page-hero-text { flex-basis: 100%; }
  .page-hero-text p { margin-left: auto; margin-right: auto; }
  .page-hero-cta { justify-content: center; }
  .page-hero-badges { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; }

  /* Two-col — centrare conținut pe mobil */
  .two-col-layout { text-align: center; }
  .two-col-main { text-align: left; }
  .two-col-side { text-align: center; }
  .two-col-side .info-card { text-align: left; }
  .two-col-side .quote-box { text-align: left; }

  /* Butoane — full width pe mobil */
  .page-hero-cta .btn,
  .cta-banner .btns .btn { width: 100%; justify-content: center; }

  /* Pricing — 2 pe rând pe mobil */
  .pricing-row { grid-template-columns: repeat(2, 1fr); }

  /* Features grid — full width pe mobil mic */
  .features-grid-2 { grid-template-columns: 1fr; }

  /* Quote box — stack pe mobil */
  .quote-box { flex-direction: column; align-items: center; text-align: center; }

  /* Related links — centrare */
  .related-links { justify-content: center; }

  /* d-flex butoane — centrare pe mobil */
  .d-flex { justify-content: center; }
  .d-flex .btn { width: 100%; justify-content: center; }

  /* info-card butoane — centrare */
  .info-card .btn { display: block; text-align: center; }

  /* Section header — centrare */
  .section-header { text-align: center; }
  .section-desc { margin-left: auto; margin-right: auto; }

  /* Hero CTA centrare */
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .float-btn { padding: .7rem .85rem; }
  .header-phone { font-size: .8rem; padding: .35rem .6rem; }
  .logo img { height: 36px; max-width: 120px; }

  /* Pricing — 1 pe rând pe ecrane foarte mici */
  .pricing-row { grid-template-columns: 1fr; }

  /* Badges mai mici */
  .badge-item { padding: .5rem .75rem; min-width: 90px; }
  .badge-val { font-size: 1.1rem; }
  .badge-lbl { font-size: .7rem; }

  /* Tabele — font mai mic */
  .price-table th, .price-table td { padding: .6rem .7rem; font-size: .9rem; }

  /* Steps */
  .step-nr { width: 30px; height: 30px; font-size: .85rem; }
}

@media (max-width: 360px) {
  .header-phone svg { display: inline; }
  .header-phone { font-size: 0; padding: .5rem; }
  .header-phone svg { width: 22px; height: 22px; font-size: initial; }
}

/* Print */
@media print {
  .site-header, .floating-buttons, .site-footer { display: none; }
  .hero { background: #fff !important; color: #000 !important; padding: 1rem 0; }
}
