/* ================================================================
   VERDE RIFUGIO — VINTAGE RETRO STYLE CSS
   =================================================================
   Responsive, Flexbox-only, modern vintage/retro feel
   Uses ONLY Flexbox, NO CSS Grid/Columns
   Applies to: all provided HTML pages
===================================================================*/
/* ============== CSS RESET & BASE ================================ */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F9F6F2;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Nunito', Arial, sans-serif;
  color: #225941;
  background: #F9F6F2;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #225941;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B9DCBA;
  outline: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
strong { font-weight: bold; }

/* ============ BRAND COLORS & FONTS ============================== */
:root {
  --primary: #225941;
  --secondary: #B9DCBA;
  --accent: #F9F6F2;
  --vintage-mustard: #FFC872;
  --vintage-brown: #AB7F4B;
  --vintage-teal: #6E9987;
  --vintage-pink: #F5B5AA;
  --vintage-dark: #374E3A;
  --shadow: 0 4px 14px rgba(34,89,65,0.10);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Nunito', Arial, sans-serif;
}

/* ============================= TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.625rem;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 var(--secondary);
  font-family: var(--font-display);
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 var(--vintage-mustard);
  line-height: 1.2;
}
h3 {
  font-size: 1.225rem;
  margin-bottom: 10px;
  color: var(--vintage-brown);
}
h4 {
  font-size: 1.1rem;
  color: var(--vintage-teal);
}
.section h2 {
  margin-bottom: 26px;
}

p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
}
p {
  margin-bottom: 14px;
}

.text-section h3 {
  color: var(--primary);
  font-size: 1.18rem;
}

/* ================= FLEXBOX LAYOUT CLASSES ======================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 0;
}
/* Mandated patterns for sections/cards/grids (Retro spacing) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(171,127,75,0.12);
  transform: translateY(-6px) scale(1.02);
  z-index: 1;
}
.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: #FAF3E6;
  border: 1px solid var(--vintage-mustard);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 8px 0 rgba(34, 89, 65, 0.04);
  margin-bottom: 20px;
  font-family: var(--font-body);
  color: var(--vintage-dark);
  max-width: 540px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 0 0 3px var(--vintage-brown);
  background: #FFF3E6;
}
.testimonial-card strong {
  margin-left: auto;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 0.97em;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .service-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div {
  background: #fffbe8;
  border: 1px solid #eddcad;
  border-radius: var(--radius);
  min-width: 215px;
  flex: 1 1 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 18px 22px;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 4px 16px 0 rgba(34, 89, 65, 0.11);
  background: #FFF6EA;
}
.feature-grid > div img, .service-list > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

/* =========== HEADER & NAVIGATION (RETRO) ======================== */
header {
  background: var(--primary);
  box-shadow: 0 2px 10px 0 rgba(33,89,65, 0.11);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(0.22) hue-rotate(-10deg) saturate(1.1);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.main-nav a {
  color: var(--accent);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vintage-mustard);
  color: var(--primary);
}
.cta-primary {
  background: var(--vintage-pink);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.13rem;
  padding: 7px 30px;
  border-radius: 32px;
  font-weight: 700;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(171,127,75,0.09);
  letter-spacing: .015em;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border 0.20s;
  margin-left: 20px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--vintage-brown);
  color: #fff;
  border-color: var(--vintage-mustard);
  box-shadow: 0 4px 18px 3px rgba(171,127,75,0.17);
}

