* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e8f4f8;
    color: #1a3a5c;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Zona de conținut crește ca să împingă footer-ul la baza ecranului
   chiar și pe paginile cu puțin conținut (ex. blog gol). */
main {
    flex: 1 0 auto;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #1a3a5c, #2e7db8);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo span {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #a8d8f0;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: bold;
}

.lang-switch a,
.lang-switch .lang-curenta {
    padding: 4px 2px;
}

.lang-switch a {
    color: white;
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.lang-switch .lang-curenta {
    color: white;
}

.lang-switch .lang-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #1a3a5c, #2e7db8);
    color: white;
    padding: 30px 40px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #a8d8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links a.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: background 0.3s, transform 0.3s;
}

.footer-links a.social-icon:hover {
    background: white;
    color: #2e7db8;
    transform: translateY(-3px);
}

.footer-contact p {
    font-size: 0.9rem;
    color: #a8d8f0;
}

.footer-tel {
    color: #a8d8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-tel:hover {
    color: white;
}

/* BUTOANE */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2e7db8, #1a3a5c);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,125,184,0.4);
}

/* SECTIUNI */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a3a5c;
    margin-bottom: 40px;
}
/* HERO */
.hero {
    background: linear-gradient(135deg, #1a3a5c, #2e7db8);
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '1 2 3 4 5 6 7 8 9';
    position: absolute;
    font-size: 8rem;
    color: rgba(255,255,255,0.05);
    letter-spacing: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: #a8d8f0;
    max-width: 600px;
}

/* Butoane hero: 4 egale, pe 2 coloane */
.hero-butoane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero-butoane .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a3a5c;
    color: #1a3a5c;
}

.btn-outline:hover {
    background: #1a3a5c;
    color: white;
}

.btn-disabled {
    background: #cddce8;
    color: #7d94a8;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* DESPRE */
.despre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.despre-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1a3a5c;
}

.number-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2e7db8, #1a3a5c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(46,125,184,0.4);
}

.despre-imagine svg {
    display: block;
    margin: 0 auto;
}

.despre-imagine {
    min-width: 0;
}

.despre-imagine img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(26, 58, 92, 0.25);
}

/* CARDS */
.servicii-preview {
    background: linear-gradient(180deg, #e8f4f8, #d0e8f5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46,125,184,0.2);
}

.card-icon {
    font-size: 2.5rem;
}

.card h3 {
    font-size: 1.2rem;
    color: #1a3a5c;
}

.card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.card .btn-outline {
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
}

/* SERVICII */
.serviciu-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.serviciu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,125,184,0.2);
}

.serviciu-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.serviciu-content h3 {
    font-size: 1.5rem;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.serviciu-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.serviciu-content ul {
    list-style: none;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.serviciu-content ul li {
    color: #1a3a5c;
    font-size: 0.95rem;
}
/* GRID 4 CARDURI */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: stretch;
}
/* MAGAZIN */
.magazin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Carduri intro magazin - aliniate cu coloanele, înălțimi egale */
.magazin-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.magazin-intro-grid .serviciu-card {
    margin-bottom: 0;
    height: 100%;
}

.magazin-coloana {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Selector de categorie - vizibil DOAR pe mobil (vezi @media max-width:768px),
   pe desktop ambele coloane se văd deja unul lângă altul, nu e nevoie de filtru */
.magazin-filtru-mobil {
    display: none;
}

.categorie-title {
    font-size: 1.3rem;
    color: #1a3a5c;
    padding-bottom: 10px;
    border-bottom: 2px solid #2e7db8;
}

.subcategorie-title {
    font-size: 1.1rem;
    color: #2e7db8;
    font-weight: bold;
    margin-top: 10px;
    padding-left: 5px;
    border-left: 3px solid #2e7db8;
}

.produs-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* CARD PRODUS CU POZA REALA (Lifewave/Alavida/Cellergize) */
/* .produs-card de mai sus ramane neschimbat. */
/* Se adauga doar un al treilea element in acelasi rand flex: poza, */
/* alocata la 40% din latimea cardului. Textul ramane in stanga, */
/* pe spatiul care ramane (aprox. 60% minus emoji). */
.produs-card.cu-poza .produs-content {
    flex: 1 1 auto;
    min-width: 0; /* permite textului sa se ingusteze si sa treaca pe mai multe randuri, in loc sa iasa din card */
}

.produs-card.cu-poza .produs-poza {
    flex: 0 0 40%;
    max-height: 220px; /* fix, in px - nu mai depinde de inaltimea cardului, deci nu o mai poate umfla */
    display: flex;
    align-items: center;
    justify-content: center;
}

.produs-card.cu-poza .produs-poza img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain; /* poza intreaga, nedeformata, nedecupata */
    display: block;
}

/* Randul de butoane (Comanda acum + Detalii) de sub descrierea produsului. */
.produs-card.cu-poza .produs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Exista doua linkuri "Detalii" identice in DOM (aceeasi ancora):
   unul langa "Comanda acum" (desktop) si unul sub poza (telefon) -
   CSS arata doar unul dintre ele, in functie de latimea ecranului,
   ca sa nu fie nevoie de doua structuri diferite de card. */
.produs-detalii-mobil {
    display: none;
}

.produs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,125,184,0.2);
}

