/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fa;
    font-family: Arial, sans-serif;
    color: #1f2937;
}


/* =========================================================
   HOMEPAGE
========================================================= */

.home-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.home-hero {
    padding: 40px;
    margin-bottom: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

.home-hero h1 {
    margin: 0 0 15px;
    color: #10233f;
    font-size: 38px;
    line-height: 1.2;
}

.home-hero p {
    max-width: 850px;
    margin: 0;
    color: #526173;
    font-size: 16px;
    line-height: 1.75;
}

.section-title {
    margin: 0 0 22px;
    color: #10233f;
    font-size: 27px;
}

.specialties-section,
.featured-section {
    margin-bottom: 38px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.specialty-card {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.specialty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15,23,42,.09);
}

/*
 * IMPORTANT:
 * Stilul imaginii de specialitate este limitat
 * la cardurile homepage-ului.
 */
.home-page .specialty-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #eef2f6;
}
.home-page .specialty-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    overflow: hidden;
    background: #fff;
}

.home-page .specialty-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.specialty-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

.specialty-content {
    padding: 20px;
}

.specialty-content h2 {
    margin: 0 0 9px;
    color: #10233f;
    font-size: 20px;
}

.specialty-content p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* CABINETE RECOMANDATE HOMEPAGE */

.featured-list {
    display: grid;
    gap: 18px;
}

.featured-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.featured-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 95px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.featured-logo img {
    max-width: 100%;
    max-height: 75px;
    object-fit: contain;
}

.featured-placeholder {
    color: #94a3b8;
    font-size: 12px;
}

.featured-info h3 {
    margin: 0 0 7px;
    color: #10233f;
    font-size: 21px;
}

.featured-specialty {
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 13px;
    font-weight: 700;
}

.featured-mini {
    margin: 0 0 10px;
    color: #526173;
    font-size: 14px;
    line-height: 1.6;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #64748b;
    font-size: 13px;
}

.featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.featured-button:hover {
    background: #064ba9;
}

.empty-box {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    text-align: center;
}


/* =========================================================
   PAGINA SPECIALITATE
========================================================= */

.specialty-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.breadcrumb {
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: #0757c8;
    text-decoration: none;
}

.specialty-hero {
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

.specialty-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 34px;
}

.specialty-copy h1 {
    margin: 0 0 14px;
    color: #10233f;
    font-size: 36px;
    line-height: 1.2;
}

.specialty-intro {
    max-width: 820px;
    color: #526173;
    font-size: 16px;
    line-height: 1.75;
}

/*
 * Imaginea mare din pagina specialității.
 * Este limitată la .specialty-page,
 * deci nu mai afectează homepage-ul.
 */
.specialty-page .specialty-image {
    width: 240px;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f6;
}

.specialty-page .specialty-image img {
    width: 100%;
    height: 100%;
object-fit: contain;
}

.results-section {
    margin-bottom: 30px;
}

.results-heading {
    margin: 0 0 20px;
    color: #10233f;
    font-size: 26px;
}

.presentation-list {
    display: grid;
    gap: 18px;
}

.presentation-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.presentation-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 95px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.presentation-logo img {
    max-width: 100%;
    max-height: 75px;
    object-fit: contain;
}

.presentation-logo-placeholder {
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.presentation-info h2 {
    margin: 0 0 8px;
    color: #10233f;
    font-size: 21px;
}

.presentation-mini {
    margin: 0 0 12px;
    color: #526173;
    font-size: 14px;
    line-height: 1.65;
}

.presentation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #64748b;
    font-size: 13px;
}

.presentation-actions {
    min-width: 150px;
    text-align: right;
}

.presentation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.presentation-button:hover {
    background: #064ba9;
}

.empty {
    padding: 35px 25px;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    text-align: center;
}

