/*
Theme Name: Cabinet Oftalmologic - Ploiesti
Theme URI: https://rankest.ro
Author: Rankest
Author URI: https://rankest.ro
Description: Tema WordPress pentru cabinetul oftalmologic din Ploiesti. La activare creeaza automat paginile, homepage-ul si meniul. Textele si datele de contact se editeaza in inc/site-data.php.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cabinet-oftalmologic-ploiesti
*/

:root {
	--blue: #136BDD;
	--blue-dark: #0E57B8;
	--blue-soft: #E8F1FC;
	--blue-softer: #F4F8FD;
	--navy: #0A1B3E;
	--text: #33445E;
	--muted: #5E6E86;
	--line: #E2EAF4;
	--white: #FFFFFF;
	--wa: #1FA855;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(13, 33, 66, .04), 0 8px 24px rgba(13, 33, 66, .06);
	--shadow-hover: 0 2px 4px rgba(13, 33, 66, .05), 0 14px 34px rgba(19, 107, 221, .14);
	--header-h: 76px;
	--serif: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; }
h1 .accent { color: var(--blue); }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; overflow: visible; }
:focus-visible { outline: 3px solid rgba(19, 107, 221, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.section { padding: 84px 0; }
.section-tint { background: var(--blue-softer); }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }

/* ---------- Butoane ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
	font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.2;
	cursor: pointer; text-align: center; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-sm { padding: 9px 15px; font-size: .88rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(19, 107, 221, .25); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #CFE0F5; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { color: var(--blue-dark); box-shadow: 0 6px 16px rgba(13, 33, 66, .12); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); }
.link-more .ico { transition: transform .18s; }

/* ---------- Iconite ---------- */
.icon-blob, .icon-circle { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--blue); }
.icon-blob { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); }
.icon-blob .ico { width: 30px; height: 30px; }
.icon-blob-lg { width: 72px; height: 72px; }
.icon-blob-lg .ico { width: 34px; height: 34px; }
.icon-blob-wa { background: #E6F6EC; color: var(--wa); }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #BBD3F0; background: #fff; }
.icon-circle .ico { width: 21px; height: 21px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100;
	-webkit-backdrop-filter: saturate(160%) blur(8px); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(13, 33, 66, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); flex: none; }
.logo-mark { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--navy); text-transform: uppercase; font-size: .82rem; letter-spacing: .02em; }
.logo-text strong { font-weight: 700; }
.logo-text span { font-weight: 700; font-size: 1.32em; color: #4A5D7A; letter-spacing: .03em; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 500; font-size: .95rem; position: relative; border-radius: 8px; }
.nav-list a:hover { color: var(--blue); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--blue); }
.nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-mobile-cta { display: none; }
.header-cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }

/* Bara de admin WordPress (doar cand esti logat) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7FAFE 0%, #EEF5FD 100%); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #F3F8FE 0%, rgba(243, 248, 254, .75) 16%, rgba(243, 248, 254, 0) 46%); }
.hero-inner { position: relative; z-index: 1; min-height: 560px; display: flex; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-content { max-width: 560px; }
.hero h1 { margin-bottom: 18px; }
.hero-text { font-size: 1.08rem; color: var(--text); max-width: 520px; margin-bottom: 28px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 40px; width: max-content; max-width: 100%; }
.hero-features li { white-space: nowrap; display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--navy); font-weight: 500; line-height: 1.35; }

/* ---------- Bara de contact ---------- */
.contact-strip-wrap { padding: 32px 0 0; }
.contact-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; background: var(--blue-softer); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; }
.strip-item { display: flex; align-items: center; gap: 14px; color: var(--text); min-width: 0; font-size: .92rem; }
.strip-item span:last-child { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.strip-item strong { color: var(--navy); font-weight: 600; font-size: .95rem; }
.strip-item:hover { color: var(--blue); }
.strip-ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); flex: none; border: 1px solid var(--line); }
.strip-ico .ico { width: 21px; height: 21px; }