.produs-card.coming-soon {
    opacity: 0.6;
    background: #f0f8ff;
}

.serviciu-card.coming-soon {
    opacity: 0.6;
    background: #f0f8ff;
}

.produs-imagine {
    font-size: 2rem;
    min-width: 45px;
    text-align: center;
}

.produs-content h4 {
    font-size: 1rem;
    color: #1a3a5c;
    margin-bottom: 6px;
}

.produs-content p {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.produs-pret {
    font-size: 1rem;
    font-weight: bold;
    color: #2e7db8;
    margin-bottom: 12px;
}

/* CIFRE PLUTITOARE */
.floating-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.floating-numbers span {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 4rem;
    font-weight: bold;
    animation: float 6s ease-in-out infinite;
}

.floating-numbers span:nth-child(odd) {
    animation-duration: 8s;
    font-size: 5rem;
}

.floating-numbers span:nth-child(3n) {
    animation-duration: 10s;
    font-size: 3rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* FONTURI ELEGANTE */
.hero-content h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
}

.section-title {
    font-family: 'Cinzel', serif;
}

.despre-text strong {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
}

/* BLOG */
.blog-categorii {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.btn-categorie {
    padding: 8px 20px;
    border-radius: 20px;
    background: white;
    color: #1a3a5c;
    text-decoration: none;
    border: 2px solid #2e7db8;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-categorie:hover, .btn-categorie.activ {
    background: #2e7db8;
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46,125,184,0.2);
}

.blog-categorie {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f4f8;
    color: #2e7db8;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.blog-card h3 {
    font-size: 1.1rem;
    color: #1a3a5c;
    font-family: 'Cinzel', serif;
}

.blog-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-data {
    color: #999;
    font-size: 0.85rem;
}

.no-articole {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
    grid-column: 1 / -1;
    padding: 40px;
}

/* ARTICOL */
.articol-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.articol-categorie {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f4f8;
    color: #2e7db8;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.articol-titlu {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.articol-data {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.articol-continut {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}

/* COMENTARII */
.comentarii-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.comentarii-container h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 20px;
}

.comentariu-card {
    border-left: 3px solid #2e7db8;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8fbfd;
    border-radius: 0 10px 10px 0;
}

.comentariu-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comentariu-header strong {
    color: #1a3a5c;
}

.comentariu-header span {
    color: #999;
    font-size: 0.85rem;
}

.comentariu-form {
    margin-top: 30px;
    border-top: 1px solid #e8f4f8;
    padding-top: 20px;
}

.comentariu-form h4 {
    color: #1a3a5c;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.comentariu-form input,
.comentariu-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0e8f5;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #333;
}

.comentariu-form input:focus,
.comentariu-form textarea:focus {
    outline: none;
    border-color: #2e7db8;
}

.no-comentarii {
    color: #999;
    font-style: italic;
}

/* ADMIN */
.admin-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.admin-container h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 25px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    color: #1a3a5c;
    font-weight: bold;
    margin-bottom: 8px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0e8f5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #2e7db8;
}

/* LOGIN */
.login-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 400px;
    margin: 0 auto;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    color: #1a3a5c;
    font-weight: bold;
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0e8f5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
}

.login-form input:focus {
    outline: none;
    border-color: #2e7db8;
}