/* ============= MOBILE NAVIGATION MENU =========================== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vintage-mustard);
  color: var(--primary);
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-left: 14px;
  transition: background 0.15s, color 0.15s, border 0.12s;
  z-index: 2100;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-brown);
  color: #fff;
  border-color: var(--vintage-brown);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 2px 0 15px 4px rgba(34,89,65,0.14);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,0,.25,1);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 32px 6px rgba(34,89,65,0.21);
}
.mobile-menu-close {
  margin-top: 18px;
  margin-left: 18px;
  padding: 0;
  background: var(--vintage-pink);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 2.4rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.18s, border 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-brown);
  color: #fff;
  border-color: var(--vintage-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  padding: 0 42px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35em;
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px dotted var(--vintage-mustard);
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vintage-brown);
  background: var(--secondary);
  border-radius: var(--radius-sm);
}

/* Hide desktop nav+cta on mobile */
@media (max-width: 950px) {
  .main-nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Hide mobile menu on desktop */
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* =================== MAIN SECTIONS & GRIDS ====================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 44px;
    padding: 26px 0 0 0;
  }
  .section {
    margin-bottom: 42px;
    padding: 22px 8px;
  }
}
.feature-grid, .testimonials, .service-list {
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== BUTTONS (RETRO & ACCESSIBLE) ======================== */
button, .cta-primary {
  transition: background 0.16s, color 0.16s, box-shadow 0.20s, border 0.20s;
}
button:active, .cta-primary:active {
  filter: brightness(0.98);
}

/* ================ TESTIMONIALS HIGHLIGHT ======================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
.testimonials .text-section {
  font-size: 1.08em;
  color: var(--vintage-dark);
  background: #f9f5eb;
  padding: 12px 20px 12px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

/* ================== CARDS & PATTERNS ============================ */
.card-container, .content-grid {
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  background: #fffbe8 url('data:image/svg+xml;utf8,<svg viewBox="0 0 90 40" xmlns="http://www.w3.org/2000/svg"><rect fill="%23FFC872" fill-opacity="0.12" x="0" y="12" width="80" height="6" rx="2" /><rect fill="%23B9DCBA" fill-opacity="0.12" x="24" y="24" width="60" height="4" rx="2" /></svg>') left bottom repeat-x;
  border: 1.5px solid #eddcad;
  border-radius: var(--radius);
  min-width: 220px;
}

.card:hover {
  background-color: #FFF3E6;
  border-color: var(--vintage-brown);
  box-shadow: 0 8px 20px rgba(171,127,75,0.12);
}

/* ================ TEXT-IMAGE SECTION ============================ */
.text-image-section {
  gap: 30px;
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* .content-wrapper responsive */
@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .service-list, .testimonials, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 140px;
    max-width: none;
    width: 100%;
    padding: 18px 12px;
  }
  .testimonial-card {
    width: 100%;
    max-width: 99vw;
  }
}

/* ================== MISC DETAILS AND ELEMENTS ==================== */
.text-section {
  padding: 0;
  color: var(--primary);
}
.text-section ul {
  margin-bottom: 0;
}
.text-section img {
  vertical-align: middle;
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-right: 6px;
  margin-bottom: 2px;
}
.content-wrapper > ul, .text-section > ul {
  padding-left: 1.4em;
  margin-bottom: 10px;
}

/* ============= FORMS, NEWSLETTERS, INPUTS ======================= */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.23;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--vintage-mustard);
  padding: 8px 14px;
  transition: border 0.16s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  background: #fffde3;
}
label {
  font-family: var(--font-display);
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

/* =================== FOOTER RETRO STYLE ========================= */
footer {
  background: var(--primary);
  color: var(--accent);
  margin-top: 0;
  padding: 0 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 18px 8px 18px;
}
.footer-brand {
  flex: 2 1 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand img {
  height: 38px;
  filter: sepia(0.22) hue-rotate(-10deg) saturate(1.1);
  margin-bottom: 8px;
}
.footer-links {
  flex: 2 1 140px;
  font-size: 0.99rem;
  margin-top: 8px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  color: var(--accent);
  transition: color 0.15s;
  padding: 2px 2px;
  border-radius: 4px;
}
.footer-links a:hover {
  color: var(--vintage-mustard);
  background: rgba(255, 200, 114, 0.13);
}
.footer-contact {
  flex: 3 1 250px;
  font-size: 0.97em;
  margin-top: 8px;
}
.footer-contact img {
  width: 1.18em;
  height: 1.18em;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(0.25) contrast(1.4);
}
.footer-social {
  flex: 1 1 80px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: sepia(.33) hue-rotate(-25deg) saturate(1.2);
  border-radius: 6px;
  transition: filter 0.16s, box-shadow 0.17s;
}
.footer-social img:hover, .footer-social img:focus {
  filter: sepia(0.13) hue-rotate(6deg) saturate(1.7);
  box-shadow: 0 2px 6px #ffc87244;
}
.footer-copyright {
  flex: 1 1 140px;
  margin-top: 40px;
  text-align: left;
  font-size: 0.96em;
  opacity: .81;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding: 32px 9vw 6px 9vw;
  }
  .footer-copyright {
    margin-top: 18px;
    text-align: center;
    width: 100%;
  }
}

/* =============== RETRO DECORATIVE ELEMENTS ======================= */
section {
  position: relative;
  z-index: 1;
}
section::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 16px;
  width: 55px;
  height: 7px;
  background: var(--vintage-brown);
  opacity: .09;
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
}
.section:nth-child(odd)::after {
  background: var(--vintage-mustard);
  width: 35px;
}
@media (max-width: 600px) {
  section::after {
    display: none;
  }
}