.seo-section {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.seo-section h2 {
    margin-top: 0;
    color: #10233f;
    font-size: 25px;
}

.seo-content {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

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

    .featured-card {
        grid-template-columns: 120px 1fr;
    }

    .featured-logo {
        width: 120px;
    }

    .featured-action {
        grid-column: 1 / -1;
    }
}


@media (max-width: 850px) {

    .specialty-hero-inner {
        grid-template-columns: 1fr;
    }

    .specialty-page .specialty-image {
        width: 100%;
        height: 220px;
    }

    .presentation-item {
        grid-template-columns: 120px 1fr;
    }

    .presentation-logo {
        width: 120px;
    }

    .presentation-actions {
        grid-column: 1 / -1;
        text-align: left;
    }
}


@media (max-width: 600px) {

    .home-page,
    .specialty-page {
        padding: 18px 12px 40px;
    }

    .home-hero {
        padding: 26px 20px;
    }

    .home-hero h1 {
        font-size: 29px;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-logo {
        width: 140px;
    }

    .featured-action {
        grid-column: auto;
    }

    .featured-button {
        width: 100%;
    }

    .specialty-hero-inner,
    .seo-section {
        padding: 24px 20px;
    }

    .specialty-copy h1 {
        font-size: 28px;
    }

    .presentation-item {
        grid-template-columns: 1fr;
    }

    .presentation-logo {
        width: 140px;
    }

    .presentation-actions {
        grid-column: auto;
    }

    .presentation-button {
        width: 100%;
    }
}
/* =========================================================
   PAGINA PREZENTARE CABINET / CLINICA
   presentation.php
   ========================================================= */

.portal-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

/* CARD PRINCIPAL */

.presentation-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}

/* HEADER PREZENTARE */

.presentation-header {
    padding: 34px;
    border-bottom: 1px solid #edf1f5;
}

.presentation-top {
    display: flex;
    align-items: center;
    gap: 25px;
}

.presentation-card .presentation-logo {
    flex: 0 0 180px;
    width: 180px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.presentation-card .presentation-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.presentation-title-area {
    flex: 1;
}

.specialty-label {
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 14px;
    font-weight: 700;
}

.presentation-title-area h1 {
    margin: 0 0 12px;
    color: #10233f;
    font-size: 34px;
    line-height: 1.2;
}

.presentation-card .presentation-mini {
    max-width: 800px;
    margin: 0;
    color: #526173;
    font-size: 16px;
    line-height: 1.7;
}


/* PREZENTARE COMPLETA */

.presentation-content {
    padding: 38px 34px;
    font-size: 16px;
    line-height: 1.75;
}

.presentation-content h2 {
    margin: 30px 0 14px;
    color: #10233f;
    font-size: 26px;
    line-height: 1.3;
}

.presentation-content h2:first-child {
    margin-top: 0;
}

.presentation-content h3 {
    margin: 25px 0 12px;
    color: #173d67;
    font-size: 21px;
}

.presentation-content p {
    margin: 0 0 17px;
}

.presentation-content img {
    max-width: 100%;
    height: auto;
}

.presentation-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.presentation-content td,
.presentation-content th {
    padding: 10px;
    border: 1px solid #dce3ea;
}


/* SERVICII */

.services-section {
    padding: 35px 34px;
    border-top: 1px solid #edf1f5;
    background: #fbfcfe;
}

.section-heading {
    margin: 0 0 22px;
    color: #10233f;
    font-size: 26px;
}

.services-content {
    line-height: 1.7;
}

.services-content ul {
    margin: 0;
    padding-left: 22px;
}

.services-content li {
    margin-bottom: 8px;
}


/* GALERIE */

.gallery-section {
    padding: 35px 34px;
    border-top: 1px solid #edf1f5;
}

.presentation-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #eef2f6;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* CONTACT */

.contact-section {
    padding: 35px 34px;
    border-top: 1px solid #edf1f5;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-box {
    padding: 19px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
}

.contact-label {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-value {
    color: #172033;
    font-size: 15px;
    line-height: 1.6;
}

.contact-value a {
    color: #0757c8;
    font-weight: 700;
    text-decoration: none;
}

.schedule {
    white-space: pre-line;
}


/* BUTOANE CONTACT */

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.phone-button {
    background: #0757c8;
    color: #fff;
}

.whatsapp-button {
    background: #157347;
    color: #fff;
}

.website-button {
    background: #10233f;
    color: #fff;
}


/* HARTA */

.map-section {
    padding: 35px 34px;
    border-top: 1px solid #edf1f5;
}

.map-wrapper {
    overflow: hidden;
    min-height: 350px;
    border-radius: 12px;
}

.map-wrapper iframe {
    width: 100% !important;
    height: 400px !important;
    border: 0;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .portal-page {
        padding: 18px 12px 40px;
    }

    .presentation-header,
    .presentation-content,
    .services-section,
    .gallery-section,
    .contact-section,
    .map-section {
        padding: 25px 20px;
    }

    .presentation-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .presentation-card .presentation-logo {
        width: 150px;
        flex-basis: auto;
    }

    .presentation-title-area h1 {
        font-size: 28px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .presentation-gallery {
        grid-template-columns: 1fr;
    }

    .presentation-title-area h1 {
        font-size: 25px;
    }

    .contact-button {
        width: 100%;
    }
}
/* =========================================================
   HEADER PUBLIC
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(10px);
}

.site-header-inner {
    max-width: 1180px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #10233f;
    text-decoration: none;
}

.site-brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #0757c8;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
}

.site-brand-text strong {
    font-size: 16px;
    line-height: 1.1;
}

.site-brand-text span {
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.site-nav a:hover {
    background: #eef4ff;
    color: #0757c8;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #10233f;
}


/* HEADER MOBILE */

@media (max-width: 850px) {

    .site-header-inner {
        position: relative;
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 15px 35px rgba(15,23,42,.12);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
    }

}

@media (max-width: 500px) {

    .site-brand-text strong {
        font-size: 14px;
    }

    .site-brand-text span {
        font-size: 12px;
    }

}
/* =========================================================
   FOOTER PUBLIC
========================================================= */

.site-footer {
    margin-top: 50px;
    background: #10233f;
    color: #dce6f3;
}

.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 45px 20px 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
}

.footer-col h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
}

.footer-brand {
    margin-bottom: 12px;
    color: #fff;
    font-size: 18px;
}

.footer-col p {
    margin: 0;
    max-width: 320px;
    color: #b8c6d8;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col a {
    display: block;
    margin-bottom: 9px;
    color: #dce6f3;
    font-size: 14px;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #9fb0c5;
    font-size: 12px;
}

@media (max-width: 800px) {

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

}

@media (max-width: 520px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

}
/* =========================================================
   INSCRIERE CABINET
========================================================= */

.register-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.register-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.register-card {
    padding: 38px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

.register-head {
    margin-bottom: 30px;
}

.register-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #0757c8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.register-head h1 {
    margin: 0 0 12px;
    color: #10233f;
    font-size: 34px;
}

.register-head p {
    max-width: 720px;
    margin: 0;
    color: #526173;
    font-size: 15px;
    line-height: 1.7;
}

.register-form {
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0757c8;
    box-shadow: 0 0 0 3px rgba(7,87,200,.08);
}

.gdpr-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    color: #526173;
    font-size: 13px;
    line-height: 1.5;
}

.gdpr-check input {
    margin-top: 3px;
}

.register-submit {
    margin-top: 22px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.register-submit:hover {
    background: #064ba9;
}

.form-errors {
    margin-bottom: 25px;
    padding: 16px 18px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #b42318;
    font-size: 14px;
}

.form-errors div + div {
    margin-top: 6px;
}

.form-success {
    padding: 25px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
}

.form-success strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.form-success p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 700px) {

    .register-page {
        padding: 20px 12px 45px;
    }

    .register-card {
        padding: 25px 20px;
    }

    .register-head h1 {
        font-size: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: auto;
    }

    .register-submit {
        width: 100%;
    }
}
/* =========================================================
   CABINETE SI CLINICI
========================================================= */

.clinics-page {
    min-height: 600px;
    padding: 35px 20px 70px;
    background: #f4f7fb;
}

.clinics-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* HEADER PAGINA */

.clinics-head {
    margin-bottom: 27px;
}

.clinics-label {
    display: block;
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.clinics-head h1 {
    margin: 0 0 10px;
    color: #0f2747;
    font-size: 34px;
    line-height: 1.2;
}

.clinics-head p {
    max-width: 790px;
    margin: 0;
    color: #52647a;
    font-size: 16px;
    line-height: 1.7;
}


/* FILTRARE */

.clinics-filter {
    margin-bottom: 30px;
    padding: 22px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 39, 71, .04);
}

.clinics-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr) auto;
    gap: 16px;
    align-items: end;
}

