/* RESET & BASE STYLES ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1B263B;
  background-color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B4161B;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: bold;
}
a:hover, a:focus {
  color: #1B263B;
  text-underline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* TYPOGRAPHY ------------------------------------------------------------ */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 900;
  color: #B4161B;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  color: #1B263B;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: #B4161B;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.18rem;
  color: #1B263B;
  font-weight: 700;
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}
strong {
  font-weight: 800;
  color: #B4161B;
}

/* LAYOUT & SECTION SPACING ---------------------------------------------- */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #F2E9E4;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(27,38,59,0.07);
  padding: 32px 28px 30px 28px;
  margin-bottom: 20px;
}

/* FLEXBOX PATTERNS ------------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(180,22,27,0.10),0 0.5px 2px rgba(27,38,59,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(180,22,27,0.18),0 2px 8px rgba(27,38,59,0.10);
}
.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: #F2E9E4;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(27,38,59,0.05);
  flex-direction: row;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(180,22,27,0.10);
  transform: translateY(-4px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID (custom for index) -------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(27,38,59,0.07);
  padding: 24px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  border-top: 4px solid #B4161B;
  transition: box-shadow 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(180,22,27,0.12);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* CITY REVIEW LIST on recenzii-orase ------------------------------------- */
.city-review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.city-review-list li {
  background: #F2E9E4;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(180,22,27,0.07);
  min-width: 180px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  padding: 18px 18px;
  transition: box-shadow 0.14s;
}
.city-review-list li:hover {
  box-shadow: 0 4px 16px rgba(180,22,27,0.10);
}

