/*
Theme Name: Ozana MedCenter
Theme URI: https://ozanamedcenter.ro
Author: Ozana MedCenter
Author URI: https://ozanamedcenter.ro
Description: Temă WordPress elegantă și modernă pentru centre de înfrumusețare și estetică medicală pentru femei. Paletă verde olive, auriu și crem, tipografie rafinată, secțiuni pentru servicii, tehnologii, recenzii și programări. Include Customizer, tipuri de conținut pentru Servicii și Recenzii, meniuri cu submeniuri, design responsive și optimizare SEO de bază.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ozana-medcenter
Tags: beauty, health, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --olive-900: #2a3219;
  --olive-800: #3a4524;
  --olive-700: #4b5a2e;
  --olive-600: #5c6d38;
  --olive-500: #74874a;
  --olive-200: #cfd7b8;
  --olive-100: #e7ebd9;

  --gold-700: #8f7036;
  --gold-600: #a98a48;
  --gold-500: #c3a25a;
  --gold-400: #d4b97a;
  --gold-200: #ecdcb2;

  --cream-50: #fdfbf6;
  --cream-100: #faf6ec;
  --cream-200: #f3ecdb;
  --cream-300: #e9dfc7;

  --ink: #2b2d22;
  --ink-soft: #5d6050;
  --line: rgba(92, 109, 56, 0.18);

  --font-head: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(42, 50, 25, 0.07);
  --shadow-md: 0 14px 40px rgba(42, 50, 25, 0.12);
  --shadow-gold: 0 10px 30px rgba(169, 138, 72, 0.28);

  --container: 1200px;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }

a { color: var(--olive-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover, a:focus { color: var(--gold-600); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--olive-800);
  margin: 0 0 .55em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1.3em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; background: var(--olive-800);
  color: #fff; padding: 12px 20px; top: 8px; left: 8px; z-index: 100000;
}

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 820px); margin-inline: auto; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 34px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-align: center;
  border: 1px solid transparent; border-radius: 50px; cursor: pointer;
  transition: all .35s var(--ease); line-height: 1.2;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff; box-shadow: var(--shadow-gold);
}
.btn--gold:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(169,138,72,.4); }
.btn--olive { background: var(--olive-700); color: #fff; }
.btn--olive:hover { background: var(--olive-900); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--gold-500); color: var(--olive-800); background: transparent; }
.btn--outline:hover { background: var(--gold-500); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--olive-800); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.topbar {
  background: var(--olive-900); color: var(--cream-200);
  font-size: .82rem; letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar a { color: var(--cream-200); }
.topbar a:hover { color: var(--gold-400); }
.topbar__info { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold-400); }
.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: all .3s var(--ease); }
.social a:hover { background: var(--gold-500); color: #fff; }
.social svg { width: 15px; height: 15px; color: currentColor; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(253, 251, 246, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); }

.site-branding { display: flex; align-items: center; gap: 14px; flex: none; }
.site-branding img, .site-branding .custom-logo { height: 64px; width: auto; }
.site-title-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.site-title {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--olive-800);
  letter-spacing: .06em; text-transform: uppercase; margin: 0;
}
.site-title a { color: inherit; }
.site-tagline { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 15px; font-size: .78rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--olive-800);
  position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav > ul > li.menu-item-has-children > a { padding-right: 26px; }
.main-nav > ul > li.menu-item-has-children > a::before {
  content: ""; position: absolute; right: 12px; top: 50%; width: 5px; height: 5px;
  border-right: 1.5px solid var(--gold-600); border-bottom: 1.5px solid var(--gold-600);
  transform: translateY(-70%) rotate(45deg);
}

.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 270px; flex-direction: column; align-items: stretch; gap: 0;
  background: #fff; padding: 10px 0; border-top: 2px solid var(--gold-500);
  box-shadow: var(--shadow-md); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); z-index: 20;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 11px 24px; letter-spacing: .06em; text-transform: none; font-size: .95rem; font-weight: 400; }
.main-nav .sub-menu a:hover { background: var(--cream-100); color: var(--gold-700); padding-left: 30px; }
.main-nav .sub-menu .sub-menu { top: -12px; left: 100%; }

.header-cta { flex: none; padding: 12px 26px; }
.submenu-toggle { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--olive-800); transition: all .3s var(--ease);
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   5. Sections – shared
   ========================================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--cream { background: var(--cream-200); }
.section--white { background: var(--cream-50); }
.section--olive { background: var(--olive-800); color: var(--cream-200); }
.section--olive h2, .section--olive h3, .section--olive h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .76rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold-500); }
.section--olive .eyebrow { color: var(--gold-400); }
.eyebrow--left::after { display: none; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section--olive .section-head p { color: var(--olive-200); }
.ornament { display: block; width: 90px; height: 14px; margin: 22px auto 0; color: var(--gold-500); }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(195,162,90,.20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(116,135,74,.18), transparent 60%),
    linear-gradient(180deg, var(--cream-50), var(--cream-200));
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--gold-600); font-weight: 500; }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 14px 34px; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--olive-700); }
.hero__checks li { display: inline-flex; align-items: center; gap: 10px; }
.hero__checks svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }

.hero__media { position: relative; max-width: 520px; margin-left: auto; width: 100%; }
.hero__frame {
  position: relative; border-radius: 260px 260px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-md);
  border: 8px solid var(--cream-50);
  outline: 1px solid var(--gold-400); outline-offset: 10px;
  background: var(--cream-300);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__badge {
  position: absolute; left: -34px; bottom: 46px; background: var(--olive-800); color: #fff;
  padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 230px;
  border-left: 3px solid var(--gold-500);
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 2.3rem; line-height: 1; color: var(--gold-400); font-weight: 500; }
.hero__badge span { font-size: .82rem; letter-spacing: .06em; opacity: .9; }
.hero__ring {
  position: absolute; top: -40px; right: -50px; width: 190px; height: 190px; border-radius: 50%;
  border: 1px solid var(--gold-400); opacity: .6; z-index: -1;
}
.hero__ring::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid var(--gold-400); opacity: .7; }

/* ==========================================================================
   7. Feature strip
   ========================================================================== */