/* ================== COOKIE CONSENT BANNER ======================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3999;
  background: #FFECCA;
  color: var(--primary);
  box-shadow: 0 -4px 16px rgba(171,127,75,0.12);
  font-family: var(--font-body);
  padding: 24px 18px 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 36px;
  justify-content: center;
  transition: transform 0.38s cubic-bezier(.7,0,.3,1), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  padding: 6px 28px;
  border: 2px solid var(--primary);
  background: var(--vintage-pink);
  color: var(--primary);
  margin-right: 0;
  outline: none;
  transition: background 0.18s, color 0.18s, border 0.19s;
}
.cookie-banner button.cookie-accept {
  background: var(--vintage-mustard);
  color: var(--primary);
}
.cookie-banner button.cookie-accept:hover {
  background: var(--vintage-brown);
  color: #fff;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--vintage-brown);
  border-color: var(--vintage-brown);
}
.cookie-banner button.cookie-reject:hover {
  background: var(--vintage-pink);
  color: var(--primary);
}
.cookie-banner button.cookie-settings {
  background: var(--vintage-pink);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-banner button.cookie-settings:hover {
  background: #fffbe8;
  color: var(--vintage-brown);
  border-color: var(--vintage-brown);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 17px 8px 18px 8px;
    font-size: .99em;
  }
}

/* Cookie Pref Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(60,54,35,.44);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fffbe8;
  color: var(--primary);
  padding: 36px 20px 28px 20px;
  border-radius: var(--radius);
  max-width: 390px;
  min-width: 240px;
  box-shadow: 0 6px 44px #AB7F4B44;
  margin: 0 10px;
  position: relative;
  font-family: var(--font-body);
  text-align: left;
  animation: fadeInUpModal 0.33s;
}
@keyframes fadeInUpModal {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.27rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--vintage-mustard);
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.cookie-category label {
  margin-bottom: 0;
}
.cookie-category .cookie-essential {
  font-weight: bold;
  color: var(--primary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px;
  right: 14px;
  font-size: 1.55em;
  color: var(--primary);
  background: var(--vintage-pink);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: 2px solid var(--vintage-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal .close-modal:hover {
  background: var(--vintage-mustard);
  color: #fff;
}

/* ================= HOVER, MICRO-INTERACTION EFFECTS ============= */
a, button, .cta-primary {
  transition: background 0.16s, color 0.16s, border 0.16s, box-shadow 0.19s;
}
.feature-grid > div, .service-list > div, .card {
  transition: box-shadow 0.19s, background 0.16s;
}
.feature-grid > div:hover, .service-list > div:hover, .card:hover {
  box-shadow: 0 4px 18px 0 rgba(225, 137, 95, 0.11);
}
@media (hover: hover) and (pointer: fine) {
  a, button, .cta-primary {
    will-change: background, color, border-color, box-shadow;
  }
}

/* =================== RESPONSIVE FONT SIZES ====================== */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.05rem; }
  body, p, li { font-size: 0.98rem; }
}

/* ============= RETRO/NOSTALGIC PATTERNS & ELEMENTS ============== */
hr {
  border: none;
  border-bottom: 2px dashed var(--vintage-brown);
  margin: 36px 0;
}
span,
div > span, .mobile-nav span, .content-wrapper p strong {
  /* For retro category/badge highlights */
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  border-radius: 8px;
  font-size: 0.92em;
  font-weight: 700;
  padding: 2px 8px;
  display: inline-block;
  letter-spacing: 0.04em;
}

/* =================== ACCESSIBILITY & FOCUS ======================= */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 3px dotted var(--vintage-teal);
  outline-offset: 2px;
}

/* ================== PRINT & SELECTION STYLES ===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
::selection {
  background: var(--vintage-mustard);
  color: var(--primary);
}

/* ================== END; CUSTOM CSS ============================== */