.clinics-filter label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.clinics-filter input,
.clinics-filter select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
}

.clinics-filter input:focus,
.clinics-filter select:focus {
    outline: none;
    border-color: #0757c8;
    box-shadow: 0 0 0 3px rgba(7, 87, 200, .08);
}

.clinics-search-button {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.clinics-search-button:hover {
    background: #064ba9;
}

.clinics-filter-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #edf1f5;
    color: #64748b;
    font-size: 13px;
}

.clinics-filter-bottom a {
    color: #0757c8;
    font-weight: 700;
    text-decoration: none;
}


/* GRID */

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.clinic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 330px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 39, 71, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.clinic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 39, 71, .09);
}


/* LOGO */

.clinic-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-bottom: 17px;
    padding: 10px;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #fff;
}

.clinic-logo img {
    max-width: 100%;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* SPECIALITATE */

.clinic-specialty {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    min-height: 27px;
    margin-bottom: 12px;
    padding: 0 11px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0757c8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
}


/* TITLU */

.clinic-card h2 {
    margin: 0 0 11px;
    color: #102744;
    font-size: 20px;
    line-height: 1.35;
}


/* DESCRIERE */

.clinic-description {
    margin: 0 0 16px;
    color: #52647a;
    font-size: 14px;
    line-height: 1.6;
}


/* DATE */

.clinic-details {
    margin-bottom: 18px;
}

.clinic-info {
    display: flex;
    gap: 5px;
    margin-bottom: 7px;
    color: #52647a;
    font-size: 13px;
    line-height: 1.5;
}

.clinic-info strong {
    flex-shrink: 0;
    color: #243b5a;
}

.clinic-info a {
    color: #0757c8;
    font-weight: 600;
    text-decoration: none;
}

.clinic-info a:hover {
    text-decoration: underline;
}


/* BUTON */

.clinic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 42px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 7px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.clinic-button:hover {
    background: #064ba9;
}


/* FARA REZULTATE */

.clinics-empty {
    padding: 40px 30px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    color: #52647a;
    text-align: center;
}

.clinics-empty strong {
    display: block;
    margin-bottom: 8px;
    color: #102744;
    font-size: 19px;
}

.clinics-empty p {
    margin: 0 0 15px;
}

.clinics-empty a {
    color: #0757c8;
    font-weight: 700;
    text-decoration: none;
}


/* TABLETA */

@media (max-width: 900px) {

    .clinics-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .clinics-filter-action {
        grid-column: 1 / -1;
    }

    .clinics-search-button {
        width: 100%;
    }

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

}


/* MOBIL */

@media (max-width: 600px) {

    .clinics-page {
        padding: 25px 15px 50px;
    }

    .clinics-head h1 {
        font-size: 27px;
    }

    .clinics-head p {
        font-size: 15px;
    }

    .clinics-filter {
        padding: 17px;
    }

    .clinics-filter-form {
        grid-template-columns: 1fr;
    }

    .clinics-filter-action {
        grid-column: auto;
    }

    .clinics-filter-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .clinics-grid {
        grid-template-columns: 1fr;
    }

    .clinic-card {
        min-height: 0;
        padding: 21px;
    }

    .clinic-button {
        width: 100%;
        margin-top: 12px;
    }

}
/* =========================================================
   CONTACT
========================================================= */

.contact-page {
    min-height: 600px;
    padding: 35px 20px 70px;
    background: #f4f7fb;
}

.contact-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-head {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.contact-head h1 {
    margin: 0 0 10px;
    color: #0f2747;
    font-size: 34px;
    line-height: 1.2;
}

.contact-head p {
    max-width: 790px;
    margin: 0;
    color: #52647a;
    font-size: 16px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    gap: 24px;
    align-items: start;
}

.contact-card,
.contact-info-card {
    padding: 30px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,39,71,.05);
}

.contact-card h2,
.contact-info-card h2 {
    margin: 0 0 22px;
    color: #102744;
    font-size: 22px;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form .form-full {
    grid-column: 1 / -1;
}

.contact-submit {
    min-height: 46px;
    margin-top: 22px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #0757c8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit:hover {
    background: #064ba9;
}

.contact-info-item {
    padding: 18px 0;
    border-bottom: 1px solid #edf1f5;
}

.contact-info-item:first-of-type {
    padding-top: 0;
}

.contact-info-item:last-child {
    border-bottom: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 7px;
    color: #102744;
    font-size: 16px;
}

.contact-info-item p {
    margin: 0 0 8px;
    color: #52647a;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-item a {
    color: #0757c8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .contact-page {
        padding: 25px 15px 50px;
    }

    .contact-head h1 {
        font-size: 27px;
    }

    .contact-card,
    .contact-info-card {
        padding: 22px 18px;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-full {
        grid-column: auto;
    }

    .contact-submit {
        width: 100%;
    }

}
/* =========================================================
   PAGINA SPECIALITATI
========================================================= */

.specialties-page {
    min-height: 600px;
    padding: 35px 20px 70px;
    background: #f4f7fb;
}

.specialties-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.specialties-head {
    margin-bottom: 30px;
}

.specialties-label {
    display: block;
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.specialties-head h1 {
    margin: 0 0 10px;
    color: #0f2747;
    font-size: 34px;
    line-height: 1.2;
}

.specialties-head p {
    max-width: 790px;
    margin: 0;
    color: #52647a;
    font-size: 16px;
    line-height: 1.7;
}

.all-specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.all-specialty-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15,39,71,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.all-specialty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15,39,71,.09);
}

.all-specialty-image {
    height: 180px;
    overflow: hidden;
    background: #eef2f6;
}

.all-specialty-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.all-specialty-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

.all-specialty-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.all-specialty-content h2 {
    margin: 0 0 10px;
    color: #102744;
    font-size: 20px;
    line-height: 1.35;
}

.all-specialty-content p {
    margin: 0 0 18px;
    color: #52647a;
    font-size: 14px;
    line-height: 1.65;
}

.all-specialty-link {
    margin-top: auto;
    color: #0757c8;
    font-size: 14px;
    font-weight: 700;
}

.specialties-empty {
    padding: 40px 30px;
    border: 1px solid #e1e8f1;
    border-radius: 14px;
    background: #fff;
    color: #52647a;
    text-align: center;
}

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

    .specialties-page {
        padding: 25px 15px 50px;
    }

    .specialties-head h1 {
        font-size: 27px;
    }

    .specialties-head p {
        font-size: 15px;
    }

    .all-specialties-grid {
        grid-template-columns: 1fr;
    }

    .all-specialty-image {
        height: 170px;
    }

}
/* =========================================================
   PAGINI LEGALE
========================================================= */

