  :root {
      --primary-color: #C2410C;
      --primary-hover: #9A3412;
      --text-dark: #1C1917;
      --text-medium: #44403C;
      --text-light: #78716C;
      --bg-body: #E7E5E4;
      --bg-card: #FAFAF9;
      --accent-orange: #EA580C;
      --accent-soft-bg: #FFEDD5;
      --accent-soft-text: #9A3412;
      --white: #ffffff;
      --green-bg: #ECFCCB;
      --green-text: #365314;
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'Roboto', sans-serif;
      color: var(--text-medium);
      line-height: 1.6;
      background-color: var(--bg-body);
      overflow-x: hidden;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
  }

  h1,
  h2,
  h3,
  h4 {
      font-family: 'Montserrat', sans-serif;
      color: var(--text-dark);
  }

  h1 {
      font-size: clamp(2rem, 5vw, 3rem);
  }

  h2 {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  a {
      text-decoration: none;
      color: inherit;
      transition: 0.3s;
  }

  ul {
      list-style: none;
  }

  img {
      max-width: 100%;
      display: block;
      height: auto;
  }

  .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
  }

  /* Navigation */
  nav {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      padding: 1rem 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.4s ease;
      background: transparent;
  }

  nav .logo {
      cursor: pointer;
      display: flex;
      align-items: center;
  }

  nav .logo img:nth-child(1) {
      width: 10rem;
      display: block;
  }

  nav .logo img:nth-child(2) {
      width: 10rem;
      display: none;
  }

  nav .logo img:nth-child(3) {
      width: 2.5rem;
      display: none;
  }

  nav .logo img:nth-child(4) {
      width: 2.5rem;
      display: none;
  }

  @media (max-width: 900px) {

      nav .logo img:nth-child(1) {
          display: none;
      }

      nav .logo img:nth-child(2) {
          display: none;
      }

      nav .logo img:nth-child(3) {
          display: block;
      }

      nav .logo img:nth-child(4) {
          display: none;
      }
  }

  nav #navLinks {
      display: flex;
      gap: 2rem;
      align-items: center;
  }

  nav #navLinks a {
      font-weight: 500;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #ffffff;
      padding: 0.5rem;
  }

  nav #navLinks a.active-link {
      color: var(--primary-color);
      font-weight: 600;
  }

  nav #navLinks a.cta {
      background-color: var(--primary-color);
      color: #ffffff !important;
      padding: 0.6rem 1.5rem;
      border-radius: 4px;
      font-weight: 600;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }

  nav #navLinks a.cta:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
  }

  nav #navLinks a:not(.cta):hover {
      color: var(--primary-color);
  }

  nav .hamburger {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: #ffffff;
      background: none;
      border: none;
  }

  .close-menu {
      display: none;
  }

  @media (max-width: 900px) {
      nav {
          padding: 0.7rem 5%;
      }

      nav #navLinks {
          position: fixed;
          top: 0;
          right: -100%;
          height: 100vh;
          width: 80%;
          max-width: 300px;
          background-color: var(--bg-card);
          flex-direction: column;
          justify-content: center;
          gap: 2rem;
          box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
          transition: right 0.3s;
      }

      nav #navLinks.active {
          right: 0;
      }

      nav .hamburger {
          display: flex;
      }

      .close-menu {
          display: block;
          position: absolute;
          top: 20px;
          right: 20px;
          font-size: 2rem;
          color: var(--text-dark);
          background: none;
          border: none;
          cursor: pointer;
      }

      nav #navLinks a {
          color: var(--text-dark);
          font-size: 1.2rem;
      }
  }

  nav.scrolled {
      background: var(--bg-card);
      box-shadow: 0 4px 20px -5px rgba(28, 25, 23, 0.1);
  }

  nav.scrolled .logo img:nth-child(1) {
      display: none;
  }

  nav.scrolled .logo img:nth-child(2) {
      display: block;
  }

  nav.scrolled .logo {
      color: var(--text-dark);
  }

  nav.scrolled #navLinks a {
      color: var(--text-dark);
  }

  nav.scrolled #navLinks a.active-link {
      color: var(--primary-color);
  }

  nav.scrolled .hamburger {
      color: var(--text-dark);
  }

  @media (max-width: 900px) {
      nav.scrolled .logo img:nth-child(2) {
          display: none;
      }

      nav.scrolled .logo img:nth-child(3) {
          display: none;
      }

      nav.scrolled .logo img:nth-child(4) {
          display: block;
      }
  }

  /* Fin nav */

  /* Base section */
  section {
      padding: 4rem 5%;
  }

  @media (max-width: 1024px) {
      section {
          padding: 3rem 5%;
      }
  }

  @media (max-width: 600px) {
      section {
          padding: 3rem 1.5rem;
      }
  }

  .page-header {
      position: relative;
      height: 35vh;
      min-height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
  }

  .page-header .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(28, 25, 23, 0.8);
  }

  .page-header .content {
      position: relative;
      z-index: 10;
      text-align: center;
      color: #fff;
      padding: 2rem;
  }

  .page-header h1 {
      color: #ffffff;
      margin-bottom: 1rem;
  }

  .page-header .divider {
      width: 80px;
      height: 4px;
      background-color: var(--primary-color);
      margin: 0 auto;
      border-radius: 2px;
  }

  /* Fin base section */

  /* Footer */
  footer {
      background-color: #0C0A09;
      color: #b8b8b8;
      padding: 3rem 5%;
      border-top: 1px solid #292524;
  }

  footer .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
  }

  footer img {
      width: 10rem;
      margin-bottom: 1rem;
  }

  footer .footer-credits {
      text-align: right;
  }

  footer .legal-link {
      font-size: 0.9rem;
      cursor: pointer;
      border-bottom: 1px dotted #78716C;
  }

  footer .legal-link:hover {
      color: var(--primary-color);
      border-color: var(--primary-color);
  }

  @media (max-width: 900px) {
      footer .container {
          flex-direction: column;
          text-align: center;
      }

      footer .footer-credits {
          text-align: center;
      }
  }

  /* Fin footer */

  /* Modal */
  .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.3s;
  }

  .modal-overlay.open {
      display: flex;
      opacity: 1;
  }

  .modal-content {
      background: #fff;
      max-width: 600px;
      width: 100%;
      padding: 2rem;
      border-radius: 12px;
      max-height: 80vh;
      overflow-y: auto;
      position: relative;
  }

  .modal-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--primary-color);
  }

  .close-modal {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-light);
  }

  /* Fin modal */