/* =========================================================
   DOBRY DENTYSTA — design refresh
   Palette: navy #0d4f7c · blue #1a6fa8 · teal #12a07a · gold #e8a600
   Type:    Raleway (headings, 700/800) + Lato (body)
   Signature: teal left-stripe on every content card
   ========================================================= */

/* --- TOKENS --- */
:root {
    --dd-blue:    #1a6fa8;
    --dd-navy:    #0d4f7c;
    --dd-teal:    #12a07a;
    --dd-teal-lt: #e4f5ef;
    --dd-gold:    #e8a600;
    --dd-text:    #2d3037;
    --dd-muted:   #6c7a89;
    --dd-border:  #cfe0f0;
    --dd-surface: #fafcff;
    --dd-gray:    #eef4fa;
    --dd-radius:  6px;
    --dd-shadow:  0 1px 4px rgba(13,79,124,.07), 0 3px 12px rgba(13,79,124,.07);
}

/* --- GLOBAL FONT ---
   Lato (by Polish designer Łukasz Dziedzic): body — full ą ć ę ł ń ó ś ź ż support
   Raleway: headings only, 700/800 — geometric European modernism, distinct from Lato */
body { font-family: 'Lato', sans-serif; }

h1, h2, h3, h4, h5,
.heading, .top__heading, .services__heading {
    font-family: 'Raleway', 'Lato', sans-serif;
    letter-spacing: .01em;
}

.heading { font-weight: 800; }