.strip { background: var(--olive-800); color: var(--cream-200); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; align-items: center; gap: 18px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.1); }
.strip__item:last-child { border-right: 0; }
.strip__icon { width: 46px; height: 46px; flex: none; color: var(--gold-400); }
.strip__item h3 { font-size: 1.2rem; color: #fff; margin: 0 0 2px; }
.strip__item p { margin: 0; font-size: .88rem; opacity: .8; line-height: 1.45; }

/* ==========================================================================
   8. Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 30px 34px; display: flex; flex-direction: column; transition: all .45s var(--ease); overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--olive-500)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(145deg, var(--cream-100), var(--cream-300)); color: var(--olive-700);
  border: 1px solid var(--gold-200);
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card h3 a { color: inherit; }
.service-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; line-height: 1.65; }
.service-card__link {
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700);
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
}
.service-card__link::after { content: "→"; transition: transform .3s var(--ease); font-size: 1.1em; }
.service-card:hover .service-card__link::after { transform: translateX(6px); }
.service-card__price { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold-700); margin-bottom: 10px; }

/* ==========================================================================
   9. About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; max-width: 480px; }
.about__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 15%;
}
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold-500); border-radius: var(--radius-lg); z-index: -1;
}
.about__sign { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.about__sign strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--olive-800); font-weight: 500; line-height: 1.1; }
.about__sign span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); margin-top: 3px; }

/* ==========================================================================
   10. Technology
   ========================================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tech-card {
  padding: 38px 32px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); transition: all .4s var(--ease);
}
.tech-card:hover { background: rgba(255,255,255,.08); border-color: var(--gold-400); transform: translateY(-5px); }
.tech-card__brand { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; display: block; }
.tech-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.tech-card p { margin: 0; font-size: .97rem; color: var(--olive-200); }

/* ==========================================================================
   11. Testimonials
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial {
  background: #fff; border-radius: var(--radius-lg); padding: 42px 34px 34px; position: relative;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: "“"; position: absolute; top: 6px; left: 26px; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--gold-200);
}
.testimonial__stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 14px; position: relative; font-size: 1rem; }
.testimonial blockquote { margin: 0 0 24px; font-family: var(--font-head); font-size: 1.28rem; line-height: 1.5; color: var(--olive-800); font-style: italic; position: relative; }
.testimonial__author { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); font-weight: 500; }
.testimonial__author small { display: block; letter-spacing: .08em; text-transform: none; color: var(--ink-soft); font-size: .84rem; font-weight: 400; margin-top: 2px; }

/* ==========================================================================
   12. Process steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  border: 1px solid var(--gold-500); font-family: var(--font-head); font-size: 2rem; color: var(--gold-700); background: var(--cream-50);
  position: relative; z-index: 1;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 39px; left: calc(50% + 50px); width: calc(100% - 100px); height: 1px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 6px, transparent 6px 12px); }
.step h3 { font-size: 1.4rem; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   13. CTA band
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--olive-800), var(--olive-600));
  padding: clamp(70px, 8vw, 110px) 0;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(212,185,122,.4); pointer-events: none;
}
.cta-band::before { width: 420px; height: 420px; left: -120px; top: -160px; }
.cta-band::after { width: 520px; height: 520px; right: -160px; bottom: -260px; }
.cta-band h2 { color: #fff; max-width: 780px; margin-inline: auto; }
.cta-band p { max-width: 620px; margin: 0 auto 36px; color: var(--olive-100); font-size: 1.1rem; }
.cta-band .hero__actions { justify-content: center; margin: 0; }

/* ==========================================================================
   14. Contact block & map
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list__icon {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--olive-100); color: var(--olive-700); border: 1px solid var(--olive-200);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--olive-800); font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--ink-soft); font-size: 1rem; }
.contact-list a:hover { color: var(--gold-700); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); border: 6px solid #fff; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; }

/* ==========================================================================
   15. Page header, content, blog
   ========================================================================== */
.page-hero {
  text-align: center; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(195,162,90,.2), transparent 70%),
    linear-gradient(180deg, var(--cream-200), var(--cream-100));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero__lead { max-width: 640px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.1rem; }
.breadcrumbs { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumbs a { color: var(--gold-700); }
.breadcrumbs .sep { margin: 0 10px; opacity: .5; }

.content-area { padding: clamp(50px, 7vw, 90px) 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-lg); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px; }
.entry-content ul li::marker { color: var(--gold-600); }
.entry-content blockquote {
  margin: 2em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--gold-500);
  font-family: var(--font-head); font-size: 1.5rem; font-style: italic; color: var(--olive-800);
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.6em; font-size: .98rem; }
.entry-content th { background: var(--olive-800); color: #fff; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.entry-content th, .entry-content td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.entry-content tbody tr:nth-child(even) { background: var(--cream-50); }
.wp-block-image figcaption, .wp-caption-text { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 10px; }
.alignwide { width: min(100vw - 48px, 1100px); margin-inline: auto; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 28px 16px 0; }
.alignright { float: right; margin: 0 0 16px 28px; }
.aligncenter { margin-inline: auto; display: block; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 28px; }
.widget-title { font-size: 1.4rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--gold-200); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: all .4s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__thumb { aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-300); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
.post-card h2 { font-size: 1.55rem; }
.post-card h2 a { color: var(--olive-800); }
.post-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.entry-meta { font-size: .85rem; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 28px; }
.entry-thumb { margin-bottom: 40px; }
.entry-thumb img { border-radius: var(--radius-lg); width: 100%; }

.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.page-numbers {
  min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 50px; color: var(--olive-800); background: #fff; font-size: .92rem;
}
.page-numbers:hover { border-color: var(--gold-500); color: var(--gold-700); }
.page-numbers.current { background: var(--olive-700); border-color: var(--olive-700); color: #fff; }

/* Service single */
.service-single { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--olive-800); color: var(--cream-200); border-radius: var(--radius-lg); padding: 38px 32px; text-align: center; }
.aside-card h3 { color: #fff; font-size: 1.7rem; }
.aside-card p { font-size: .95rem; color: var(--olive-200); }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card__phone { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-400); margin: 8px 0 18px; }

/* Pricing */
.price-group { margin-bottom: 56px; }
.price-group > h2 { display: flex; align-items: center; gap: 18px; font-size: 2.1rem; }
.price-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--gold-200); }
.price-row { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row__name { font-size: 1.05rem; color: var(--olive-800); font-weight: 500; }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--gold-400); transform: translateY(-5px); }
.price-row__value { font-family: var(--font-head); font-size: 1.45rem; color: var(--gold-700); font-weight: 600; white-space: nowrap; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; padding: 15px 20px; font: inherit; font-size: .98rem; color: var(--ink);
  background: #fff; border: 1px solid var(--cream-300); border-radius: 12px; transition: all .25s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(195,162,90,.18); }
textarea { min-height: 150px; resize: vertical; }
label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 8px; font-weight: 500; }
input[type="submit"], button[type="submit"], .wpcf7-submit, .wpforms-submit {
  display: inline-flex; padding: 16px 40px; border: 0; border-radius: 50px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #fff;
  font: 500 .8rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; box-shadow: var(--shadow-gold); transition: all .35s var(--ease);
}
input[type="submit"]:hover, button[type="submit"]:hover { transform: translateY(-2px); }
.search-form { display: flex; gap: 10px; }
.search-form .search-field { flex: 1; }
.search-form .search-submit { padding: 0 24px; }