.category-filter {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.category-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-filter li {
  background: #B4161B;
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  padding: 4px 12px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: background 0.2s;
}
.category-filter li:hover {
  background: #1B263B;
}

/* HEADER & NAV ---------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(27,38,59,0.05);
  padding: 12px 0;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
}
header .btn-primary {
  margin-left: 24px;
}
header > a img {
  height: 42px;
  margin-right: 18px;
}
.desktop-nav {
  display: flex;
  gap: 26px;
  margin-left: 32px;
  flex: 1 1 auto;
  align-items: center;
}
.desktop-nav a {
  display: block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: #1B263B;
  padding: 6px 9px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #F2E9E4;
  color: #B4161B;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #B4161B;
  font-size: 2.3rem;
  border-radius: 8px;
  height: 48px;
  width: 48px;
  margin-left: 18px;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F2E9E4;
}

/* MOBILE MENU ---------------------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.55,.09,.68,.53);
  box-shadow: -4px 0 32px rgba(27,38,59,0.14);
  padding: 0 0 48px 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 22px 32px 10px 0;
  color: #1B263B;
  background: none;
  border-radius: 10px;
  padding: 4px 8px;
  transition: background 0.18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #F2E9E4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 8px 0;
  border-radius: 8px;
  color: #1B263B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B4161B;
  color: #fff;
}

/* BUTTONS -------------------------------------------------------------- */
.btn-primary, .btn-primary:visited {
  display: inline-block;
  background: #B4161B;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1.13rem;
  text-transform: uppercase;
  padding: 13px 32px 13px 32px;
  border-radius: 30px;
  letter-spacing: 1px;
  margin-top: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(180,22,27,0.09);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.22s, box-shadow 0.18s;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #B4161B;
  border-color: #B4161B;
  box-shadow: 0 6px 18px rgba(180,22,27,0.13);
}
.btn-secondary {
  display: inline-block;
  background: #1B263B;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 22px;
  margin-right: 12px;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B4161B;
  color: #fff;
}
.btn-tertiary {
  display: inline-block;
  background: #F2E9E4;
  color: #1B263B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 22px;
  margin-right: 12px;
  border: 1.5px solid #B4161B;
  transition: background 0.18s, color 0.18s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #B4161B;
  color: #fff;
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: #1B263B;
  color: #fff;
  padding: 40px 0 0 0;
  width: 100%;
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #F2E9E4;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #B4161B;
}
footer .contact-summary h3 {
  color: #F2E9E4;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}
footer img {
  height: 44px;
  margin-bottom: 14px;
}
footer p {
  color: #F2E9E4;
  font-size: 0.96rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* RESPONSIVE: MOBILE FIRST --------------------------------------------- */
@media (max-width: 1000px) {
  .content-wrapper, .content-grid {
    gap: 16px;
  }
  .footer .content-wrapper {
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .desktop-nav {
    gap: 13px;
    margin-left: 10px;
  }
  header .btn-primary {
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 28px 4px;
    margin-bottom: 44px;
  }
  .text-section {
    padding: 18px 10px;
  }
  .content-grid, .card-container, .city-review-list, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  header {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 10px;
    text-align: left;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
  .btn-primary, .btn-secondary, .btn-tertiary {
    padding: 12px 18px;
    font-size: 1rem;
  }
}

/* UTILITIES & MICRO-INTERACTIONS ---------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F2E9E4;
}
::-webkit-scrollbar-thumb {
  background: #B4161B;
  border-radius: 5px;
}
[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid #B4161B;
  outline-offset: 1.5px;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.45s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* COOKIE CONSENT BANNER ------------------------------------------------- */
.cookie-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  padding: 18px 18px;
  background: #1B263B;
  color: #fff;
  z-index: 2100;
  box-shadow: 0 -4px 18px rgba(27,38,59,0.13);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.33s cubic-bezier(.62,-0.21,.48,1.52), opacity 0.23s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin: 0 3px;
}
.cookie-banner .accept-btn {
  background: #B4161B;
  color: #fff;
  border: none;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #fff;
  color: #B4161B;
  border: 2px solid #B4161B;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #1B263B;
  border: 2px solid #B4161B;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #B4161B;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #F2E9E4;
  color: #B4161B;
  border: 2px solid #F2E9E4;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #B4161B;
  color: #fff;
  border: 2px solid #B4161B;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE PREFERENCE MODAL ----------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,38,59,0.45);
  pointer-events: none;
}
.cookie-modal-overlay.active {
  display: flex;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #1B263B;
  margin: auto;
  border-radius: 20px;
  padding: 34px 30px;
  max-width: 350px;
  box-shadow: 0 12px 26px rgba(27,38,59,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalFadeIn 0.34s cubic-bezier(.62,-0.21,.48,1.52);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.25rem;
  color: #B4161B;
}
.cookie-modal label {
  font-weight: bold;
  color: #1B263B;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B4161B;
  width: 1.1rem;
  height: 1.1rem;
}
.cookie-modal .cookie-actions {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}
.cookie-modal .modal-close {
  background: #F2E9E4;
  color: #1B263B;
  position: absolute;
  border-radius: 8px;
  top: 15px;
  right: 20px;
  padding: 3px 9px;
  font-size: 1.18rem;
  border: none;
  transition: background 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #B4161B;
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 15px 6vw;
  }
}

/* CONTACT PAGE INFO SECTION --------------------------------------------- */
.contact-info-note {
  background: #F2E9E4;
  color: #1B263B;
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 0.97rem;
  margin-top: 12px;
  box-shadow: 0 1px 6px rgba(180,22,27,0.08);
}

/* THANK YOU PAGE -------------------------------------------------------- */
.text-section .btn-primary {
  margin-top: 20px;
}

/* VISUAL ELEMENTS (GEOMETRIC ACCENTS) ----------------------------------- */
.feature-grid li::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -14px;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 42% 58% 66% 34% / 42% 42% 58% 58%;
  background: #B4161B22;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}
.testimonial-card::before {
  top: 7px;
  left: -12px;
  width: 20px;
  height: 20px;
  background: #B4161B33;
}

/* ENSURE NO GRID; USE FLEX FOR EVERYTHING ------------------------------- */
/* No display: grid or columns usage anywhere. All layouts are flex-based. */