/* ---------- Carduri ---------- */
.cards-grid { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-card { display: flex; align-items: flex-start; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #C9DDF4; color: var(--text); }
.service-card:hover .link-more .ico { transform: translateX(4px); }
.service-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.service-card-title { font-weight: 600; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.service-card-text { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.service-card .link-more { margin-top: 6px; }

.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.why-intro p { color: var(--muted); margin-bottom: 26px; }
.why-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why-item .icon-circle { margin-bottom: 14px; }
.why-item h3 { margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .92rem; color: var(--muted); }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.info-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.info-card-head .icon-blob { width: 56px; height: 56px; }
.info-card-head .icon-blob .ico { width: 26px; height: 26px; }
.info-card h3 { margin: 0; }
.info-card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-intro p { color: var(--muted); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 11px; transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: #BFD6F2; box-shadow: var(--shadow); }
.faq-q { margin: 0; font-size: 1rem; }
.faq-q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer; border-radius: 11px; }
.faq-q button:hover { color: var(--blue); }
.faq-q .ico { width: 20px; height: 20px; transition: transform .2s; color: var(--navy); }
.faq-item.is-open .faq-q .ico { transform: rotate(180deg); color: var(--blue); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 84px; }
.section + .cta-wrap, .section-tint + .cta-wrap { padding-top: 84px; }
.cta-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: linear-gradient(100deg, #E3EFFC 0%, #D6E7FA 100%); border-radius: 18px; overflow: hidden; min-height: 240px; }
.cta-content { padding: 44px 48px; position: relative; z-index: 1; align-self: center; }
.cta-content h2 { font-family: var(--sans); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 8px; }
.cta-content p { color: var(--navy); font-size: 1.08rem; margin-bottom: 24px; }
.cta-content .eyebrow { font-size: .78rem; margin-bottom: 10px; color: var(--blue); }
.cta-media { position: relative; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #DCEBFB 0%, rgba(220, 235, 251, 0) 40%); }
.cta-band-reverse .cta-media { order: -1; }
.cta-band-reverse .cta-media::before { background: linear-gradient(270deg, #DCEBFB 0%, rgba(220, 235, 251, 0) 40%); }

/* ---------- Sectiunea SEO ---------- */
.seo-section { border-top: 1px solid var(--line); }
.seo-section h2 { margin-bottom: 24px; }
.seo-body h3 { font-size: 1.15rem; margin: 30px 0 8px; }
.seo-body p { color: var(--text); }

/* ---------- Pagini interioare ---------- */
.page-hero { background: linear-gradient(180deg, #F7FAFE 0%, #EEF5FD 100%); padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); max-width: 820px; }
.page-hero-text { max-width: 700px; font-size: 1.06rem; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }

/* Servicii */
.service-pills-wrap { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; }
.service-pills::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid #CFE0F5; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 500; transition: all .18s; }
.pill .ico { color: var(--blue); width: 18px; height: 18px; }
.pill:hover, .pill.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill:hover .ico, .pill.is-active .ico { color: #fff; }
.services-detail { padding-top: 56px; }
.service-block { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding: 40px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); margin-bottom: 28px; scroll-margin-top: calc(var(--header-h) + 90px); }
.service-block:last-child { margin-bottom: 0; }
.service-block-main .icon-blob { margin-bottom: 18px; }
.service-block-main > p { color: var(--text); }
.service-for { background: var(--blue-softer); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 0 9px 9px 0; font-size: .94rem; margin-bottom: 24px; }
.service-for strong { color: var(--navy); }
.service-block-list { background: var(--blue-softer); border-radius: var(--radius); padding: 26px; align-self: start; }
.service-block-list .link-more { margin-top: 18px; }
.list-title { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: .98rem; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: .94rem; }
.check-list .ico { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* Preturi */
.prices-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.price-group { margin-bottom: 40px; }
.price-group:last-child { margin-bottom: 0; }
.price-group h2 { font-size: 1.5rem; margin-bottom: 16px; }
.price-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row:nth-child(even) { background: #FAFCFF; }
.price-name { display: flex; flex-direction: column; min-width: 0; }
.price-name strong { color: var(--navy); font-weight: 600; }
.price-name small { color: var(--muted); font-size: .86rem; }
.price-value { font-weight: 700; color: var(--blue); white-space: nowrap; }
.price-ask { flex: none; }
.prices-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--blue-softer); }
.aside-card-blue { background: linear-gradient(135deg, var(--blue) 0%, #0E4F9E 100%); border: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-big { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 6px; }

/* Despre noi */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-text .btn-row { margin-top: 10px; }
.about-media img { border-radius: 18px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.value-card .icon-circle { margin-bottom: 14px; }
.value-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }
.equipment-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.equipment-grid > div p { color: var(--muted); margin: 0; }
.check-list-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-list-cards li { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #C9DDF4; color: var(--text); }
.contact-card:hover .link-more .ico { transform: translateX(4px); }
.contact-card .icon-blob { width: 56px; height: 56px; margin-bottom: 10px; }
.contact-card .icon-blob .ico { width: 26px; height: 26px; }
.contact-card-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card-value { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-card .link-more { margin-top: auto; padding-top: 10px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: stretch; }
.map-info { background: var(--blue-softer); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.map-info .btn { margin-top: 22px; }
.program-light li { border-color: var(--line) !important; color: var(--text) !important; }
.program-light strong { color: var(--navy) !important; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Continut pagini simple */
.entry-content h2 { font-size: 1.45rem; margin-top: 1.6em; }
.entry-content p, .entry-content li { color: var(--text); }
.entry-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 16px 0 20px; max-width: 300px; }
.footer-title { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: .98rem; }
.footer-links li, .footer-contact li { margin-bottom: 8px; }
.footer-links a { color: var(--text); font-size: .93rem; }
.footer-links a:hover { color: var(--blue); }
.footer-contact a { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .93rem; }
.footer-contact a span { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--blue); }
.footer-contact .ico { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.footer-program li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.footer-program li:last-child { border-bottom: 0; }
.footer-program strong { color: var(--navy); font-weight: 600; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.header-cta { display: none; }
	.cards-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.section { padding: 64px 0; }
	.nav-toggle { display: inline-flex; }
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
		z-index: 120; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(13, 33, 66, .08);
		background: #fff; padding: 20px 24px 32px; margin: 0;
		display: flex; flex-direction: column; gap: 18px;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; overflow-y: auto;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline-flex; }
	.nav-open { overflow: hidden; }
	.nav-open .mobile-bar { display: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-list a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after { display: none; }
	.nav-mobile-cta { display: inline-flex; width: 100%; }

	.hero-media { position: relative; width: 100%; height: 280px; }
	.hero-media::after { background: linear-gradient(0deg, #F3F8FE 0%, rgba(243, 248, 254, 0) 45%); }
	.hero-inner { min-height: 0; padding-top: 8px; padding-bottom: 48px; }

	.cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.why-grid, .faq-grid, .about-grid, .equipment-grid, .prices-layout, .map-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.prices-aside { position: static; }
	.service-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.service-pills::-webkit-scrollbar { display: none; }
	.service-block { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; scroll-margin-top: calc(var(--header-h) + 76px); }
	.cta-band { grid-template-columns: minmax(0, 1fr); }
	.cta-media { height: 180px; order: -1; }
	.cta-media::before { background: linear-gradient(0deg, #DCEBFB 0%, rgba(220, 235, 251, 0) 50%); }
	.cta-content { padding: 28px 28px 36px; }
}

@media (max-width: 640px) {
	body { padding-bottom: 68px; font-size: 15.5px; }
	.container { padding: 0 18px; }
	.section { padding: 52px 0; }
	.section-head { margin-bottom: 28px; }
	.logo-mark { width: 40px; height: 40px; }
	.logo-text { font-size: .74rem; }
	.hero-media { height: 230px; }
	.hero-text { font-size: 1rem; }
	.btn-row .btn { flex: 1 1 100%; }
	.hero-features { flex-direction: column; gap: 14px; margin-top: 30px; }
	.contact-strip { flex-direction: column; align-items: stretch; padding: 18px; gap: 14px; }
	.strip-btn { width: 100%; }
	.cards-3, .cards-4, .steps, .why-items, .check-list-cards, .contact-cards, .footer-grid { grid-template-columns: minmax(0, 1fr); }
	.service-card, .why-item, .info-card, .value-card, .step, .contact-card { padding: 22px; }
	.service-block { padding: 22px; }
	.service-block-list { padding: 20px; }
	.price-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
	.price-ask { width: 100%; }
	.cta-wrap { padding-bottom: 52px; }
	.section + .cta-wrap, .section-tint + .cta-wrap { padding-top: 52px; }
	.cta-content { padding: 24px 20px 28px; }
	.map-frame, .map-frame iframe { min-height: 320px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(13, 33, 66, .08); }
	.mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: #fff; }
	.mobile-bar-call { background: var(--blue); }
	.mobile-bar-wa { background: var(--wa); }
	.mobile-bar .ico { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Poze afisate la marime apropiata de cea reala (mai clare) ---------- */
@media (min-width: 901px) {
	.hero-media {
		top: 50%; bottom: auto;
		right: max(24px, calc((100vw - 1180px) / 2 + 24px));
		width: min(44%, 540px);
		aspect-ratio: 820 / 552;
		transform: translateY(-50%);
		border-radius: 20px;
		overflow: hidden;
		box-shadow: 0 24px 60px rgba(12, 29, 66, .18);
	}
	.hero-media::after { display: none; }
	.hero-content { max-width: 580px; }
	.hero-features { gap: 16px 22px; }
	.cta-media { padding: 22px 22px 22px 0; display: flex; align-items: center; }
	.cta-media img { position: static; width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
	.cta-media::before { display: none; }
}