.legal-page {
    min-height: 600px;
    padding: 35px 20px 70px;
    background: #f4f7fb;
}

.legal-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-card {
    padding: 38px 42px;
    border: 1px solid #e1e8f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15,39,71,.05);
}

.legal-head {
    margin-bottom: 32px;
    padding-bottom: 25px;
    border-bottom: 1px solid #edf1f5;
}

.legal-label {
    display: block;
    margin-bottom: 8px;
    color: #0757c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.legal-head h1 {
    margin: 0 0 10px;
    color: #0f2747;
    font-size: 34px;
    line-height: 1.2;
}

.legal-head p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.legal-content {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}

.legal-content h2 {
    margin: 34px 0 12px;
    color: #102744;
    font-size: 22px;
    line-height: 1.35;
}

.legal-content h3 {
    margin: 22px 0 9px;
    color: #173d67;
    font-size: 17px;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul {
    margin: 0 0 20px;
    padding-left: 23px;
}

.legal-content li {
    margin-bottom: 7px;
}

.legal-content a {
    color: #0757c8;
    font-weight: 600;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .legal-page {
        padding: 25px 12px 50px;
    }

    .legal-card {
        padding: 26px 20px;
    }

    .legal-head h1 {
        font-size: 27px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

}
/* =========================================================
   HOMEPAGE BANNER
========================================================= */

.homepage-banner {
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.05);
}

.homepage-banner a {
    display: block;
}

.homepage-banner picture {
    display: block;
}

.homepage-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

@media (max-width: 600px) {

    .homepage-banner {
        margin-bottom: 24px;
        border-radius: 10px;
    }

    .homepage-banner img {
        max-height: 250px;
    }

}
/* Banner homepage */
.home-banner {
    max-width: 1100px;
    margin: 0 auto 32px;
}

.home-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
/* Banner pagină specialitate */
.specialty-banner {
    max-width: 1100px;
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.specialty-banner a,
.specialty-banner picture {
    display: block;
}

.specialty-banner img {
    display: block;
    width: 100%;
    height: auto;
}
.specialties-more {
    margin-top: 22px;
    text-align: center;
}

.specialties-more a {
    display: inline-block;
    padding: 12px 22px;
    background: #0757c8;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    transition: all .2s ease;
}

.specialties-more a:hover {
    background: #064aa8;
    transform: translateY(-1px);
}