/* Catalan Rural — Nature / Wellness */
        :root {
          --bg: #f8faee;
          --card-bg: #ffffff;
          --accent: #5b7a34;
          --secondary: #c0880b;
          --text: #2c2824;
          --muted: #6b6560;
          --border: rgba(0,0,0,0.08);
          --footer-bg: color-mix(in srgb, #5b7a34 10%, #f8faee);
          --font-heading: 'Nunito Sans', Georgia, serif;
          --font-logo: 'Nunito Sans', Georgia, serif;
          --font-body: 'Open Sans', system-ui, sans-serif;
          --nav-h: 64px;
          --article-max: 740px;
          --container: 1180px;
          --radius: 16px;
          --radius-sm: 12px;
        }

        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
          margin: 0;
          font-family: var(--font-body);
          font-weight: 400;
          font-size: 1.0625rem;
          line-height: 1.75;
          color: var(--text);
          background: var(--bg);
        }

        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--accent); text-decoration: none; }
        a:hover { text-decoration: underline; }

        .container {
          width: min(var(--container), calc(100% - 2.5rem));
          margin-inline: auto;
        }

        /* ── Navigation ── */
        .site-nav {
          position: sticky;
          top: 0;
          z-index: 1000;
          height: var(--nav-h);
          background: #fff;
          border-bottom: 1px solid var(--border);
          transition: box-shadow 0.3s ease;
        }
        .site-nav.scrolled {
          box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        .nav-inner {
          display: flex;
          align-items: center;
          justify-content: space-between;
          height: var(--nav-h);
          width: min(var(--container), calc(100% - 2.5rem));
          margin-inline: auto;
          gap: 1.5rem;
        }
        .nav-logo {
          display: inline-flex;
          align-items: center;
          gap: 0.5rem;
          font-family: var(--font-heading);
          font-size: 1.125rem;
          font-weight: 600;
          color: var(--text);
          text-decoration: none;
          flex-shrink: 0;
        }
        .nav-logo:hover { text-decoration: none; color: var(--accent); }
        .logo-icon { color: var(--accent); flex-shrink: 0; }
        .nav-right {
          display: flex;
          align-items: center;
          gap: 1.75rem;
          margin-left: auto;
        }
        .nav-links {
          display: flex;
          gap: 1.5rem;
          list-style: none;
          margin: 0;
          padding: 0;
        }
        .nav-links a {
          font-size: 0.875rem;
          color: var(--text);
          text-decoration: none;
          opacity: 0.85;
        }
        .nav-links a:hover, .nav-links a.active {
          opacity: 1;
          color: var(--accent);
          text-decoration: none;
        }
        .nav-contact {
          font-size: 0.875rem;
          font-weight: 600;
          color: var(--accent);
          text-decoration: none;
          white-space: nowrap;
        }
        .nav-contact:hover { text-decoration: underline; }
        .nav-hamburger {
          display: none;
          background: none;
          border: none;
          cursor: pointer;
          padding: 0.5rem;
        }
        .nav-hamburger span {
          display: block;
          width: 22px;
          height: 2px;
          background: var(--accent);
          margin: 5px 0;
        }
        .nav-mobile {
          display: none;
          position: fixed;
          top: var(--nav-h);
          left: 0; right: 0;
          background: #fff;
          border-bottom: 1px solid var(--border);
          padding: 1rem 1.25rem 1.5rem;
          flex-direction: column;
          gap: 0.75rem;
          z-index: 999;
          box-shadow: 0 8px 24px rgba(0,0,0,0.06);
        }
        .nav-mobile.open { display: flex; }
        .nav-mobile a {
          color: var(--text);
          text-decoration: none;
          font-size: 0.9375rem;
          padding: 0.35rem 0;
          border-bottom: 1px solid var(--border);
        }
        .nav-mobile a.nav-contact { color: var(--accent); font-weight: 600; border-bottom: none; }

        /* ── Photo Hero (Index) ── */
        .photo-hero {
          position: relative;
          width: 100%;
          height: 85vh;
          min-height: 480px;
          overflow: hidden;
        }
        .photo-hero__img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .photo-hero__overlay {
          position: absolute;
          inset: 0;
          background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
          pointer-events: none;
        }
        .photo-hero__content {
          position: absolute;
          inset: 0;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: flex-end;
          text-align: center;
          padding: 3rem 1.5rem 4rem;
        }
        .photo-hero__title {
          font-family: var(--font-heading);
          font-size: clamp(2.25rem, 5vw, 3.5rem);
          font-weight: 700;
          color: #fff;
          margin: 0 0 0.75rem;
          line-height: 1.1;
          text-shadow: 0 2px 12px rgba(0,0,0,0.35);
        }
        .photo-hero__subtitle {
          font-family: var(--font-body);
          font-size: clamp(1.05rem, 2.2vw, 1.35rem);
          font-weight: 300;
          color: rgba(255,255,255,0.92);
          margin: 0 0 1.75rem;
          max-width: 36rem;
          line-height: 1.5;
        }
        .btn-discover {
          display: inline-block;
          padding: 0.75rem 1.75rem;
          border: 2px solid #fff;
          border-radius: 999px;
          color: #fff;
          font-size: 0.875rem;
          font-weight: 600;
          letter-spacing: 0.04em;
          text-decoration: none;
          transition: background 0.25s ease, color 0.25s ease;
        }
        .btn-discover:hover {
          background: #fff;
          color: var(--accent);
          text-decoration: none;
        }

        /* ── Explore Section ── */
        .explore-section {
          padding: 4.5rem 0 5rem;
        }
        .explore-section__head {
          text-align: center;
          margin-bottom: 2.75rem;
        }
        .explore-section__head h2 {
          font-family: var(--font-heading);
          font-size: clamp(1.75rem, 3vw, 2.25rem);
          color: var(--accent);
          margin: 0 0 0.5rem;
        }
        .explore-section__head p {
          color: var(--muted);
          margin: 0;
          font-size: 1rem;
        }
        .explore-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 1.75rem;
        }
        .explore-card {
          display: flex;
          flex-direction: column;
          background: var(--card-bg);
          border-radius: var(--radius);
          overflow: hidden;
          box-shadow: 0 4px 20px rgba(0,0,0,0.06);
          text-decoration: none;
          color: inherit;
          transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .explore-card:hover {
          transform: translateY(-4px);
          box-shadow: 0 12px 32px rgba(0,0,0,0.1);
          text-decoration: none;
        }
        .explore-card__image {
          aspect-ratio: 16 / 9;
          overflow: hidden;
        }
        .explore-card__image img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.4s ease;
        }
        .explore-card:hover .explore-card__image img {
          transform: scale(1.04);
        }
        .explore-card__body {
          padding: 1.35rem 1.5rem 1.5rem;
          flex: 1;
          display: flex;
          flex-direction: column;
        }
        .explore-card__pill {
          display: inline-block;
          align-self: flex-start;
          font-size: 0.6875rem;
          letter-spacing: 0.06em;
          text-transform: uppercase;
          padding: 0.3rem 0.65rem;
          border-radius: 999px;
          background: color-mix(in srgb, var(--accent) 12%, white);
          color: var(--accent);
          margin-bottom: 0.65rem;
        }
        .explore-card__body h3 {
          font-family: var(--font-heading);
          font-size: 1.2rem;
          color: var(--text);
          margin: 0 0 0.5rem;
          line-height: 1.3;
        }
        .explore-card__body p {
          font-size: 0.9375rem;
          color: var(--muted);
          margin: 0 0 1rem;
          line-height: 1.6;
          flex: 1;
        }
        .explore-card__more {
          font-size: 0.8125rem;
          font-weight: 600;
          color: var(--accent);
        }

        /* ── Article Pages ── */
        .article-hero {
          width: 100%;
          height: 400px;
          overflow: hidden;
        }
        .article-hero img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        .article-page {
          background: #fff;
        }
        .article-header {
          padding: 2.5rem 0 0;
        }
        .article-header .container {
          max-width: var(--article-max);
        }
        .breadcrumb {
          font-size: 0.75rem;
          color: var(--muted);
          margin-bottom: 1rem;
        }
        .breadcrumb a { color: var(--muted); text-decoration: none; }
        .breadcrumb a:hover { color: var(--accent); }
        .breadcrumb .sep { margin: 0 0.45rem; opacity: 0.5; }
        .article-meta {
          display: flex;
          flex-wrap: wrap;
          gap: 0.5rem 1rem;
          font-size: 0.75rem;
          letter-spacing: 0.06em;
          text-transform: uppercase;
          color: var(--muted);
          margin-bottom: 1rem;
        }
        .article-meta .category { color: var(--accent); }
        .article-header h1 {
          font-family: var(--font-heading);
          font-size: clamp(1.85rem, 4vw, 2.5rem);
          line-height: 1.15;
          color: var(--text);
          margin: 0 0 1rem;
        }
        .article-intro {
          font-size: 1.125rem;
          font-style: italic;
          color: var(--secondary);
          line-height: 1.65;
          margin: 0 0 2rem;
        }
        .article-body {
          max-width: var(--article-max);
          margin: 0 auto;
          padding: 0 1.25rem 3rem;
        }
        .article-body h2 {
          font-family: var(--font-heading);
          font-size: 1.55rem;
          color: var(--accent);
          margin: 2.5rem 0 1rem;
          padding-bottom: 0.5rem;
          border-bottom: 2px solid color-mix(in srgb, var(--secondary) 35%, transparent);
        }
        .article-body h3 {
          font-family: var(--font-heading);
          font-size: 1.2rem;
          color: var(--text);
          margin: 2rem 0 0.75rem;
        }
        .article-body p { margin: 0 0 1.25rem; }
        .article-body ul, .article-body ol {
          margin: 0 0 1.25rem;
          padding-left: 1.35rem;
        }
        .article-body li { margin-bottom: 0.45rem; }
        .nature-quote {
          margin: 2rem 0;
          padding: 0.25rem 0 0.25rem 1.25rem;
          border-left: 4px solid var(--secondary);
          font-style: italic;
          color: var(--secondary);
        }
        .nature-quote p { margin: 0; font-size: 1.125rem; line-height: 1.6; }
        .nature-quote cite {
          display: block;
          margin-top: 0.65rem;
          font-size: 0.75rem;
          font-style: normal;
          letter-spacing: 0.08em;
          text-transform: uppercase;
          color: var(--muted);
        }
        .nature-callout {
          margin: 2rem 0;
          padding: 1.25rem 1.5rem;
          background: color-mix(in srgb, var(--accent) 8%, var(--bg));
          border-radius: var(--radius-sm);
          border-left: 4px solid var(--accent);
        }
        .nature-callout strong {
          display: block;
          font-size: 0.75rem;
          letter-spacing: 0.08em;
          text-transform: uppercase;
          color: var(--accent);
          margin-bottom: 0.5rem;
        }
        .nature-callout p { margin: 0; }
        .article-figure {
          margin: 2rem 0;
          border-radius: var(--radius-sm);
          overflow: hidden;
        }
        .article-figure img { width: 100%; border-radius: var(--radius-sm); }
        .article-figure figcaption {
          font-size: 0.8125rem;
          color: var(--muted);
          margin-top: 0.65rem;
          font-style: italic;
        }

        /* ── FAQ ── */
        .faq-list { margin: 1.5rem 0 2rem; }
        .faq-section-title {
          font-family: var(--font-heading);
          font-size: 1.35rem;
          color: var(--accent);
          margin: 2rem 0 1rem;
          padding-bottom: 0.4rem;
          border-bottom: 2px solid color-mix(in srgb, var(--secondary) 35%, transparent);
        }
        .faq-item {
          border-bottom: 1px solid var(--border);
          padding: 0.25rem 0;
        }
        .faq-item summary {
          cursor: pointer;
          font-weight: 600;
          padding: 0.85rem 0;
          list-style: none;
          color: var(--text);
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-body { padding: 0 0 1rem; color: var(--muted); }

        /* ── Legal ── */
        .legal-page {
          max-width: var(--article-max);
          margin: 0 auto;
          padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem;
          background: #fff;
        }
        .legal-page h1 {
          font-family: var(--font-heading);
          font-size: 2.25rem;
          color: var(--accent);
        }
        .legal-page h2 {
          font-family: var(--font-heading);
          font-size: 1.35rem;
          margin-top: 2rem;
          color: var(--accent);
          padding-bottom: 0.35rem;
          border-bottom: 2px solid color-mix(in srgb, var(--secondary) 35%, transparent);
        }
        .legal-page h3 { font-size: 1.05rem; margin-top: 1.25rem; }
        .legal-meta { color: var(--muted); font-size: 0.875rem; }

        /* ── Related ── */
        .related-section {
          padding: 3rem 0 4.5rem;
          background: var(--bg);
        }
        .related-section h2 {
          font-family: var(--font-heading);
          font-size: 1.5rem;
          color: var(--accent);
          margin-bottom: 1.5rem;
          text-align: center;
        }
        .related-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 1.25rem;
        }
        .related-card {
          display: block;
          background: var(--card-bg);
          border-radius: var(--radius);
          padding: 1.35rem 1.5rem;
          box-shadow: 0 4px 16px rgba(0,0,0,0.05);
          text-decoration: none;
          color: inherit;
          transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .related-card:hover {
          transform: translateY(-3px);
          box-shadow: 0 10px 28px rgba(0,0,0,0.08);
          text-decoration: none;
        }
        .related-card .explore-card__pill { margin-bottom: 0.5rem; }
        .related-card h3 {
          font-family: var(--font-heading);
          font-size: 1.05rem;
          margin: 0 0 0.5rem;
          color: var(--text);
          line-height: 1.3;
        }
        .related-card p {
          font-size: 0.875rem;
          color: var(--muted);
          margin: 0;
          line-height: 1.55;
        }

        /* ── Footer ── */
        .site-footer {
          background: var(--footer-bg);
          padding: 3.5rem 0 2rem;
        }
        .footer-logo {
          display: inline-flex;
          align-items: center;
          gap: 0.6rem;
          font-family: var(--font-heading);
          font-size: 1.65rem;
          font-weight: 600;
          color: var(--text);
          text-decoration: none;
          margin-bottom: 0.75rem;
        }
        .footer-logo:hover { text-decoration: none; color: var(--accent); }
        .footer-grid {
          display: grid;
          grid-template-columns: 1.5fr 1fr 1fr 1fr;
          gap: 2rem;
          margin-bottom: 2.5rem;
        }
        .footer-brand p {
          font-size: 0.9375rem;
          color: var(--muted);
          line-height: 1.65;
          margin: 0;
          max-width: 28rem;
        }
        .footer-col h4 {
          font-size: 0.6875rem;
          letter-spacing: 0.14em;
          text-transform: uppercase;
          color: var(--accent);
          margin: 0 0 1rem;
        }
        .footer-col ul { list-style: none; margin: 0; padding: 0; }
        .footer-col li { margin-bottom: 0.45rem; }
        .footer-col a {
          font-size: 0.875rem;
          color: var(--muted);
          text-decoration: none;
        }
        .footer-col a:hover { color: var(--accent); }
        .footer-bottom {
          display: flex;
          justify-content: center;
          align-items: center;
          flex-wrap: wrap;
          gap: 0.5rem 1rem;
          padding-top: 1.5rem;
          border-top: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
          font-size: 0.8125rem;
          color: var(--muted);
        }
        .footer-bottom a { color: var(--muted); }

        /* ── Cookie Banner ── */
        .cookie-banner {display: none; /* hidden by default, JS shows it */
  position: fixed;
          bottom: 1.25rem;
          left: 50%;
          transform: translateX(-50%) translateY(calc(100% + 2rem));
          width: min(640px, calc(100% - 2rem));
          background: #fff;
          border-radius: var(--radius-sm);
          box-shadow: 0 8px 32px rgba(0,0,0,0.12);
          padding: 1.15rem 1.35rem;
          z-index: 2000;
          transition: transform 0.35s ease;
        }
        .cookie-banner.visible {display: flex;
  align-items: flex-start;
  transform: translateX(-50%) translateY(0);
        }
        .cookie-banner-inner {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          align-items: center;
        }
        .cookie-icon-wrap {
          flex-shrink: 0;
          color: var(--accent);
        }
        .cookie-banner-text {
          flex: 1 1 280px;
          font-size: 0.8125rem;
          color: var(--muted);
          line-height: 1.55;
        }
        .cookie-banner-text p { margin: 0; }
        .cookie-banner-actions {
          display: flex;
          gap: 0.5rem;
          flex-shrink: 0;
        }
        .cookie-btn-accept, .cookie-btn-reject {
          font-family: var(--font-body);
          font-size: 0.75rem;
          font-weight: 600;
          padding: 0.55rem 1rem;
          cursor: pointer;
          border-radius: 8px;
          border: 1px solid var(--accent);
        }
        .cookie-btn-accept {
          background: var(--accent);
          color: #fff;
        }
        .cookie-btn-reject {
          background: transparent;
          color: var(--accent);
        }

        #back-to-top {
          position: fixed;
          bottom: 5.5rem;
          right: 1.5rem;
          width: 42px;
          height: 42px;
          border: none;
          border-radius: 50%;
          background: var(--accent);
          color: #fff;
          cursor: pointer;
          opacity: 0;
          pointer-events: none;
          transition: opacity 0.3s;
          z-index: 900;
          box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }


.photo-hero__title { font-weight: 700; }
.explore-card:hover { border-color: color-mix(in srgb, var(--secondary) 40%, transparent); }


        @media (max-width: 900px) {
          .explore-grid { grid-template-columns: repeat(2, 1fr); }
          .related-grid { grid-template-columns: 1fr 1fr; }
          .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 640px) {
          .nav-links, .nav-contact { display: none; }
          .nav-hamburger { display: block; }
          .explore-grid { grid-template-columns: 1fr; }
          .related-grid { grid-template-columns: 1fr; }
          .footer-grid { grid-template-columns: 1fr; }
          .photo-hero { height: 75vh; min-height: 420px; }
        }
