/* CSS Variables & Reset */
    :root {
      --color-bg: #fffbf5;
      --color-surface: #ffffff;
      --color-ink: #1c281e;
      --color-muted: #627264;
      --color-forest: #2c3e2d;
      --color-terracotta: #e76f51;
      --color-terracotta-hover: #cf5b3d;
      --color-sand: #d4a373;
      --color-sand-light: #faedcd;
      --color-line: rgba(44, 62, 45, 0.12);
      --font-serif: 'Playfair Display', Georgia, serif;
      --font-sans: 'Inter', Helvetica, Arial, sans-serif;
      --font-mono: 'Courier Prime', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--color-bg);
      color: var(--color-ink);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Typography */
    h1, h2, h3, h4 {
      font-family: var(--font-serif);
      font-weight: 600;
      line-height: 1.25;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    /* Header & Navigation */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
      padding: 24px 40px;
    }

    header.scrolled {
      background-color: rgba(255, 251, 245, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 30px rgba(44, 62, 45, 0.06);
      padding: 16px 40px;
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo-area {
      display: flex;
      flex-direction: column;
    }

    .logo-title {
      font-family: var(--font-serif);
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--color-forest);
      position: relative;
      display: inline-block;
    }

    .logo-title span {
      color: var(--color-terracotta);
    }

    .logo-subtitle {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.5px;
      color: var(--color-muted);
      margin-top: -2px;
    }

    nav ul {
      display: flex;
      gap: 32px;
      list-style: none;
      align-items: center;
    }

    nav a {
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--color-forest);
      position: relative;
      padding: 4px 0;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--color-terracotta);
      transition: width 0.3s ease;
    }

    nav a:hover::after,
    nav li.active a::after {
      width: 100%;
    }

    nav a:hover {
      color: var(--color-terracotta);
    }

    .btn-cta {
      background-color: var(--color-forest);
      color: var(--color-bg);
      padding: 10px 22px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .btn-cta:hover {
      background-color: var(--color-terracotta);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(231, 111, 81, 0.25);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      z-index: 1001;
    }

    .menu-toggle span {
      width: 28px;
      height: 2px;
      background-color: var(--color-forest);
      transition: all 0.3s ease;
    }

    /* High contrast transparent header overrides */
    header:not(.scrolled) .logo-title {
      color: #fffbf5;
    }
    header:not(.scrolled) .logo-title span {
      color: var(--color-sand);
    }
    header:not(.scrolled) .logo-subtitle {
      color: rgba(255, 255, 255, 0.7);
    }
    header:not(.scrolled) nav a {
      color: #fffbf5;
    }
    header:not(.scrolled) nav a:hover {
      color: var(--color-sand);
    }
    header:not(.scrolled) nav a::after {
      background-color: var(--color-sand);
    }
    header:not(.scrolled) .btn-cta {
      background-color: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.35);
      color: #fffbf5;
      box-shadow: none;
    }
    header:not(.scrolled) .btn-cta:hover {
      background-color: var(--color-terracotta);
      border-color: var(--color-terracotta);
      color: #fff;
    }
    header:not(.scrolled) .menu-toggle span {
      background-color: #fffbf5;
    }

    /* Hero Section */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 140px 40px 80px;
      background: linear-gradient(to right, rgba(28, 40, 30, 0.85), rgba(28, 40, 30, 0.35)), 
                  url('../images/banner_principal.jpg') center/cover no-repeat;
      color: #fff;
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
      width: 100%;
      text-align: left;
    }

    .hero-kicker {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--color-sand-light);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      text-transform: uppercase;
    }

    .hero-kicker::before {
      content: '';
      width: 40px;
      height: 1px;
      background-color: var(--color-sand-light);
    }

    .hero h1 {
      font-size: clamp(40px, 7vw, 80px);
      margin-bottom: 24px;
      font-weight: 700;
      line-height: 1.1;
    }

    .hero p {
      font-size: clamp(16px, 2vw, 20px);
      color: rgba(255, 255, 255, 0.9);
      max-width: 600px;
      margin-bottom: 40px;
      font-weight: 300;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background-color: var(--color-terracotta);
      color: white;
      padding: 14px 28px;
      font-size: 14px;
      font-weight: 700;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 14px rgba(231, 111, 81, 0.3);
      transition: all 0.3s ease;
    }

    .btn-primary:hover {
      background-color: var(--color-terracotta-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(231, 111, 81, 0.4);
    }

    .btn-secondary {
      background-color: rgba(255, 255, 255, 0.12);
      color: white;
      padding: 14px 28px;
      font-size: 14px;
      font-weight: 700;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(5px);
      transition: all 0.3s ease;
    }

    .btn-secondary:hover {
      background-color: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.6);
      transform: translateY(-2px);
    }

    /* Core Section Layouts */
    section {
      padding: 100px 40px;
    }

    .section-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-header {
      margin-bottom: 60px;
      max-width: 600px;
    }

    .section-kicker {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--color-terracotta);
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 12px;
      display: block;
    }

    .section-title {
      font-size: clamp(32px, 4vw, 48px);
      color: var(--color-forest);
      margin-bottom: 20px;
    }

    .section-desc {
      color: var(--color-muted);
      font-size: 16px;
    }

    /* Slider (Categories) */
    .slider-section {
      background-color: var(--color-sand-light);
      position: relative;
    }

    .slider-controls {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }

    .slider-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background-color: var(--color-surface);
      border: 1px solid var(--color-line);
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: var(--color-forest);
      font-size: 18px;
    }

    .slider-btn:hover {
      background-color: var(--color-forest);
      color: white;
      border-color: var(--color-forest);
    }

    .slider-viewport {
      overflow: hidden;
      margin: 0 -40px;
      padding: 20px 40px;
    }

    .slider-track {
      display: flex;
      gap: 30px;
      transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
      cursor: grab;
      user-select: none;
    }

    .slider-track:active {
      cursor: grabbing;
    }

    .slide-card {
      min-width: 320px;
      width: 320px;
      background-color: var(--color-surface);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(44, 62, 45, 0.04);
      border: 1px solid var(--color-line);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
    }

    .slide-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(44, 62, 45, 0.1);
    }

    .card-media {
      height: 240px;
      overflow: hidden;
      position: relative;
    }

    .card-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .slide-card:hover .card-media img {
      transform: scale(1.08);
    }

    .card-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background-color: rgba(255, 255, 255, 0.95);
      padding: 6px 14px;
      border-radius: 30px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--color-forest);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .card-body h3 {
      font-size: 22px;
      color: var(--color-forest);
      margin-bottom: 12px;
    }

    .card-body p {
      color: var(--color-muted);
      font-size: 14px;
      margin-bottom: 20px;
      line-height: 1.6;
      flex-grow: 1;
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      color: var(--color-terracotta);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: auto;
    }

    .card-link::after {
      content: '→';
      transition: transform 0.3s ease;
    }

    .slide-card:hover .card-link::after {
      transform: translateX(4px);
    }

    /* About Section */
    .about-section {
      background-color: var(--color-bg);
      border-bottom: 1px solid var(--color-line);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 80px;
      align-items: center;
    }

    .about-image {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(44, 62, 45, 0.12);
      aspect-ratio: 4 / 5;
    }

    .about-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .about-image::after {
      content: '';
      position: absolute;
      inset: 0;
      border: 1px solid rgba(255, 255, 255, 0.15);
      pointer-events: none;
      border-radius: 8px;
    }

    .about-badge {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--color-sand);
      margin-bottom: 16px;
      text-transform: uppercase;
    }

    .about-text h2 {
      font-size: clamp(32px, 4vw, 44px);
      color: var(--color-forest);
      margin-bottom: 24px;
    }

    .about-text p {
      color: var(--color-muted);
      margin-bottom: 20px;
      font-size: 16px;
    }

    /* Grid Blog Section */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .post-card {
      background-color: var(--color-surface);
      border: 1px solid var(--color-line);
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .post-card:hover {
      box-shadow: 0 15px 35px rgba(44, 62, 45, 0.08);
      transform: translateY(-4px);
    }

    .post-media {
      height: 200px;
      overflow: hidden;
    }

    .post-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .post-card:hover .post-media img {
      transform: scale(1.05);
    }

    .post-body {
      padding: 24px;
    }

    .post-meta {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--color-muted);
      margin-bottom: 12px;
      display: flex;
      gap: 16px;
    }

    .post-title {
      font-size: 20px;
      color: var(--color-forest);
      margin-bottom: 12px;
      line-height: 1.35;
    }

    .post-title a:hover {
      color: var(--color-terracotta);
    }

    .post-excerpt {
      color: var(--color-muted);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .post-link {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--color-forest);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .post-link:hover {
      color: var(--color-terracotta);
    }

    /* Newsletter Section */
    .newsletter-section {
      background-color: var(--color-forest);
      color: white;
      padding: 80px 40px;
      text-align: center;
    }

    .newsletter-container {
      max-width: 650px;
      margin: 0 auto;
    }

    .newsletter-container h2 {
      font-size: clamp(28px, 4vw, 40px);
      margin-bottom: 16px;
    }

    .newsletter-container p {
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 32px;
      font-size: 16px;
    }

    .newsletter-form {
      display: flex;
      gap: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .newsletter-form input {
      flex-grow: 1;
      padding: 14px 20px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background-color: rgba(255, 255, 255, 0.08);
      color: white;
      font-size: 15px;
      outline: none;
      transition: background-color 0.3s ease;
    }

    .newsletter-form input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-form input:focus {
      background-color: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.3);
    }

    .newsletter-form button {
      background-color: var(--color-terracotta);
      color: white;
      border: none;
      padding: 14px 28px;
      font-weight: 700;
      border-radius: 4px;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 13px;
      transition: background-color 0.3s ease;
    }

    .newsletter-form button:hover {
      background-color: var(--color-terracotta-hover);
    }

    /* Footer */
    footer {
      background-color: #172119;
      color: rgba(255, 255, 255, 0.7);
      padding: 80px 40px 40px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 14px;
    }

    .footer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1.5fr;
      gap: 80px;
      margin-bottom: 60px;
    }

    .footer-col h3 {
      font-size: 16px;
      font-weight: 700;
      color: white;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
      font-family: var(--font-sans);
    }

    .footer-about .logo-title {
      color: white;
      margin-bottom: 16px;
    }

    .footer-about .logo-subtitle {
      color: rgba(255, 255, 255, 0.4);
    }

    .footer-about p {
      margin-top: 16px;
      line-height: 1.6;
    }

    .footer-links ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .footer-links a:hover {
      color: var(--color-terracotta);
      padding-left: 4px;
    }

    .footer-contact p {
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-socials {
      display: flex;
      gap: 16px;
      margin-top: 24px;
    }

    .social-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background-color: var(--color-terracotta);
      transform: translateY(-2px);
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      color: rgba(255, 255, 255, 0.4);
    }

    .footer-bottom-links {
      display: flex;
      gap: 24px;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
      }
      .footer-col:last-child {
        grid-column: span 2;
      }
    }

    @media (max-width: 980px) {
      header {
        padding: 20px;
      }
      header.scrolled {
        padding: 12px 20px;
      }
      .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .blog-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: flex;
      }
      nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        padding: 100px 40px 40px;
        transition: right 0.4s ease;
        z-index: 999;
      }
      nav.active {
        right: 0;
      }
      nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
      }
      .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
      }
      .menu-toggle.active span:nth-child(2) {
        opacity: 0;
      }
      .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
      .blog-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .footer-col:last-child {
        grid-column: span 1;
      }
      .newsletter-form {
        flex-direction: column;
      }
      .newsletter-form button {
        width: 100%;
      }
    }