/* ===== Reset minim + container ===== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;color:#0a2342;background:#f6f9fc}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* ===== Top bar & nav pe toată lățimea ===== */
.phx-top{background:#fff;box-shadow:0 2px 16px rgba(2,13,40,.06);position:sticky;top:0;z-index:10050}
.phx-topbar{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:10px 16px;font-size:18px;color:#0a2342}
.phx-topbar a{color:#0a2342;text-decoration:none}
.phx-topitem strong{display:block;font-weight:800}

.phx-nav{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.phx-brand img{height:42px;width:auto;display:block}
.phx-menu{display:flex;flex-wrap:wrap;gap:18px;align-items:center;list-style:none;margin:0;padding:0}
.phx-menu a{color:#0a2342;text-decoration:none;font-weight:700}
.btn-solid{background:#d33a2c;color:#fff;padding:10px 14px;border-radius:12px;text-decoration:none;display:inline-block;box-shadow:0 4px 12px rgba(211,58,44,.25)}
.btn-outline{border:2px solid #fff;color:#fff;padding:10px 16px;border-radius:12px;font-weight:800;text-decoration:none;display:inline-block}
.btn-outline:hover{background:#fff;color:#0a2342}

/* ===== Hero (gradient inversat) ===== */
.phx-hero{position:relative;background:#0a2342}
.phx-hero:before{
  content:"";position:absolute;inset:0;
  /* alb sub logo, mai închis sub text */
  background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.70) 28%, rgba(10,35,66,.10) 60%, rgba(10,35,66,.72) 100%);
}
.phx-hero-inner{position:relative;display:grid;grid-template-columns:360px 1fr;gap:36px;min-height:560px;align-items:center}
.phx-hero-copy{color:#fff;max-width:780px}
.phx-title-red{color:#e44436;margin:8px 0 12px;font-size:40px;line-height:1.15}
.phx-title-white{color:#fff}
.phx-blue-strong{color:#b7d1ff;font-weight:700}
.kicker{letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#b7d1ff;margin:0}

.cta-row{display:flex;gap:12px;margin-top:12px}

/* Logo în Hero – rotund & neturtit */
.phx-logo{width:340px;height:340px;border-radius:50%;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 40px rgba(0,0,0,.18)}
.phx-logo img{width:100%;height:100%;object-fit:contain}

/* ===== Carduri (Sectiunea 2) ===== */
.phx-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px auto}
.phx-card{position:relative;min-height:320px;border-radius:14px;overflow:hidden}
.phx-card .img{position:absolute;inset:0;background-size:cover;background-position:center}
.phx-card .overlay{position:absolute;inset:0;background:linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25))}
.phx-card .content{position:relative;z-index:2;padding:20px;color:#fff;height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}
.phx-card h3{font-size:26px;margin:0 0 2px}
.phx-card .link{color:#fff;font-weight:800;text-decoration:underline}

/* ===== Despre (Sectiunea 3) ===== */
.phx-about{display:grid;grid-template-columns:520px 1fr;gap:28px;align-items:center;margin:40px auto;background:#eaf2f8;border-radius:18px;padding:26px 24px;box-shadow:0 10px 30px rgba(2,13,40,.06)}
.phx-about img{max-width:100%;border-radius:16px;box-shadow:0 10px 30px rgba(2,13,40,.15)}
.phx-about h2{font-size:42px;line-height:1.2;margin:0 0 10px;color:#0a2342}
.phx-about p{color:#2b3e5c}

/* ===== Video (Sectiunea 4) ===== */
.phx-video .container{padding:20px 0}
.hero-video{width:100%;border-radius:16px;box-shadow:0 10px 30px rgba(2,13,40,.15)}

/* ===== Footer ===== */
.phx-footer{padding:20px 0 60px;color:#5d6f8a}

/* ===== Formulare (pentru contact.html) ===== */
.phx-form{max-width:760px;margin:16px 0;display:grid;gap:14px}
.phx-form label{display:grid;gap:6px;color:#0a2342;font-weight:700}
.phx-form input,.phx-form textarea{padding:12px 14px;border:1px solid #dbe6f5;border-radius:12px;background:#fff;outline:none}
.phx-form input:focus,.phx-form textarea:focus{border-color:#8ab4ff;box-shadow:0 0 0 3px rgba(138,180,255,.25)}

/* ===== Responsive ===== */
@media (max-width: 1200px){
  .phx-hero-inner{grid-template-columns:300px 1fr}
  .phx-logo{width:300px;height:300px}
}
@media (max-width: 960px){
  .phx-topbar{grid-template-columns:1fr 1fr}
  .phx-hero-inner{grid-template-columns:1fr;gap:18px;padding:26px 0}
  .phx-logo{width:220px;height:220px;margin:0 auto}
  .phx-title-red{font-size:32px}
  .phx-about{grid-template-columns:1fr}
  .phx-cards{grid-template-columns:1fr}
}

/* ===== Secțiunea 4 – Split video + imagine ===== */
.phx-video-split .container.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:center;
  padding:20px 16px;
}

/* Cadru video cu raport 16:9, fără bare negre (cover) */
.vframe{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(2,13,40,.15);
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;          /* elimină „negrul”/barele */
  background:#eaf2f8;        /* fallback plăcut până pornește */
}

/* Imaginea din dreapta + animație fină */
.ibox img{
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(2,13,40,.15);
}
.floaty{
  animation:floaty 6s ease-in-out infinite alternate;
  will-change:transform;
}
@keyframes floaty{
  from{ transform:translateY(0) }
  to  { transform:translateY(-6px) }
}

/* Responsive */
@media (max-width: 960px){
  .phx-video-split .container.grid{ grid-template-columns:1fr }
}

/* ===== Contact page ===== */
.phx-contact .container{max-width:1200px;margin:0 auto;padding:0 16px}
.phx-topbar{background:#f7fbff;border-bottom:1px solid #e7eef7}
.phx-topbar-inner{display:flex;align-items:center;gap:24px;padding:10px 0}
.phx-topbar .brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.phx-topbar .brand img{width:46px;height:46px;object-fit:cover;border-radius:50%}
.phx-topbar .brand-txt{line-height:1.05}
.phx-topbar .brand-txt strong{color:#0a2342;font-size:14px;letter-spacing:.12em}
.phx-topbar .brand-txt span{color:#0a2342;font-weight:700;font-size:12px;letter-spacing:.06em}

.phx-topbar .top-info{display:flex;align-items:center;gap:20px;margin-left:auto;flex-wrap:wrap}
.phx-topbar .item{min-width:200px}
.phx-topbar .lbl{font-size:12px;font-weight:800;letter-spacing:.08em;color:#0b3768}
.phx-topbar .val{font-weight:800;color:#d33a2c;text-decoration:none}
.phx-topbar .btn-solid.big{padding:10px 16px;border-radius:12px}

.phx-nav{background:#0b2140}
.phx-nav .nav-inner{display:flex;align-items:center;height:48px}
.phx-nav .nav-list{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.phx-nav a{color:#fff;text-decoration:none;font-weight:700;opacity:.95}
.phx-nav li.active a,.phx-nav a:hover{opacity:1;text-decoration:underline}

.phx-hero-mini{background:linear-gradient(90deg,#f0f5fb,#e8eef7 45%,#e8eef700);padding:28px 0;margin-bottom:8px}
.phx-hero-mini h1{margin:0 0 8px 0;color:#0a2342}
.phx-hero-mini .btn-solid{background:#d33a2c;color:#fff}

.phx-contacts .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}
.phx-contacts .card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(2,13,40,.08)}
.phx-contacts h3{margin:0 0 8px 0;color:#0a2342}
.phx-contacts a{color:#0a2342;text-decoration:underline;font-weight:700}

.phx-contacts .socials{margin:12px 0 8px}
.phx-contacts .socials ul{display:flex;gap:14px;flex-wrap:wrap;padding:0;margin:8px 0 0;list-style:none}
.phx-contacts .socials a{display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;color:#0a2342;background:#fff;padding:10px 12px;border-radius:12px;box-shadow:0 8px 24px rgba(2,13,40,.08)}
.phx-contacts .ico{width:18px;height:18px;fill:#0a2342}

.phx-form-map{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start;margin:8px 0 40px}
.phx-form-map .form-wrap,.phx-form-map .map-wrap{background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(2,13,40,.1)}
.phx-form-map .form-wrap{padding:18px}
.phx-form-map h2{margin:0 0 10px 0;color:#0a2342}
.phx-form label{font-weight:800;color:#0a2342;margin-top:8px;display:block}
.phx-form input,.phx-form textarea{width:100%;border:1px solid #dde6f2;border-radius:12px;padding:10px 12px;margin-top:6px}
.phx-form button.btn-solid{margin-top:12px;background:#d33a2c;color:#fff;border-radius:12px;padding:12px 18px}

.phx-form-map .map-wrap{padding:10px}
.phx-form-map iframe{width:100%;height:420px;border:0;border-radius:12px}

@media (max-width: 1000px){
  .phx-topbar .top-info{gap:12px}
  .phx-contacts .cards{grid-template-columns:1fr 1fr}
  .phx-form-map{grid-template-columns:1fr;gap:16px}
}
@media (max-width: 640px){
  .phx-contacts .cards{grid-template-columns:1fr}
}
.phx-map,
.map-wrap { position: relative; }

.phx-map-cover{
  position:absolute; inset:0;
  display:block;
  text-indent:-9999px;           /* ascunde textul */
  background:transparent;        /* invizibil */
  z-index:3;                     /* peste iframe */
}

/* ========== NAVIGATION DROPDOWN ========== */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #0a2239;
  font-weight: 600;
  padding: 10px 8px;
  display: block;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #c0392b;
}

/* Submeniuri */
/* ====== DROPDOWN MENU COLOR UPDATE ====== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff8e1; /* galben deschis, cald */
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  padding: 10px 0;
  z-index: 999;
  min-width: 280px;
  border: 1px solid #f2c94c; /* contur subtil galben */
}

/* textul linkurilor */
.dropdown-menu li a {
  padding: 10px 18px;
  color: #0a2239; /* albastru închis - text clar */
  font-weight: 500;
  display: block;
  transition: all 0.3s ease;
}

/* efect hover */
.dropdown-menu li a:hover {
  background: #f2c94c; /* galben accent */
  color: #fff; /* text alb când e hover */
  border-radius: 6px;
}

/* deschidere dropdown */
.dropdown:hover > .dropdown-menu {
  display: block;
  animation: dropdownFade 0.25s ease-in-out;
}

/* mic efect la deschidere */
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== VIDEO PROGRAM – CABINET ==== */

.phx-program-video {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.phx-program-video video {
  width: 100%;
  max-width: 720px;      /* îl limitează ca mărime */
  aspect-ratio: 16 / 9;  /* păstrăm 16:9 */
  object-fit: cover;     /* taie negrul de sus/jos dacă e în cadru */
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  display: block;
}

/* ===== HERO – HRĂNIRE, NU PEDEPSIRE ===== */

.phx-hero-hranire {
  position: relative;
  padding: 5rem 0 4rem;
  color: #ffffff;
  background:
    linear-gradient(115deg, #fef7f6 0%, #f4c9c0 35%, #0b2340 100%);
  overflow: hidden;
}

.phx-hero-hranire .phx-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.55), transparent 55%);
  pointer-events: none;
}

.phx-hero-hranire .phx-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.phx-hero-hranire .phx-hero-text {
  flex: 1.1;
  max-width: 640px;
}

.phx-hero-hranire .phx-hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.phx-hero-hranire .phx-hero-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ffe7dc;
}

.phx-hero-hranire .phx-hero-text h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.phx-hero-hranire .phx-hero-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.phx-hero-hranire .phx-hero-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.phx-hero-hranire .phx-hero-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 1.8rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

/* responsive */
@media (max-width: 960px) {
  .phx-hero-hranire {
    padding: 3.5rem 0 3rem;
  }

  .phx-hero-hranire .phx-hero-grid {
    flex-direction: column-reverse;
    text-align: left;
  }

  .phx-hero-hranire .phx-hero-image img {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .phx-hero-hranire .phx-hero-text h1 {
    font-size: 2.1rem;
  }

  .phx-hero-hranire .phx-hero-subtitle {
    font-size: 1.2rem;
  }
}

/* ===== NAV PRINCIPAL – DROPDOWN CORECT ===== */

/* elementele de nivel 1 (Despre noi, Servicii, Programe, Produse etc.) */
.phx-menu > li{
  position:relative;
}

/* link-ul principal din meniu */
.phx-menu > li > a{
  padding:8px 4px;
  display:block;
}

/* mic triunghi după elementele cu submenu */
.has-dropdown > a::after{
  content:"▾";
  margin-left:4px;
  font-size:.7em;
}

/* lista din dropdown (submeniul galben) */
.phx-dropdown{
  position:absolute;
  top:100%;
  left:0;
  margin:0;
  padding:8px 0;
  list-style:none;
  background:#fff8e1;                 /* galben cald */
  border-radius:10px;
  box-shadow:0 6px 16px rgba(0,0,0,.15);
  border:1px solid #f2c94c;           /* contur subtil galben */
  min-width:260px;
  display:none;                       /* cheie: ascuns implicit */
  z-index:9999;
}

/* linkurile din dropdown */
.phx-dropdown li a{
  padding:8px 16px;
  white-space:nowrap;
  color:#0a2342;
  font-weight:500;
}

/* hover în dropdown */
.phx-dropdown li a:hover{
  background:#f2c94c;
  color:#fff;
  border-radius:6px;
}

/* afișare dropdown la hover pe li-ul principal */
.has-dropdown:hover > .phx-dropdown{
  display:block;
}

/* ===== DESPRE NOI – CINE SUNTEM ===== */

.about-hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(5,20,45,0.90) 0%, rgba(5,20,45,0.70) 30%, rgba(5,20,45,0.35) 55%, rgba(10,35,66,0.15) 75%, rgba(25,15,10,0.90) 100%),
    url("assets/despre-teaser.jpg") center/cover no-repeat;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.28), transparent 55%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.about-hero-kicker {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 800;
  color: #c7d9ff;
  margin: 0 0 .75rem;
  font-size: .9rem;
}

.about-hero h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}

.about-hero p {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-hero .btn-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* layout text + card foto+logo */

.about-main {
  padding: 3.5rem 0 3rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.about-layout h2 {
  margin-top: 0;
  color: #0a2342;
}

.about-layout h3 {
  margin-top: 2rem;
  margin-bottom: .4rem;
  color: #0a2342;
}

.about-layout p {
  margin: .4rem 0 .6rem;
  color: #223552;
}

.about-layout ul {
  padding-left: 1.2rem;
  margin: .3rem 0 1rem;
}

.about-layout li {
  margin-bottom: .25rem;
}

/* card lateral */

.about-card {
  background: #f3f6fc;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(2,13,40,.12);
  text-align: center;
}

.about-card-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.about-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-logo {
  width: 120px;
  margin: 10px auto 4px;
}

.about-card h3 {
  margin-top: .5rem;
  margin-bottom: .35rem;
}

.about-card p {
  font-size: .92rem;
  color: #314361;
}

.about-card .tagline {
  font-weight: 700;
  color: #d33a2c;
  margin-top: .4rem;
}

/* secțiuni intermediare + CTA */

.about-section {
  padding: 2.5rem 0;
}

.about-section:nth-of-type(odd) {
  background: #f7fbff;
}

.about-section h2 {
  color: #0a2342;
  margin-top: 0;
}

.about-section p {
  color: #223552;
}

.about-list-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 32px;
  padding-left: 1.2rem;
}

.about-cta {
  text-align: center;
}

.about-cta p {
  max-width: 720px;
  margin: .4rem auto 1.3rem;
}

.about-cta .btn-row {
  justify-content: center;
  margin-top: 1rem;
}

/* final poetic */

.about-final {
  text-align: left;
  max-width: 900px;
}

.about-final p {
  font-size: 1.02rem;
  line-height: 1.9;
}

/* secțiuni ancoră simple pentru Galerie / Media */

.about-anchor-section {
  padding: 2.8rem 0 2.4rem;
}

.about-anchor-section h2 {
  margin-top: 0;
  color: #0a2342;
}

/* text SEO invizibil vizual */

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* responsive */

@media (max-width: 960px) {
  .about-hero {
    padding: 3.6rem 0 2.8rem;
  }
  .about-hero h1 {
    font-size: 2.0rem;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero h1 {
    font-size: 1.8rem;
  }
}

/* ===== SERVICII – HERO & LAYOUT ===== */

.phx-service-hero {
  position: relative;
  padding: 72px 0 64px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(227,83,65,0.25), transparent 55%),
    linear-gradient(135deg, #0a2342 0%, #0b2240 40%, #1b3b6b 100%);
}

.phx-service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-size: cover;
  background-position: center;
  /* schimbă cu numele real al imaginii de teaser */
  background-image: url("assets/teaser_poveste.jpg");
}

.phx-service-hero .inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.phx-service-hero h1 {
  font-size: 40px;
  margin-bottom: 14px;
}

.phx-service-hero p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
}

.phx-service-hero .kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 800;
  color: #ffddc5;
  margin-bottom: 10px;
}

/* ===== CARD FOTO + LOGO ===== */

.phx-service-header {
  background: #f3f7fc;
  padding: 40px 0 34px;
}

.phx-service-header .grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.phx-profile-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px 22px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(2,13,40,0.16);
}

.phx-profile-card .avatar-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 14px 36px rgba(2,13,40,0.20);
}

.phx-profile-card .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phx-profile-card h2 {
  margin: 6px 0 4px;
  font-size: 24px;
  color: #0a2342;
}

.phx-profile-card .role {
  color: #d33a2c;
  font-weight: 800;
  margin-bottom: 10px;
}

.phx-profile-card p {
  margin: 0 0 10px;
  color: #2b3e5c;
  font-size: 14px;
}

.phx-profile-card .logo-wrap {
  margin: 10px auto 14px;
}

.phx-profile-card .logo-wrap img {
  max-width: 160px;
  height: auto;
}

.phx-profile-card .subtitle {
  font-weight: 700;
  color: #0a2342;
  margin-bottom: 8px;
}

.phx-profile-card .btn-solid {
  margin-top: 8px;
  display: inline-block;
}

/* ===== SECȚIUNI SERVICII ===== */

.phx-service-section {
  padding: 40px 0 36px;
}

.phx-service-section:nth-of-type(odd) {
  background: #ffffff;
}

.phx-service-section:nth-of-type(even) {
  background: #f7fbff;
}

.phx-service-section .container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.phx-service-section h2 {
  font-size: 30px;
  margin-bottom: 8px;
  color: #0a2342;
}

.phx-service-section h3 {
  font-size: 20px;
  margin: 26px 0 6px;
  color: #0b2140;
}

.phx-service-section p {
  margin: 8px 0;
  color: #2b3e5c;
}

.phx-service-section ul {
  margin: 6px 0 10px 1.2rem;
  padding: 0;
  color: #2b3e5c;
}

.phx-service-section li {
  margin-bottom: 4px;
}

/* butoane în text */

.phx-service-cta {
  margin: 22px 0 6px;
}

.phx-service-cta .btn-solid {
  background: #d33a2c;
  padding-inline: 22px;
}

.phx-service-cta .btn-outline-dark {
  border-radius: 12px;
  padding: 10px 18px;
  border: 2px solid #0a2342;
  font-weight: 700;
  text-decoration: none;
  color: #0a2342;
  margin-left: 8px;
}

.phx-service-cta .btn-outline-dark:hover {
  background: #0a2342;
  color: #ffffff;
}

/* text SEO ascuns */

.phx-seo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .phx-service-header .grid {
    grid-template-columns: 1fr;
  }

  .phx-service-hero {
    padding: 60px 0 46px;
  }

  .phx-service-hero h1 {
    font-size: 32px;
  }

  .phx-profile-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .phx-service-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .phx-service-cta .btn-outline-dark {
    margin-left: 0;
  }
}

/* ===== PAGINI SERVICII – TIPOGRAFIE MAI MARE ===== */

.page-servicii,
.page-serviciu {
  font-size: 18px;        /* aproximativ +2 față de 16px */
  line-height: 1.7;
}

/* Paragrafe și liste mai lizibile în paginile de servicii */
.page-servicii p,
.page-servicii li,
.page-serviciu p,
.page-serviciu li {
  font-size: 18px;
}

/* Titluri mai mari */
.page-servicii h1,
.page-serviciu h1 {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
}

.page-servicii h2,
.page-serviciu h2 {
  font-size: 2.1rem;
  font-weight: 700;
}

.page-servicii h3,
.page-serviciu h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

/* ===== HERO – PAGINA SERVICII (TEXT CENTRAT, MAI MARE, BOLD) ===== */

.phx-service-hero.phx-service-hero--centered {
  text-align: center;
}

.phx-service-hero.phx-service-hero--centered .inner {
  max-width: 900px;
  margin: 0 auto;
}

.phx-service-hero.phx-service-hero--centered .kicker {
  font-size: 1.1rem;
  font-weight: 600;
}

.phx-service-hero.phx-service-hero--centered h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phx-service-hero.phx-service-hero--centered p {
  font-size: 1.15rem;
  font-weight: 500;
}

/* ===== HERO VARIANTA B – PAGINĂ INDIVIDUALĂ SERVICIU ===== */

.phx-profile-hero {
  padding: 4rem 1rem 3rem;
  background: linear-gradient(135deg, #0c2640, #122b4b);
  color: #fff;
}

.phx-profile-hero .inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  color: #163451;
  border-radius: 24px;
  padding: 3rem 2rem 2.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.phx-profile-hero .avatar-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #f2613c;
}

.phx-profile-hero .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phx-profile-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.phx-profile-hero .role {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f2613c;
  margin-bottom: 1rem;
}

.phx-profile-hero .subtitle {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.phx-profile-hero .logo-wrap {
  width: 120px;
  margin: 0.5rem auto 0.75rem;
}

.phx-profile-hero .logo-wrap img {
  width: 100%;
  height: auto;
}

.phx-profile-hero .tagline {
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.phx-profile-hero .btn-solid {
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
}

/* ===== OUTRO: „ÎN LOC DE ÎNCHEIERE” ===== */

.phx-outro {
  text-align: center;
  margin-top: 2.5rem;
}

.phx-outro p {
  font-size: 1.1rem;
  font-weight: 700;   /* tot textul bold */
  margin-bottom: 0.6rem;
}

/* === PATCH: Pagina Servicii – text mai mare + centrat === */

/* HERO – textul mare de sus */
.phx-service-hero {
  text-align: center;
}

.phx-service-hero .inner {
  max-width: 900px;
  margin: 0 auto;
}

.phx-service-hero h1 {
  font-size: 2.6rem;     /* mai mare, bold */
  font-weight: 700;
  margin-bottom: 1rem;
}

.phx-service-hero p {
  font-size: 1.15rem;    /* puțin mai mare decât restul textului */
  font-weight: 500;
  margin: 0 auto;
}

/* CARDUL CU POZA + TEXTELE „Psihoterapie...” și „Un loc în care...” */
.phx-profile-card p,
.phx-profile-card .subtitle {
  font-size: 1.05rem;
  text-align: center;
}

/* Textul din secțiunile de servicii – puțin mai mare pentru lizibilitate */
.phx-service-section p,
.phx-service-section li {
  font-size: 1.05rem;
}

/* OUTRO – „În loc de încheiere” + mesajul în bold */
.phx-outro h3 {
  text-align: center;
  font-weight: 700;
}

.phx-outro p {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.phx-media-video {
  width: 100%;
  max-width: 900px;     /* mai mare decât acum */
  margin: 2rem auto;
  display: block;
  border-radius: 20px;
  overflow: visible !important; /* esențial ca să nu mai taie cadrul */
}

.phx-media-video video {
  width: 100%;
  height: auto !important;
  object-fit: contain !important; /* afișează tot cadrul, fără tăiere */
  background: #000; /* opțional, arată mai bine */
}

.media-main-video video{
  width:100%;
  max-width:460px;       /* cât ocupă natural un video vertical */
  height:auto !important;
  border-radius:24px;
  background:#fff;        /* elimină benzile negre */
  object-fit:contain !important;
  display:block;
  margin:auto;
}

/* ========================================================= */
/* ======  CONTAINER NARROW GLOBAL – SERVICII + TARIFE  ===== */
/* ========================================================= */

.container-narrow{
  max-width:920px;
  margin:0 auto;
  padding:0 16px;
}

/* ========================================================= */
/* ===============  PAGINA TARIFE – STILURI  =============== */
/* ========================================================= */

body.page-tarife{
  background:#0b1c34;
}

.tarife-hero{
  margin:40px auto 32px;
}

/* folosim structura existentă phx-profile-hero ca la "Psihoterapie individuală" */
.tarife-hero .phx-profile-hero .inner{
  max-width:920px;
}

.tarife-hero .phx-profile-hero h1{
  font-size:2.4rem;
}

.tarife-hero .phx-profile-hero .subtitle{
  max-width:640px;
  margin:0 auto .5rem;
}

.tarife-hero .phx-profile-hero .tagline{
  max-width:620px;
  margin:.25rem auto 1.4rem;
}

/* ===== SECTIUNI TARIFE ===== */

.tarife-main{
  background:#f5f8fc;
  padding:0 0 3rem;
}

/* spațiu standard între secțiuni */
.tarife-section{
  padding:3rem 0;
}

/* prima secțiune – o coborâm puțin mai jos, ca să respire sub HERO */
.tarife-main .tarife-section:first-of-type{
  padding-top:4.5rem;
}

.tarife-section h2{
  font-size:1.8rem;
  margin-bottom:.75rem;
  color:#0a2342;
}

.tarife-section h3{
  font-size:1.2rem;
  margin-top:1.5rem;
  margin-bottom:.4rem;
  color:#e6493b;
}

.tarife-section p{
  margin:.25rem 0 .75rem;
  color:#24334b;
}

.tarife-highlight{
  font-size:1.05rem;
  font-weight:600;
  color:#0a2342;
}

.tarife-pill{
  display:inline-block;
  background:#ffe9e3;
  color:#c53d30;
  padding:6px 14px;
  border-radius:999px;
  font-size:.95rem;
  margin-bottom:.75rem;
}

/* benzi alternative de culoare */
.tarife-alt-1{background:#ffffff;}
.tarife-alt-2{background:#fdf4ee;}
.tarife-alt-3{background:#eef6ff;}

.tarife-box{
  border-radius:18px;
  padding:1.5rem 1.6rem;
  background:#ffffff;
  box-shadow:0 12px 28px rgba(12,46,79,0.08);
  margin-bottom:1.5rem;
}

.tarife-box h3{
  margin-top:0;
}

.tarife-price{
  font-weight:700;
  font-size:1.15rem;
  color:#0a2342;
  margin-bottom:.3rem;
}

/* liste cu iconițe delicate */
.tarife-list,
.tarife-list-compact{
  list-style:none;
  padding:0;
  margin:.4rem 0 .6rem;
}

.tarife-list li,
.tarife-list-compact li{
  position:relative;
  padding-left:1.6rem;
  margin-bottom:.35rem;
  color:#24334b;
}

.tarife-list li::before,
.tarife-list-compact li::before{
  content:"";
  position:absolute;
  left:.3rem;
  top:.7rem;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#e6493b;
  opacity:.85;
}

.tarife-list-compact li{
  margin-bottom:.2rem;
}

/* box politicile de plată */
.tarife-rules{
  border-left:4px solid #e6493b;
  padding-left:1.2rem;
  margin-top:.6rem;
}

.tarife-note{
  font-size:.95rem;
  color:#5a6b86;
  margin-top:.3rem;
}

.tarife-message{
  max-width:720px;
  text-align:left;
}

.tarife-message p{
  font-size:1.05rem;
  line-height:1.8;
}

.tarife-message strong{
  color:#0a2342;
}

.tarife-message em{
  color:#c53d30;
  font-style:normal;
  font-weight:600;
}

.tarife-message-footer{
  margin-top:1.4rem;
  font-weight:500;
  color:#0a2342;
}

.tarife-cta-center{
  text-align:center;
  margin-top:1.8rem;
}

/* ===== RESPONSIVE TARIFE ===== */

@media (max-width:900px){
  .tarife-message{max-width:100%;}
}

@media (max-width:768px){
  .tarife-section{
    padding:2.3rem 0;
  }
  .tarife-section h2{
    font-size:1.6rem;
  }
  .tarife-section p,
  .tarife-list li,
  .tarife-list-compact li{
    font-size:1.02rem;
    line-height:1.7;
  }
  .tarife-box{
    padding:1.25rem 1.2rem;
  }
}

@media (max-width:480px){
  .tarife-section h2{
    font-size:1.4rem;
  }
  .tarife-section h3{
    font-size:1.05rem;
  }
  .tarife-message p{
    font-size:1.02rem;
  }
}