/* --- HEADER --- */
.header {
    border-bottom: 3px solid var(--dd-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

/* --- FOOTER --- */
.footer { border-top: 3px solid var(--dd-blue); }

/* --- SECTION GRAY --- */
.section--gray { background: var(--dd-gray); }

/* --- HERO (homepage) --- */
.top {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

/* --- SUB-PAGE HERO STRIP --- */
.top--sub {
    min-height: 120px;
    padding: 28px 0;
    background: linear-gradient(135deg, var(--dd-navy) 0%, var(--dd-blue) 100%);
}

.top--sub .top__heading {
    font-size: 1.65em;
    font-weight: 800;
    margin-bottom: 8px;
}

/* --- BREADCRUMB --- */
.breadcrumb-nav              { color: rgba(255,255,255,.7); font-size: .83em; }
.breadcrumb-nav a            { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb-nav a:hover      { color: #fff; text-decoration: underline; }

/* --- STARS: gold active, muted empty --- */
.stars_vote                  { display: flex; }
.stars_vote__star .fa-star   { color: #c8d5e0; }
.stars_vote__star--active .fa-star { color: var(--dd-gold); }

/* --- BUTTONS --- */
.btn--blue {
    background: var(--dd-blue);
    border-color: var(--dd-blue);
    transition: background .18s, transform .1s;
}
.btn--blue:hover {
    background: var(--dd-navy);
    border-color: var(--dd-navy);
    transform: translateY(-1px);
}

/* --- INPUTS --- */
input.input, select.input, textarea.input {
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    padding: 9px 13px;
    font-size: .9em;
    color: var(--dd-text);
    outline: none;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
input.input:focus, select.input:focus, textarea.input:focus {
    border-color: var(--dd-blue);
    box-shadow: 0 0 0 3px rgba(26,111,168,.12);
}

/* =========================================================
   CARD SYSTEM — Signature: teal left-border on all panels
   ========================================================= */
.dd-card {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-left: 3px solid var(--dd-teal);
    border-radius: var(--dd-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--dd-shadow);
}

.dd-card__title {
    margin: 0 0 16px;
    font-family: 'Raleway', 'Lato', sans-serif;
    font-size: .8em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--dd-navy);
}

/* --- Contact / info tables inside cards --- */
.dd-card__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9em;
}
.dd-card__table tr { border-bottom: 1px solid #edf3fb; }
.dd-card__table td { padding: 7px 0; vertical-align: top; }
.dd-card__table td:first-child { color: var(--dd-muted); width: 140px; padding-right: 12px; }
.dd-card__table a  { color: var(--dd-blue); text-decoration: none; }
.dd-card__table a:hover { text-decoration: underline; }

/* --- Rating block (inside main info card) --- */
.dd-rating {
    text-align: center;
    background: var(--dd-gray);
    border: 1px solid var(--dd-border);
    border-top: 3px solid var(--dd-blue);
    padding: 16px 20px;
    border-radius: var(--dd-radius);
    flex-shrink: 0;
    min-width: 96px;
    box-shadow: var(--dd-shadow);
}
.dd-rating__score {
    font-family: 'Raleway', 'Lato', sans-serif;
    font-size: 2.6em;
    font-weight: 800;
    color: var(--dd-blue);
    line-height: 1;
}
.dd-rating__stars  { justify-content: center; margin: 5px 0 3px; }
.dd-rating__count  { font-size: .72em; color: var(--dd-muted); }

/* --- Featured badge --- */
.dd-badge-featured {
    display: inline-block;
    background: linear-gradient(135deg, #fff5cc, #ffe680);
    color: #7a5c00;
    font-family: 'Raleway', 'Lato', sans-serif;
    font-size: .72em;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    letter-spacing: .04em;
}

/* --- Clinic logo identity strip (between hero and content cards) ---
   Teal border faces DOWN here — the one intentional break from the
   left-border signature, marking the transition from identity to info. */
.dd-clinic-logo-panel {
    background: #fff;
    border-bottom: 3px solid var(--dd-teal);
    box-shadow: 0 2px 12px rgba(13,79,124,.09);
    padding: 20px 0;
}

.dd-clinic-logo-panel .wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dd-clinic-logo-panel img {
    display: block;
    max-height: 72px;
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* --- Info header layout (dentist page) --- */
.dd-info-header {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 20px;
}
.dd-info-main { flex: 1; min-width: 260px; }

/* --- Opening hours table --- */
.dd-hours { width: 100%; max-width: 400px; border-collapse: collapse; font-size: .9em; }
.dd-hours tr { border-bottom: 1px solid #edf3fb; }
.dd-hours td { padding: 7px 0; }
.dd-hours td:first-child { color: var(--dd-muted); width: 150px; }
.dd-closed { color: #c0392b; font-weight: 700; }
.dd-open   { font-weight: 600; color: var(--dd-text); }

/* --- Review cards (dentist show + homepage) --- */
.dd-review {
    border: 1px solid var(--dd-border);
    border-left: 3px solid var(--dd-teal);
    border-radius: var(--dd-radius);
    padding: 16px 20px;
    background: var(--dd-surface);
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(13,79,124,.05);
}
.dd-review__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.dd-review__meta   { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dd-review__author { font-family: 'Raleway','Lato',sans-serif; font-weight: 700; color: var(--dd-navy); font-size: .95em; }
.dd-review__title  { font-weight: 600; color: #555; font-size: .88em; }
.dd-review__date   { font-size: .78em; color: #aaa; white-space: nowrap; }
.dd-review__body   { margin: 0; color: #444; font-size: .9em; line-height: 1.65; }

/* --- Facility pills --- */
.dd-facilities { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-facility {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dd-teal-lt);
    border: 1px solid #9fd7c5;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: .85em;
    color: #0b5d45;
    transition: background .15s;
}
.dd-facility:hover { background: #cceee4; }
.dd-facility .fa-check { color: var(--dd-teal); font-size: .78em; }

/* --- Form label --- */
.dd-label {
    display: block;
    font-size: .83em;
    font-weight: 700;
    color: var(--dd-navy);
    margin-bottom: 5px;
    letter-spacing: .02em;
}

/* --- Alert boxes --- */
.dd-alert { padding: 12px 16px; border-radius: var(--dd-radius); margin-bottom: 16px; font-size: .9em; }
.dd-alert--success { background: var(--dd-teal-lt); border: 1px solid #9fd7c5; color: #0b5d45; }
.dd-alert--error   { background: #fff0f0; border: 1px solid #f5c0c0; color: #8b1c1c; }

/* --- Map --- */
.dd-map-frame { width: 100%; height: 350px; border: 0; border-radius: var(--dd-radius); display: block; }

/* --- Prev / next --- */
.dd-prevnext { display: flex; justify-content: space-between; margin-top: 8px; }
.dd-prevnext a { color: var(--dd-blue); text-decoration: none; font-weight: 600; font-size: .9em; transition: color .15s; }
.dd-prevnext a:hover { color: var(--dd-navy); }

/* --- Homepage reviews (uses main.min.css .reviews__item class) --- */
.reviews__item {
    background: var(--dd-surface);
    border: 1px solid var(--dd-border);
    border-left: 3px solid var(--dd-teal);
    border-radius: var(--dd-radius);
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(13,79,124,.05);
    margin-bottom: 10px;
}
.reviews__person { font-family: 'Raleway','Lato',sans-serif; font-weight: 700; color: var(--dd-navy); }

/* --- Offices slider: lift on hover --- */
.offices_list__item {
    border-radius: var(--dd-radius) !important;
    overflow: hidden;
    transition: box-shadow .2s, transform .18s;
}
.offices_list__item:hover {
    box-shadow: 0 6px 24px rgba(13,79,124,.18);
    transform: translateY(-3px);
}

/* --- Region/city table header --- */
.table th {
    background: var(--dd-blue);
    color: #fff;
    font-family: 'Raleway','Lato',sans-serif;
    letter-spacing: .05em;
    font-size: .84em;
}

/* --- Services icon (homepage + dentist page) --- */
.services__icon {
    border: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(13,79,124,.1);
}
.services__heading { font-size: .88em; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.services__block:hover .services__heading { color: #fff; }

/* --- WYSIWYG content output --- */
.dd-wysiwyg { color: var(--dd-text); line-height: 1.7; font-size: .95em; }
.dd-wysiwyg p  { margin: 0 0 .8em; }
.dd-wysiwyg ul, .dd-wysiwyg ol { margin: 0 0 .8em 1.4em; }
.dd-wysiwyg h2, .dd-wysiwyg h3 { color: var(--dd-navy); margin: 1em 0 .4em; }
.dd-wysiwyg strong { color: var(--dd-navy); }
.dd-wysiwyg a { color: var(--dd-blue); }

/* --- Phone link --- */
a.dd-phone { color: #1a7a2e; font-weight: 600; text-decoration: none; }
a.dd-phone:hover { text-decoration: underline; }

/* --- Utils --- */
.text-center { text-align: center; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .dd-info-header { flex-direction: column; }
    .dd-rating { min-width: auto; width: 100%; }
}