.eroare-msg {
    background: #ffe0e0;
    color: #cc0000;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* BUTON SECRET ADMIN */
.btn-secret {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
}

/* ADMIN ARTICOLE */
.admin-articol-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e8f4f8;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-articol-row:last-child {
    border-bottom: none;
}

.admin-articol-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-articol-info strong {
    color: #1a3a5c;
    font-size: 1rem;
}

.admin-articol-butoane {
    display: flex;
    gap: 10px;
}

.btn-sterge {
    background: linear-gradient(135deg, #cc0000, #990000);
}

.admin-butoane {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-container h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    color: #1a3a5c;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0e8f5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #f8fbfd;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2e7db8;
    background: white;
}

.contact-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 40px;
}

.contact-item strong {
    display: block;
    color: #1a3a5c;
    margin-bottom: 4px;
}

.contact-item p {
    color: #555;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #2e7db8, #1a3a5c);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,125,184,0.4);
}

.succes-msg {
    background: #e0ffe0;
    color: #006600;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
}

/* SERVICIU DETALIU */
.serviciu-detaliu-container {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.serviciu-detaliu-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.serviciu-icon-mare {
    font-size: 4rem;
}

.serviciu-detaliu-titlu {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #1a3a5c;
}

.serviciu-detaliu-intro {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.8;
}

.serviciu-detaliu-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.serviciu-detaliu-lista li {
    padding: 12px 20px;
    background: #f0f8ff;
    border-left: 4px solid #2e7db8;
    border-radius: 0 8px 8px 0;
    color: #1a3a5c;
    font-size: 1rem;
    transition: background 0.3s;
}

.serviciu-detaliu-lista li:hover {
    background: #ddeeff;
}

.serviciu-detaliu-concluzie {
    background: linear-gradient(135deg, #1a3a5c, #2e7db8);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: center;
}

.serviciu-detaliu-concluzie strong {
    color: white;
}

.serviciu-detaliu-butoane {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* PRODUS DETALIU (pagina unica /magazin/detalii, o sectiune per produs) */
.produs-detaliu {
    scroll-margin-top: 100px; /* ca sectiunea sa nu ramana ascunsa sub header-ul sticky la navigare din ancora */
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0eaf2;
}

.produs-detaliu:last-of-type {
    border-bottom: none;
}

.produs-detaliu h3 {
    color: #1a3a5c;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.produs-detaliu p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* SERVICII NUMEROLOGIE - DETALIU */
.numerologie-servicii-titlu {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #1a3a5c;
    text-align: center;
    margin: 40px 0 25px;
}

.numerologie-servicii {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.numerologie-serviciu {
    background: #f0f8ff;
    border-radius: 12px;
    padding: 25px 30px;
    border-top: 4px solid #2e7db8;
}

.numerologie-serviciu h3 {
    font-size: 1.25rem;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.pret-serviciu {
    font-weight: bold;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.pret-serviciu .pret-cuplu {
    font-weight: normal;
    color: #555;
    font-size: 0.9rem;
}

.numerologie-serviciu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.numerologie-serviciu li {
    position: relative;
    padding-left: 26px;
    color: #333;
    line-height: 1.6;
}

.numerologie-serviciu li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #2e7db8;
    font-weight: bold;
}

/* MESAJ INFO */
.info-msg {
    background: #e8f4f8;
    border-left: 4px solid #2e7db8;
    color: #1a3a5c;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* ============================================
   RESPONSIVE — optimizare pentru telefon/tabletă
   Aspectul pe desktop rămâne neschimbat.
   Hamburgerul este ascuns implicit (doar mobil).
   ============================================ */

.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* ---- TABLETĂ (max 992px) ---- */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .despre-grid {
        gap: 40px;
    }

    .section {
        padding: 20px 25px;
    }
}

/* ---- TELEFON (max 768px) ---- */
@media (max-width: 768px) {
    /* HEADER + NAVIGAȚIE MOBILĂ */
    header {
        padding: 12px 20px;
    }

    nav {
        flex-wrap: wrap;
    }

    .logo a {
        font-size: 1.6rem;
    }

    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        min-width: 44px;   /* zonă de atins confortabilă pe telefon (recomandare Apple/WCAG: min. 44x44px) */
        min-height: 44px;
        padding: 0;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: white;
        height: 3px;
        width: 26px;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before {
        bottom: 8px;
    }

    .nav-toggle-label span::after {
        top: 8px;
    }

    /* animație în X la deschidere */
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-toggle-label span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    nav ul {
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-toggle:checked ~ ul {
        max-height: 420px;
        margin-top: 12px;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 13px 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    /* GRID-URI -> O COLOANĂ */
    .cards-grid,
    .cards-grid-4,
    .blog-grid,
    .magazin-grid,
    .magazin-intro-grid,
    .contact-grid,
    .despre-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Zonă de atins confortabilă pe telefon pentru toate butoanele (min. 44px
       înălțime, recomandare Apple/WCAG) - pe desktop rămân neschimbate. */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* SELECTOR CATEGORIE MAGAZIN - doar pe mobil, ca userul sa ajunga direct
       la Numerologie sau Sanatate fara Pharma, fara sa deruleze pe langa
       cealalta categorie (pe desktop coloanele sunt oricum una langa alta) */
    .magazin-filtru-mobil {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .magazin-filtru-btn {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 20px;
        border: 2px solid #2e7db8;
        background: white;
        color: #2e7db8;
        font-size: 0.9rem;
        font-weight: bold;
        white-space: nowrap;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .magazin-filtru-btn.activ {
        background: #2e7db8;
        color: white;
    }

    /* Cand un filtru specific e activ, ascunde coloana care nu se potriveste */
    .magazin-grid[data-filtru-activ="numerologie"] .magazin-coloana[data-categorie="sanatate"],
    .magazin-grid[data-filtru-activ="sanatate"] .magazin-coloana[data-categorie="numerologie"] {
        display: none;
    }

    /* Poza "Cine sunt eu?" pe latimea paginii */
    .despre-imagine img {
        max-width: 100%;
    }

    /* HERO */
    .hero {
        min-height: 220px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero::before {
        font-size: 4rem;
        letter-spacing: 10px;
    }

    .hero-butoane {
        gap: 10px;
    }

    .hero-butoane .btn {
        padding: 11px 10px;
        font-size: 0.82rem;
    }

    /* SECȚIUNI */
    .section {
        padding: 20px 18px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    /* DESPRE */
    .number-circle {
        width: 150px;
        height: 150px;
        font-size: 4.5rem;
    }

    /* CARD SERVICIU -> COLOANĂ */
    .serviciu-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }

    .serviciu-content ul {
        text-align: left;
    }

    /* Pe telefon: butonul "Detalii" nu mai sta langa "Comanda acum" (nu
       incape fara sa lungeasca cardul) - apare in schimb sub poza produsului,
       in spatiul liber deja existent acolo. */
    .produs-detalii-desktop {
        display: none;
    }

    .produs-detalii-mobil {
        display: inline-block;
    }

    .produs-card.cu-poza .produs-poza {
        flex-direction: column;
        gap: 10px;
        max-height: none; /* fara asta, containerul ramanea blocat la 220px (mostenit de la varianta doar-cu-poza) si butonul Detalii impingea in afara cardului la produsele cu poza inalta (Alavida, Cellergize) */
    }

    /* SERVICIU DETALIU */
    .serviciu-detaliu-container {
        padding: 30px 22px;
    }

    .serviciu-detaliu-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .serviciu-detaliu-titlu {
        font-size: 1.9rem;
    }

    .serviciu-detaliu-butoane,
    .admin-butoane {
        flex-direction: column;
        align-items: stretch;
    }

    .serviciu-detaliu-butoane .btn,
    .admin-butoane .btn {
        text-align: center;
    }

    /* filtre blog -> stivuite, latime egala, centrate */
    .blog-categorii {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .btn-categorie {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    /* butonul "Citește" din cardul de blog -> centrat sub dată */
    .blog-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .blog-footer .btn {
        width: 100%;
        text-align: center;
    }

    /* butoanele de trimitere din formulare -> latime plina, centrate */
    .contact-form .btn,
    .contact-form button[type="submit"],
    .comentariu-form .btn,
    .comentariu-form button[type="submit"],
    .login-form .btn,
    .login-form button[type="submit"] {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* butoanele din cardurile de servicii -> latime plina, stivuite */
    .serviciu-content .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    /* anuleaza min-width inline pe butonul "Vezi produse" */
    .serviciu-content .btn[style] {
        min-width: 0 !important;
    }

    /* calendarul flatpickr sa incapa pe ecran mic */
    .flatpickr-calendar {
        max-width: 100%;
    }

    /* ARTICOL */
    .articol-container {
        padding: 25px 20px;
    }

    .articol-titlu {
        font-size: 1.6rem;
    }

    /* ADMIN */
    .admin-articol-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-articol-butoane {
        width: 100%;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ---- TELEFON MIC (max 420px) ---- */
@media (max-width: 420px) {
    .logo a {
        font-size: 1.35rem;
    }

    .logo a svg {
        width: 36px;
        height: 36px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.95rem;
    }
}

/* CHECKBOX GDPR */
.gdpr-check {
    margin: 15px 0;
}

.gdpr-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.gdpr-check input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.gdpr-check a {
    text-decoration: underline;
}

/* FORMULAR PROFORMA (admin) */
.proforma-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.proforma-form input {
    padding: 8px 10px;
    border: 1px solid #c5d5e5;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ANTI-SPAM: camp invizibil pentru oameni (honeypot) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0;
    overflow: hidden;
}

/* DISCLAIMER MEDICAL */
/* Pe paginile de serviciu: spatiu egal deasupra si dedesubtul notei (30px, cat are lista de servicii) */
.serviciu-detaliu-container .disclaimer-medical {
    margin-bottom: 30px;
}

.disclaimer-medical {
    margin-top: 15px;
    padding: 10px 14px;
    background: #f4f8fb;
    border-left: 3px solid #2e7db8;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4a6076;
}

/* CALCULATOR NUMEROLOGIC */
.calculator-data-grup {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.calculator-data-grup .form-group {
    flex: 1;
}

.calculator-data-grup label {
    text-align: center;
}

.calculator-data-grup input {
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.calculator-eroare {
    color: #b3261e;
    font-size: 0.9rem;
    margin-top: 5px;
}

.calculator-rezultat {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e0edf5;
}

.matrice-numerologica {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 320px;
    margin: 20px auto 25px;
}

.matrice-celula {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.15rem;
    letter-spacing: 2px;
    word-break: break-all;
    padding: 6px;
    text-align: center;
    border: 1px solid #d0e8f5;
}

.stihie-goala {
    background: white;
    color: #cfd8e0;
}

.stihie-foc {
    background: #d9502e;
    color: #ffffff;
}

.stihie-apa {
    background: #16305c;
    color: #ffffff;
}

.stihie-aer {
    background: #5fb0da;
    color: #ffffff;
}

.stihie-pamant {
    background: #a9825a;
    color: #ffffff;
}

.sir-numerologic {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1a3a5c;
    margin-bottom: 30px;
}

.calculator-bloc-text {
    margin-bottom: 20px;
}

.calculator-bloc-text h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.calculator-bloc-text p {
    color: #333;
    line-height: 1.7;
}

.tabel-stihii {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.tabel-stihii th,
.tabel-stihii td {
    padding: 10px 14px;
    text-align: center;
    border: none;
}

.tabel-stihii th {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
}

.tabel-stihii td {
    color: #333;
}

.tabel-stihii tr.stihie-foc td { color: #ffffff; }
.tabel-stihii tr.stihie-apa td { color: #ffffff; }
.tabel-stihii tr.stihie-aer td { color: #ffffff; }
.tabel-stihii tr.stihie-pamant td { color: #ffffff; }

/* CALCULATOR NUMEROLOGIC AL NUMELUI */
.calculator-nume-grup {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.calculator-nume-grup .form-group {
    flex: 1;
}

.calculator-nota-diacritice {
    font-size: 0.85rem;
    color: #7d94a8;
    margin-top: 5px;
}

.decodare-nume {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 20px auto 30px;
}

.decodare-litera-grup {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 26px;
    border-radius: 6px;
    padding: 4px 2px;
    font-family: 'Cinzel', serif;
}

.decodare-litera {
    font-weight: bold;
    font-size: 1.1rem;
}

.decodare-cifra {
    font-size: 0.85rem;
}

.decodare-vocala {
    color: #2e7db8;
}

.decodare-consoana {
    color: #1a3a5c;
}

.decodare-spatiu {
    width: 16px;
}

.calculator-numar-bloc {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.calculator-numar-mare {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e7db8, #1a3a5c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.3rem;
}

.calculator-numar-continut h3 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.calculator-numar-continut p {
    color: #333;
    line-height: 1.7;
}

.calcule-suplimentare-titlu {
    margin-top: 10px;
}

.calcule-suplimentare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.calcul-suplimentar-card {
    text-align: center;
    padding: 18px 10px;
    border: 1px solid #e0edf5;
    border-radius: 10px;
}

.calcul-suplimentar-card h4 {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.calcul-suplimentar-valoare {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: #2e7db8;
    margin-bottom: 4px;
}

.calcul-suplimentar-lista {
    margin-bottom: 4px;
}

.calcul-suplimentar-linie {
    font-size: 0.95rem;
    margin: 3px 0;
}

.calcul-suplimentar-linie-nume {
    font-family: 'Cinzel', serif;
    color: #1a3a5c;
}

.calcul-suplimentar-linie-valoare {
    font-weight: bold;
    color: #2e7db8;
}

.calcul-suplimentar-nota {
    font-size: 0.8rem;
    color: #7d94a8;
}

@media (max-width: 600px) {
    .calculator-nume-grup {
        flex-direction: column;
        gap: 10px;
    }

    .calcule-suplimentare-grid {
        grid-template-columns: 1fr;
    }

    .calculator-numar-bloc {
        gap: 12px;
    }

    .calculator-numar-mare {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .calculator-data-grup {
        gap: 10px;
    }

    .matrice-numerologica {
        max-width: 260px;
    }

    .matrice-celula {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .tabel-stihii {
        font-size: 0.85rem;
    }

    .tabel-stihii th,
    .tabel-stihii td {
        padding: 8px 6px;
    }
}