/* Comments */
.comments-area { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 20px; }
.comment-list .children { list-style: none; padding-left: 28px; }

/* 404 */
.error-404 { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.error-404__num { font-family: var(--font-head); font-size: clamp(7rem, 20vw, 14rem); line-height: 1; color: var(--gold-400); font-weight: 500; }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer { background: var(--olive-900); color: var(--olive-200); font-size: .96rem; }
.footer-main { padding: 90px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.site-footer h3 { color: #fff; font-size: 1.5rem; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 1px; background: var(--gold-500); }
.site-footer a { color: var(--olive-200); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-brand .social { margin-top: 24px; }
.footer-brand .social a { border: 1px solid rgba(255,255,255,.18); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--olive-800); color: var(--gold-400); box-shadow: var(--shadow-md); display: grid; place-items: center; z-index: 800;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }
.call-fab { display: none; }

/* ==========================================================================
   17. Reveal animation
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}

@media (max-width: 1024px) {
  /* backdrop-filter would turn the header into the containing block of the fixed drawer */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream-50); }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 90vw); background: var(--cream-50); padding: 100px 28px 40px;
    transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; z-index: 950; margin: 0;
  }
  .nav-open .main-nav { transform: none; box-shadow: -20px 0 50px rgba(0,0,0,.15); }
  .nav-open .nav-toggle { position: relative; z-index: 960; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: .86rem; }
  .main-nav > ul > li > a::after, .main-nav > ul > li.menu-item-has-children > a::before { display: none; }
  .main-nav > ul > li.menu-item-has-children > a { padding-right: 4px; }
  .main-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0;
    display: none; background: transparent;
  }
  .main-nav li.is-open > .sub-menu { display: flex; }
  .main-nav .sub-menu a { padding: 13px 4px; }
  .submenu-toggle {
    display: block; position: absolute; right: 0; top: 8px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; color: var(--gold-700);
  }
  .submenu-toggle::before { content: "+"; font-size: 1.5rem; line-height: 1; }
  .is-open > .submenu-toggle::before { content: "−"; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(42,50,25,.55); opacity: 0; visibility: hidden; transition: all .35s; z-index: 880; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .about__grid, .contact-grid, .layout-sidebar, .service-single { grid-template-columns: 1fr; }
  .hero__media { margin: 20px auto 0; max-width: 440px; }
  .hero__badge { left: 0; }
  .about__media { margin-inline: auto; }
  .about__media::before { inset: 16px -12px -16px 12px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .tech-grid, .testimonials, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .step:not(:last-child)::after { display: none; }
  .service-aside { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 76px; }
  .container, .container--narrow { width: min(100% - 36px, var(--container)); }
  .topbar__info .topbar__hours { display: none; }
  .site-branding img, .site-branding .custom-logo { height: 52px; }
  .site-title { font-size: 1.25rem; }
  .site-tagline { display: none; }
  .services-grid, .tech-grid, .testimonials, .posts-grid, .footer-grid, .steps { grid-template-columns: 1fr; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 24px 6px; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { position: static; margin: -30px 16px 0; max-width: none; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .price-row { flex-wrap: wrap; }
  .price-row__dots { display: none; }
  .price-row__value { margin-left: auto; }
  .footer-main { padding: 60px 0 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
  .to-top { bottom: 90px; right: 16px; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #fff; box-shadow: var(--shadow-gold); z-index: 850;
  }
  .call-fab svg { width: 24px; height: 24px; }
  .alignleft, .alignright { float: none; margin: 0 auto 20px; display: block; }
}

@media print {
  .topbar, .site-header, .site-footer, .to-top, .call-fab, .cta-band { display: none; }
}

/* Responsive refinement for phone and tablet */
@media(max-width:767px){.header-cta{white-space:nowrap;font-size:13px;padding:10px 12px}.hero .btn{max-width:100%;min-height:44px}.site-header .container{gap:10px}.section{overflow-wrap:anywhere}img{max-width:100%;height:auto}}
@media(min-width:768px) and (max-width:1024px){.site-header .container{gap:12px}.header-cta{white-space:nowrap}}

/* OZANA MEDCENTER - PROGRAM DE LUCRU */
.ozana-contact-program,
.ozana-contact-program p {
  white-space: pre-line;
}
