/* ===============================
      Arcada Sănătății – Style CSS
   Elegant Classic: Timeless & Modern
   Responsive, Flexbox Only, No Grid
   =============================== */

/* --- CSS RESET & BASELINE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #184152;
  background: #FAFAFA;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol { margin: 0; padding: 0 0 0 1.1em; }
a { text-decoration: none; color: #184152; transition: color 0.2s; }
a:hover, a:focus { color: #399144; }
button { background: none; border: none; cursor: pointer; font: inherit; }


/* --- CUSTOM PROPERTIES --- */
:root {
  --primary: #184152;
  --primary-dark: #11303b;
  --secondary: #F1F7F8;
  --secondary-alt: #ffffff;
  --accent: #399144;
  --accent-dark: #2e6e34;
  --muted: #E5EAEA;
  --border: #CEDEDE;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 22px 0 rgba(27,57,67,.07);
  --overlay: rgba(24, 65, 82, 0.92);
  --transition: 0.28s cubic-bezier(.5, .15, .39, 1.18);
  --radius: 12px;
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.16;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.30rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}
strong { font-weight: 700; color: var(--primary); }
p, li, blockquote {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #27435b;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.17rem;
  font-style: italic;
  color: #2e382e;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  background: var(--secondary);
  border-left: 3px solid var(--accent);
  margin: 0 0 16px 0;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}


/* --- CONTAINER --- */
.container {
  max-width: 1080px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
}


/* --- HEADER AND NAV --- */
header {
  background: var(--secondary-alt);
  box-shadow: 0 1px 10px 0 rgba(24,65,82,0.08);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  min-height: 60px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.04rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 1.05rem;
  background: none;
  cursor: pointer;
  box-shadow: 0 2px 22px 0 rgba(27,57,67,0.10);
  text-decoration: none;
  outline: none;
  border: 2.5px solid transparent;
  min-width: 160px;
  min-height: 43px;
  padding: 10px 24px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* --- BURGER MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  margin-left: 20px;
  z-index: 1155;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--muted);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--overlay);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.5, .15, .39, 1.18);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  font-size: 2.25rem;
  color: #fff;
  background: none;
  border-radius: 3px;
  padding: 4px 14px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--muted);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.19rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color 0.16s, text-decoration 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #d7fad7;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 10px;
  }
  header .container {
    min-height: 54px;
    height: 60px;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(135deg, #f5f9fa 60%, #ecf5f4 100%);
  border-bottom: 1.5px solid var(--border);
  padding: 0;
  min-height: 210px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.hero-section .container {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 0 34px 0;
  gap: 10px;
}
@media (max-width: 900px) {
  .hero-section .container {
    min-height: 200px;
  }
}
@media (max-width: 670px) {
  .hero-section .content-wrapper {
    padding: 26px 0 18px 0;
  }
  .hero-section .container {
    min-height: 140px;
  }
}

/* --- SECTION SPACING & FLEX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 900px) {
  .section {
    padding: 30px 4px;
    margin-bottom: 44px;
  }
  .content-wrapper {
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  min-height: 180px;
}
.card:not(:last-child) {
  margin-right: 0;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FBFB;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 1px 14px 0 rgba(24,65,82,0.10);
  position: relative;
  flex: 1 1 350px;
  max-width: 650px;
  min-width: 210px;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
  font-size: 1.11rem;
  color: #1A232b;
}
.testimonial-meta {
  font-size: 0.97rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 900px) {
  .content-grid, .card-container, .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    padding: 14px 12px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
  list-style: none;
  margin: 0 0 16px 0;
  justify-content: flex-start;
}
.feature-grid li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 1px 12px 0 rgba(24,65,82,0.08);
  padding: 22px 18px 14px 18px;
  margin: 0;
  min-width: 235px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1.5px solid var(--muted);
  transition: box-shadow 0.18s, border-color 0.20s;
}
.feature-grid li img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 6px 16px 0 rgba(57,145,68,0.09), var(--shadow);
  border-color: var(--accent);
}

/* --- SERVICE LIST --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}
.service-list li {
  background: #FAFAFA;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px 20px 14px 20px;
  margin-bottom: 0;
  min-width: 220px;
  flex: 1 1 284px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 1px 9px 0 rgba(24,65,82,0.07);
  position: relative;
  transition: box-shadow 0.22s;
}
.service-list li:hover, .service-list li:focus {
  box-shadow: 0 3px 12px 0 rgba(72,167,92,0.10), var(--shadow);
  border-color: var(--accent);
}
.service-price {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.12rem;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 7px;
  margin-top: 10px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li {
    min-width: 0;
    width: 100%;
  }
}

/* --- TEXT & HIGHLIGHTED BLOCKS --- */
.text-section, .founder-highlight, .brand-story, .approach-description, .custom-plan-highlight,
.therapist-profiles, .program-steps, .support-pathways, .session-overview, .workshop-highlights, .training-approach, .success-stories, .approach-explanation {
  border-radius: var(--radius);
  background: #F5F9FA;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-left: 4.5px solid var(--primary);
  box-shadow: 0 0.5px 12px 0 rgba(24,65,82,0.05);
}
.founder-highlight, .custom-plan-highlight, .session-overview, .workshop-highlights {
  border-left: 4.5px solid var(--accent);
  background: #F6FBF8;
}

/* --- FOOTER --- */
footer {
  background: var(--secondary-alt);
  border-top: 1.5px solid var(--border);
  padding: 42px 0 0 0;
  margin-top: 60px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid var(--muted);
  padding-bottom: 24px;
}
.footer-logo img {
  width: 70px;
  height: 70px;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
}
.footer-nav a {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--accent);}
.social-media-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
}
.social-media-icons img { width: 27px; transition: filter 0.18s; filter: grayscale(0.1); }
.social-media-icons img:hover, .social-media-icons img:focus { filter: grayscale(0) brightness(1.05); }
.newsletter-signup {
  margin: 18px 0 8px 0;
  background: #F5F9FA;
  border-radius: var(--radius);
  padding: 27px 26px 18px 26px;
  text-align: left;
  max-width: 480px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0 0;
  min-height: 44px;
  color: #4A6678;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .newsletter-signup {
    width: 100%;
    padding: 20px 8px 14px 12px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 28px 0 0 0;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  .social-media-icons {
    gap: 8px;
  }
}

/* --- OL/UL --- */
ol, ul {
  margin-bottom: 18px;
  font-size: 1rem;
}
ul {
  list-style: disc inside;
  padding-left: 1.2em;
}
ol {
  list-style: decimal inside;
  padding-left: 1.2em;
}
li {
  margin-bottom: 9px;
}

/* --- FORM CONTROLS (if any) --- */
input, textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: #fff;
  color: var(--primary);
  font-size: 1.02rem;
  margin-bottom: 14px;
  box-sizing: border-box;
  width: 100%;
  transition: border-color .19s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* --- TRANSITION & HOVER EFFECTS --- */
.card, .feature-grid li, .service-list li, .btn, .testimonial-card {
  transition: box-shadow 0.19s, border-color 0.18s, background 0.16s, color 0.17s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .testimonial-card:hover {
  box-shadow: 0 10px 24px 0 rgba(57, 145, 68, 0.10), var(--shadow);
}

.btn:active {
  transform: scale(.97);
}

/* --- MISC --- */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 34px 0 34px 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  font-size: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.table th, .table td {
  border: 1px solid var(--border);
  padding: 10px 16px;
  text-align: left;
}
.table th {
  background: var(--secondary);
  font-weight: 700;
}

/* --- Z-INDEX and OVERLAY for MODALS/MENUS --- */
.mobile-menu, .cookie-banner, .cookie-modal { z-index: 1200 !important; }

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2.5px solid var(--accent);
  box-shadow: 0 -2px 22px 0 rgba(24,65,82,0.09);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1300;
  animation: cookieSlideUp 0.35s cubic-bezier(.7,.3,.36,1.3);
}
@keyframes cookieSlideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  font-size: 1.06rem;
  color: var(--primary);
  margin: 0 0 6px 0;
}
.cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  min-width: 110px;
  padding: 8px 18px;
  border: 2px solid var(--border);
  background: var(--secondary);
  color: var(--primary);
  transition: background .17s, color .15s, border-color .15s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cookie-btn.reject {
  background: #fff3f3;
  color: #bf3131;
  border: 2px solid #f2b3b3;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--border);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 6px 14px 6px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 9px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,65,82,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px 0 rgba(24,65,82,0.18);
  padding: 32px 24px 24px 24px;
  max-width: 390px;
  width: 92vw;
  position: relative;
  animation: modalPopIn 0.29s cubic-bezier(.63,.13,.52,1.32);
}
@keyframes modalPopIn {
  from { transform: scale(.82); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Montserrat', 'Georgia', serif;
  color: var(--primary);
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.24rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category label {
  font-size: 1rem;
  color: #163a49;
  font-family: 'Georgia', serif;
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
  margin-right: 7px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* --- ACCESSIBILITY & FOCUS --- */
:focus {
  outline: 2.2px solid var(--accent);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #8da2b0; }
::-moz-placeholder { color: #8da2b0; }
:-ms-input-placeholder { color: #8da2b0; }
::placeholder { color: #8da2b0; }

/* --- PRINT CSS --- */
@media print { body { background: #fff; color: #121212; } }

/* --- UTILITIES --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2  { margin-top: 8px !important; }
.mt-3  { margin-top: 16px !important; }
.mt-4  { margin-top: 24px !important; }
.mb-2  { margin-bottom: 8px !important; }
.mb-3  { margin-bottom: 16px !important; }
.mb-4  { margin-bottom: 24px !important; }

/* === END OF STYLES === */
